diff --git a/.travis.yml b/.travis.yml index 24de01d6..f7da0c32 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,6 +28,7 @@ jobs: - docker pull pierky/bird:1.6.8 - docker pull pierky/bird:2.0.8 - docker pull pierky/openbgpd:6.8p1 + - docker pull pierky/openbgpd:6.9p0-patches - docker pull pierky/exabgp:4.2.7 - docker pull nlnetlabs/routinator:v0.8.3 - env: TOXENV=py36-coverage diff --git a/CHANGES.rst b/CHANGES.rst index 2258794c..bbe9b393 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -3,6 +3,35 @@ Change log .. note:: **Upgrade notes**: after upgrading, run the ``arouteserver setup-templates`` command to sync the local templates with those distributed with the new version. More details on the `Upgrading `__ section of the documentation. +next release +------------ + +Starting with this release, the default target version for OpenBGPD will be the latest stable (6.9 in this case). + +- New: Add support for OpenBGPD/OpenBSD 6.9 and OpenBGPD Portable 6.9p0, also added to the integration testing suite. + +- New (OpenBGPD): add support for RTR sessions starting with version 6.9. + + Please note the following issues with OpenBGPD 6.9 if you want to enable RTR sessions; you might want to apply the available patches: + + - ``Invalid argument`` error and RTR session not coming up (`issue #23 on GitHub `__ and `"bgpd, fix RTR connect" `__ post on openbsd-tech) + + - non blocking ``connect()`` call for RTR session establishment (`"bgpd behaviour when RTR endpoint is not available" `__ post on openbgpd-users and `"bgpd, non-blocking rtr connect" `__ post on openbsd-tech) + +- New (OpenBGPD): enable support for path-hiding mitigation. + + Even though OpenBGPD supports path-hiding mitigation starting with version 6.9, the feature is not automatically enabled by the ``configure`` command because of some issues that might impair the stability of the routing ecosystem: + + - withdrawal of 2nd best route with ``rde evaluate all`` (`issue #21 on GitHub `__ and `"bgpd fix for rde evaluate all" `__ post on openbsd-tech) + + - advertisement of 2nd best routes on reload with ``rde evaluate all`` (`issue #21 on GitHub `__ and `"bgpd better reload behaviour" `__ post on openbsd-tech) + + Please apply the existing patches before enabling it on a production environment, and acknowledge the error produced by ARouteServer using the ``--ignore-issues path_hiding_69`` CLI option. + +- Improvement: the default list of `"transit free" `__ ASNs has been updated and some networks have been removed. + + See also `GitHub PR73 `_. + v1.5.1 ------ diff --git a/README.rst b/README.rst index 1e01f15d..0f8e286f 100644 --- a/README.rst +++ b/README.rst @@ -42,7 +42,7 @@ How it works #. `Jinja2`_ built-in templates are used to render the final route server's configuration file. - Currently, **BIRD** (>= 1.6.3 up to 1.6.8), **BIRD v2** (starting from 2.0.7 - support for BIRD v2 is in `early stages `_) and **OpenBGPD** (OpenBSD 6.1 up to 6.8 and also OpenBGPD Portable 6.5p1 up to 6.8p1) are supported, with almost `feature parity `_ between them. + Currently, **BIRD** (>= 1.6.3 up to 1.6.8), **BIRD v2** (starting from 2.0.7 - support for BIRD v2 is in `early stages `_) and **OpenBGPD** (OpenBSD 6.1 up to 6.9 and also OpenBGPD Portable 6.5p1 up to 6.9p0) are supported, with almost `feature parity `_ between them. **Validation** and testing of the configurations generated with this tool are performed using the built-in **live tests** framework: `Docker`_ instances are used to simulate several scenarios and to validate the behaviour of the route server after configuring it with ARouteServer. More details on the `Live tests `_ section. @@ -163,6 +163,8 @@ Who is using ARouteServer? - `DO-IX `__, BIRD. +- `EVIX `__, BIRD. + - `FCIX `__, BIRD. - `GAVLIX `__. @@ -185,7 +187,7 @@ Who is using ARouteServer? - `QCIX `__, BIRD. -- `RO-CIX `__, OpenBGPD. +- `RO-CIX `__, OpenBGPD. - `SwissIX `__, OpenBGPD. diff --git a/config.d/general.yml b/config.d/general.yml index 8ff2dcc9..8d7dd6f2 100644 --- a/config.d/general.yml +++ b/config.d/general.yml @@ -37,7 +37,8 @@ cfg: # accepted is found or all routes for that network are rejected." # (http://bird.network.cz/?get_doc&f=bird-6.html#bgp-secondary) # - # OpenBGPD: not implemented in ARouteServer. Single RIB only. + # OpenBGPD: 'rde evaluate all' is used. + # (https://man.openbsd.org/bgpd.conf#rde) # # Default: True path_hiding: True @@ -174,9 +175,8 @@ cfg: # Comma separated list of ASNs which are considered # transit-free. Used only if an 'action' is provided above. asns: > - 174, 209, 286, 701, 1239, 1299, 2828, 2914, - 3257, 3320, 3356, 3549, 5511, 6453, 6461, - 6762, 6830, 7018, 12956 + 174, 701, 1299, 2914, 3257, 3320, 3356, 5511, 6453, + 6461, 6762, 6830, 7018, 12956 never_via_route_servers: # Similarly to what happens with the 'transit_free' config @@ -517,17 +517,19 @@ cfg: # Can be one of the following options: # - 'rtr': ROAs are loaded from an external RTR source. # rtrllib (https://github.com/rtrlib/bird-rtrlib-cli) can be - # used for BIRD 1.6.x; in BIRD v2 there is built-in support - # for the RTR protocol. + # used for BIRD 1.6.x; in BIRD v2 and OpenBGPD (starting with + # version 6.9) there is built-in support for the RTR protocol. # The name of the table where send the ROAs to is 'RPKI' for # BIRD 1.6.x and 'RPKI4' and 'RPKI6' for BIRD v2. - # In BIRD v2, an external file 'rpki_rtr_config.local' must be + # When the built-in implementation is used for OpenBGPD (> 6.9) + # or BIRD v2, an external file 'rpki_rtr_config.local' must be # found within the same directory where the main configuration - # file is stored (/etc/bird usually) and must contain the BIRD 2 - # configuration for 'protocol rpki'. An example on how to - # setup that file can be found in the examples/bird2_rpki_rtr - # directory (please note, in order to use the RTR protocol BIRD - # must be compiled with --enable-libssh). + # file is stored (/etc/bird or /etc/bgpd usually) and must + # contain the configuration of the RTR sessions specific for + # that daemon. + # An example on how to setup that file can be found in the + # examples/rpki_rtr directory (please note, in order to use + # the RTR protocol BIRD must be compiled with --enable-libssh). # - 'ripe-rpki-validator-cache': ROAs are loaded from a JSON # file in RIPE NCC RPKI Validator cache format. # @@ -541,9 +543,6 @@ cfg: # instance of a RPKI validator is provided below in the # 'ripe_rpki_validator_url' option. # - # OpenBGPD: only the 'ripe-rpki-validator-cache' source - # is currently supported. - # # Default: ripe-rpki-validator-cache source: "ripe-rpki-validator-cache" diff --git a/docs/CONFIG.rst b/docs/CONFIG.rst index 68c86c77..1c42e5c4 100644 --- a/docs/CONFIG.rst +++ b/docs/CONFIG.rst @@ -244,15 +244,18 @@ ROAs sources A couple of methods can be used to acquire RPKI data (ROAs): -- (BIRD and OpenBGPD) the builtin method based on `RIPE RPKI Validator format `__ JSON export file (also generated by other validators like Routinator, rpki-client, OctoRPKI): the URL of a local and trusted instance of a RPKI validator should be provided to ensure that a trusted dataset is used. By default, the URLs of some public instances are used. +- the builtin method based on `RIPE RPKI Validator format `__ JSON export file (also generated by other validators like Routinator, rpki-client, OctoRPKI): the URL of a local and trusted instance of a RPKI validator should be provided to ensure that a trusted dataset is used. By default, the URLs of some public instances are used. -- (BIRD only) external resources can be used to pull ROAs from using the RTR protocol: +- RTR protocol (only on BIRD and OpenBGPD >= 6.9): - BIRD 1.6.x: the `rtrlib `_ suite: `rtrlib `__ and `bird-rtrlib-cli `__. - BIRD v2: the `built-in RTR protocol `_ implementation. - One or more trusted local validating caches should be used to get and validate ROAs before pushing them to BIRD. An overview is provided on the `rtrlib GitHub wiki `__, where also an `usage guide `__ can be found. For BIRD v2, an example of how to configure the RTR protocol can be found in the ``examples/bird2_rpki_rtr`` directory (`also on GitHub `_). + - OpenBGPD >= 6.9: the `built-in RTR protocol `_ implementation. + + One or more trusted local validating caches should be used to get and validate ROAs before pushing them to BIRD or OpenBGPD. Extensive information on RPKI and how to setup validating caches can be found on `https://rpki.readthedocs.io/ `__. + For BIRD v2 and OpenBGPD, an example of how to configure the RTR protocol and use it with ARouteServer can be found in the ``examples/rpki_rtr`` directory (`also on GitHub `_). The configuration of ROAs source can be done within the ``rpki_roas`` section of the ``general.yml`` file. @@ -508,8 +511,6 @@ The following list of limitations is based on the currently supported versions o - OpenBGPD - - Currently, **path hiding** mitigation is not implemented for OpenBGPD configurations. Only single-RIB configurations are generated. - - **ADD-PATH** is not supported by OpenBGPD. - For max-prefix filtering, only the ``shutdown`` and the ``restart`` actions are supported by OpenBGPD. Restart is configured with a 15 minutes timer. diff --git a/docs/EXAMPLES.rst b/docs/EXAMPLES.rst index 98db4a85..788efe69 100644 --- a/docs/EXAMPLES.rst +++ b/docs/EXAMPLES.rst @@ -163,7 +163,7 @@ https://github.com/pierky/arouteserver/blob/master/examples/auto-config bird-general.yml.html - See the `textual representation of this configuration <_static/examples_auto-config_bird-general.yml.html>`__. -openbgpd64-general.yml.html - See the `textual representation of this configuration <_static/examples_auto-config_openbgpd64-general.yml.html>`__. +openbgpd-general.yml.html - See the `textual representation of this configuration <_static/examples_auto-config_openbgpd-general.yml.html>`__. IX-F Member Export files ------------------------ @@ -172,19 +172,22 @@ The files reported within this directory were generated using the ``ixf-member-e https://github.com/pierky/arouteserver/blob/master/examples/ixf-member-export -BIRD v2 RPKI RTR configuration ------------------------------- +BIRD v2 and OpenBGPD RPKI RTR configuration +------------------------------------------- -This is an example of using BIRD v2 with an external source for RPKI ROAs. +This is an example of how to use BIRD v2 or OpenBGPD with an external source for RPKI ROAs based on the RTR protocol. -BIRD v2 has built-in support for the RTR protocol, that allows to connect the BGP daemon directly to a local cache (a "validator"). +BIRD v2 and OpenBGPD (starting with release 6.9) have built-in support for the RTR protocol, that allows to connect the BGP daemon directly to a local cache (a "validator"). -To configure BIRD v2 with ARouteServer in order to fetch ROAs using RTR, the ``rpki_roas.source`` option must be set to ``rtr`` and a local *rpki_rtr_config.local* file must be placed inside the same directory where the main BIRD configuration file is created (*/etc/bird* by default, or a custom one set using the ``--local-files-dir`` command line argument of ARouteServer). +To configure the daemons with ARouteServer in order to fetch ROAs using RTR, the ``rpki_roas.source`` option must be set to ``rtr`` and a local *rpki_rtr_config.local* file must be placed inside the same directory where the main configuration file is created (*/etc/bird* or */etc/bgpd* by default, or a custom one set using the ``--local-files-dir`` command line argument of ARouteServer). -The *rpki_rtr_config.local* file is expected to contain the snippet of BIRD config needed to setup a *rpki protocol*, accordingly to what is documented in the official BIRD web site: https://bird.network.cz/?get_doc&v=20&f=bird-6.html#ss6.13 +The *rpki_rtr_config.local* file is expected to contain the snippet of BIRD or OpenBGPD config needed to setup one or more RTR sessions: +- BIRD v2: https://bird.network.cz/?get_doc&v=20&f=bird-6.html#ss6.13 -The names of the tables where ROAs will be injected into must be ``RPKI4`` and ``RPKI6``. + **Please note:** the names of the tables where ROAs will be injected into must be ``RPKI4`` and ``RPKI6``. -An example configuration is reported in the *rpki_rtr_config.local* file that can be found within this directory. +- OpenBGPD: https://man.openbsd.org/bgpd.conf#rtr -https://github.com/pierky/arouteserver/blob/master/examples/bird2_rpki_rtr +Example configurations are reported in the *rpki_rtr_config.local.BIRD* and *rpki_rtr_config.local.OpenBGPD* files that can be found within this directory. + +https://github.com/pierky/arouteserver/blob/master/examples/rpki_rtr diff --git a/docs/FEATURES.rst b/docs/FEATURES.rst index e9be2087..97d0e4ae 100644 --- a/docs/FEATURES.rst +++ b/docs/FEATURES.rst @@ -32,7 +32,7 @@ How it works #. `Jinja2`_ built-in templates are used to render the final route server's configuration file. - Currently, **BIRD** (>= 1.6.3 up to 1.6.8), **BIRD v2** (starting from 2.0.7 - support for BIRD v2 is in `early stages `_) and **OpenBGPD** (OpenBSD 6.1 up to 6.8 and also OpenBGPD Portable 6.5p1 up to 6.8p1) are supported, with almost `feature parity `_ between them. + Currently, **BIRD** (>= 1.6.3 up to 1.6.8), **BIRD v2** (starting from 2.0.7 - support for BIRD v2 is in `early stages `_) and **OpenBGPD** (OpenBSD 6.1 up to 6.9 and also OpenBGPD Portable 6.5p1 up to 6.9p0) are supported, with almost `feature parity `_ between them. **Validation** and testing of the configurations generated with this tool are performed using the built-in **live tests** framework: `Docker`_ instances are used to simulate several scenarios and to validate the behaviour of the route server after configuring it with ARouteServer. More details on the `Live tests `_ section. diff --git a/docs/FUTUREWORK.rst b/docs/FUTUREWORK.rst index 8bc07b53..b7e7194d 100644 --- a/docs/FUTUREWORK.rst +++ b/docs/FUTUREWORK.rst @@ -20,7 +20,6 @@ Mid term Long term --------- -- New feature: path-hiding mitigation technique on OpenBGPD - New feature: routing policies based on RPSL import-via/export-via - New feature: other BGP speakers support (GoBGP, ...) - New feature: balance clients among *n* different configurations (for multiple processes - see `Scaling BIRD Routeservers `_) diff --git a/docs/GENERAL.rst b/docs/GENERAL.rst index a43627bb..b33b4082 100644 --- a/docs/GENERAL.rst +++ b/docs/GENERAL.rst @@ -61,7 +61,8 @@ General options: ``cfg`` (http://bird.network.cz/?get_doc&f=bird-6.html#bgp-secondary) - OpenBGPD: not implemented in ARouteServer. Single RIB only. + OpenBGPD: 'rde evaluate all' is used. + (https://man.openbsd.org/bgpd.conf#rde) Default: **True** @@ -331,9 +332,9 @@ in the left-most position. .. code:: yaml asns: > - 174, 209, 286, 701, 1239, 1299, 2828, 2914, - 3257, 3320, 3356, 3549, 5511, 6453, 6461, - 6762, 6830, 7018, 12956 + 174, 701, 1299, 2914, 3257, 3320, 3356, 5511, 6453, + 6461, 6762, 6830, 7018, 12956 + @@ -955,17 +956,19 @@ when **filtering.irrdb.use_rpki_roas_as_route_objects** or - **rtr**: ROAs are loaded from an external RTR source. rtrllib (https://github.com/rtrlib/bird-rtrlib-cli) can be - used for BIRD 1.6.x; in BIRD v2 there is built-in support - for the RTR protocol. + used for BIRD 1.6.x; in BIRD v2 and OpenBGPD (starting with + version 6.9) there is built-in support for the RTR protocol. The name of the table where send the ROAs to is **RPKI** for BIRD 1.6.x and **RPKI4** and **RPKI6** for BIRD v2. - In BIRD v2, an external file **rpki_rtr_config.local** must be + When the built-in implementation is used for OpenBGPD (> 6.9) + or BIRD v2, an external file **rpki_rtr_config.local** must be found within the same directory where the main configuration - file is stored (/etc/bird usually) and must contain the BIRD 2 - configuration for 'protocol rpki'. An example on how to - setup that file can be found in the examples/bird2_rpki_rtr - directory (please note, in order to use the RTR protocol BIRD - must be compiled with --enable-libssh). + file is stored (/etc/bird or /etc/bgpd usually) and must + contain the configuration of the RTR sessions specific for + that daemon. + An example on how to setup that file can be found in the + examples/rpki_rtr directory (please note, in order to use + the RTR protocol BIRD must be compiled with --enable-libssh). - **ripe-rpki-validator-cache**: ROAs are loaded from a JSON @@ -988,10 +991,6 @@ when **filtering.irrdb.use_rpki_roas_as_route_objects** or **ripe_rpki_validator_url** option. - OpenBGPD: only the **ripe-rpki-validator-cache** source - is currently supported. - - Default: **ripe-rpki-validator-cache** Example: diff --git a/docs/LIVETESTS_SCENARIOS.rst b/docs/LIVETESTS_SCENARIOS.rst index 69992847..62c01ac2 100644 --- a/docs/LIVETESTS_SCENARIOS.rst +++ b/docs/LIVETESTS_SCENARIOS.rst @@ -3,7 +3,6 @@ .. toctree:: :maxdepth: 1 - LIVETESTS_SCENARIOS_bird2_rpki_rtr_example LIVETESTS_SCENARIOS_communities LIVETESTS_SCENARIOS_default LIVETESTS_SCENARIOS_global @@ -12,5 +11,6 @@ LIVETESTS_SCENARIOS_path_hiding LIVETESTS_SCENARIOS_rich_example LIVETESTS_SCENARIOS_rpki + LIVETESTS_SCENARIOS_rpki_rtr_example LIVETESTS_SCENARIOS_tag_as_set LIVETESTS_SCENARIOS_tag_reject_policy diff --git a/docs/LIVETESTS_SCENARIOS_bird2_rpki_rtr_example.rst b/docs/LIVETESTS_SCENARIOS_bird2_rpki_rtr_example.rst deleted file mode 100644 index 8ab82ed9..00000000 --- a/docs/LIVETESTS_SCENARIOS_bird2_rpki_rtr_example.rst +++ /dev/null @@ -1 +0,0 @@ -.. include:: ../tests/live_tests/scenarios/bird2_rpki_rtr_example/README.rst diff --git a/docs/LIVETESTS_SCENARIOS_rpki_rtr_example.rst b/docs/LIVETESTS_SCENARIOS_rpki_rtr_example.rst new file mode 100644 index 00000000..519ab7ff --- /dev/null +++ b/docs/LIVETESTS_SCENARIOS_rpki_rtr_example.rst @@ -0,0 +1 @@ +.. include:: ../tests/live_tests/scenarios/rpki_rtr_example/README.rst diff --git a/docs/STATUS.txt b/docs/STATUS.txt index 6e9157fd..52068993 100644 --- a/docs/STATUS.txt +++ b/docs/STATUS.txt @@ -23,6 +23,8 @@ Who is using ARouteServer? - `DO-IX `__, BIRD. +- `EVIX `__, BIRD. + - `FCIX `__, BIRD. - `GAVLIX `__. diff --git a/docs/SUPPORTED_SPEAKERS_CI.txt b/docs/SUPPORTED_SPEAKERS_CI.txt index 7fed674e..5e975309 100644 --- a/docs/SUPPORTED_SPEAKERS_CI.txt +++ b/docs/SUPPORTED_SPEAKERS_CI.txt @@ -7,9 +7,9 @@ Total test cases per BGP speaker **BGP speaker** **Total** **Passed ✔** **Failed ✖** **Skipped** BIRD 806 799 0 7 BIRD v2 810 803 0 7 -OpenBGPD 6.7 434 423 0 11 -OpenBGPD 6.8 434 423 0 11 -OpenBGPD 6.8p1 434 423 0 11 +OpenBGPD 6.8 436 423 0 13 +OpenBGPD 6.9 436 425 0 11 +OpenBGPD 6.9p0 442 433 0 9 =============== ========= ============ ============ =========== Scenarios @@ -19,7 +19,7 @@ Scenarios ++++++++++++++++++++++++++++++++++ ========================================== ======== =========== ================ ================ ================== -**Test** **BIRD** **BIRD v2** **OpenBGPD 6.7** **OpenBGPD 6.8** **OpenBGPD 6.8p1** +**Test** **BIRD** **BIRD v2** **OpenBGPD 6.8** **OpenBGPD 6.9** **OpenBGPD 6.9p0** AS_PATH too long ✔ ✔ ✔ ✔ ✔ RPKI INVALID route ✔ ✔ skip skip skip bogon prefix ✔ ✔ ✔ ✔ ✔ @@ -46,7 +46,7 @@ transit-free ASN in AS_PATH ✔ ✔ ✔ ++++++++++++++++++++++++++++++++++ ========================================== ======== =========== ================ ================ ================== -**Test** **BIRD** **BIRD v2** **OpenBGPD 6.7** **OpenBGPD 6.8** **OpenBGPD 6.8p1** +**Test** **BIRD** **BIRD v2** **OpenBGPD 6.8** **OpenBGPD 6.9** **OpenBGPD 6.9p0** AS_PATH too long ✔ ✔ ✔ ✔ ✔ RPKI INVALID route ✔ ✔ skip skip skip bogon prefix ✔ ✔ ✔ ✔ ✔ @@ -73,7 +73,7 @@ BGP communities, IPv4 +++++++++++++++++++++ =============================== ======== =========== ================ ================ ================== -**Test** **BIRD** **BIRD v2** **OpenBGPD 6.7** **OpenBGPD 6.8** **OpenBGPD 6.8p1** +**Test** **BIRD** **BIRD v2** **OpenBGPD 6.8** **OpenBGPD 6.9** **OpenBGPD 6.9p0** announce to AS1 only (ext) ✔ ✔ ✔ ✔ ✔ announce to AS1 only (lrg) ✔ ✔ ✔ ✔ ✔ announce to AS1 only (std) ✔ ✔ ✔ ✔ ✔ @@ -91,7 +91,7 @@ BGP communities, IPv6 +++++++++++++++++++++ =============================== ======== =========== ================ ================ ================== -**Test** **BIRD** **BIRD v2** **OpenBGPD 6.7** **OpenBGPD 6.8** **OpenBGPD 6.8p1** +**Test** **BIRD** **BIRD v2** **OpenBGPD 6.8** **OpenBGPD 6.9** **OpenBGPD 6.9p0** announce to AS1 only (ext) ✔ ✔ ✔ ✔ ✔ announce to AS1 only (lrg) ✔ ✔ ✔ ✔ ✔ announce to AS1 only (std) ✔ ✔ ✔ ✔ ✔ @@ -109,7 +109,7 @@ RPKI INVALID tagging, IPv4 ++++++++++++++++++++++++++ ==================================== ======== =========== ================ ================ ================== -**Test** **BIRD** **BIRD v2** **OpenBGPD 6.7** **OpenBGPD 6.8** **OpenBGPD 6.8p1** +**Test** **BIRD** **BIRD v2** **OpenBGPD 6.8** **OpenBGPD 6.9** **OpenBGPD 6.9p0** RPKI, AS2 invalid prefix, bad ASN ✔ ✔ RPKI, AS2 invalid prefix, bad length ✔ ✔ RPKI, AS2 unknown prefix ✔ ✔ @@ -128,7 +128,7 @@ RPKI INVALID tagging, IPv6 ++++++++++++++++++++++++++ ==================================== ======== =========== ================ ================ ================== -**Test** **BIRD** **BIRD v2** **OpenBGPD 6.7** **OpenBGPD 6.8** **OpenBGPD 6.8p1** +**Test** **BIRD** **BIRD v2** **OpenBGPD 6.8** **OpenBGPD 6.9** **OpenBGPD 6.9p0** RPKI, AS2 invalid prefix, bad ASN ✔ ✔ RPKI, AS2 invalid prefix, bad length ✔ ✔ RPKI, AS2 unknown prefix ✔ ✔ @@ -146,21 +146,22 @@ reconfigure ✔ ✔ RTR protocol ++++++++++++ -============================================= ======== =========== ================ ================ ================== -**Test** **BIRD** **BIRD v2** **OpenBGPD 6.7** **OpenBGPD 6.8** **OpenBGPD 6.8p1** -check the RTR protocol on BIRD ✔ -log contains errors ✔ -restart the RTR protocol on BIRD ✔ -route accepted because validator not running ✔ -route dropped after spinning the validator up ✔ -spin up the validator ✔ -============================================= ======== =========== ================ ================ ================== +================================================================== ======== =========== ================ ================ ================== +**Test** **BIRD** **BIRD v2** **OpenBGPD 6.8** **OpenBGPD 6.9** **OpenBGPD 6.9p0** +check the RTR session is up ✔ ✔ +log contains errors ✔ ✔ +restart OpenBGPD to speed up RTR session establishment ✔ +restart the RTR protocol on BIRD to speed up session establishment ✔ +route accepted because validator not running ✔ ✔ +route dropped after spinning the validator up ✔ ✔ +spin up the validator ✔ ✔ +================================================================== ======== =========== ================ ================ ================== default config, IPv4 ++++++++++++++++++++ =================== ======== =========== ================ ================ ================== -**Test** **BIRD** **BIRD v2** **OpenBGPD 6.7** **OpenBGPD 6.8** **OpenBGPD 6.8p1** +**Test** **BIRD** **BIRD v2** **OpenBGPD 6.8** **OpenBGPD 6.9** **OpenBGPD 6.9p0** log contains errors ✔ ✔ ✔ ✔ ✔ =================== ======== =========== ================ ================ ================== @@ -168,7 +169,7 @@ default config, IPv6 ++++++++++++++++++++ =================== ======== =========== ================ ================ ================== -**Test** **BIRD** **BIRD v2** **OpenBGPD 6.7** **OpenBGPD 6.8** **OpenBGPD 6.8p1** +**Test** **BIRD** **BIRD v2** **OpenBGPD 6.8** **OpenBGPD 6.9** **OpenBGPD 6.9p0** log contains errors ✔ ✔ ✔ ✔ ✔ =================== ======== =========== ================ ================ ================== @@ -176,7 +177,7 @@ examples, rich config, IPv4 +++++++++++++++++++++++++++ =================== ======== =========== ================ ================ ================== -**Test** **BIRD** **BIRD v2** **OpenBGPD 6.7** **OpenBGPD 6.8** **OpenBGPD 6.8p1** +**Test** **BIRD** **BIRD v2** **OpenBGPD 6.8** **OpenBGPD 6.9** **OpenBGPD 6.9p0** log contains errors ✔ ✔ ✔ ✔ ✔ =================== ======== =========== ================ ================ ================== @@ -184,7 +185,7 @@ examples, rich config, IPv6 +++++++++++++++++++++++++++ =================== ======== =========== ================ ================ ================== -**Test** **BIRD** **BIRD v2** **OpenBGPD 6.7** **OpenBGPD 6.8** **OpenBGPD 6.8p1** +**Test** **BIRD** **BIRD v2** **OpenBGPD 6.8** **OpenBGPD 6.9** **OpenBGPD 6.9p0** log contains errors ✔ ✔ ✔ ✔ ✔ =================== ======== =========== ================ ================ ================== @@ -192,7 +193,7 @@ global scenario, IPv4 +++++++++++++++++++++ =============================================================================== ======== =========== ================ ================ ================== -**Test** **BIRD** **BIRD v2** **OpenBGPD 6.7** **OpenBGPD 6.8** **OpenBGPD 6.8p1** +**Test** **BIRD** **BIRD v2** **OpenBGPD 6.8** **OpenBGPD 6.9** **OpenBGPD 6.9p0** RPKI, blackhole request for a covered prefix ✔ ✔ ✔ ✔ ✔ RPKI, invalid prefix (bad ASN) not propagated to clients ✔ ✔ ✔ ✔ ✔ RPKI, invalid prefix (bad ASN) received by rs ✔ ✔ ✔ ✔ ✔ @@ -283,7 +284,7 @@ global scenario, IPv4, tag ++++++++++++++++++++++++++ =============================================================================== ======== =========== ================ ================ ================== -**Test** **BIRD** **BIRD v2** **OpenBGPD 6.7** **OpenBGPD 6.8** **OpenBGPD 6.8p1** +**Test** **BIRD** **BIRD v2** **OpenBGPD 6.8** **OpenBGPD 6.9** **OpenBGPD 6.9p0** RPKI, blackhole request for a covered prefix ✔ ✔ RPKI, invalid prefix (bad ASN) not propagated to clients ✔ ✔ RPKI, invalid prefix (bad ASN) received by rs ✔ ✔ @@ -374,7 +375,7 @@ global scenario, IPv4, tag&reject +++++++++++++++++++++++++++++++++ =============================================================================== ======== =========== ================ ================ ================== -**Test** **BIRD** **BIRD v2** **OpenBGPD 6.7** **OpenBGPD 6.8** **OpenBGPD 6.8p1** +**Test** **BIRD** **BIRD v2** **OpenBGPD 6.8** **OpenBGPD 6.9** **OpenBGPD 6.9p0** RPKI, blackhole request for a covered prefix ✔ ✔ RPKI, invalid prefix (bad ASN) not propagated to clients ✔ ✔ RPKI, invalid prefix (bad ASN) received by rs ✔ ✔ @@ -465,7 +466,7 @@ global scenario, IPv6 +++++++++++++++++++++ =============================================================================== ======== =========== ================ ================ ================== -**Test** **BIRD** **BIRD v2** **OpenBGPD 6.7** **OpenBGPD 6.8** **OpenBGPD 6.8p1** +**Test** **BIRD** **BIRD v2** **OpenBGPD 6.8** **OpenBGPD 6.9** **OpenBGPD 6.9p0** RPKI, blackhole request for a covered prefix ✔ ✔ ✔ ✔ ✔ RPKI, invalid prefix (bad ASN) not propagated to clients ✔ ✔ ✔ ✔ ✔ RPKI, invalid prefix (bad ASN) received by rs ✔ ✔ ✔ ✔ ✔ @@ -556,7 +557,7 @@ global scenario, IPv6, tag ++++++++++++++++++++++++++ =============================================================================== ======== =========== ================ ================ ================== -**Test** **BIRD** **BIRD v2** **OpenBGPD 6.7** **OpenBGPD 6.8** **OpenBGPD 6.8p1** +**Test** **BIRD** **BIRD v2** **OpenBGPD 6.8** **OpenBGPD 6.9** **OpenBGPD 6.9p0** RPKI, blackhole request for a covered prefix ✔ ✔ RPKI, invalid prefix (bad ASN) not propagated to clients ✔ ✔ RPKI, invalid prefix (bad ASN) received by rs ✔ ✔ @@ -647,7 +648,7 @@ global scenario, IPv6, tag&reject +++++++++++++++++++++++++++++++++ =============================================================================== ======== =========== ================ ================ ================== -**Test** **BIRD** **BIRD v2** **OpenBGPD 6.7** **OpenBGPD 6.8** **OpenBGPD 6.8p1** +**Test** **BIRD** **BIRD v2** **OpenBGPD 6.8** **OpenBGPD 6.9** **OpenBGPD 6.9p0** RPKI, blackhole request for a covered prefix ✔ ✔ RPKI, invalid prefix (bad ASN) not propagated to clients ✔ ✔ RPKI, invalid prefix (bad ASN) received by rs ✔ ✔ @@ -738,7 +739,7 @@ gshut, IPv4 +++++++++++ ==================================================== ======== =========== ================ ================ ================== -**Test** **BIRD** **BIRD v2** **OpenBGPD 6.7** **OpenBGPD 6.8** **OpenBGPD 6.8p1** +**Test** **BIRD** **BIRD v2** **OpenBGPD 6.8** **OpenBGPD 6.9** **OpenBGPD 6.9p0** clients receive routes tagged with GRACEFUL_SHUTDOWN ✔ ✔ ✔ ✔ ✔ log contains errors ✔ ✔ ✔ ✔ ✔ reconfigure ✔ ✔ ✔ ✔ ✔ @@ -748,7 +749,7 @@ gshut, IPv6 +++++++++++ ==================================================== ======== =========== ================ ================ ================== -**Test** **BIRD** **BIRD v2** **OpenBGPD 6.7** **OpenBGPD 6.8** **OpenBGPD 6.8p1** +**Test** **BIRD** **BIRD v2** **OpenBGPD 6.8** **OpenBGPD 6.9** **OpenBGPD 6.9p0** clients receive routes tagged with GRACEFUL_SHUTDOWN ✔ ✔ ✔ ✔ ✔ log contains errors ✔ ✔ ✔ ✔ ✔ reconfigure ✔ ✔ ✔ ✔ ✔ @@ -758,7 +759,7 @@ hooks example, IPv4 +++++++++++++++++++ =================== ======== =========== ================ ================ ================== -**Test** **BIRD** **BIRD v2** **OpenBGPD 6.7** **OpenBGPD 6.8** **OpenBGPD 6.8p1** +**Test** **BIRD** **BIRD v2** **OpenBGPD 6.8** **OpenBGPD 6.9** **OpenBGPD 6.9p0** log contains errors ✔ =================== ======== =========== ================ ================ ================== @@ -766,7 +767,7 @@ hooks example, IPv6 +++++++++++++++++++ =================== ======== =========== ================ ================ ================== -**Test** **BIRD** **BIRD v2** **OpenBGPD 6.7** **OpenBGPD 6.8** **OpenBGPD 6.8p1** +**Test** **BIRD** **BIRD v2** **OpenBGPD 6.8** **OpenBGPD 6.9** **OpenBGPD 6.9p0** log contains errors ✔ =================== ======== =========== ================ ================ ================== @@ -774,7 +775,7 @@ max-prefix, IPv4 ++++++++++++++++ ================================================================ ======== =========== ================ ================ ================== -**Test** **BIRD** **BIRD v2** **OpenBGPD 6.7** **OpenBGPD 6.8** **OpenBGPD 6.8p1** +**Test** **BIRD** **BIRD v2** **OpenBGPD 6.8** **OpenBGPD 6.9** **OpenBGPD 6.9p0** AS5 session is down (max-prefix hit, action == shutdown) ✔ ✔ clients log max-prefix notification ✔ ✔ ✔ log contains errors ✔ ✔ ✔ ✔ ✔ @@ -794,7 +795,7 @@ max-prefix, IPv6 ++++++++++++++++ ================================================================ ======== =========== ================ ================ ================== -**Test** **BIRD** **BIRD v2** **OpenBGPD 6.7** **OpenBGPD 6.8** **OpenBGPD 6.8p1** +**Test** **BIRD** **BIRD v2** **OpenBGPD 6.8** **OpenBGPD 6.9** **OpenBGPD 6.9p0** AS5 session is down (max-prefix hit, action == shutdown) ✔ ✔ clients log max-prefix notification ✔ ✔ ✔ log contains errors ✔ ✔ ✔ ✔ ✔ @@ -814,7 +815,7 @@ path hiding, mitigation off, IPv4 +++++++++++++++++++++++++++++++++ =================================================== ======== =========== ================ ================ ================== -**Test** **BIRD** **BIRD v2** **OpenBGPD 6.7** **OpenBGPD 6.8** **OpenBGPD 6.8p1** +**Test** **BIRD** **BIRD v2** **OpenBGPD 6.8** **OpenBGPD 6.9** **OpenBGPD 6.9p0** AS1 wants rs to not announce to AS3 and AS4 ✔ ✔ ✔ ✔ ✔ AS3 does not receive prefix at all ✔ ✔ ✔ ✔ ✔ AS4 receives the prefix via AS2 because of ADD-PATH ✔ ✔ skip skip skip @@ -828,7 +829,7 @@ path hiding, mitigation off, IPv6 +++++++++++++++++++++++++++++++++ =================================================== ======== =========== ================ ================ ================== -**Test** **BIRD** **BIRD v2** **OpenBGPD 6.7** **OpenBGPD 6.8** **OpenBGPD 6.8p1** +**Test** **BIRD** **BIRD v2** **OpenBGPD 6.8** **OpenBGPD 6.9** **OpenBGPD 6.9p0** AS1 wants rs to not announce to AS3 and AS4 ✔ ✔ ✔ ✔ ✔ AS3 does not receive prefix at all ✔ ✔ ✔ ✔ ✔ AS4 receives the prefix via AS2 because of ADD-PATH ✔ ✔ skip skip skip @@ -842,10 +843,11 @@ path hiding, mitigation on, IPv4 ++++++++++++++++++++++++++++++++ ======================================================== ======== =========== ================ ================ ================== -**Test** **BIRD** **BIRD v2** **OpenBGPD 6.7** **OpenBGPD 6.8** **OpenBGPD 6.8p1** +**Test** **BIRD** **BIRD v2** **OpenBGPD 6.8** **OpenBGPD 6.9** **OpenBGPD 6.9p0** +2nd best is withdrawn and AS3 should not see it anymore skip skip ✔ AS1 wants rs to not announce to AS3 and AS4 ✔ ✔ ✔ ✔ ✔ AS3 and AS4 don't receive prefix via AS1 ✔ ✔ ✔ ✔ ✔ -AS3 and AS4 receive prefix with sub-optimal path via AS2 ✔ ✔ skip skip skip +AS3 and AS4 receive prefix with sub-optimal path via AS2 ✔ ✔ skip ✔ ✔ log contains errors ✔ ✔ ✔ ✔ ✔ reconfigure ✔ ✔ ✔ ✔ ✔ rs should have best toward AS1 ✔ ✔ ✔ ✔ ✔ @@ -856,10 +858,11 @@ path hiding, mitigation on, IPv6 ++++++++++++++++++++++++++++++++ ======================================================== ======== =========== ================ ================ ================== -**Test** **BIRD** **BIRD v2** **OpenBGPD 6.7** **OpenBGPD 6.8** **OpenBGPD 6.8p1** +**Test** **BIRD** **BIRD v2** **OpenBGPD 6.8** **OpenBGPD 6.9** **OpenBGPD 6.9p0** +2nd best is withdrawn and AS3 should not see it anymore skip skip ✔ AS1 wants rs to not announce to AS3 and AS4 ✔ ✔ ✔ ✔ ✔ AS3 and AS4 don't receive prefix via AS1 ✔ ✔ ✔ ✔ ✔ -AS3 and AS4 receive prefix with sub-optimal path via AS2 ✔ ✔ skip skip skip +AS3 and AS4 receive prefix with sub-optimal path via AS2 ✔ ✔ skip ✔ ✔ log contains errors ✔ ✔ ✔ ✔ ✔ reconfigure ✔ ✔ ✔ ✔ ✔ rs should have best toward AS1 ✔ ✔ ✔ ✔ ✔ @@ -870,7 +873,7 @@ tag prefix/origin empty AS-SET, IPv4 ++++++++++++++++++++++++++++++++++++ ====================================================================================== ======== =========== ================ ================ ================== -**Test** **BIRD** **BIRD v2** **OpenBGPD 6.7** **OpenBGPD 6.8** **OpenBGPD 6.8p1** +**Test** **BIRD** **BIRD v2** **OpenBGPD 6.8** **OpenBGPD 6.9** **OpenBGPD 6.9p0** AS2 ARIN Whois DB: tag only (w/o prefix_validated_via_arin_whois_db_dump) ✔ ✔ ✔ ✔ ✔ AS2 ROA + ARIN Whois DB: tag only (w/o comms [arin_whois_db_dump, rpki_roas]) ✔ ✔ ✔ ✔ ✔ AS2 RPKI ROAs as route objects: tag only (w/o prefix_validated_via_rpki_roas) ✔ ✔ ✔ ✔ ✔ @@ -912,7 +915,7 @@ tag prefix/origin empty AS-SET, IPv6 ++++++++++++++++++++++++++++++++++++ ====================================================================================== ======== =========== ================ ================ ================== -**Test** **BIRD** **BIRD v2** **OpenBGPD 6.7** **OpenBGPD 6.8** **OpenBGPD 6.8p1** +**Test** **BIRD** **BIRD v2** **OpenBGPD 6.8** **OpenBGPD 6.9** **OpenBGPD 6.9p0** AS2 ARIN Whois DB: tag only (w/o prefix_validated_via_arin_whois_db_dump) ✔ ✔ ✔ ✔ ✔ AS2 ROA + ARIN Whois DB: tag only (w/o comms [arin_whois_db_dump, rpki_roas]) ✔ ✔ ✔ ✔ ✔ AS2 RPKI ROAs as route objects: tag only (w/o prefix_validated_via_rpki_roas) ✔ ✔ ✔ ✔ ✔ @@ -954,7 +957,7 @@ tag prefix/origin in AS-SET, IPv4 +++++++++++++++++++++++++++++++++ ======================================================================================== ======== =========== ================ ================ ================== -**Test** **BIRD** **BIRD v2** **OpenBGPD 6.7** **OpenBGPD 6.8** **OpenBGPD 6.8p1** +**Test** **BIRD** **BIRD v2** **OpenBGPD 6.8** **OpenBGPD 6.9** **OpenBGPD 6.9p0** AS2 ARIN Whois DB: tag only (w/ prefix_validated_via_arin_whois_db_dump) ✔ ✔ ✔ ✔ ✔ AS2 ROA + ARIN Whois DB: tag only (w/ comms [arin_whois_db_dump, rpki_roas]) ✔ ✔ ✔ ✔ ✔ AS2 RPKI ROAs as route objects: tag only (w/ prefix_validated_via_rpki_roas) ✔ ✔ ✔ ✔ ✔ @@ -1005,7 +1008,7 @@ tag prefix/origin in AS-SET, IPv6 +++++++++++++++++++++++++++++++++ ======================================================================================== ======== =========== ================ ================ ================== -**Test** **BIRD** **BIRD v2** **OpenBGPD 6.7** **OpenBGPD 6.8** **OpenBGPD 6.8p1** +**Test** **BIRD** **BIRD v2** **OpenBGPD 6.8** **OpenBGPD 6.9** **OpenBGPD 6.9p0** AS2 ARIN Whois DB: tag only (w/ prefix_validated_via_arin_whois_db_dump) ✔ ✔ ✔ ✔ ✔ AS2 ROA + ARIN Whois DB: tag only (w/ comms [arin_whois_db_dump, rpki_roas]) ✔ ✔ ✔ ✔ ✔ AS2 RPKI ROAs as route objects: tag only (w/ prefix_validated_via_rpki_roas) ✔ ✔ ✔ ✔ ✔ diff --git a/docs/SUPPORTED_SPEAKERS_FEATURES.txt b/docs/SUPPORTED_SPEAKERS_FEATURES.txt index e5ff7976..c5a829a0 100644 --- a/docs/SUPPORTED_SPEAKERS_FEATURES.txt +++ b/docs/SUPPORTED_SPEAKERS_FEATURES.txt @@ -4,7 +4,7 @@ **Feature** **BIRD** **BIRD v2** **OpenBGPD** **OpenBGPD** **Portable** ---------------------------------------------------------- ------------ ------------ ------------ ------------ -Path hiding mitigation (RFC7947, 2.3.1) Yes Yes No No +Path hiding mitigation (RFC7947, 2.3.1) Yes Yes Yes Yes ---------------------------------------------------------- ------------ ------------ ------------ ------------ **Basic filters:** -------------------------------------------------------------------------------------------------------------- @@ -38,6 +38,8 @@ NIC.BR Whois data (slide n. 26) from Registro.br Yes Yes ---------------------------------------------------------- ------------ ------------ ------------ ------------ RPKI-based filtering (BGP Prefix Origin Validation) Yes Yes Yes Yes ---------------------------------------------------------- ------------ ------------ ------------ ------------ +RPKI ROAs retrieved via RTR protocol Yes Yes Yes Yes +---------------------------------------------------------- ------------ ------------ ------------ ------------ **Blackhole filtering support:** -------------------------------------------------------------------------------------------------------------- Optional NEXT_HOP rewriting Yes Yes Yes Yes diff --git a/docs/_static/examples_auto-config_bird-general.yml.html b/docs/_static/examples_auto-config_bird-general.yml.html index 23c19952..55f96bb2 100644 --- a/docs/_static/examples_auto-config_bird-general.yml.html +++ b/docs/_static/examples_auto-config_bird-general.yml.html @@ -66,7 +66,7 @@

AS_PATH attribute

List of "transit-free" networks' ASNs: -174, 209, 286, 701, 1239, 1299, 2828, 2914, 3257, 3320, 3356, 3549, 5511, 6453, 6461, 6762, 6830, 7018, 12956

+174, 701, 1299, 2914, 3257, 3320, 3356, 5511, 6453, 6461, 6762, 6830, 7018, 12956

  • diff --git a/docs/_static/examples_auto-config_openbgpd64-general.yml.html b/docs/_static/examples_auto-config_openbgpd-general.yml.html similarity index 95% rename from docs/_static/examples_auto-config_openbgpd64-general.yml.html rename to docs/_static/examples_auto-config_openbgpd-general.yml.html index f4defc25..aca2c700 100644 --- a/docs/_static/examples_auto-config_openbgpd64-general.yml.html +++ b/docs/_static/examples_auto-config_openbgpd-general.yml.html @@ -66,7 +66,7 @@

    AS_PATH attribute

    List of "transit-free" networks' ASNs: -174, 209, 286, 701, 1239, 1299, 2828, 2914, 3257, 3320, 3356, 3549, 5511, 6453, 6461, 6762, 6830, 7018, 12956

    +174, 701, 1299, 2914, 3257, 3320, 3356, 5511, 6453, 6461, 6762, 6830, 7018, 12956

  • diff --git a/docs/_static/examples_rich.html b/docs/_static/examples_rich.html index 1a3601fb..3e99ee8f 100644 --- a/docs/_static/examples_rich.html +++ b/docs/_static/examples_rich.html @@ -67,7 +67,7 @@

    AS_PATH attribute

    List of "transit-free" networks' ASNs: -174, 209, 286, 701, 1239, 1299, 2828, 2914, 3257, 3320, 3356, 3549, 5511, 6453, 6461, 6762, 6830, 7018, 12956

    +174, 701, 1299, 2914, 3257, 3320, 3356, 5511, 6453, 6461, 6762, 6830, 7018, 12956

  • diff --git a/docs/_static/tests_real_general.html b/docs/_static/tests_real_general.html index 6929e31b..10b29866 100644 --- a/docs/_static/tests_real_general.html +++ b/docs/_static/tests_real_general.html @@ -67,7 +67,7 @@

    AS_PATH attribute

    List of "transit-free" networks' ASNs: -174, 209, 286, 701, 1239, 1299, 2828, 2914, 3257, 3320, 3356, 3549, 5511, 6453, 6461, 6762, 6830, 7018, 12956

    +174, 701, 1299, 2914, 3257, 3320, 3356, 5511, 6453, 6461, 6762, 6830, 7018, 12956

  • diff --git a/examples/README.md b/examples/README.md index 4f278ddc..5bcfd8ef 100644 --- a/examples/README.md +++ b/examples/README.md @@ -22,6 +22,6 @@ Some lists of clients built starting from Euro-IX JSON files exported by some IX `general.yml` configurations files generated with the `configure` command. -## `bird2_rpki_rtr` - BIRD v2 RTR protocol configuration +## `rpki_rtr` - BIRD v2 and OpenBGPD RTR protocol configuration -An example on how to use BIRD v2 built-in RTR protocol support. +An example on how to use BIRD v2 and OpenBGPD built-in RTR protocol support. diff --git a/examples/auto-config/bird-general.yml b/examples/auto-config/bird-general.yml index cef31abe..0735f0b7 100644 --- a/examples/auto-config/bird-general.yml +++ b/examples/auto-config/bird-general.yml @@ -21,17 +21,12 @@ cfg: action: reject asns: - 174 - - 209 - - 286 - 701 - - 1239 - 1299 - - 2828 - 2914 - 3257 - 3320 - 3356 - - 3549 - 5511 - 6453 - 6461 diff --git a/examples/auto-config/bird-general.yml.html b/examples/auto-config/bird-general.yml.html index 23c19952..55f96bb2 100644 --- a/examples/auto-config/bird-general.yml.html +++ b/examples/auto-config/bird-general.yml.html @@ -66,7 +66,7 @@

    AS_PATH attribute

    List of "transit-free" networks' ASNs: -174, 209, 286, 701, 1239, 1299, 2828, 2914, 3257, 3320, 3356, 3549, 5511, 6453, 6461, 6762, 6830, 7018, 12956

    +174, 701, 1299, 2914, 3257, 3320, 3356, 5511, 6453, 6461, 6762, 6830, 7018, 12956

  • diff --git a/examples/auto-config/openbgpd64-general.yml b/examples/auto-config/openbgpd-general.yml similarity index 97% rename from examples/auto-config/openbgpd64-general.yml rename to examples/auto-config/openbgpd-general.yml index ec28597e..0b0abc29 100644 --- a/examples/auto-config/openbgpd64-general.yml +++ b/examples/auto-config/openbgpd-general.yml @@ -22,17 +22,12 @@ cfg: action: reject asns: - 174 - - 209 - - 286 - 701 - - 1239 - 1299 - - 2828 - 2914 - 3257 - 3320 - 3356 - - 3549 - 5511 - 6453 - 6461 diff --git a/examples/auto-config/openbgpd64-general.yml.html b/examples/auto-config/openbgpd-general.yml.html similarity index 95% rename from examples/auto-config/openbgpd64-general.yml.html rename to examples/auto-config/openbgpd-general.yml.html index f4defc25..aca2c700 100644 --- a/examples/auto-config/openbgpd64-general.yml.html +++ b/examples/auto-config/openbgpd-general.yml.html @@ -66,7 +66,7 @@

    AS_PATH attribute

    List of "transit-free" networks' ASNs: -174, 209, 286, 701, 1239, 1299, 2828, 2914, 3257, 3320, 3356, 3549, 5511, 6453, 6461, 6762, 6830, 7018, 12956

    +174, 701, 1299, 2914, 3257, 3320, 3356, 5511, 6453, 6461, 6762, 6830, 7018, 12956

  • diff --git a/examples/bird2_rpki_rtr/README.rst b/examples/bird2_rpki_rtr/README.rst deleted file mode 100644 index a23ab75d..00000000 --- a/examples/bird2_rpki_rtr/README.rst +++ /dev/null @@ -1,14 +0,0 @@ -BIRD v2 RPKI RTR configuration ------------------------------- - -This is an example of using BIRD v2 with an external source for RPKI ROAs. - -BIRD v2 has built-in support for the RTR protocol, that allows to connect the BGP daemon directly to a local cache (a "validator"). - -To configure BIRD v2 with ARouteServer in order to fetch ROAs using RTR, the ``rpki_roas.source`` option must be set to ``rtr`` and a local *rpki_rtr_config.local* file must be placed inside the same directory where the main BIRD configuration file is created (*/etc/bird* by default, or a custom one set using the ``--local-files-dir`` command line argument of ARouteServer). - -The *rpki_rtr_config.local* file is expected to contain the snippet of BIRD config needed to setup a *rpki protocol*, accordingly to what is documented in the official BIRD web site: https://bird.network.cz/?get_doc&v=20&f=bird-6.html#ss6.13 - -The names of the tables where ROAs will be injected into must be ``RPKI4`` and ``RPKI6``. - -An example configuration is reported in the *rpki_rtr_config.local* file that can be found within this directory. diff --git a/examples/bird_hooks/bird4.conf b/examples/bird_hooks/bird4.conf index 6c5ff154..67f91950 100644 --- a/examples/bird_hooks/bird4.conf +++ b/examples/bird_hooks/bird4.conf @@ -562,12 +562,12 @@ filter receive_from_AS10745_1 { # AS_PATH: transit-free ASNs - if bgp_path ~ [174, 209, 286, 701, 1239, 1299, 2828, 2914, 3257, 3320, 3356, 3549, 5511, 6453, 6461, 6762, 6830, 7018, 12956] then + if bgp_path ~ [174, 701, 1299, 2914, 3257, 3320, 3356, 5511, 6453, 6461, 6762, 6830, 7018, 12956] then reject "AS_PATH [", bgp_path ,"] contains transit-free ASN - REJECTING ", net; # AS_PATH: never via route-servers ASNs - if bgp_path ~ [174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 212706, 212953, 213202, 213252, 262311, 262888, 263258, 263328, 263856, 263945, 263980, 264212, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328572, 328582, 328748, 393573, 393684, 396477, 399338] then + if bgp_path ~ [174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 7862, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30967, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52946, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 136106, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 211358, 212706, 212953, 213202, 213252, 262191, 262311, 262888, 263258, 263328, 263686, 263856, 263945, 263980, 264212, 264424, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 269906, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328445, 328572, 328582, 328748, 393573, 393684, 396477, 399338] then reject "AS_PATH [", bgp_path ,"] contains never via route-servers ASN - REJECTING ", net; @@ -766,12 +766,12 @@ filter receive_from_AS3333_1 { # AS_PATH: transit-free ASNs - if bgp_path ~ [174, 209, 286, 701, 1239, 1299, 2828, 2914, 3257, 3320, 3356, 3549, 5511, 6453, 6461, 6762, 6830, 7018, 12956] then + if bgp_path ~ [174, 701, 1299, 2914, 3257, 3320, 3356, 5511, 6453, 6461, 6762, 6830, 7018, 12956] then reject "AS_PATH [", bgp_path ,"] contains transit-free ASN - REJECTING ", net; # AS_PATH: never via route-servers ASNs - if bgp_path ~ [174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 212706, 212953, 213202, 213252, 262311, 262888, 263258, 263328, 263856, 263945, 263980, 264212, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328572, 328582, 328748, 393573, 393684, 396477, 399338] then + if bgp_path ~ [174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 7862, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30967, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52946, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 136106, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 211358, 212706, 212953, 213202, 213252, 262191, 262311, 262888, 263258, 263328, 263686, 263856, 263945, 263980, 264212, 264424, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 269906, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328445, 328572, 328582, 328748, 393573, 393684, 396477, 399338] then reject "AS_PATH [", bgp_path ,"] contains never via route-servers ASN - REJECTING ", net; diff --git a/examples/bird_hooks/bird6.conf b/examples/bird_hooks/bird6.conf index 622ef8ea..cd60d14d 100644 --- a/examples/bird_hooks/bird6.conf +++ b/examples/bird_hooks/bird6.conf @@ -600,12 +600,12 @@ filter receive_from_AS10745_2 { # AS_PATH: transit-free ASNs - if bgp_path ~ [174, 209, 286, 701, 1239, 1299, 2828, 2914, 3257, 3320, 3356, 3549, 5511, 6453, 6461, 6762, 6830, 7018, 12956] then + if bgp_path ~ [174, 701, 1299, 2914, 3257, 3320, 3356, 5511, 6453, 6461, 6762, 6830, 7018, 12956] then reject "AS_PATH [", bgp_path ,"] contains transit-free ASN - REJECTING ", net; # AS_PATH: never via route-servers ASNs - if bgp_path ~ [174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 212706, 212953, 213202, 213252, 262311, 262888, 263258, 263328, 263856, 263945, 263980, 264212, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328572, 328582, 328748, 393573, 393684, 396477, 399338] then + if bgp_path ~ [174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 7862, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30967, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52946, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 136106, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 211358, 212706, 212953, 213202, 213252, 262191, 262311, 262888, 263258, 263328, 263686, 263856, 263945, 263980, 264212, 264424, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 269906, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328445, 328572, 328582, 328748, 393573, 393684, 396477, 399338] then reject "AS_PATH [", bgp_path ,"] contains never via route-servers ASN - REJECTING ", net; diff --git a/examples/bird_hooks/general.yml b/examples/bird_hooks/general.yml index 9192ee3a..53282396 100644 --- a/examples/bird_hooks/general.yml +++ b/examples/bird_hooks/general.yml @@ -39,9 +39,8 @@ cfg: transit_free: action: "reject" asns: > - 174, 209, 286, 701, 1239, 1299, 2828, 2914, - 3257, 3320, 3356, 3549, 5511, 6453, 6461, - 6762, 6830, 7018, 12956 + 174, 701, 1299, 2914, 3257, 3320, 3356, 5511, + 6453, 6461, 6762, 6830, 7018, 12956 irrdb: enforce_origin_in_as_set: True diff --git a/examples/default/bird4.conf b/examples/default/bird4.conf index fc560136..ef94ca89 100644 --- a/examples/default/bird4.conf +++ b/examples/default/bird4.conf @@ -303,7 +303,7 @@ filter receive_from_AS10745_1 { # AS_PATH: never via route-servers ASNs - if bgp_path ~ [174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 212706, 212953, 213202, 213252, 262311, 262888, 263258, 263328, 263856, 263945, 263980, 264212, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328572, 328582, 328748, 393573, 393684, 396477, 399338] then + if bgp_path ~ [174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 7862, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30967, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52946, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 136106, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 211358, 212706, 212953, 213202, 213252, 262191, 262311, 262888, 263258, 263328, 263686, 263856, 263945, 263980, 264212, 264424, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 269906, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328445, 328572, 328582, 328748, 393573, 393684, 396477, 399338] then reject "AS_PATH [", bgp_path ,"] contains never via route-servers ASN - REJECTING ", net; @@ -469,7 +469,7 @@ filter receive_from_AS3333_1 { # AS_PATH: never via route-servers ASNs - if bgp_path ~ [174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 212706, 212953, 213202, 213252, 262311, 262888, 263258, 263328, 263856, 263945, 263980, 264212, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328572, 328582, 328748, 393573, 393684, 396477, 399338] then + if bgp_path ~ [174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 7862, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30967, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52946, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 136106, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 211358, 212706, 212953, 213202, 213252, 262191, 262311, 262888, 263258, 263328, 263686, 263856, 263945, 263980, 264212, 264424, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 269906, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328445, 328572, 328582, 328748, 393573, 393684, 396477, 399338] then reject "AS_PATH [", bgp_path ,"] contains never via route-servers ASN - REJECTING ", net; diff --git a/examples/default/bird6.conf b/examples/default/bird6.conf index 1d63003e..b9bb898d 100644 --- a/examples/default/bird6.conf +++ b/examples/default/bird6.conf @@ -341,7 +341,7 @@ filter receive_from_AS10745_2 { # AS_PATH: never via route-servers ASNs - if bgp_path ~ [174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 212706, 212953, 213202, 213252, 262311, 262888, 263258, 263328, 263856, 263945, 263980, 264212, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328572, 328582, 328748, 393573, 393684, 396477, 399338] then + if bgp_path ~ [174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 7862, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30967, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52946, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 136106, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 211358, 212706, 212953, 213202, 213252, 262191, 262311, 262888, 263258, 263328, 263686, 263856, 263945, 263980, 264212, 264424, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 269906, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328445, 328572, 328582, 328748, 393573, 393684, 396477, 399338] then reject "AS_PATH [", bgp_path ,"] contains never via route-servers ASN - REJECTING ", net; diff --git a/examples/default/bird_v2.conf b/examples/default/bird_v2.conf index 6d86e351..86a8df61 100644 --- a/examples/default/bird_v2.conf +++ b/examples/default/bird_v2.conf @@ -421,7 +421,7 @@ filter receive_from_AS10745_1 { # AS_PATH: never via route-servers ASNs - if bgp_path ~ [174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 212706, 212953, 213202, 213252, 262311, 262888, 263258, 263328, 263856, 263945, 263980, 264212, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328572, 328582, 328748, 393573, 393684, 396477, 399338] then + if bgp_path ~ [174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 7862, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30967, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52946, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 136106, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 211358, 212706, 212953, 213202, 213252, 262191, 262311, 262888, 263258, 263328, 263686, 263856, 263945, 263980, 264212, 264424, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 269906, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328445, 328572, 328582, 328748, 393573, 393684, 396477, 399338] then reject "AS_PATH [", bgp_path ,"] contains never via route-servers ASN - REJECTING ", net; @@ -597,7 +597,7 @@ filter receive_from_AS10745_2 { # AS_PATH: never via route-servers ASNs - if bgp_path ~ [174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 212706, 212953, 213202, 213252, 262311, 262888, 263258, 263328, 263856, 263945, 263980, 264212, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328572, 328582, 328748, 393573, 393684, 396477, 399338] then + if bgp_path ~ [174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 7862, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30967, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52946, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 136106, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 211358, 212706, 212953, 213202, 213252, 262191, 262311, 262888, 263258, 263328, 263686, 263856, 263945, 263980, 264212, 264424, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 269906, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328445, 328572, 328582, 328748, 393573, 393684, 396477, 399338] then reject "AS_PATH [", bgp_path ,"] contains never via route-servers ASN - REJECTING ", net; @@ -777,7 +777,7 @@ filter receive_from_AS3333_1 { # AS_PATH: never via route-servers ASNs - if bgp_path ~ [174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 212706, 212953, 213202, 213252, 262311, 262888, 263258, 263328, 263856, 263945, 263980, 264212, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328572, 328582, 328748, 393573, 393684, 396477, 399338] then + if bgp_path ~ [174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 7862, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30967, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52946, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 136106, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 211358, 212706, 212953, 213202, 213252, 262191, 262311, 262888, 263258, 263328, 263686, 263856, 263945, 263980, 264212, 264424, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 269906, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328445, 328572, 328582, 328748, 393573, 393684, 396477, 399338] then reject "AS_PATH [", bgp_path ,"] contains never via route-servers ASN - REJECTING ", net; diff --git a/examples/default/openbgpd.conf b/examples/default/openbgpd.conf index 46416e56..2fc40886 100644 --- a/examples/default/openbgpd.conf +++ b/examples/default/openbgpd.conf @@ -7,6 +7,8 @@ log updates nexthop qualify via default +rde evaluate all + INTCOMM_PREF_OK_ROA="soo 65535:1" INTCOMM_ROUTE_OK_WL="soo 65535:2" INTCOMM_PREF_OK_ARINDB="soo 65535:3" @@ -65,6 +67,8 @@ group "clients" { neighbor 192.0.2.22 { remote-as 10745 + rde evaluate all + passive ttl-security no transparent-as yes @@ -80,6 +84,8 @@ group "clients" { neighbor 2001:db:1:1::22 { remote-as 10745 + rde evaluate all + passive ttl-security no transparent-as yes @@ -95,6 +101,8 @@ group "clients" { neighbor 192.0.2.11 { remote-as 3333 + rde evaluate all + passive ttl-security no transparent-as yes @@ -210,6 +218,7 @@ match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ + # AS_PATH: length # Reject inbound routes when 'from group clients max-as-len 32' - reject code: 1 deny quick from group clients max-as-len 32 @@ -264,8 +273,8 @@ deny quick from 192.0.2.22 AS 4200000000 - 4294967295 # AS_PATH: never via route-servers ASNs -# Reject inbound routes when 'from 192.0.2.22 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 212706, 212953, 213202, 213252, 262311, 262888, 263258, 263328, 263856, 263945, 263980, 264212, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328572, 328582, 328748, 393573, 393684, 396477, 399338 }' - reject code: 15 -deny quick from 192.0.2.22 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 212706, 212953, 213202, 213252, 262311, 262888, 263258, 263328, 263856, 263945, 263980, 264212, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328572, 328582, 328748, 393573, 393684, 396477, 399338 } +# Reject inbound routes when 'from 192.0.2.22 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 7862, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30967, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52946, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 136106, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 211358, 212706, 212953, 213202, 213252, 262191, 262311, 262888, 263258, 263328, 263686, 263856, 263945, 263980, 264212, 264424, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 269906, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328445, 328572, 328582, 328748, 393573, 393684, 396477, 399338 }' - reject code: 15 +deny quick from 192.0.2.22 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 7862, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30967, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52946, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 136106, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 211358, 212706, 212953, 213202, 213252, 262191, 262311, 262888, 263258, 263328, 263686, 263856, 263945, 263980, 264212, 264424, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 269906, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328445, 328572, 328582, 328748, 393573, 393684, 396477, 399338 } @@ -368,8 +377,8 @@ deny quick from 2001:db:1:1::22 AS 4200000000 - 4294967295 # AS_PATH: never via route-servers ASNs -# Reject inbound routes when 'from 2001:db:1:1::22 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 212706, 212953, 213202, 213252, 262311, 262888, 263258, 263328, 263856, 263945, 263980, 264212, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328572, 328582, 328748, 393573, 393684, 396477, 399338 }' - reject code: 15 -deny quick from 2001:db:1:1::22 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 212706, 212953, 213202, 213252, 262311, 262888, 263258, 263328, 263856, 263945, 263980, 264212, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328572, 328582, 328748, 393573, 393684, 396477, 399338 } +# Reject inbound routes when 'from 2001:db:1:1::22 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 7862, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30967, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52946, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 136106, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 211358, 212706, 212953, 213202, 213252, 262191, 262311, 262888, 263258, 263328, 263686, 263856, 263945, 263980, 264212, 264424, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 269906, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328445, 328572, 328582, 328748, 393573, 393684, 396477, 399338 }' - reject code: 15 +deny quick from 2001:db:1:1::22 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 7862, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30967, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52946, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 136106, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 211358, 212706, 212953, 213202, 213252, 262191, 262311, 262888, 263258, 263328, 263686, 263856, 263945, 263980, 264212, 264424, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 269906, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328445, 328572, 328582, 328748, 393573, 393684, 396477, 399338 } @@ -472,8 +481,8 @@ deny quick from 192.0.2.11 AS 4200000000 - 4294967295 # AS_PATH: never via route-servers ASNs -# Reject inbound routes when 'from 192.0.2.11 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 212706, 212953, 213202, 213252, 262311, 262888, 263258, 263328, 263856, 263945, 263980, 264212, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328572, 328582, 328748, 393573, 393684, 396477, 399338 }' - reject code: 15 -deny quick from 192.0.2.11 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 212706, 212953, 213202, 213252, 262311, 262888, 263258, 263328, 263856, 263945, 263980, 264212, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328572, 328582, 328748, 393573, 393684, 396477, 399338 } +# Reject inbound routes when 'from 192.0.2.11 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 7862, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30967, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52946, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 136106, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 211358, 212706, 212953, 213202, 213252, 262191, 262311, 262888, 263258, 263328, 263686, 263856, 263945, 263980, 264212, 264424, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 269906, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328445, 328572, 328582, 328748, 393573, 393684, 396477, 399338 }' - reject code: 15 +deny quick from 192.0.2.11 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 7862, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30967, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52946, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 136106, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 211358, 212706, 212953, 213202, 213252, 262191, 262311, 262888, 263258, 263328, 263686, 263856, 263945, 263980, 264212, 264424, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 269906, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328445, 328572, 328582, 328748, 393573, 393684, 396477, 399338 } diff --git a/examples/default/template-context b/examples/default/template-context index cfeb7c0d..2e76d130 100644 --- a/examples/default/template-context +++ b/examples/default/template-context @@ -270,17 +270,12 @@ cfg: action: null asns: - 174 - - 209 - - 286 - 701 - - 1239 - 1299 - - 2828 - 2914 - 3257 - 3320 - 3356 - - 3549 - 5511 - 6453 - 6461 @@ -975,9 +970,11 @@ never_via_route_servers_asns - 202793 - 134022 - 3754 +- 264424 - 264212 - 11670 - 3630 +- 7862 - 262311 - 48408 - 52973 @@ -989,11 +986,13 @@ never_via_route_servers_asns - 135848 - 134041 - 138023 +- 136106 - 132996 - 30983 - 263258 - 396477 - 7195 +- 262191 - 54295 - 138953 - 263980 @@ -1057,3 +1056,7 @@ never_via_route_servers_asns - 267214 - 62164 - 263686 +- 269906 +- 52946 +- 30967 +- 211358 diff --git a/examples/default/template-context4 b/examples/default/template-context4 index a4b0b4de..65507415 100644 --- a/examples/default/template-context4 +++ b/examples/default/template-context4 @@ -270,17 +270,12 @@ cfg: action: null asns: - 174 - - 209 - - 286 - 701 - - 1239 - 1299 - - 2828 - 2914 - 3257 - 3320 - 3356 - - 3549 - 5511 - 6453 - 6461 @@ -945,9 +940,11 @@ never_via_route_servers_asns - 202793 - 134022 - 3754 +- 264424 - 264212 - 11670 - 3630 +- 7862 - 262311 - 48408 - 52973 @@ -959,11 +956,13 @@ never_via_route_servers_asns - 135848 - 134041 - 138023 +- 136106 - 132996 - 30983 - 263258 - 396477 - 7195 +- 262191 - 54295 - 138953 - 263980 @@ -1027,3 +1026,7 @@ never_via_route_servers_asns - 267214 - 62164 - 263686 +- 269906 +- 52946 +- 30967 +- 211358 diff --git a/examples/default/template-context6 b/examples/default/template-context6 index 9795ff1b..88c724fd 100644 --- a/examples/default/template-context6 +++ b/examples/default/template-context6 @@ -270,17 +270,12 @@ cfg: action: null asns: - 174 - - 209 - - 286 - 701 - - 1239 - 1299 - - 2828 - 2914 - 3257 - 3320 - 3356 - - 3549 - 5511 - 6453 - 6461 @@ -901,9 +896,11 @@ never_via_route_servers_asns - 202793 - 134022 - 3754 +- 264424 - 264212 - 11670 - 3630 +- 7862 - 262311 - 48408 - 52973 @@ -915,11 +912,13 @@ never_via_route_servers_asns - 135848 - 134041 - 138023 +- 136106 - 132996 - 30983 - 263258 - 396477 - 7195 +- 262191 - 54295 - 138953 - 263980 @@ -983,3 +982,7 @@ never_via_route_servers_asns - 267214 - 62164 - 263686 +- 269906 +- 52946 +- 30967 +- 211358 diff --git a/examples/rich/bird4.conf b/examples/rich/bird4.conf index c697604d..3aecfec6 100644 --- a/examples/rich/bird4.conf +++ b/examples/rich/bird4.conf @@ -65,19 +65,18 @@ define AS_SET_AS_RIPENCC_asns = [ define AS_SET_AS_RIPENCC_prefixes_4 = [ 27.0.0.0/24{24,32}, 27.50.0.0/22{22,32}, 39.0.1.0/24{24,32}, 84.205.64.0/19{24,32}, - 93.175.144.0/24{24,32}, 93.175.146.0/23{24,32}, 93.175.148.0/22{24,32}, 103.0.0.0/16{16,32}, - 103.1.0.0/22{22,32}, 103.1.4.0/24{24,32}, 106.0.1.0/24{24,32}, 193.0.0.0/21{21,32}, - 193.0.10.0/23{23,32}, 193.0.12.0/23{23,32}, 193.0.18.0/23{23,32}, 193.0.20.0/22{23,32}, - 193.0.24.0/21{21,32} + 93.175.144.0/24{24,32}, 93.175.146.0/23{24,32}, 93.175.148.0/22{24,32}, 103.1.0.0/22{22,32}, + 103.1.4.0/24{24,32}, 106.0.1.0/24{24,32}, 193.0.0.0/21{21,32}, 193.0.10.0/23{23,32}, + 193.0.12.0/23{23,32}, 193.0.18.0/23{23,32}, 193.0.20.0/22{23,32}, 193.0.24.0/21{21,32} ]; # ARIN Whois database records define ARIN_Whois_db_AS10745_4 = [ - 192.136.136.0/24{24,32}, 192.149.252.0/24{24,32}, 199.43.0.0/24{24,32} + 199.43.0.0/24{24,32}, 192.149.252.0/24{24,32}, 192.136.136.0/24{24,32} ]; define ARIN_Whois_db_AS12654_4 = [ - 23.128.25.0/24{24,32}, 23.128.125.0/24{24,32}, 23.128.124.0/24{24,32}, 23.128.24.0/24{24,32} + 23.128.24.0/24{24,32}, 23.128.124.0/24{24,32}, 23.128.25.0/24{24,32}, 23.128.125.0/24{24,32} ]; @@ -1753,12 +1752,12 @@ filter receive_from_AS10745_1 { # AS_PATH: transit-free ASNs - if bgp_path ~ [174, 209, 286, 701, 1239, 1299, 2828, 2914, 3257, 3320, 3356, 3549, 5511, 6453, 6461, 6762, 6830, 7018, 12956] then + if bgp_path ~ [174, 701, 1299, 2914, 3257, 3320, 3356, 5511, 6453, 6461, 6762, 6830, 7018, 12956] then reject "AS_PATH [", bgp_path ,"] contains transit-free ASN - REJECTING ", net; # AS_PATH: never via route-servers ASNs - if bgp_path ~ [174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 212706, 212953, 213202, 213252, 262311, 262888, 263258, 263328, 263856, 263945, 263980, 264212, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328572, 328582, 328748, 393573, 393684, 396477, 399338] then + if bgp_path ~ [174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 7862, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30967, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52946, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 136106, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 211358, 212706, 212953, 213202, 213252, 262191, 262311, 262888, 263258, 263328, 263686, 263856, 263945, 263980, 264212, 264424, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 269906, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328445, 328572, 328582, 328748, 393573, 393684, 396477, 399338] then reject "AS_PATH [", bgp_path ,"] contains never via route-servers ASN - REJECTING ", net; @@ -1975,12 +1974,12 @@ filter receive_from_AS3333_1 { # AS_PATH: transit-free ASNs - if bgp_path ~ [174, 209, 286, 701, 1239, 1299, 2828, 2914, 3257, 3320, 3356, 3549, 5511, 6453, 6461, 6762, 6830, 7018, 12956] then + if bgp_path ~ [174, 701, 1299, 2914, 3257, 3320, 3356, 5511, 6453, 6461, 6762, 6830, 7018, 12956] then reject "AS_PATH [", bgp_path ,"] contains transit-free ASN - REJECTING ", net; # AS_PATH: never via route-servers ASNs - if bgp_path ~ [174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 212706, 212953, 213202, 213252, 262311, 262888, 263258, 263328, 263856, 263945, 263980, 264212, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328572, 328582, 328748, 393573, 393684, 396477, 399338] then + if bgp_path ~ [174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 7862, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30967, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52946, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 136106, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 211358, 212706, 212953, 213202, 213252, 262191, 262311, 262888, 263258, 263328, 263686, 263856, 263945, 263980, 264212, 264424, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 269906, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328445, 328572, 328582, 328748, 393573, 393684, 396477, 399338] then reject "AS_PATH [", bgp_path ,"] contains never via route-servers ASN - REJECTING ", net; diff --git a/examples/rich/bird6.conf b/examples/rich/bird6.conf index 29a893f8..3d5e5cbf 100644 --- a/examples/rich/bird6.conf +++ b/examples/rich/bird6.conf @@ -45,7 +45,7 @@ define AS_SET_AS10745_prefixes_6 = [ # ARIN Whois database records define ARIN_Whois_db_AS10745_6 = [ - 2001:500:110::/48{48,128}, 2001:500:4::/48{48,128} + 2001:500:4::/48{48,128}, 2001:500:110::/48{48,128} ]; @@ -1767,12 +1767,12 @@ filter receive_from_AS10745_2 { # AS_PATH: transit-free ASNs - if bgp_path ~ [174, 209, 286, 701, 1239, 1299, 2828, 2914, 3257, 3320, 3356, 3549, 5511, 6453, 6461, 6762, 6830, 7018, 12956] then + if bgp_path ~ [174, 701, 1299, 2914, 3257, 3320, 3356, 5511, 6453, 6461, 6762, 6830, 7018, 12956] then reject "AS_PATH [", bgp_path ,"] contains transit-free ASN - REJECTING ", net; # AS_PATH: never via route-servers ASNs - if bgp_path ~ [174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 212706, 212953, 213202, 213252, 262311, 262888, 263258, 263328, 263856, 263945, 263980, 264212, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328572, 328582, 328748, 393573, 393684, 396477, 399338] then + if bgp_path ~ [174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 7862, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30967, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52946, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 136106, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 211358, 212706, 212953, 213202, 213252, 262191, 262311, 262888, 263258, 263328, 263686, 263856, 263945, 263980, 264212, 264424, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 269906, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328445, 328572, 328582, 328748, 393573, 393684, 396477, 399338] then reject "AS_PATH [", bgp_path ,"] contains never via route-servers ASN - REJECTING ", net; diff --git a/examples/rich/bird_v2.conf b/examples/rich/bird_v2.conf index 998e4693..e0cb7d72 100644 --- a/examples/rich/bird_v2.conf +++ b/examples/rich/bird_v2.conf @@ -82,10 +82,9 @@ define AS_SET_AS_RIPENCC_asns = [ define AS_SET_AS_RIPENCC_prefixes_4 = [ 27.0.0.0/24{24,32}, 27.50.0.0/22{22,32}, 39.0.1.0/24{24,32}, 84.205.64.0/19{24,32}, - 93.175.144.0/24{24,32}, 93.175.146.0/23{24,32}, 93.175.148.0/22{24,32}, 103.0.0.0/16{16,32}, - 103.1.0.0/22{22,32}, 103.1.4.0/24{24,32}, 106.0.1.0/24{24,32}, 193.0.0.0/21{21,32}, - 193.0.10.0/23{23,32}, 193.0.12.0/23{23,32}, 193.0.18.0/23{23,32}, 193.0.20.0/22{23,32}, - 193.0.24.0/21{21,32} + 93.175.144.0/24{24,32}, 93.175.146.0/23{24,32}, 93.175.148.0/22{24,32}, 103.1.0.0/22{22,32}, + 103.1.4.0/24{24,32}, 106.0.1.0/24{24,32}, 193.0.0.0/21{21,32}, 193.0.10.0/23{23,32}, + 193.0.12.0/23{23,32}, 193.0.18.0/23{23,32}, 193.0.20.0/22{23,32}, 193.0.24.0/21{21,32} ]; define AS_SET_AS_RIPENCC_prefixes_6 = [ 2001:67c:64::/48{48,128}, 2001:67c:2e8::/48{48,128}, 2001:7fb:fd02::/47{48,128}, 2001:7fb:fd04::/48{48,128}, @@ -97,13 +96,13 @@ define AS_SET_AS_RIPENCC_prefixes_6 = [ # ARIN Whois database records define ARIN_Whois_db_AS10745_4 = [ - 192.149.252.0/24{24,32}, 199.43.0.0/24{24,32}, 192.136.136.0/24{24,32} + 192.149.252.0/24{24,32}, 192.136.136.0/24{24,32}, 199.43.0.0/24{24,32} ]; define ARIN_Whois_db_AS10745_6 = [ - 2001:500:110::/48{48,128}, 2001:500:4::/48{48,128} + 2001:500:4::/48{48,128}, 2001:500:110::/48{48,128} ]; define ARIN_Whois_db_AS12654_4 = [ - 23.128.25.0/24{24,32}, 23.128.124.0/24{24,32}, 23.128.24.0/24{24,32}, 23.128.125.0/24{24,32} + 23.128.125.0/24{24,32}, 23.128.24.0/24{24,32}, 23.128.25.0/24{24,32}, 23.128.124.0/24{24,32} ]; # no IPv6 prefixes found in the ARIN Whois database for ASAS12654 @@ -1934,12 +1933,12 @@ filter receive_from_AS10745_1 { # AS_PATH: transit-free ASNs - if bgp_path ~ [174, 209, 286, 701, 1239, 1299, 2828, 2914, 3257, 3320, 3356, 3549, 5511, 6453, 6461, 6762, 6830, 7018, 12956] then + if bgp_path ~ [174, 701, 1299, 2914, 3257, 3320, 3356, 5511, 6453, 6461, 6762, 6830, 7018, 12956] then reject "AS_PATH [", bgp_path ,"] contains transit-free ASN - REJECTING ", net; # AS_PATH: never via route-servers ASNs - if bgp_path ~ [174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 212706, 212953, 213202, 213252, 262311, 262888, 263258, 263328, 263856, 263945, 263980, 264212, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328572, 328582, 328748, 393573, 393684, 396477, 399338] then + if bgp_path ~ [174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 7862, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30967, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52946, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 136106, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 211358, 212706, 212953, 213202, 213252, 262191, 262311, 262888, 263258, 263328, 263686, 263856, 263945, 263980, 264212, 264424, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 269906, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328445, 328572, 328582, 328748, 393573, 393684, 396477, 399338] then reject "AS_PATH [", bgp_path ,"] contains never via route-servers ASN - REJECTING ", net; @@ -2030,7 +2029,7 @@ protocol bgp AS10745_1 { secondary; - import limit 121 action restart; + receive limit 121 action restart; import table on; @@ -2160,12 +2159,12 @@ filter receive_from_AS10745_2 { # AS_PATH: transit-free ASNs - if bgp_path ~ [174, 209, 286, 701, 1239, 1299, 2828, 2914, 3257, 3320, 3356, 3549, 5511, 6453, 6461, 6762, 6830, 7018, 12956] then + if bgp_path ~ [174, 701, 1299, 2914, 3257, 3320, 3356, 5511, 6453, 6461, 6762, 6830, 7018, 12956] then reject "AS_PATH [", bgp_path ,"] contains transit-free ASN - REJECTING ", net; # AS_PATH: never via route-servers ASNs - if bgp_path ~ [174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 212706, 212953, 213202, 213252, 262311, 262888, 263258, 263328, 263856, 263945, 263980, 264212, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328572, 328582, 328748, 393573, 393684, 396477, 399338] then + if bgp_path ~ [174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 7862, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30967, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52946, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 136106, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 211358, 212706, 212953, 213202, 213252, 262191, 262311, 262888, 263258, 263328, 263686, 263856, 263945, 263980, 264212, 264424, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 269906, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328445, 328572, 328582, 328748, 393573, 393684, 396477, 399338] then reject "AS_PATH [", bgp_path ,"] contains never via route-servers ASN - REJECTING ", net; @@ -2260,7 +2259,7 @@ protocol bgp AS10745_2 { secondary; - import limit 13915 action restart; + receive limit 13915 action restart; import table on; @@ -2395,12 +2394,12 @@ filter receive_from_AS3333_1 { # AS_PATH: transit-free ASNs - if bgp_path ~ [174, 209, 286, 701, 1239, 1299, 2828, 2914, 3257, 3320, 3356, 3549, 5511, 6453, 6461, 6762, 6830, 7018, 12956] then + if bgp_path ~ [174, 701, 1299, 2914, 3257, 3320, 3356, 5511, 6453, 6461, 6762, 6830, 7018, 12956] then reject "AS_PATH [", bgp_path ,"] contains transit-free ASN - REJECTING ", net; # AS_PATH: never via route-servers ASNs - if bgp_path ~ [174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 212706, 212953, 213202, 213252, 262311, 262888, 263258, 263328, 263856, 263945, 263980, 264212, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328572, 328582, 328748, 393573, 393684, 396477, 399338] then + if bgp_path ~ [174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 7862, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30967, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52946, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 136106, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 211358, 212706, 212953, 213202, 213252, 262191, 262311, 262888, 263258, 263328, 263686, 263856, 263945, 263980, 264212, 264424, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 269906, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328445, 328572, 328582, 328748, 393573, 393684, 396477, 399338] then reject "AS_PATH [", bgp_path ,"] contains never via route-servers ASN - REJECTING ", net; @@ -2491,7 +2490,7 @@ protocol bgp AS3333_1 { secondary; - import limit 150 action restart; + receive limit 150 action restart; import table on; diff --git a/examples/rich/description.html b/examples/rich/description.html index 1a3601fb..3e99ee8f 100644 --- a/examples/rich/description.html +++ b/examples/rich/description.html @@ -67,7 +67,7 @@

    AS_PATH attribute

    List of "transit-free" networks' ASNs: -174, 209, 286, 701, 1239, 1299, 2828, 2914, 3257, 3320, 3356, 3549, 5511, 6453, 6461, 6762, 6830, 7018, 12956

    +174, 701, 1299, 2914, 3257, 3320, 3356, 5511, 6453, 6461, 6762, 6830, 7018, 12956

  • diff --git a/examples/rich/general.yml b/examples/rich/general.yml index dc80620e..79c339bd 100644 --- a/examples/rich/general.yml +++ b/examples/rich/general.yml @@ -39,9 +39,8 @@ cfg: transit_free: action: "reject" asns: > - 174, 209, 286, 701, 1239, 1299, 2828, 2914, - 3257, 3320, 3356, 3549, 5511, 6453, 6461, - 6762, 6830, 7018, 12956 + 174, 701, 1299, 2914, 3257, 3320, 3356, 5511, + 6453, 6461, 6762, 6830, 7018, 12956 never_via_route_servers: peering_db: True diff --git a/examples/rich/openbgpd.conf b/examples/rich/openbgpd.conf index 121ce52b..1deff75b 100644 --- a/examples/rich/openbgpd.conf +++ b/examples/rich/openbgpd.conf @@ -7,6 +7,8 @@ log updates nexthop qualify via default +rde evaluate all + INTCOMM_PREF_OK_ROA="soo 65535:1" INTCOMM_ROUTE_OK_WL="soo 65535:2" INTCOMM_PREF_OK_ARINDB="soo 65535:3" @@ -66,7 +68,6 @@ prefix-set "AS_SET_AS_RIPENCC_prefixes" { 93.175.144.0/24 prefixlen 24 - 32 93.175.146.0/23 prefixlen 24 - 32 93.175.148.0/22 prefixlen 24 - 32 - 103.0.0.0/16 prefixlen 16 - 32 103.1.0.0/22 prefixlen 22 - 32 103.1.4.0/24 prefixlen 24 - 32 106.0.1.0/24 prefixlen 24 - 32 @@ -106,6 +107,8 @@ group "clients" { neighbor 192.0.2.22 { remote-as 10745 + rde evaluate all + passive ttl-security yes max-prefix 121 restart 30 @@ -123,6 +126,8 @@ group "clients" { neighbor 2001:db8:1:1::22 { remote-as 10745 + rde evaluate all + passive ttl-security yes max-prefix 13915 restart 30 @@ -140,6 +145,8 @@ group "clients" { neighbor 192.0.2.11 { remote-as 3333 + rde evaluate all + passive ttl-security yes max-prefix 150 restart 30 @@ -283,7 +290,9 @@ match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ # --------------------------------------------------------- -# RPKI-based Origin Validation +# ROAs source + + roa-set { 193.0.0.0/21 source-as 3333 193.0.24.0/22 maxlen 26 source-as 3333 @@ -302,6 +311,12 @@ roa-set { } + + +# --------------------------------------------------------- +# RPKI-based Origin Validation + + # Add $INTCOMM_RPKI_UNKNOWN, $INTCOMM_RPKI_INVALID and $INTCOMM_RPKI_VALID # ext community on the basis of ovs. match from group clients ovs not-found set ext-community $INTCOMM_RPKI_UNKNOWN @@ -310,17 +325,20 @@ match from group clients ovs invalid set ext-community $INTCOMM_RPKI_INVALID - +# --------------------------------------------------------- # RPKI ROAs used as route objects. + # Add the $INTCOMM_PREF_OK_ROA ext community to routes whose # origin ASN has a ROA for the announced prefix. # It will be used later during IRRDB validation in # case the origin ASN is authorized by a client's # AS-SET but the prefix is not. + # Since RPKI-based Origin Validation is already performed above, # use the origin validation state to identify valid routes. match from group clients ovs valid set ext-community $INTCOMM_PREF_OK_ROA + # ARIN Whois records used for preifx validation # --------------------------------------------- @@ -410,13 +428,13 @@ deny quick from 192.0.2.22 AS 4200000000 - 4294967295 # AS_PATH: transit-free ASNs -# Reject inbound routes when 'from 192.0.2.22 AS { 174, 209, 286, 701, 1239, 1299, 2828, 2914, 3257, 3320, 3356, 3549, 5511, 6453, 6461, 6762, 6830, 7018, 12956 }' - reject code: 8 -deny quick from 192.0.2.22 AS { 174, 209, 286, 701, 1239, 1299, 2828, 2914, 3257, 3320, 3356, 3549, 5511, 6453, 6461, 6762, 6830, 7018, 12956 } +# Reject inbound routes when 'from 192.0.2.22 AS { 174, 701, 1299, 2914, 3257, 3320, 3356, 5511, 6453, 6461, 6762, 6830, 7018, 12956 }' - reject code: 8 +deny quick from 192.0.2.22 AS { 174, 701, 1299, 2914, 3257, 3320, 3356, 5511, 6453, 6461, 6762, 6830, 7018, 12956 } # AS_PATH: never via route-servers ASNs -# Reject inbound routes when 'from 192.0.2.22 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 212706, 212953, 213202, 213252, 262311, 262888, 263258, 263328, 263856, 263945, 263980, 264212, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328572, 328582, 328748, 393573, 393684, 396477, 399338 }' - reject code: 15 -deny quick from 192.0.2.22 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 212706, 212953, 213202, 213252, 262311, 262888, 263258, 263328, 263856, 263945, 263980, 264212, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328572, 328582, 328748, 393573, 393684, 396477, 399338 } +# Reject inbound routes when 'from 192.0.2.22 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 7862, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30967, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52946, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 136106, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 211358, 212706, 212953, 213202, 213252, 262191, 262311, 262888, 263258, 263328, 263686, 263856, 263945, 263980, 264212, 264424, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 269906, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328445, 328572, 328582, 328748, 393573, 393684, 396477, 399338 }' - reject code: 15 +deny quick from 192.0.2.22 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 7862, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30967, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52946, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 136106, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 211358, 212706, 212953, 213202, 213252, 262191, 262311, 262888, 263258, 263328, 263686, 263856, 263945, 263980, 264212, 264424, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 269906, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328445, 328572, 328582, 328748, 393573, 393684, 396477, 399338 } @@ -1067,13 +1085,13 @@ deny quick from 2001:db8:1:1::22 AS 4200000000 - 4294967295 # AS_PATH: transit-free ASNs -# Reject inbound routes when 'from 2001:db8:1:1::22 AS { 174, 209, 286, 701, 1239, 1299, 2828, 2914, 3257, 3320, 3356, 3549, 5511, 6453, 6461, 6762, 6830, 7018, 12956 }' - reject code: 8 -deny quick from 2001:db8:1:1::22 AS { 174, 209, 286, 701, 1239, 1299, 2828, 2914, 3257, 3320, 3356, 3549, 5511, 6453, 6461, 6762, 6830, 7018, 12956 } +# Reject inbound routes when 'from 2001:db8:1:1::22 AS { 174, 701, 1299, 2914, 3257, 3320, 3356, 5511, 6453, 6461, 6762, 6830, 7018, 12956 }' - reject code: 8 +deny quick from 2001:db8:1:1::22 AS { 174, 701, 1299, 2914, 3257, 3320, 3356, 5511, 6453, 6461, 6762, 6830, 7018, 12956 } # AS_PATH: never via route-servers ASNs -# Reject inbound routes when 'from 2001:db8:1:1::22 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 212706, 212953, 213202, 213252, 262311, 262888, 263258, 263328, 263856, 263945, 263980, 264212, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328572, 328582, 328748, 393573, 393684, 396477, 399338 }' - reject code: 15 -deny quick from 2001:db8:1:1::22 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 212706, 212953, 213202, 213252, 262311, 262888, 263258, 263328, 263856, 263945, 263980, 264212, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328572, 328582, 328748, 393573, 393684, 396477, 399338 } +# Reject inbound routes when 'from 2001:db8:1:1::22 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 7862, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30967, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52946, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 136106, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 211358, 212706, 212953, 213202, 213252, 262191, 262311, 262888, 263258, 263328, 263686, 263856, 263945, 263980, 264212, 264424, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 269906, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328445, 328572, 328582, 328748, 393573, 393684, 396477, 399338 }' - reject code: 15 +deny quick from 2001:db8:1:1::22 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 7862, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30967, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52946, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 136106, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 211358, 212706, 212953, 213202, 213252, 262191, 262311, 262888, 263258, 263328, 263686, 263856, 263945, 263980, 264212, 264424, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 269906, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328445, 328572, 328582, 328748, 393573, 393684, 396477, 399338 } @@ -1724,13 +1742,13 @@ deny quick from 192.0.2.11 AS 4200000000 - 4294967295 # AS_PATH: transit-free ASNs -# Reject inbound routes when 'from 192.0.2.11 AS { 174, 209, 286, 701, 1239, 1299, 2828, 2914, 3257, 3320, 3356, 3549, 5511, 6453, 6461, 6762, 6830, 7018, 12956 }' - reject code: 8 -deny quick from 192.0.2.11 AS { 174, 209, 286, 701, 1239, 1299, 2828, 2914, 3257, 3320, 3356, 3549, 5511, 6453, 6461, 6762, 6830, 7018, 12956 } +# Reject inbound routes when 'from 192.0.2.11 AS { 174, 701, 1299, 2914, 3257, 3320, 3356, 5511, 6453, 6461, 6762, 6830, 7018, 12956 }' - reject code: 8 +deny quick from 192.0.2.11 AS { 174, 701, 1299, 2914, 3257, 3320, 3356, 5511, 6453, 6461, 6762, 6830, 7018, 12956 } # AS_PATH: never via route-servers ASNs -# Reject inbound routes when 'from 192.0.2.11 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 212706, 212953, 213202, 213252, 262311, 262888, 263258, 263328, 263856, 263945, 263980, 264212, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328572, 328582, 328748, 393573, 393684, 396477, 399338 }' - reject code: 15 -deny quick from 192.0.2.11 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 212706, 212953, 213202, 213252, 262311, 262888, 263258, 263328, 263856, 263945, 263980, 264212, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328572, 328582, 328748, 393573, 393684, 396477, 399338 } +# Reject inbound routes when 'from 192.0.2.11 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 7862, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30967, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52946, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 136106, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 211358, 212706, 212953, 213202, 213252, 262191, 262311, 262888, 263258, 263328, 263686, 263856, 263945, 263980, 264212, 264424, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 269906, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328445, 328572, 328582, 328748, 393573, 393684, 396477, 399338 }' - reject code: 15 +deny quick from 192.0.2.11 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 7862, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30967, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52946, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 136106, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 211358, 212706, 212953, 213202, 213252, 262191, 262311, 262888, 263258, 263328, 263686, 263856, 263945, 263980, 264212, 264424, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 269906, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328445, 328572, 328582, 328748, 393573, 393684, 396477, 399338 } diff --git a/examples/rich/template-context b/examples/rich/template-context index 9d121166..c6bab702 100644 --- a/examples/rich/template-context +++ b/examples/rich/template-context @@ -294,17 +294,12 @@ cfg: action: reject asns: - 174 - - 209 - - 286 - 701 - - 1239 - 1299 - - 2828 - 2914 - 3257 - 3320 - 3356 - - 3549 - 5511 - 6453 - 6461 @@ -996,13 +991,6 @@ irrdb_info length: 22 max_length: 32 prefix: 93.175.148.0 - - comment: null - exact: false - ge: null - le: 32 - length: 16 - max_length: 32 - prefix: 103.0.0.0 - comment: null exact: false ge: null @@ -1262,43 +1250,43 @@ AS10745: length: 48 max_length: 128 prefix: '2001:500:110::' -- exact: false - ge: 48 - le: 128 - length: 48 - max_length: 128 - prefix: '2001:500:4::' - exact: false ge: 24 le: 32 length: 24 max_length: 32 prefix: 192.149.252.0 +- exact: false + ge: 48 + le: 128 + length: 48 + max_length: 128 + prefix: '2001:500:4::' AS12654: - exact: false ge: 24 le: 32 length: 24 max_length: 32 - prefix: 23.128.24.0 + prefix: 23.128.124.0 - exact: false ge: 24 le: 32 length: 24 max_length: 32 - prefix: 23.128.125.0 + prefix: 23.128.25.0 - exact: false ge: 24 le: 32 length: 24 max_length: 32 - prefix: 23.128.25.0 + prefix: 23.128.125.0 - exact: false ge: 24 le: 32 length: 24 max_length: 32 - prefix: 23.128.124.0 + prefix: 23.128.24.0 registrobr_whois_db_records @@ -1354,9 +1342,11 @@ never_via_route_servers_asns - 202793 - 134022 - 3754 +- 264424 - 264212 - 11670 - 3630 +- 7862 - 262311 - 48408 - 52973 @@ -1368,11 +1358,13 @@ never_via_route_servers_asns - 135848 - 134041 - 138023 +- 136106 - 132996 - 30983 - 263258 - 396477 - 7195 +- 262191 - 54295 - 138953 - 263980 @@ -1436,3 +1428,7 @@ never_via_route_servers_asns - 267214 - 62164 - 263686 +- 269906 +- 52946 +- 30967 +- 211358 diff --git a/examples/rich/template-context4 b/examples/rich/template-context4 index d87dfb19..d4d58881 100644 --- a/examples/rich/template-context4 +++ b/examples/rich/template-context4 @@ -294,17 +294,12 @@ cfg: action: reject asns: - 174 - - 209 - - 286 - 701 - - 1239 - 1299 - - 2828 - 2914 - 3257 - 3320 - 3356 - - 3549 - 5511 - 6453 - 6461 @@ -966,13 +961,6 @@ irrdb_info length: 22 max_length: 32 prefix: 93.175.148.0 - - comment: null - exact: false - ge: null - le: 32 - length: 16 - max_length: 32 - prefix: 103.0.0.0 - comment: null exact: false ge: null @@ -1091,13 +1079,13 @@ AS10745: le: 32 length: 24 max_length: 32 - prefix: 199.43.0.0 + prefix: 192.136.136.0 - exact: false ge: 24 le: 32 length: 24 max_length: 32 - prefix: 192.136.136.0 + prefix: 199.43.0.0 - exact: false ge: 24 le: 32 @@ -1110,25 +1098,25 @@ AS12654: le: 32 length: 24 max_length: 32 - prefix: 23.128.25.0 + prefix: 23.128.124.0 - exact: false ge: 24 le: 32 length: 24 max_length: 32 - prefix: 23.128.125.0 + prefix: 23.128.25.0 - exact: false ge: 24 le: 32 length: 24 max_length: 32 - prefix: 23.128.124.0 + prefix: 23.128.24.0 - exact: false ge: 24 le: 32 length: 24 max_length: 32 - prefix: 23.128.24.0 + prefix: 23.128.125.0 registrobr_whois_db_records @@ -1184,9 +1172,11 @@ never_via_route_servers_asns - 202793 - 134022 - 3754 +- 264424 - 264212 - 11670 - 3630 +- 7862 - 262311 - 48408 - 52973 @@ -1198,11 +1188,13 @@ never_via_route_servers_asns - 135848 - 134041 - 138023 +- 136106 - 132996 - 30983 - 263258 - 396477 - 7195 +- 262191 - 54295 - 138953 - 263980 @@ -1266,3 +1258,7 @@ never_via_route_servers_asns - 267214 - 62164 - 263686 +- 269906 +- 52946 +- 30967 +- 211358 diff --git a/examples/rich/template-context6 b/examples/rich/template-context6 index 7c6b71e2..9e7c1c9b 100644 --- a/examples/rich/template-context6 +++ b/examples/rich/template-context6 @@ -294,17 +294,12 @@ cfg: action: reject asns: - 174 - - 209 - - 286 - 701 - - 1239 - 1299 - - 2828 - 2914 - 3257 - 3320 - 3356 - - 3549 - 5511 - 6453 - 6461 @@ -955,9 +950,11 @@ never_via_route_servers_asns - 202793 - 134022 - 3754 +- 264424 - 264212 - 11670 - 3630 +- 7862 - 262311 - 48408 - 52973 @@ -969,11 +966,13 @@ never_via_route_servers_asns - 135848 - 134041 - 138023 +- 136106 - 132996 - 30983 - 263258 - 396477 - 7195 +- 262191 - 54295 - 138953 - 263980 @@ -1037,3 +1036,7 @@ never_via_route_servers_asns - 267214 - 62164 - 263686 +- 269906 +- 52946 +- 30967 +- 211358 diff --git a/examples/rpki_rtr/README.rst b/examples/rpki_rtr/README.rst new file mode 100644 index 00000000..88b5727b --- /dev/null +++ b/examples/rpki_rtr/README.rst @@ -0,0 +1,17 @@ +BIRD v2 and OpenBGPD RPKI RTR configuration +------------------------------------------- + +This is an example of how to use BIRD v2 or OpenBGPD with an external source for RPKI ROAs based on the RTR protocol. + +BIRD v2 and OpenBGPD (starting with release 6.9) have built-in support for the RTR protocol, that allows to connect the BGP daemon directly to a local cache (a "validator"). + +To configure the daemons with ARouteServer in order to fetch ROAs using RTR, the ``rpki_roas.source`` option must be set to ``rtr`` and a local *rpki_rtr_config.local* file must be placed inside the same directory where the main configuration file is created (*/etc/bird* or */etc/bgpd* by default, or a custom one set using the ``--local-files-dir`` command line argument of ARouteServer). + +The *rpki_rtr_config.local* file is expected to contain the snippet of BIRD or OpenBGPD config needed to setup one or more RTR sessions: +- BIRD v2: https://bird.network.cz/?get_doc&v=20&f=bird-6.html#ss6.13 + + **Please note:** the names of the tables where ROAs will be injected into must be ``RPKI4`` and ``RPKI6``. + +- OpenBGPD: https://man.openbsd.org/bgpd.conf#rtr + +Example configurations are reported in the *rpki_rtr_config.local.BIRD* and *rpki_rtr_config.local.OpenBGPD* files that can be found within this directory. diff --git a/examples/bird2_rpki_rtr/bird_v2.conf b/examples/rpki_rtr/bird_v2.conf similarity index 73% rename from examples/bird2_rpki_rtr/bird_v2.conf rename to examples/rpki_rtr/bird_v2.conf index 11fb415c..599cd282 100644 --- a/examples/bird2_rpki_rtr/bird_v2.conf +++ b/examples/rpki_rtr/bird_v2.conf @@ -57,6 +57,16 @@ define AS_SET_AS10745_prefixes_6 = [ 2001:500:4::/48, 2001:500:30::/48, 2001:500:110::/48 ]; +# AS1, used_by client AS1_1 +define AS_SET_AS1_asns = [ + 1 +]; + +define AS_SET_AS1_prefixes_4 = [ + 4.36.110.0/24, 186.65.112.0/20 +]; +# no IPv6 prefixes found for AS1 + @@ -422,14 +432,6 @@ bool validated; - if !validated && !origin_ok then { - reject "origin ASN [", bgp_path.last, "] not in allowed as-sets - REJECTING ", net; - - } - if !validated && !prefix_ok then { - reject "prefix not in client's r_set - REJECTING ", net; - - } } filter receive_from_AS10745_1 { @@ -467,7 +469,7 @@ filter receive_from_AS10745_1 { # AS_PATH: never via route-servers ASNs - if bgp_path ~ [174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 212706, 212953, 213202, 213252, 262311, 262888, 263258, 263328, 263856, 263945, 263980, 264212, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328572, 328582, 328748, 393573, 393684, 396477, 399338] then + if bgp_path ~ [174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 7862, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30967, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52946, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 136106, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 211358, 212706, 212953, 213202, 213252, 262191, 262311, 262888, 263258, 263328, 263686, 263856, 263945, 263980, 264212, 264424, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 269906, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328445, 328572, 328582, 328748, 393573, 393684, 396477, 399338] then reject "AS_PATH [", bgp_path ,"] contains never via route-servers ASN - REJECTING ", net; @@ -609,14 +611,6 @@ bool validated; - if !validated && !origin_ok then { - reject "origin ASN [", bgp_path.last, "] not in allowed as-sets - REJECTING ", net; - - } - if !validated && !prefix_ok then { - reject "prefix not in client's r_set - REJECTING ", net; - - } } filter receive_from_AS10745_2 { @@ -654,7 +648,7 @@ filter receive_from_AS10745_2 { # AS_PATH: never via route-servers ASNs - if bgp_path ~ [174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 212706, 212953, 213202, 213252, 262311, 262888, 263258, 263328, 263856, 263945, 263980, 264212, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328572, 328582, 328748, 393573, 393684, 396477, 399338] then + if bgp_path ~ [174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 7862, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30967, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52946, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 136106, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 211358, 212706, 212953, 213202, 213252, 262191, 262311, 262888, 263258, 263328, 263686, 263856, 263945, 263980, 264212, 264424, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 269906, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328445, 328572, 328582, 328748, 393573, 393684, 396477, 399338] then reject "AS_PATH [", bgp_path ,"] contains never via route-servers ASN - REJECTING ", net; @@ -760,6 +754,185 @@ protocol bgp AS10745_2 { } +# AS-SET for AS1_1 +function origin_as_is_in_AS1_1_as_set() { + if bgp_path.last ~ AS_SET_AS1_asns then + return true; + return false; +} + +# R-SET for AS1_1 +function prefix_is_in_AS1_1_as_set() { + if net.type = NET_IP4 then + if net ~ AS_SET_AS1_prefixes_4 then + return true; + return false; +} + +function next_hop_is_valid_for_AS1_1() +{ + # Checks if NEXT_HOP is one of those allowed for routes announced by AS1_1 + if bgp_next_hop = 192.0.2.111 then return true; + return false; +} + + +function verify_AS1_1_irrdb() +bool origin_ok; +bool prefix_ok; +bool validated; +{ + origin_ok = false; + prefix_ok = false; + validated = false; + + origin_ok = origin_as_is_in_AS1_1_as_set(); + prefix_ok = prefix_is_in_AS1_1_as_set(); + + + + + + +} + +filter receive_from_AS1_1 { + if !(source = RTS_BGP ) then + reject "source != RTS_BGP - REJECTING ", net; + + + if !(net.type = NET_IP4) then + reject "AFI not enabled for this peer - REJECTING ", net; + + + + scrub_communities_in(); + + + # NEXT_HOP + if !next_hop_is_valid_for_AS1_1() then + reject "NEXT_HOP [", bgp_next_hop, "] not allowed - REJECTING ", net; + + + # AS_PATH: length + if bgp_path.len > 32 then + reject "AS_PATH len [", bgp_path.len ,"] longer than 32 - REJECTING ", net; + + + # AS_PATH: left-most ASN + if bgp_path.first != 1 then + reject "invalid left-most ASN [", bgp_path.first, "] - REJECTING ", net; + + + # AS_PATH: invalid ASNs + if as_path_contains_invalid_asn() then + reject "AS_PATH [", bgp_path ,"] contains invalid ASN - REJECTING ", net; + + + + # AS_PATH: never via route-servers ASNs + if bgp_path ~ [174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 7862, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30967, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52946, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 136106, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 211358, 212706, 212953, 213202, 213252, 262191, 262311, 262888, 263258, 263328, 263686, 263856, 263945, 263980, 264212, 264424, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 269906, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328445, 328572, 328582, 328748, 393573, 393684, 396477, 399338] then + reject "AS_PATH [", bgp_path ,"] contains never via route-servers ASN - REJECTING ", net; + + + + # Prefix: global blacklist + if prefix_is_in_global_blacklist() then + reject "prefix is in global blacklist - REJECTING ", net; + + + + # Prefix: bogon + if prefix_is_bogon() then + reject "prefix is bogon - REJECTING ", net; + + + # IRRdb checks + verify_AS1_1_irrdb(); + + # Blackhole request? + if is_blackhole_filtering_request() then { + accept "blackhole filtering request from AS1_1 - ACCEPTING ", net; + } else { + perform_rpki_validation(); + + if route_is_rpki_invalid() then + reject "RPKI, route is INVALID - REJECTING ", net; + + + # Prefix: length + if !prefix_len_is_valid(8, 24) then + reject "prefix len [", net.len, "] not in 8-24 - REJECTING ", net; + + + } + + + accept; +} + +filter announce_to_AS1_1 { + + + # Blackhole request? + if is_blackhole_filtering_request() then { + apply_blackhole_filtering_policy(); + } else { + # RPKI: do not announce INVALID to clients + if route_is_rpki_invalid() then { + if !announce_rpki_invalid_to_client(1, 192.0.2.111, "AS1_1") then + reject "route is INVALID - NOT ANNOUNCING ", net, " TO AS1_1"; + } + } + + # BGP control communities + if !route_can_be_announced_to(1, 192.0.2.111, "AS1_1") then + reject "route didn't pass control communities checks - NOT ANNOUNCING ", net, " TO AS1_1"; + + apply_prepend(1, 192.0.2.111); + + + add_noexport_noadvertise(1); + + scrub_communities_out(); + + + + accept; +} + +protocol bgp AS1_1 { + + local as 999; + neighbor 192.0.2.111 as 1; + rs client; + + passive on; + ttl security off; + + interpret communities off; + + # --------------------------------------- + ipv4 { + table master4; + + + secondary; + + + import table on; + + import keep filtered on; + + import filter receive_from_AS1_1; + export filter announce_to_AS1_1; + + # --------------------------------------- + }; + + } + + # AS-SET for AS3333_1 function origin_as_is_in_AS3333_1_as_set() { if bgp_path.last ~ AS_SET_AS3333_asns then @@ -800,14 +973,6 @@ bool validated; - if !validated && !origin_ok then { - reject "origin ASN [", bgp_path.last, "] not in allowed as-sets - REJECTING ", net; - - } - if !validated && !prefix_ok then { - reject "prefix not in client's r_set - REJECTING ", net; - - } } filter receive_from_AS3333_1 { @@ -845,7 +1010,7 @@ filter receive_from_AS3333_1 { # AS_PATH: never via route-servers ASNs - if bgp_path ~ [174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 212706, 212953, 213202, 213252, 262311, 262888, 263258, 263328, 263856, 263945, 263980, 264212, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328572, 328582, 328748, 393573, 393684, 396477, 399338] then + if bgp_path ~ [174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 7862, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30967, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52946, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 136106, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 211358, 212706, 212953, 213202, 213252, 262191, 262311, 262888, 263258, 263328, 263686, 263856, 263945, 263980, 264212, 264424, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 269906, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328445, 328572, 328582, 328748, 393573, 393684, 396477, 399338] then reject "AS_PATH [", bgp_path ,"] contains never via route-servers ASN - REJECTING ", net; diff --git a/examples/bird2_rpki_rtr/clients.yml b/examples/rpki_rtr/clients.yml similarity index 100% rename from examples/bird2_rpki_rtr/clients.yml rename to examples/rpki_rtr/clients.yml diff --git a/examples/bird2_rpki_rtr/general.yml b/examples/rpki_rtr/general.yml similarity index 100% rename from examples/bird2_rpki_rtr/general.yml rename to examples/rpki_rtr/general.yml diff --git a/examples/bird2_rpki_rtr/rpki_rtr_config.local b/examples/rpki_rtr/rpki_rtr_config.local.BIRD similarity index 100% rename from examples/bird2_rpki_rtr/rpki_rtr_config.local rename to examples/rpki_rtr/rpki_rtr_config.local.BIRD diff --git a/examples/rpki_rtr/rpki_rtr_config.local.OpenBGPD b/examples/rpki_rtr/rpki_rtr_config.local.OpenBGPD new file mode 100644 index 00000000..d997cf2b --- /dev/null +++ b/examples/rpki_rtr/rpki_rtr_config.local.OpenBGPD @@ -0,0 +1,5 @@ +rtr 192.0.2.10 { + descr MyValidator1 + + port 3323 +} diff --git a/pierky/arouteserver/builder.py b/pierky/arouteserver/builder.py index 95a74715..61a74c1c 100644 --- a/pierky/arouteserver/builder.py +++ b/pierky/arouteserver/builder.py @@ -867,8 +867,8 @@ class OpenBGPDConfigBuilder(ConfigBuilder): LOCAL_FILES_BASE_DIR = "/etc/bgpd" AVAILABLE_VERSION = ["6.0", "6.1", "6.2", "6.3", "6.4", "6.5", "6.6", "6.7", - "6.8"] - DEFAULT_VERSION = "6.7" + "6.8", "6.9"] + DEFAULT_VERSION = AVAILABLE_VERSION[-1] IGNORABLE_ISSUES = ["path_hiding", "transit_free_action", "add_path", "max_prefix_action", @@ -877,7 +877,7 @@ class OpenBGPDConfigBuilder(ConfigBuilder): "large_communities", "extended_communities", "graceful_shutdown", "internal_communities", "rpki_roas_as_route_objects_source", - "rpki_roas_source"] + "rpki_roas_source", "path_hiding_69"] def _include_local_file(self, local_file_id): return 'include "{}"\n\n'.format( @@ -890,16 +890,40 @@ def _include_local_file(self, local_file_id): def validate_bgpspeaker_specific_configuration(self): res = True - if self.cfg_general["path_hiding"]: + if self.cfg_general["path_hiding"] and \ + version.parse(self.target_version) < version.parse("6.9"): if not self.process_bgpspeaker_specific_compatibility_issue( "path_hiding", "The 'path_hiding' general configuration parameter is " "set to True, but the configuration generated by " - "ARouteServer for OpenBGPD does not support " + "ARouteServer for OpenBGPD < 6.9 does not support " "path-hiding mitigation techniques." ): res = False + if self.cfg_general["path_hiding"] and \ + version.parse(self.target_version) == version.parse("6.9"): + if not self.process_bgpspeaker_specific_compatibility_issue( + "path_hiding_69", + "The 'path_hiding' general configuration parameter is " + "set to True, however, for version 6.9 of OpenBGPD, " + "some issues were observed that may affect the security " + "and stability of the BGP routing ecosystem: please see " + "the docs referenced below, and acknowledge this error " + "as reported at the end of this message only if you " + "applied the patches or if you strongly believe that " + "those issues will not affect your deployment and the " + "global stability of the Internet routing.\n" + "Information about those issues can be found here:\n" + "- 2nd best route not getting withdrawn when 'rde " + "evaluate all' is configured " + "(https://marc.info/?l=openbsd-tech&m=162011500326166&w=2)\n" + "- 2nd best route not advertised when 'rde evaluate all' " + "is added and the daemon reloaded " + "(https://marc.info/?l=openbsd-tech&m=162021735205669&w=2)" + ): + res = False + transit_free_action = self.cfg_general["filtering"]["transit_free"]["action"] if transit_free_action and transit_free_action != "reject": if not self.process_bgpspeaker_specific_compatibility_issue( @@ -1140,23 +1164,51 @@ def validate_bgpspeaker_specific_configuration(self): use_rpki_roas_as_route_objects_cfg = \ self.cfg_general["filtering"]["irrdb"]["use_rpki_roas_as_route_objects"] if use_rpki_roas_as_route_objects_cfg["enabled"]: - if self.cfg_general["rpki_roas"]["source"] != "ripe-rpki-validator-cache": + if self.cfg_general["rpki_roas"]["source"] != "ripe-rpki-validator-cache" and \ + version.parse(self.target_version) < version.parse("6.9"): if not self.process_bgpspeaker_specific_compatibility_issue( "rpki_roas_as_route_objects_source", - "For OpenBGPD only the 'ripe-rpki-validator-cache' " + "For OpenBGPD < 6.9 only the 'ripe-rpki-validator-cache' " "value is allowed for the 'rpki_roas.source' option." ): res = False if self.cfg_general.rpki_roas_needed: - if self.cfg_general["rpki_roas"]["source"] != "ripe-rpki-validator-cache": + if self.cfg_general["rpki_roas"]["source"] != "ripe-rpki-validator-cache" and \ + version.parse(self.target_version) < version.parse("6.9"): if not self.process_bgpspeaker_specific_compatibility_issue( "rpki_roas_source", - "For OpenBGPD only the 'ripe-rpki-validator-cache' " + "For OpenBGPD < 6.9 only the 'ripe-rpki-validator-cache' " "value is allowed for the 'rpki_roas.source' option." ): res = False + if self.cfg_general["rpki_roas"]["source"] == "rtr" and \ + version.parse(self.target_version) == version.parse("6.9"): + if not self.process_bgpspeaker_specific_compatibility_issue( + "rpki_roas_source", + "The general configuration policy has 'rpki_roas.source' " + "set to 'rtr', which means that ROAs will be retrieved " + "using one or more RTR sessions directly configured on " + "the route-server. " + "However, for version 6.9 of OpenBGPD, some issues were " + "observed that may affect the operations: please verify " + "whether these issues are considered relevant for your " + "deployment scenario, and if you believe they are not " + "relevant, or if you patched the daemon to circumvent " + "them, please ignore this error as reported at the end of " + "this message.\n" + "Information about those issues can be found here:\n" + "- 'Invalid argument' error on RTR session establishment " + "(OpenBGPD 6.9p0 portable edition, issue #23 on GitHub " + "https://github.com/openbgpd-portable/openbgpd-portable/" + "issues/23)\n" + "- Blocking `connect()` call that may lead to the daemon " + "to block until the connection times out " + "(https://marc.info/?l=openbsd-tech&m=162005636502085&w=2)" + ): + res = False + return res def enrich_j2_environment(self, env): diff --git a/pierky/arouteserver/commands/configure.py b/pierky/arouteserver/commands/configure.py index 41df8896..f699c0ff 100644 --- a/pierky/arouteserver/commands/configure.py +++ b/pierky/arouteserver/commands/configure.py @@ -245,11 +245,21 @@ def add_comm(name, std=None, lrg=None): cfg["router_id"] = self.answers["router_id"] if self.answers["daemon"] == "openbgpd": - self.notes.append( - "For OpenBGPD, path-hiding mitigation techniques are " - "not implemented." - ) - cfg["path_hiding"] = False + if version.parse(self.answers["version"]) < version.parse("6.9"): + self.notes.append( + "For OpenBGPD < 6.9, path-hiding mitigation techniques are " + "not implemented." + ) + cfg["path_hiding"] = False + elif version.parse(self.answers["version"]) == version.parse("6.9"): + self.notes.append( + "For OpenBGPD 6.9, path-hiding mitigation is available, but " + "it's not automatically configured because of some issues " + "in the implementations of bgpd. " + "Please refer to the CHANGELOG for the release 1.6.0 of " + "ARouteServer for more details." + ) + cfg["path_hiding"] = False cfg["filtering"] = OrderedDict() filtering = cfg["filtering"] @@ -277,9 +287,8 @@ def add_comm(name, std=None, lrg=None): filtering["transit_free"] = { "action": "reject", - "asns": [174, 209, 286, 701, 1239, 1299, 2828, 2914, - 3257, 3320, 3356, 3549, 5511, 6453, 6461, - 6762, 6830, 7018, 12956] + "asns": [174, 701, 1299, 2914, 3257, 3320, 3356, 5511, + 6453, 6461, 6762, 6830, 7018, 12956] } filtering["never_via_route_servers"] = { "peering_db": True diff --git a/pierky/arouteserver/tests/live_tests/bird.py b/pierky/arouteserver/tests/live_tests/bird.py index 7376fb6f..350fe5ad 100644 --- a/pierky/arouteserver/tests/live_tests/bird.py +++ b/pierky/arouteserver/tests/live_tests/bird.py @@ -223,7 +223,7 @@ def add_route(route): if "BGP.as_path:" in line: raw_as_path = line.split(": ")[1].strip() if "{" in raw_as_path: - # Stripping as_set in strings like this: + # Stripping as_set in strings like this: # BGP.as_path: 222 333 { 333 333 } as_path = raw_as_path[0:raw_as_path.index("{")].strip() as_set = raw_as_path[raw_as_path.index("{") + 1:-1].strip() diff --git a/pierky/arouteserver/tests/live_tests/instances.py b/pierky/arouteserver/tests/live_tests/instances.py index 36c2e6e8..e9389be7 100644 --- a/pierky/arouteserver/tests/live_tests/instances.py +++ b/pierky/arouteserver/tests/live_tests/instances.py @@ -134,6 +134,10 @@ def bgp_session_is_up(self, other_inst, force_update=False): ) ) + def clear_cached_routes(self): + """Clear any internal cache where routes may be stored.""" + raise NotImplementedError() + def get_routes(self, prefix, include_filtered=False, only_best=False): """Get a list of all the known routes for ``prefix``. diff --git a/pierky/arouteserver/tests/live_tests/openbgpd.py b/pierky/arouteserver/tests/live_tests/openbgpd.py index 0efb4903..f2e99216 100644 --- a/pierky/arouteserver/tests/live_tests/openbgpd.py +++ b/pierky/arouteserver/tests/live_tests/openbgpd.py @@ -188,7 +188,7 @@ def _parse_routes(self, out): if last_line_new_route: raw_as_path = line if "{" in raw_as_path: - # Stripping as_set in strings like this: + # Stripping as_set in strings like this: # 222 333 { 333 333 } as_path = raw_as_path[0:raw_as_path.index("{")].strip() as_set = raw_as_path[raw_as_path.index("{") + 1:-1].strip() @@ -265,6 +265,9 @@ def _route_is_in(self, route, route_list): return True return False + def clear_cached_routes(self): + self.routes = {} + def get_routes(self, prefix, include_filtered=False, only_best=False): if include_filtered and only_best: raise Exception("Can't set both include_filtered and only_best") @@ -489,8 +492,17 @@ class OpenBGPD68Instance(OpenBGPDClassicInstance): BGP_SPEAKER_VERSION = "6.8" TARGET_VERSION = "6.8" -OpenBGPDPreviousInstance = OpenBGPD67Instance -OpenBGPDLatestInstance = OpenBGPD68Instance +class OpenBGPD69Instance(OpenBGPDClassicInstance): + + VIRSH_DOMAINNAME = "arouteserver_openbgpd69" + + TAG = "openbgpd69" + + BGP_SPEAKER_VERSION = "6.9" + TARGET_VERSION = "6.9" + +OpenBGPDPreviousInstance = OpenBGPD68Instance +OpenBGPDLatestInstance = OpenBGPD69Instance class OpenBGPD65PortableInstance(OpenBGPDPortableInstance): @@ -528,4 +540,16 @@ class OpenBGPD68PortableInstance(OpenBGPDPortableInstance): # TARGET_VERSION not set here because it's assumed to be # the same of the OpenBGPD Latest one. -OpenBGPDPortableLatestInstance = OpenBGPD68PortableInstance + +class OpenBGPD69PortableInstance(OpenBGPDPortableInstance): + + DOCKER_IMAGE = "pierky/openbgpd:6.9p0-patches" + + TAG = "openbgpd69p" + + BGP_SPEAKER_VERSION = "6.9p0" + # TARGET_VERSION not set here because it's assumed to be + # the same of the OpenBGPD Latest one. + +OpenBGPDPortablePreviousInstance = OpenBGPD68PortableInstance +OpenBGPDPortableLatestInstance = OpenBGPD69PortableInstance diff --git a/templates/fingerprints.yml b/templates/fingerprints.yml index 97b7a129..30802b87 100644 --- a/templates/fingerprints.yml +++ b/templates/fingerprints.yml @@ -13,12 +13,12 @@ irr-as-set: plain_rpsl.j2: f47e2d28f7bf9038a66421df759b09673ef9b63f66665b1529bcb7c376990a9d3cb04ce050eec45879790c6d5e6b8d692c492ef643d45c3b27a35f031fb14930 ripe_ripeinator_yml.j2: 6f3bebc1a2fe2a9df0125bc5e44fb4f82b08d34c65d5057220fab475fa3b23b4d7a9f6f645694cd5ac703bf7f85a33518608e7b1035d0201d94724782c17bcce openbgpd: - clients.j2: ccf0ab9e561b30db02470166f5df9c8e6367ec429afaf2ba88e3136e21479fe4946c43db16148f3a5a97749641db63550637363056ff448374de4bbdb2a2c38c - filters.j2: edc6ec402ea658f9a747385a140e5fd7fd8b4a43df125cff6435112316b7cfdfec66aa26dfa2b938f5286595757a4d9c6b002780c3a0e3ba6e3302fa8df20e5b - header.j2: e78b6cf99af7b185a60e4303deb4e4041684f022efdea3abdc85f6365b3296926a8a4343964a46ef28ce5f11474ea1bd122e33e84721eeff6b6bb6ab64ae7a68 + clients.j2: 518191e01b4b7194bd246b06977e54b83c53e66b0af2896c356bf1a81a41595b8dbb1e088c6f88e6d40042f3a3752d03a89c16c02e71204e41db8f7451fe3095 + filters.j2: 9eacf1262e058ed488ff862055ebad170dcf722389e8129f0959e5b5f4c805d0c1cda5337cbe95688e3b2b2748faf78ec328de8a88d0cb0ac5c5666e231f859e + header.j2: 590c978e039c147251e855b04ed55e8981c18da570d59d265bc003b9d7d7c53d1df8f76fd9a8526ad7c9332f7a4218797c637dd89bafbb62651fcbfa14f76f82 irrdb.j2: a41aff6077c4b7ddd8ae03f0ac33f3ff47c9812350204d929a8b02fe63d023a813e802a7c9183528058b55d7502f7aeaef77a65acc906022586510f37453b88a macros.j2: 2a2edfebbcc29835c91723da117052374b1d07c1d9e66a23717d248768cd628b7ea831971be28d42e57c58f59d27fa92333b3b0e66eb439029a0bbf9f69b85c4 main.j2: c81d8a3d4052a440f3d404ebdadeeae181966447463f9733768d8d9da4304cd6ea1505a9fdb58e3df55521c44bd03174efa3d3f35b5b79b8d7dda17ee9589061 - rpki.j2: 698a6cbe12289be3c9c694a11390e2478f7aa734eff64bf508210c7774719e9f49155cc3643dea78b4ebc31d69ca30dc21aa53c3d9c46393bfde00f71eb73b71 + rpki.j2: 229426d64553f92b22237ed5e6f73ccf5366c0a5dfdf781d37ff8a57614662bb447e59ead30bd336c667b8f3164ec390f5944d1576713c5178b7398be350b683 template-context: main.j2: 3403633f71d29d06af2fcebde5fb38ba3dcf80357a966cbfcb41ddb86a081b0aeccd27e5951fa3017933b329cbec4a50caa62d4a65bacbbea6ecd9e1324e8b10 diff --git a/templates/openbgpd/clients.j2 b/templates/openbgpd/clients.j2 index 00ef0d9c..1e7fdaa8 100644 --- a/templates/openbgpd/clients.j2 +++ b/templates/openbgpd/clients.j2 @@ -13,6 +13,10 @@ group "clients" { {{ "client"|include_local_file -}} remote-as {{ client.asn }} +{% if cfg.path_hiding and "6.9"|target_version_ge %} + rde evaluate all +{% endif %} + {% if "6.1"|target_version_le %} softreconfig in yes {% endif %} diff --git a/templates/openbgpd/filters.j2 b/templates/openbgpd/filters.j2 index 236895cf..769819f5 100644 --- a/templates/openbgpd/filters.j2 +++ b/templates/openbgpd/filters.j2 @@ -346,7 +346,7 @@ prefix-set "{{ pref_list_name }}" { {% if client.cfg.filtering.irrdb.enforce_origin_in_as_set or client.cfg.filtering.irrdb.enforce_prefix_in_as_set or cfg.filtering.irrdb.tag_as_set %} -{% if cfg.filtering.irrdb.use_rpki_roas_as_route_objects.enabled and rpki_roas %} +{% if cfg.filtering.irrdb.use_rpki_roas_as_route_objects.enabled %} # routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) {% if "6.4"|target_version_le %} # NO_ADVERTISE here means $INTCOMM_ORIGIN_OK @@ -466,8 +466,7 @@ allow quick from {{ client.ip }} community BLACKHOLE {% if cfg.filtering.rpki_bgp_origin_validation.enabled and client.cfg.filtering.rpki_bgp_origin_validation.enabled and - client.cfg.filtering.rpki_bgp_origin_validation.reject_invalid and - rpki_roas %} + client.cfg.filtering.rpki_bgp_origin_validation.reject_invalid %} # RPKI-based Origin Validation {{ deny_inbound_route(client_uses_tag_reject_policy, "from " ~ client.ip ~ " ext-community $INTCOMM_RPKI_INVALID", 14) }} {% endif %} diff --git a/templates/openbgpd/header.j2 b/templates/openbgpd/header.j2 index 1f8cdabe..972bfa7f 100644 --- a/templates/openbgpd/header.j2 +++ b/templates/openbgpd/header.j2 @@ -6,6 +6,10 @@ log updates nexthop qualify via default +{% if cfg.path_hiding and "6.9"|target_version_ge %} +rde evaluate all +{% endif %} + INTCOMM_PREF_OK_ROA="soo 65535:1" INTCOMM_ROUTE_OK_WL="soo 65535:2" INTCOMM_PREF_OK_ARINDB="soo 65535:3" diff --git a/templates/openbgpd/rpki.j2 b/templates/openbgpd/rpki.j2 index 50787665..c3a1cecc 100644 --- a/templates/openbgpd/rpki.j2 +++ b/templates/openbgpd/rpki.j2 @@ -1,22 +1,60 @@ {% from 'macros.j2' import write_roa_set %} {% from 'macros.j2' import write_roas_action %} -{% if cfg.filtering.rpki_bgp_origin_validation.enabled and - rpki_roas %} +{% if cfg.rpki_roas_needed %} # --------------------------------------------------------- -# RPKI-based Origin Validation -{% if "6.4"|target_version_ge %} +# ROAs source + +{# + ROAs are defined only for versions >= 6.4; for all the other + cases they are just implemented in the legacy way, using + 'write_roas_action' and communities. + + - case 1: version is >= 6.9 and 'rtr' is used as the source, + so the file containing the configuration of the RTR sessions + is included. + - case 2: either version is < 6.9 or 'ripe_rpki_validator_url' + is configured as the source, so ROAs are generated by the + Python code and statically configured in the configuration + file via the 'roa-set' statement. +#} +{% if "6.9"|target_version_ge and + cfg.rpki_roas.source == "rtr" %} + +{{ "rpki_rtr_config"|include_local_file -}} + +{% elif "6.4"|target_version_ge %} + roa-set { -{{ write_roa_set(rpki_roas) }} +{{ write_roa_set(rpki_roas) }} } +{% else %} + +# ROAs are not defined in the configuration file via +# RTR or roa-set because these features are supported only +# on more recent versions. Origin Validation and other features +# are implemented using regular 'match' filters and BGP +# communities, in a way that mimics Origin Validation. + +{% endif %} + +{% endif %} + +{% if cfg.filtering.rpki_bgp_origin_validation.enabled %} +# --------------------------------------------------------- +# RPKI-based Origin Validation + +{% if "6.4"|target_version_ge %} + # Add $INTCOMM_RPKI_UNKNOWN, $INTCOMM_RPKI_INVALID and $INTCOMM_RPKI_VALID # ext community on the basis of ovs. match from group clients ovs not-found set ext-community $INTCOMM_RPKI_UNKNOWN match from group clients ovs valid set ext-community $INTCOMM_RPKI_VALID match from group clients ovs invalid set ext-community $INTCOMM_RPKI_INVALID -{% else %} +{% else %} + # 1. Add $INTCOMM_RPKI_UNKNOWN ext community to all the routes. # 2. Add $INTCOMM_RPKI_INVALID ext community to all those routes # whose prefix is covered by a ROA. Here, the aggregated address @@ -25,43 +63,52 @@ match from group clients ovs invalid set ext-community $INTCOMM_RPKI_INVALID # $INTCOMM_RPKI_INVALID ext community from the routes whose # prefix matches a ROA (both prefix and origin ASN). match from group clients set ext-community $INTCOMM_RPKI_UNKNOWN -{% for prefix in rpki_roas_covered_space %} +{% for prefix in rpki_roas_covered_space %} match from group clients prefix {{ prefix }} or-longer set ext-community $INTCOMM_RPKI_INVALID -{% endfor %} -{{ write_roas_action(rpki_roas, "set ext-community $INTCOMM_RPKI_VALID") }} +{% endfor %} +{{ write_roas_action(rpki_roas, "set ext-community $INTCOMM_RPKI_VALID") }} match from group clients ext-community $INTCOMM_RPKI_VALID set { ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID } match from group clients ext-community $INTCOMM_RPKI_INVALID set ext-community delete $INTCOMM_RPKI_UNKNOWN -{% endif %} -{% endif %} +{% endif %} -{% if cfg.filtering.irrdb.use_rpki_roas_as_route_objects.enabled and - rpki_roas %} +{% endif %} +{% if cfg.filtering.irrdb.use_rpki_roas_as_route_objects.enabled %} +# --------------------------------------------------------- # RPKI ROAs used as route objects. + # Add the $INTCOMM_PREF_OK_ROA ext community to routes whose # origin ASN has a ROA for the announced prefix. # It will be used later during IRRDB validation in # case the origin ASN is authorized by a client's # AS-SET but the prefix is not. -{% if "6.4"|target_version_ge %} -{% if cfg.filtering.rpki_bgp_origin_validation.enabled %} + +{% if cfg.filtering.rpki_bgp_origin_validation.enabled %} +{% if "6.4"|target_version_ge %} # Since RPKI-based Origin Validation is already performed above, # use the origin validation state to identify valid routes. match from group clients ovs valid set ext-community $INTCOMM_PREF_OK_ROA -{% else %} +{% else %} +# Since RPKI-based Origin Validation is already performed above, +# use the $INTCOMM_RPKI_VALID ext community to identify valid routes. +match from group clients ext-community $INTCOMM_RPKI_VALID set ext-community $INTCOMM_PREF_OK_ROA +{% endif %} +{% else %} +{% if rpki_roas %} +{% if "6.4"|target_version_ge %} origin-set "RPKI_ROA" { {{ write_roa_set(rpki_roas) }} } match from group clients origin-set RPKI_ROA set ext-community $INTCOMM_PREF_OK_ROA -{% endif %} -{% else %} -{% if cfg.filtering.rpki_bgp_origin_validation.enabled %} -# Since RPKI-based Origin Validation is already performed above, -# use the $INTCOMM_RPKI_VALID ext community to identify valid routes. -match from group clients ext-community $INTCOMM_RPKI_VALID set ext-community $INTCOMM_PREF_OK_ROA -{% else %} -{{ write_roas_action(rpki_roas, "set ext-community $INTCOMM_PREF_OK_ROA") }} -{% endif %} -{% endif %} +{% else %} +{{ write_roas_action(rpki_roas, "set ext-community $INTCOMM_PREF_OK_ROA") }} +{% endif %} +{% else %} +{% if "6.9"|target_version_ge %} +match from group clients ovs valid set ext-community $INTCOMM_PREF_OK_ROA +{% endif %} +{% endif %} +{% endif %} + {% endif %} diff --git a/tests/cli b/tests/cli index 7a2f07bb..b862029f 100755 --- a/tests/cli +++ b/tests/cli @@ -108,7 +108,8 @@ cfg: enabled: true source: "rtrlib" EOF -build_cmd "openbgpd" | must_contain "only the 'ripe-rpki-validator-cache' value" +build_cmd "openbgpd" --target-version 6.8 | must_contain "only the 'ripe-rpki-validator-cache' value" +build_cmd "openbgpd" --target-version 6.9 | must_not_contain "only the 'ripe-rpki-validator-cache' value" # --------------------------------------------- # RFC1997 'pass' policy and bgp comms collision @@ -153,7 +154,22 @@ build_cmd "openbgpd" | must_contain "A collision has been detected with the foll reset TITLE="OpenBGPD default config" SUB_TEST="$LINENO" -build_cmd "openbgpd" | must_contain "ERROR Compatibility issue ID 'path_hiding'" +build_cmd "openbgpd" --target-version 6.8 | must_contain "ERROR Compatibility issue ID 'path_hiding'" + +# --------------------------------------------- +reset +TITLE="OpenBGPD path-hiding 6.9" +SUB_TEST="$LINENO" +build_cmd "openbgpd" --target-version 6.9 | must_contain "ERROR Compatibility issue ID 'path_hiding_69'" +build_cmd "openbgpd" --target-version 6.9 | must_not_contain "ERROR Compatibility issue ID 'path_hiding'" + +# --------------------------------------------- +reset +TITLE="OpenBGPD path-hiding latest" +SUB_TEST="$LINENO" +build_cmd "openbgpd" | must_not_contain "ERROR Compatibility issue ID 'path_hiding'" +# The following test case shall be enabled when >6.9 will be out. +#build_cmd "openbgpd" | must_not_contain "ERROR Compatibility issue ID 'path_hiding" # --------------------------------------------- reset diff --git a/tests/last b/tests/last index ffe9b89e..9d394d92 100644 --- a/tests/last +++ b/tests/last @@ -1263,23 +1263,6 @@ Live test, BIRD, 'tag' reject policy scenario, IPv6: stopping instances... Ran 44 tests in 102.243s OK (SKIP=1) -Live test, BIRD v2, RTR protocol: setting instances up... -Live test, BIRD v2, RTR protocol: instances setup ... ok -Live test, BIRD v2, RTR protocol: sessions are up ... ok -Live test, BIRD v2, RTR protocol: route accepted because validator not running ... ok -Live test, BIRD v2, RTR protocol: spin up the validator ... ok -Live test, BIRD v2, RTR protocol: restart the RTR protocol on BIRD ... ok -Live test, BIRD v2, RTR protocol: check the RTR protocol on BIRD ... ok -Live test, BIRD v2, RTR protocol: route dropped after spinning the validator up ... ok -Live test, BIRD v2, RTR protocol: log contains errors ... ok -Live test, BIRD v2, RTR protocol: dumping rs config... -Live test, BIRD v2, RTR protocol: dumping routes... -Live test, BIRD v2, RTR protocol: stopping instances... - ----------------------------------------------------------------------- -Ran 8 tests in 38.276s - -OK Live test, BIRD v2, BGP communities, IPv4: setting instances up... Live test, BIRD v2, BGP communities, IPv4: instances setup ... ok Live test, BIRD v2, BGP communities, IPv4: sessions are up ... ok @@ -2053,6 +2036,23 @@ Live test, BIRD v2, RPKI INVALID tagging, IPv6: stopping instances... ---------------------------------------------------------------------- Ran 28 tests in 73.975s +OK +Live test, BIRD v2, RTR protocol: setting instances up... +Live test, BIRD v2, RTR protocol: instances setup ... ok +Live test, BIRD v2, RTR protocol: sessions are up ... ok +Live test, BIRD v2, RTR protocol: route accepted because validator not running ... ok +Live test, BIRD v2, RTR protocol: spin up the validator ... ok +Live test, BIRD v2, RTR protocol: restart the RTR protocol on BIRD to speed up session establishment ... ok +Live test, BIRD v2, RTR protocol: check the RTR session is up ... ok +Live test, BIRD v2, RTR protocol: route dropped after spinning the validator up ... ok +Live test, BIRD v2, RTR protocol: log contains errors ... ok +Live test, BIRD v2, RTR protocol: dumping rs config... +Live test, BIRD v2, RTR protocol: dumping routes... +Live test, BIRD v2, RTR protocol: stopping instances... + +---------------------------------------------------------------------- +Ran 8 tests in 38.471s + OK Live test, BIRD v2, tag prefix/origin in AS-SET, IPv4: setting instances up... Live test, BIRD v2, tag prefix/origin in AS-SET, IPv4: instances setup ... ok @@ -2298,62 +2298,242 @@ Live test, BIRD v2, 'tag' reject policy scenario, IPv6: stopping instances... Ran 44 tests in 102.593s OK (SKIP=1) -Live test, OpenBGPD 6.8p1, BGP communities, IPv4: setting instances up... -Live test, OpenBGPD 6.8p1, BGP communities, IPv4: instances setup ... ok -Live test, OpenBGPD 6.8p1, BGP communities, IPv4: sessions are up ... ok -Live test, OpenBGPD 6.8p1, BGP communities, IPv4: announce to AS1 only (ext) ... ok -Live test, OpenBGPD 6.8p1, BGP communities, IPv4: announce to AS1 only (lrg) ... ok -Live test, OpenBGPD 6.8p1, BGP communities, IPv4: announce to AS1 only (std) ... ok -Live test, OpenBGPD 6.8p1, BGP communities, IPv4: announce to AS131073 only (ext) ... ok -Live test, OpenBGPD 6.8p1, BGP communities, IPv4: announce to AS131073 only (lrg) ... ok -Live test, OpenBGPD 6.8p1, BGP communities, IPv4: custom BGP community (ext) ... ok -Live test, OpenBGPD 6.8p1, BGP communities, IPv4: custom BGP community (lrg) ... ok -Live test, OpenBGPD 6.8p1, BGP communities, IPv4: custom BGP community (std) ... ok -Live test, OpenBGPD 6.8p1, BGP communities, IPv4: custom BGP community scrubbed ... ok -Live test, OpenBGPD 6.8p1, BGP communities, IPv4: reconfigure ... ok -Live test, OpenBGPD 6.8p1, BGP communities, IPv4: log contains errors ... ok -Live test, OpenBGPD 6.8p1, BGP communities, IPv4: dumping rs config... -Live test, OpenBGPD 6.8p1, BGP communities, IPv4: dumping routes... -Live test, OpenBGPD 6.8p1, BGP communities, IPv4: stopping instances... -Live test, OpenBGPD 6.8p1, BGP communities, IPv6: setting instances up... -Live test, OpenBGPD 6.8p1, BGP communities, IPv6: instances setup ... ok -Live test, OpenBGPD 6.8p1, BGP communities, IPv6: sessions are up ... ok -Live test, OpenBGPD 6.8p1, BGP communities, IPv6: announce to AS1 only (ext) ... ok -Live test, OpenBGPD 6.8p1, BGP communities, IPv6: announce to AS1 only (lrg) ... ok -Live test, OpenBGPD 6.8p1, BGP communities, IPv6: announce to AS1 only (std) ... ok -Live test, OpenBGPD 6.8p1, BGP communities, IPv6: announce to AS131073 only (ext) ... ok -Live test, OpenBGPD 6.8p1, BGP communities, IPv6: announce to AS131073 only (lrg) ... ok -Live test, OpenBGPD 6.8p1, BGP communities, IPv6: custom BGP community (ext) ... ok -Live test, OpenBGPD 6.8p1, BGP communities, IPv6: custom BGP community (lrg) ... ok -Live test, OpenBGPD 6.8p1, BGP communities, IPv6: custom BGP community (std) ... ok -Live test, OpenBGPD 6.8p1, BGP communities, IPv6: custom BGP community scrubbed ... ok -Live test, OpenBGPD 6.8p1, BGP communities, IPv6: reconfigure ... ok -Live test, OpenBGPD 6.8p1, BGP communities, IPv6: log contains errors ... ok -Live test, OpenBGPD 6.8p1, BGP communities, IPv6: dumping rs config... -Live test, OpenBGPD 6.8p1, BGP communities, IPv6: dumping routes... -Live test, OpenBGPD 6.8p1, BGP communities, IPv6: stopping instances... +Live test, OpenBGPD 6.9p0, BGP communities, IPv4: setting instances up... +Live test, OpenBGPD 6.9p0, BGP communities, IPv4: instances setup ... ok +Live test, OpenBGPD 6.9p0, BGP communities, IPv4: sessions are up ... ok +Live test, OpenBGPD 6.9p0, BGP communities, IPv4: announce to AS1 only (ext) ... ok +Live test, OpenBGPD 6.9p0, BGP communities, IPv4: announce to AS1 only (lrg) ... ok +Live test, OpenBGPD 6.9p0, BGP communities, IPv4: announce to AS1 only (std) ... ok +Live test, OpenBGPD 6.9p0, BGP communities, IPv4: announce to AS131073 only (ext) ... ok +Live test, OpenBGPD 6.9p0, BGP communities, IPv4: announce to AS131073 only (lrg) ... ok +Live test, OpenBGPD 6.9p0, BGP communities, IPv4: custom BGP community (ext) ... ok +Live test, OpenBGPD 6.9p0, BGP communities, IPv4: custom BGP community (lrg) ... ok +Live test, OpenBGPD 6.9p0, BGP communities, IPv4: custom BGP community (std) ... ok +Live test, OpenBGPD 6.9p0, BGP communities, IPv4: custom BGP community scrubbed ... ok +Live test, OpenBGPD 6.9p0, BGP communities, IPv4: reconfigure ... ok +Live test, OpenBGPD 6.9p0, BGP communities, IPv4: log contains errors ... ok +Live test, OpenBGPD 6.9p0, BGP communities, IPv4: dumping rs config... +Live test, OpenBGPD 6.9p0, BGP communities, IPv4: dumping routes... +Live test, OpenBGPD 6.9p0, BGP communities, IPv4: stopping instances... +Live test, OpenBGPD 6.9p0, BGP communities, IPv6: setting instances up... +Live test, OpenBGPD 6.9p0, BGP communities, IPv6: instances setup ... ok +Live test, OpenBGPD 6.9p0, BGP communities, IPv6: sessions are up ... ok +Live test, OpenBGPD 6.9p0, BGP communities, IPv6: announce to AS1 only (ext) ... ok +Live test, OpenBGPD 6.9p0, BGP communities, IPv6: announce to AS1 only (lrg) ... ok +Live test, OpenBGPD 6.9p0, BGP communities, IPv6: announce to AS1 only (std) ... ok +Live test, OpenBGPD 6.9p0, BGP communities, IPv6: announce to AS131073 only (ext) ... ok +Live test, OpenBGPD 6.9p0, BGP communities, IPv6: announce to AS131073 only (lrg) ... ok +Live test, OpenBGPD 6.9p0, BGP communities, IPv6: custom BGP community (ext) ... ok +Live test, OpenBGPD 6.9p0, BGP communities, IPv6: custom BGP community (lrg) ... ok +Live test, OpenBGPD 6.9p0, BGP communities, IPv6: custom BGP community (std) ... ok +Live test, OpenBGPD 6.9p0, BGP communities, IPv6: custom BGP community scrubbed ... ok +Live test, OpenBGPD 6.9p0, BGP communities, IPv6: reconfigure ... ok +Live test, OpenBGPD 6.9p0, BGP communities, IPv6: log contains errors ... ok +Live test, OpenBGPD 6.9p0, BGP communities, IPv6: dumping rs config... +Live test, OpenBGPD 6.9p0, BGP communities, IPv6: dumping routes... +Live test, OpenBGPD 6.9p0, BGP communities, IPv6: stopping instances... ---------------------------------------------------------------------- -Ran 26 tests in 65.847s +Ran 26 tests in 60.401s OK -Live test, OpenBGPD 6.8p1, default config, IPv4: setting instances up... -Live test, OpenBGPD 6.8p1, default config, IPv4: instances setup ... ok -Live test, OpenBGPD 6.8p1, default config, IPv4: log contains errors ... ok -Live test, OpenBGPD 6.8p1, default config, IPv4: dumping rs config... -Live test, OpenBGPD 6.8p1, default config, IPv4: dumping routes... -Live test, OpenBGPD 6.8p1, default config, IPv4: stopping instances... -Live test, OpenBGPD 6.8p1, default config, IPv6: setting instances up... -Live test, OpenBGPD 6.8p1, default config, IPv6: instances setup ... ok -Live test, OpenBGPD 6.8p1, default config, IPv6: log contains errors ... ok -Live test, OpenBGPD 6.8p1, default config, IPv6: dumping rs config... -Live test, OpenBGPD 6.8p1, default config, IPv6: dumping routes... -Live test, OpenBGPD 6.8p1, default config, IPv6: stopping instances... +Live test, OpenBGPD 6.9p0, default config, IPv4: setting instances up... +Live test, OpenBGPD 6.9p0, default config, IPv4: instances setup ... ok +Live test, OpenBGPD 6.9p0, default config, IPv4: log contains errors ... ok +Live test, OpenBGPD 6.9p0, default config, IPv4: dumping rs config... +Live test, OpenBGPD 6.9p0, default config, IPv4: dumping routes... +Live test, OpenBGPD 6.9p0, default config, IPv4: stopping instances... +Live test, OpenBGPD 6.9p0, default config, IPv6: setting instances up... +Live test, OpenBGPD 6.9p0, default config, IPv6: instances setup ... ok +Live test, OpenBGPD 6.9p0, default config, IPv6: log contains errors ... ok +Live test, OpenBGPD 6.9p0, default config, IPv6: dumping rs config... +Live test, OpenBGPD 6.9p0, default config, IPv6: dumping routes... +Live test, OpenBGPD 6.9p0, default config, IPv6: stopping instances... ---------------------------------------------------------------------- -Ran 4 tests in 10.911s +Ran 4 tests in 10.783s OK +Live test, OpenBGPD 6.9p0, global scenario, IPv4: setting instances up... +Live test, OpenBGPD 6.9p0, global scenario, IPv4: instances setup ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: sessions are up ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: session configured via local include files ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: good prefixes because of use_arin_bulk_whois_data ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: good prefixes received by rs: IRRdb white-list ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: good prefixes because of use_registrobr_bulk_whois_data ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: good prefixes because of use_rpki_roas_as_route_objects: exact ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: good prefixes because of use_rpki_roas_as_route_objects: covering ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: good prefixes received by rs ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: good prefixes received by rs: non-client NEXT_HOP ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: bad prefixes received by rs: not IPv6 global unicast space ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: bad prefixes received by rs: IRRdb white-list ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: bad prefixes received by rs: AS_SET origin, RFC6907 7.1.9 ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: bad prefixes received by rs: IRR check for AS_SET origin, BIRD ... SKIP: BIRD specific +Live test, OpenBGPD 6.9p0, global scenario, IPv4: bad prefixes received by rs: IRR check for AS_SET origin, OpenBGPD ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: bad prefixes received by rs: AS_PATH len ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: bad prefixes received by rs: bogon ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: bad prefixes received by rs: client blacklist ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: bad prefixes received by rs: global blacklist ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: bad prefixes received by rs: invalid ASN in AS-PATH ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: bad prefixes received by rs: invalid NEXT_HOP ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: bad prefixes received by rs: left-most ASN ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: bad prefixes received by rs: never via route servers ASN in AS-PATH (asns list) ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: bad prefixes received by rs: never via route servers ASN in AS-PATH (PeeringDB) ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: bad prefixes received by rs: origin not in AS-SET ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: bad prefixes received by rs: prefix not in AS-SET ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: bad prefixes received by rs: invalid prefix-len ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: bad prefixes received by rs: transit-free ASN in AS-PATH ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: bad prefixes received by rs: transit-free ASN in AS-PATH from a transit peer ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: bad prefixes received by rs: unknown NEXT_HOP ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: bad prefixes received by rs: RPKI ROAs as route objects failed ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: bad prefixes received by rs: default route ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: bad prefixes not received by clients ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: bad prefixes received by rs: bogon (wrong tag) ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: bad prefixes received by rs: global blacklist (wrong tag) ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: RPKI, blackhole request for a covered prefix ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: RPKI, invalid prefix (bad ASN) received by rs ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: RPKI, invalid prefix (bad length) received by rs ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: RPKI, invalid prefix (bad ASN) not propagated to clients ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: RPKI, valid prefix received by rs ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: RPKI, valid prefix propagated to clients ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: prefixes from AS101 received by its upstreams ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: prefixes from AS101 received by rs ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: bad communities as seen by AS101 upstreams ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: bad communities scrubbed by rs (lrg) ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: bad communities scrubbed by rs (std) ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: other communities not scrubbed by rs (lrg) ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: other communities not scrubbed by rs (std) ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: blackhole filtering requests as seen by rs (BLACKHOLE) ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: blackhole filtering requests as seen by rs (lrg cust) ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: blackhole filtering requests as seen by rs (std cust) ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: blackholed prefixes as seen by enabled clients (BLACKHOLE) ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: blackholed prefixes as seen by enabled clients (lrg_cust) ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: blackholed prefixes as seen by enabled clients (std_cust) ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: blackholed prefixes not seen by not enabled clients ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: gshut by an enabled client ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: gshut by a not enabled client ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: control communities, announce to AS1 only ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: control communities, don't announce to any ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: control communities, announce to all except AS1 ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: control communities, prepend once to any ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: control communities, prepend twice to any ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: control communities, prepend thrice to any ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: control communities, prepend once to AS1 ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: control communities, prepend twice to AS2 ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: control communities, prepend thrice to AS1, once to others ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: control communities, NO_EXPORT to AS1 ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: control communities, NO_EXPORT to any ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: control communities, RFC1997 NO_EXPORT ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: control communities, RTT, blackhole, not peers > 20 ms ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: control communities, RTT, not peers > 15 ms ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: control communities, RTT, not peers > 5 ms ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: control communities, RTT, not peers > 5 ms + AS3 ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: control communities, RTT, not peers <= 5 and > 100 ms ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: control communities, RTT, only peers <= 15 ms ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: control communities, RTT, only peers <= 5 ms ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: control communities, RTT, ext comms, prepend 1x > 10 ms, 2x > 20 ms ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: control communities, RTT, prepend 3x > 100 ms, 2x > 10 ms ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: control communities, RTT, prepend 3x <= 5 ms, 2x <= 20 ms, 1x any ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: prefixes received by clients: AS1_1 ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: prefixes received by clients: AS1_2 ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: prefixes received by clients: AS2 ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: prefixes received by clients: AS3 ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: prefixes received by clients: AS3 (with ADD-PATH) ... SKIP: ADD-PATH not supported by OpenBGPD +Live test, OpenBGPD 6.9p0, global scenario, IPv4: reconfigure ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: log contains errors ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: dumping rs config... +Live test, OpenBGPD 6.9p0, global scenario, IPv4: dumping routes... +Live test, OpenBGPD 6.9p0, global scenario, IPv4: stopping instances... +Live test, OpenBGPD 6.9p0, global scenario, IPv6: setting instances up... +Live test, OpenBGPD 6.9p0, global scenario, IPv6: instances setup ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: sessions are up ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: session configured via local include files ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: good prefixes because of use_arin_bulk_whois_data ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: good prefixes received by rs: IRRdb white-list ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: good prefixes because of use_registrobr_bulk_whois_data ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: good prefixes because of use_rpki_roas_as_route_objects: exact ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: good prefixes because of use_rpki_roas_as_route_objects: covering ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: good prefixes received by rs ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: good prefixes received by rs: non-client NEXT_HOP ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: bad prefixes received by rs: not IPv6 global unicast space ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: bad prefixes received by rs: IRRdb white-list ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: bad prefixes received by rs: AS_SET origin, RFC6907 7.1.9 ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: bad prefixes received by rs: IRR check for AS_SET origin, BIRD ... SKIP: BIRD specific +Live test, OpenBGPD 6.9p0, global scenario, IPv6: bad prefixes received by rs: IRR check for AS_SET origin, OpenBGPD ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: bad prefixes received by rs: AS_PATH len ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: bad prefixes received by rs: bogon ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: bad prefixes received by rs: client blacklist ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: bad prefixes received by rs: global blacklist ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: bad prefixes received by rs: invalid ASN in AS-PATH ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: bad prefixes received by rs: invalid NEXT_HOP ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: bad prefixes received by rs: left-most ASN ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: bad prefixes received by rs: never via route servers ASN in AS-PATH (asns list) ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: bad prefixes received by rs: never via route servers ASN in AS-PATH (PeeringDB) ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: bad prefixes received by rs: origin not in AS-SET ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: bad prefixes received by rs: prefix not in AS-SET ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: bad prefixes received by rs: invalid prefix-len ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: bad prefixes received by rs: transit-free ASN in AS-PATH ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: bad prefixes received by rs: transit-free ASN in AS-PATH from a transit peer ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: bad prefixes received by rs: unknown NEXT_HOP ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: bad prefixes received by rs: RPKI ROAs as route objects failed ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: bad prefixes received by rs: default route ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: bad prefixes not received by clients ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: bad prefixes received by rs: bogon (wrong tag) ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: bad prefixes received by rs: global blacklist (wrong tag) ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: RPKI, blackhole request for a covered prefix ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: RPKI, invalid prefix (bad ASN) received by rs ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: RPKI, invalid prefix (bad length) received by rs ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: RPKI, invalid prefix (bad ASN) not propagated to clients ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: RPKI, valid prefix received by rs ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: RPKI, valid prefix propagated to clients ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: prefixes from AS101 received by its upstreams ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: prefixes from AS101 received by rs ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: bad communities as seen by AS101 upstreams ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: bad communities scrubbed by rs (lrg) ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: bad communities scrubbed by rs (std) ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: other communities not scrubbed by rs (lrg) ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: other communities not scrubbed by rs (std) ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: blackhole filtering requests as seen by rs (BLACKHOLE) ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: blackhole filtering requests as seen by rs (lrg cust) ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: blackhole filtering requests as seen by rs (std cust) ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: blackholed prefixes as seen by enabled clients (BLACKHOLE) ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: blackholed prefixes as seen by enabled clients (lrg_cust) ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: blackholed prefixes as seen by enabled clients (std_cust) ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: blackholed prefixes not seen by not enabled clients ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: gshut by an enabled client ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: gshut by a not enabled client ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: control communities, announce to AS1 only ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: control communities, don't announce to any ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: control communities, announce to all except AS1 ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: control communities, prepend once to any ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: control communities, prepend twice to any ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: control communities, prepend thrice to any ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: control communities, prepend once to AS1 ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: control communities, prepend twice to AS2 ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: control communities, prepend thrice to AS1, once to others ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: control communities, NO_EXPORT to AS1 ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: control communities, NO_EXPORT to any ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: control communities, RFC1997 NO_EXPORT ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: control communities, RTT, blackhole, not peers > 20 ms ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: control communities, RTT, not peers > 15 ms ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: control communities, RTT, not peers > 5 ms ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: control communities, RTT, not peers > 5 ms + AS3 ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: control communities, RTT, not peers <= 5 and > 100 ms ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: control communities, RTT, only peers <= 15 ms ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: control communities, RTT, only peers <= 5 ms ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: control communities, RTT, ext comms, prepend 1x > 10 ms, 2x > 20 ms ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: control communities, RTT, prepend 3x > 100 ms, 2x > 10 ms ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: control communities, RTT, prepend 3x <= 5 ms, 2x <= 20 ms, 1x any ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: prefixes received by clients: AS1_1 ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: prefixes received by clients: AS1_2 ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: prefixes received by clients: AS2 ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: prefixes received by clients: AS3 ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: prefixes received by clients: AS3 (with ADD-PATH) ... SKIP: ADD-PATH not supported by OpenBGPD +Live test, OpenBGPD 6.9p0, global scenario, IPv6: reconfigure ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: log contains errors ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: dumping rs config... +Live test, OpenBGPD 6.9p0, global scenario, IPv6: dumping routes... +Live test, OpenBGPD 6.9p0, global scenario, IPv6: stopping instances... Live test, OpenBGPD 6.8p1, global scenario, IPv4: setting instances up... Live test, OpenBGPD 6.8p1, global scenario, IPv4: instances setup ... ok Live test, OpenBGPD 6.8p1, global scenario, IPv4: sessions are up ... ok @@ -2536,976 +2716,390 @@ Live test, OpenBGPD 6.8p1, global scenario, IPv6: dumping routes... Live test, OpenBGPD 6.8p1, global scenario, IPv6: stopping instances... ---------------------------------------------------------------------- -Ran 172 tests in 139.794s - -OK (SKIP=4) -Live test, OpenBGPD 6.8p1, gshut, IPv4: setting instances up... -Live test, OpenBGPD 6.8p1, gshut, IPv4: instances setup ... ok -Live test, OpenBGPD 6.8p1, gshut, IPv4: sessions are up ... ok -Live test, OpenBGPD 6.8p1, gshut, IPv4: clients receive routes tagged with GRACEFUL_SHUTDOWN ... ok -Live test, OpenBGPD 6.8p1, gshut, IPv4: reconfigure ... ok -Live test, OpenBGPD 6.8p1, gshut, IPv4: log contains errors ... ok -Live test, OpenBGPD 6.8p1, gshut, IPv4: dumping rs config... -Live test, OpenBGPD 6.8p1, gshut, IPv4: dumping routes... -Live test, OpenBGPD 6.8p1, gshut, IPv4: stopping instances... -Live test, OpenBGPD 6.8p1, gshut, IPv6: setting instances up... -Live test, OpenBGPD 6.8p1, gshut, IPv6: instances setup ... ok -Live test, OpenBGPD 6.8p1, gshut, IPv6: sessions are up ... ok -Live test, OpenBGPD 6.8p1, gshut, IPv6: clients receive routes tagged with GRACEFUL_SHUTDOWN ... ok -Live test, OpenBGPD 6.8p1, gshut, IPv6: reconfigure ... ok -Live test, OpenBGPD 6.8p1, gshut, IPv6: log contains errors ... ok -Live test, OpenBGPD 6.8p1, gshut, IPv6: dumping rs config... -Live test, OpenBGPD 6.8p1, gshut, IPv6: dumping routes... -Live test, OpenBGPD 6.8p1, gshut, IPv6: stopping instances... - ----------------------------------------------------------------------- -Ran 10 tests in 44.698s - -OK -Live test, OpenBGPD 6.8p1, max-prefix, IPv4: setting instances up... -Live test, OpenBGPD 6.8p1, max-prefix, IPv4: instances setup ... ok -Live test, OpenBGPD 6.8p1, max-prefix, IPv4: sessions are down ... ok -Live test, OpenBGPD 6.8p1, max-prefix, IPv4: clients log max-prefix notification ... ok -Live test, OpenBGPD 6.8p1, max-prefix, IPv4: reconfigure ... ok -Live test, OpenBGPD 6.8p1, max-prefix, IPv4: log contains errors ... ok -Live test, OpenBGPD 6.8p1, max-prefix, IPv4: dumping rs config... -Live test, OpenBGPD 6.8p1, max-prefix, IPv4: dumping routes... -Live test, OpenBGPD 6.8p1, max-prefix, IPv4: stopping instances... -Live test, OpenBGPD 6.8p1, max-prefix, IPv6: setting instances up... -Live test, OpenBGPD 6.8p1, max-prefix, IPv6: instances setup ... ok -Live test, OpenBGPD 6.8p1, max-prefix, IPv6: sessions are down ... ok -Live test, OpenBGPD 6.8p1, max-prefix, IPv6: clients log max-prefix notification ... ok -Live test, OpenBGPD 6.8p1, max-prefix, IPv6: reconfigure ... ok -Live test, OpenBGPD 6.8p1, max-prefix, IPv6: log contains errors ... ok -Live test, OpenBGPD 6.8p1, max-prefix, IPv6: dumping rs config... -Live test, OpenBGPD 6.8p1, max-prefix, IPv6: dumping routes... -Live test, OpenBGPD 6.8p1, max-prefix, IPv6: stopping instances... - ----------------------------------------------------------------------- -Ran 10 tests in 325.578s - -OK -Live test, OpenBGPD 6.8p1, path hiding, mitigation off, IPv4: setting instances up... -Live test, OpenBGPD 6.8p1, path hiding, mitigation off, IPv4: instances setup ... ok -Live test, OpenBGPD 6.8p1, path hiding, mitigation off, IPv4: sessions are up ... ok -Live test, OpenBGPD 6.8p1, path hiding, mitigation off, IPv4: rs should receive prefix from both AS1 and AS2 ... ok -Live test, OpenBGPD 6.8p1, path hiding, mitigation off, IPv4: rs should have best toward AS1 ... ok -Live test, OpenBGPD 6.8p1, path hiding, mitigation off, IPv4: AS1 wants rs to not announce to AS3 and AS4 ... ok -Live test, OpenBGPD 6.8p1, path hiding, mitigation off, IPv4: AS3 does not receive prefix at all ... ok -Live test, OpenBGPD 6.8p1, path hiding, mitigation off, IPv4: AS4 receives the prefix via AS2 because of ADD-PATH ... SKIP: ADD-PATH not supported by OpenBGPD -Live test, OpenBGPD 6.8p1, path hiding, mitigation off, IPv4: reconfigure ... ok -Live test, OpenBGPD 6.8p1, path hiding, mitigation off, IPv4: log contains errors ... ok -Live test, OpenBGPD 6.8p1, path hiding, mitigation off, IPv4: dumping rs config... -Live test, OpenBGPD 6.8p1, path hiding, mitigation off, IPv4: dumping routes... -Live test, OpenBGPD 6.8p1, path hiding, mitigation off, IPv4: stopping instances... -Live test, OpenBGPD 6.8p1, path hiding, mitigation on, IPv4: setting instances up... -Live test, OpenBGPD 6.8p1, path hiding, mitigation on, IPv4: instances setup ... ok -Live test, OpenBGPD 6.8p1, path hiding, mitigation on, IPv4: sessions are up ... ok -Live test, OpenBGPD 6.8p1, path hiding, mitigation on, IPv4: rs should receive prefix from both AS1 and AS2 ... ok -Live test, OpenBGPD 6.8p1, path hiding, mitigation on, IPv4: rs should have best toward AS1 ... ok -Live test, OpenBGPD 6.8p1, path hiding, mitigation on, IPv4: AS1 wants rs to not announce to AS3 and AS4 ... ok -Live test, OpenBGPD 6.8p1, path hiding, mitigation on, IPv4: AS3 and AS4 receive prefix with sub-optimal path via AS2 ... SKIP: Work in progress -Live test, OpenBGPD 6.8p1, path hiding, mitigation on, IPv4: AS3 and AS4 don't receive prefix via AS1 ... ok -Live test, OpenBGPD 6.8p1, path hiding, mitigation on, IPv4: reconfigure ... ok -Live test, OpenBGPD 6.8p1, path hiding, mitigation on, IPv4: log contains errors ... ok -Live test, OpenBGPD 6.8p1, path hiding, mitigation on, IPv4: dumping rs config... -Live test, OpenBGPD 6.8p1, path hiding, mitigation on, IPv4: dumping routes... -Live test, OpenBGPD 6.8p1, path hiding, mitigation on, IPv4: stopping instances... -Live test, OpenBGPD 6.8p1, path hiding, mitigation off, IPv6: setting instances up... -Live test, OpenBGPD 6.8p1, path hiding, mitigation off, IPv6: instances setup ... ok -Live test, OpenBGPD 6.8p1, path hiding, mitigation off, IPv6: sessions are up ... ok -Live test, OpenBGPD 6.8p1, path hiding, mitigation off, IPv6: rs should receive prefix from both AS1 and AS2 ... ok -Live test, OpenBGPD 6.8p1, path hiding, mitigation off, IPv6: rs should have best toward AS1 ... ok -Live test, OpenBGPD 6.8p1, path hiding, mitigation off, IPv6: AS1 wants rs to not announce to AS3 and AS4 ... ok -Live test, OpenBGPD 6.8p1, path hiding, mitigation off, IPv6: AS3 does not receive prefix at all ... ok -Live test, OpenBGPD 6.8p1, path hiding, mitigation off, IPv6: AS4 receives the prefix via AS2 because of ADD-PATH ... SKIP: ADD-PATH not supported by OpenBGPD -Live test, OpenBGPD 6.8p1, path hiding, mitigation off, IPv6: reconfigure ... ok -Live test, OpenBGPD 6.8p1, path hiding, mitigation off, IPv6: log contains errors ... ok -Live test, OpenBGPD 6.8p1, path hiding, mitigation off, IPv6: dumping rs config... -Live test, OpenBGPD 6.8p1, path hiding, mitigation off, IPv6: dumping routes... -Live test, OpenBGPD 6.8p1, path hiding, mitigation off, IPv6: stopping instances... -Live test, OpenBGPD 6.8p1, path hiding, mitigation on, IPv6: setting instances up... -Live test, OpenBGPD 6.8p1, path hiding, mitigation on, IPv6: instances setup ... ok -Live test, OpenBGPD 6.8p1, path hiding, mitigation on, IPv6: sessions are up ... ok -Live test, OpenBGPD 6.8p1, path hiding, mitigation on, IPv6: rs should receive prefix from both AS1 and AS2 ... ok -Live test, OpenBGPD 6.8p1, path hiding, mitigation on, IPv6: rs should have best toward AS1 ... ok -Live test, OpenBGPD 6.8p1, path hiding, mitigation on, IPv6: AS1 wants rs to not announce to AS3 and AS4 ... ok -Live test, OpenBGPD 6.8p1, path hiding, mitigation on, IPv6: AS3 and AS4 receive prefix with sub-optimal path via AS2 ... SKIP: Work in progress -Live test, OpenBGPD 6.8p1, path hiding, mitigation on, IPv6: AS3 and AS4 don't receive prefix via AS1 ... ok -Live test, OpenBGPD 6.8p1, path hiding, mitigation on, IPv6: reconfigure ... ok -Live test, OpenBGPD 6.8p1, path hiding, mitigation on, IPv6: log contains errors ... ok -Live test, OpenBGPD 6.8p1, path hiding, mitigation on, IPv6: dumping rs config... -Live test, OpenBGPD 6.8p1, path hiding, mitigation on, IPv6: dumping routes... -Live test, OpenBGPD 6.8p1, path hiding, mitigation on, IPv6: stopping instances... - ----------------------------------------------------------------------- -Ran 36 tests in 166.107s - -OK (SKIP=4) -Live test, OpenBGPD 6.8p1, examples, rich config, IPv4: setting instances up... -Live test, OpenBGPD 6.8p1, examples, rich config, IPv4: instances setup ... ok -Live test, OpenBGPD 6.8p1, examples, rich config, IPv4: log contains errors ... ok -Live test, OpenBGPD 6.8p1, examples, rich config, IPv4: dumping rs config... -Live test, OpenBGPD 6.8p1, examples, rich config, IPv4: dumping routes... -Live test, OpenBGPD 6.8p1, examples, rich config, IPv4: stopping instances... -Live test, OpenBGPD 6.8p1, examples, rich config, IPv6: setting instances up... -Live test, OpenBGPD 6.8p1, examples, rich config, IPv6: instances setup ... ok -Live test, OpenBGPD 6.8p1, examples, rich config, IPv6: log contains errors ... ok -Live test, OpenBGPD 6.8p1, examples, rich config, IPv6: dumping rs config... -Live test, OpenBGPD 6.8p1, examples, rich config, IPv6: dumping routes... -Live test, OpenBGPD 6.8p1, examples, rich config, IPv6: stopping instances... - ----------------------------------------------------------------------- -Ran 4 tests in 23.839s - -OK -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: setting instances up... -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: instances setup ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: sessions are up ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS2 no enforcement, prefix and origin not in AS-SET ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS4 origin enforcement ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS4 prefix enforcement ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS2 white list, prefix ko, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS2 white list, prefix ok, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS2 white list, prefix WL, origin ko ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS2 white list, prefix WL, origin ok ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS2 white list, prefix WL, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS4 route white list, ok (exact) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS4 route white list, reject (more spec) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS4 route white list, ok (more spec) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS4 route white list, reject (origin KO) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS4 route white list, ok (origin any) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS4 white list, prefix ko, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS4 white list, prefix ok, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS4 white list, prefix WL, origin ko ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS4 white list, prefix WL, origin ok ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS4 white list, prefix WL, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS5 white list, prefix ko, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS5 white list, prefix ok, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS5 white list, prefix WL, origin ko ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS5 white list, prefix WL, origin ok ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS5 white list, prefix WL, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS2 RPKI ROAs as route objects: tag only (w/o prefix_validated_via_rpki_roas) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS6 RPKI ROAs as route objects: invalid origin ASN ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS6 RPKI ROAs as route objects: ko ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS2 ARIN Whois DB: tag only (w/o prefix_validated_via_arin_whois_db_dump) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS6 ARIN Whois DB: ok (solely because of route white list) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS2 prefix ok, origin ok, ARIN: tag only (w/o prefix_validated_via_arin_whois_db_dump) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS2 prefix ok, origin ok, ROA: tag only (w/o prefix_validated_via_rpki_roas) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS2 ROA + ARIN Whois DB: tag only (w/o comms [arin_whois_db_dump, rpki_roas]) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS6 prefix ok, origin ok, ROA + ARIN: rejected ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS6 ROA + ARIN Whois DB: enforced (rejected) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: reconfigure ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: log contains errors ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: dumping rs config... -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: dumping routes... -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: stopping instances... -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: setting instances up... -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: instances setup ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: sessions are up ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS2 prefix ko origin ko ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS2 prefix ko origin ok ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS2 prefix ok origin ko ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS2 prefix ok origin ok ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS4 route filtered (origin ko) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS4 prefix ko origin ok ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS4 prefix ok origin ok ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS4 route filtered (prefix ko, origin ko) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS5 route filtered (prefix ko, origin ko) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS5 route filtered (prefix ko) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS5 prefix ok origin ko ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS5 prefix ok origin ok ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS2 white list, prefix ko, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS2 white list, prefix ok, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS2 white list, prefix WL, origin ko ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS2 white list, prefix WL, origin ok ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS2 white list, prefix WL, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS4 route white list, ok (exact) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS4 route white list, reject (more spec) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS4 route white list, ok (more spec) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS4 route white list, reject (origin KO) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS4 route white list, ok (origin any) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS4 white list, prefix ko, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS4 white list, prefix ok, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS4 white list, prefix WL, origin ko ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS4 white list, prefix WL, origin ok ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS4 white list, prefix WL, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS5 white list, prefix ko, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS5 white list, prefix ok, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS5 white list, prefix WL, origin ko ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS5 white list, prefix WL, origin ok ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS5 white list, prefix WL, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS2 RPKI ROAs as route objects: tag only (w/ prefix_validated_via_rpki_roas) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS6 RPKI ROAs as route objects: invalid origin ASN ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS6 RPKI ROAs as route objects: ok ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS2 ARIN Whois DB: tag only (w/ prefix_validated_via_arin_whois_db_dump) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS6 ARIN Whois DB: ok ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS2 prefix ok, origin ok, ARIN: tag only (w/ prefix_validated_via_arin_whois_db_dump) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS2 prefix ok, origin ok, ROA: tag only (w/ prefix_validated_via_rpki_roas) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS2 ROA + ARIN Whois DB: tag only (w/ comms [arin_whois_db_dump, rpki_roas]) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS6 prefix ok, origin ok, ROA + ARIN: enforce (w/ comms [arin_whois_db_dump, rpki_roas]) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS6 ROA + ARIN Whois DB: enforce (w/ comms [arin_whois_db_dump, rpki_roas]) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: reconfigure ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: log contains errors ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: dumping rs config... -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: dumping routes... -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: stopping instances... -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: setting instances up... -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: instances setup ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: sessions are up ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS2 no enforcement, prefix and origin not in AS-SET ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS4 origin enforcement ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS4 prefix enforcement ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS2 white list, prefix ko, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS2 white list, prefix ok, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS2 white list, prefix WL, origin ko ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS2 white list, prefix WL, origin ok ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS2 white list, prefix WL, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS4 route white list, ok (exact) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS4 route white list, reject (more spec) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS4 route white list, ok (more spec) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS4 route white list, reject (origin KO) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS4 route white list, ok (origin any) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS4 white list, prefix ko, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS4 white list, prefix ok, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS4 white list, prefix WL, origin ko ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS4 white list, prefix WL, origin ok ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS4 white list, prefix WL, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS5 white list, prefix ko, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS5 white list, prefix ok, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS5 white list, prefix WL, origin ko ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS5 white list, prefix WL, origin ok ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS5 white list, prefix WL, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS2 RPKI ROAs as route objects: tag only (w/o prefix_validated_via_rpki_roas) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS6 RPKI ROAs as route objects: invalid origin ASN ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS6 RPKI ROAs as route objects: ko ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS2 ARIN Whois DB: tag only (w/o prefix_validated_via_arin_whois_db_dump) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS6 ARIN Whois DB: ok (solely because of route white list) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS2 prefix ok, origin ok, ARIN: tag only (w/o prefix_validated_via_arin_whois_db_dump) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS2 prefix ok, origin ok, ROA: tag only (w/o prefix_validated_via_rpki_roas) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS2 ROA + ARIN Whois DB: tag only (w/o comms [arin_whois_db_dump, rpki_roas]) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS6 prefix ok, origin ok, ROA + ARIN: rejected ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS6 ROA + ARIN Whois DB: enforced (rejected) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: reconfigure ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: log contains errors ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: dumping rs config... -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: dumping routes... -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: stopping instances... -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: setting instances up... -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: instances setup ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: sessions are up ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS2 prefix ko origin ko ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS2 prefix ko origin ok ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS2 prefix ok origin ko ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS2 prefix ok origin ok ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS4 route filtered (origin ko) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS4 prefix ko origin ok ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS4 prefix ok origin ok ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS4 route filtered (prefix ko, origin ko) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS5 route filtered (prefix ko, origin ko) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS5 route filtered (prefix ko) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS5 prefix ok origin ko ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS5 prefix ok origin ok ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS2 white list, prefix ko, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS2 white list, prefix ok, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS2 white list, prefix WL, origin ko ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS2 white list, prefix WL, origin ok ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS2 white list, prefix WL, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS4 route white list, ok (exact) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS4 route white list, reject (more spec) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS4 route white list, ok (more spec) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS4 route white list, reject (origin KO) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS4 route white list, ok (origin any) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS4 white list, prefix ko, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS4 white list, prefix ok, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS4 white list, prefix WL, origin ko ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS4 white list, prefix WL, origin ok ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS4 white list, prefix WL, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS5 white list, prefix ko, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS5 white list, prefix ok, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS5 white list, prefix WL, origin ko ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS5 white list, prefix WL, origin ok ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS5 white list, prefix WL, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS2 RPKI ROAs as route objects: tag only (w/ prefix_validated_via_rpki_roas) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS6 RPKI ROAs as route objects: invalid origin ASN ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS6 RPKI ROAs as route objects: ok ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS2 ARIN Whois DB: tag only (w/ prefix_validated_via_arin_whois_db_dump) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS6 ARIN Whois DB: ok ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS2 prefix ok, origin ok, ARIN: tag only (w/ prefix_validated_via_arin_whois_db_dump) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS2 prefix ok, origin ok, ROA: tag only (w/ prefix_validated_via_rpki_roas) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS2 ROA + ARIN Whois DB: tag only (w/ comms [arin_whois_db_dump, rpki_roas]) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS6 prefix ok, origin ok, ROA + ARIN: enforce (w/ comms [arin_whois_db_dump, rpki_roas]) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS6 ROA + ARIN Whois DB: enforce (w/ comms [arin_whois_db_dump, rpki_roas]) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: reconfigure ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: log contains errors ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: dumping rs config... -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: dumping routes... -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: stopping instances... - ----------------------------------------------------------------------- -Ran 166 tests in 162.383s - -OK -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv4: setting instances up... -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv4: instances setup ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv4: sessions are up ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv4: AS_PATH too long ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv4: bogon prefix ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv4: bogon prefix, wrong announcing ASN ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv4: prefix in client's blacklist ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv4: invalid ASN in AS_PATH ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv4: invalid NEXT_HOP ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv4: local black list ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv4: prefix is not in IPv6 global unicast space ... SKIP: IPv6 only test -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv4: origin not in as-macro ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv4: invalid left-most ASN ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv4: prefix length ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv4: prefix not in as-macro ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv4: RPKI INVALID route ... SKIP: RPKI not supported by OpenBGPD -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv4: transit-free ASN in AS_PATH ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv4: good routes not received ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv4: prefixes received by clients: AS1_1 ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv4: prefixes received by clients: AS1_2 ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv4: prefixes received by clients: AS2 ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv4: reconfigure ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv4: log contains errors ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv4: dumping rs config... -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv4: dumping routes... -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv4: stopping instances... -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv6: setting instances up... -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv6: instances setup ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv6: sessions are up ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv6: AS_PATH too long ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv6: bogon prefix ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv6: bogon prefix, wrong announcing ASN ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv6: prefix in client's blacklist ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv6: invalid ASN in AS_PATH ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv6: invalid NEXT_HOP ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv6: local black list ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv6: prefix is not in IPv6 global unicast space ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv6: origin not in as-macro ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv6: invalid left-most ASN ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv6: prefix length ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv6: prefix not in as-macro ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv6: RPKI INVALID route ... SKIP: RPKI not supported by OpenBGPD -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv6: transit-free ASN in AS_PATH ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv6: good routes not received ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv6: prefixes received by clients: AS1_1 ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv6: prefixes received by clients: AS1_2 ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv6: prefixes received by clients: AS2 ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv6: reconfigure ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv6: log contains errors ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv6: dumping rs config... -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv6: dumping routes... -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv6: stopping instances... - ----------------------------------------------------------------------- -Ran 44 tests in 114.237s +Ran 344 tests in 281.370s -OK (SKIP=3) -Live test, OpenBGPD 6.7, BGP communities, IPv4: setting instances up... -Live test, OpenBGPD 6.7, BGP communities, IPv4: instances setup ... ok -Live test, OpenBGPD 6.7, BGP communities, IPv4: sessions are up ... ok -Live test, OpenBGPD 6.7, BGP communities, IPv4: announce to AS1 only (ext) ... ok -Live test, OpenBGPD 6.7, BGP communities, IPv4: announce to AS1 only (lrg) ... ok -Live test, OpenBGPD 6.7, BGP communities, IPv4: announce to AS1 only (std) ... ok -Live test, OpenBGPD 6.7, BGP communities, IPv4: announce to AS131073 only (ext) ... ok -Live test, OpenBGPD 6.7, BGP communities, IPv4: announce to AS131073 only (lrg) ... ok -Live test, OpenBGPD 6.7, BGP communities, IPv4: custom BGP community (ext) ... ok -Live test, OpenBGPD 6.7, BGP communities, IPv4: custom BGP community (lrg) ... ok -Live test, OpenBGPD 6.7, BGP communities, IPv4: custom BGP community (std) ... ok -Live test, OpenBGPD 6.7, BGP communities, IPv4: custom BGP community scrubbed ... ok -Live test, OpenBGPD 6.7, BGP communities, IPv4: reconfigure ... ok -Live test, OpenBGPD 6.7, BGP communities, IPv4: log contains errors ... ok -Live test, OpenBGPD 6.7, BGP communities, IPv4: dumping rs config... -Live test, OpenBGPD 6.7, BGP communities, IPv4: dumping routes... -Live test, OpenBGPD 6.7, BGP communities, IPv4: stopping instances... -Live test, OpenBGPD 6.7, BGP communities, IPv6: setting instances up... -Live test, OpenBGPD 6.7, BGP communities, IPv6: instances setup ... ok -Live test, OpenBGPD 6.7, BGP communities, IPv6: sessions are up ... ok -Live test, OpenBGPD 6.7, BGP communities, IPv6: announce to AS1 only (ext) ... ok -Live test, OpenBGPD 6.7, BGP communities, IPv6: announce to AS1 only (lrg) ... ok -Live test, OpenBGPD 6.7, BGP communities, IPv6: announce to AS1 only (std) ... ok -Live test, OpenBGPD 6.7, BGP communities, IPv6: announce to AS131073 only (ext) ... ok -Live test, OpenBGPD 6.7, BGP communities, IPv6: announce to AS131073 only (lrg) ... ok -Live test, OpenBGPD 6.7, BGP communities, IPv6: custom BGP community (ext) ... ok -Live test, OpenBGPD 6.7, BGP communities, IPv6: custom BGP community (lrg) ... ok -Live test, OpenBGPD 6.7, BGP communities, IPv6: custom BGP community (std) ... ok -Live test, OpenBGPD 6.7, BGP communities, IPv6: custom BGP community scrubbed ... ok -Live test, OpenBGPD 6.7, BGP communities, IPv6: reconfigure ... ok -Live test, OpenBGPD 6.7, BGP communities, IPv6: log contains errors ... ok -Live test, OpenBGPD 6.7, BGP communities, IPv6: dumping rs config... -Live test, OpenBGPD 6.7, BGP communities, IPv6: dumping routes... -Live test, OpenBGPD 6.7, BGP communities, IPv6: stopping instances... +OK (SKIP=8) +Live test, OpenBGPD 6.9p0, gshut, IPv4: setting instances up... +Live test, OpenBGPD 6.9p0, gshut, IPv4: instances setup ... ok +Live test, OpenBGPD 6.9p0, gshut, IPv4: sessions are up ... ok +Live test, OpenBGPD 6.9p0, gshut, IPv4: clients receive routes tagged with GRACEFUL_SHUTDOWN ... ok +Live test, OpenBGPD 6.9p0, gshut, IPv4: reconfigure ... ok +Live test, OpenBGPD 6.9p0, gshut, IPv4: log contains errors ... ok +Live test, OpenBGPD 6.9p0, gshut, IPv4: dumping rs config... +Live test, OpenBGPD 6.9p0, gshut, IPv4: dumping routes... +Live test, OpenBGPD 6.9p0, gshut, IPv4: stopping instances... +Live test, OpenBGPD 6.9p0, gshut, IPv6: setting instances up... +Live test, OpenBGPD 6.9p0, gshut, IPv6: instances setup ... ok +Live test, OpenBGPD 6.9p0, gshut, IPv6: sessions are up ... ok +Live test, OpenBGPD 6.9p0, gshut, IPv6: clients receive routes tagged with GRACEFUL_SHUTDOWN ... ok +Live test, OpenBGPD 6.9p0, gshut, IPv6: reconfigure ... ok +Live test, OpenBGPD 6.9p0, gshut, IPv6: log contains errors ... ok +Live test, OpenBGPD 6.9p0, gshut, IPv6: dumping rs config... +Live test, OpenBGPD 6.9p0, gshut, IPv6: dumping routes... +Live test, OpenBGPD 6.9p0, gshut, IPv6: stopping instances... ---------------------------------------------------------------------- -Ran 26 tests in 217.706s +Ran 10 tests in 50.247s OK -Live test, OpenBGPD 6.7, default config, IPv4: setting instances up... -Live test, OpenBGPD 6.7, default config, IPv4: instances setup ... ok -Live test, OpenBGPD 6.7, default config, IPv4: log contains errors ... ok -Live test, OpenBGPD 6.7, default config, IPv4: dumping rs config... -Live test, OpenBGPD 6.7, default config, IPv4: dumping routes... -Live test, OpenBGPD 6.7, default config, IPv4: stopping instances... -Live test, OpenBGPD 6.7, default config, IPv6: setting instances up... -Live test, OpenBGPD 6.7, default config, IPv6: instances setup ... ok -Live test, OpenBGPD 6.7, default config, IPv6: log contains errors ... ok -Live test, OpenBGPD 6.7, default config, IPv6: dumping rs config... -Live test, OpenBGPD 6.7, default config, IPv6: dumping routes... -Live test, OpenBGPD 6.7, default config, IPv6: stopping instances... +Live test, OpenBGPD 6.9p0, max-prefix, IPv4: setting instances up... +Live test, OpenBGPD 6.9p0, max-prefix, IPv4: instances setup ... ok +Live test, OpenBGPD 6.9p0, max-prefix, IPv4: sessions are down ... ok +Live test, OpenBGPD 6.9p0, max-prefix, IPv4: clients log max-prefix notification ... ok +Live test, OpenBGPD 6.9p0, max-prefix, IPv4: reconfigure ... ok +Live test, OpenBGPD 6.9p0, max-prefix, IPv4: log contains errors ... ok +Live test, OpenBGPD 6.9p0, max-prefix, IPv4: dumping rs config... +Live test, OpenBGPD 6.9p0, max-prefix, IPv4: dumping routes... +Live test, OpenBGPD 6.9p0, max-prefix, IPv4: stopping instances... +Live test, OpenBGPD 6.9p0, max-prefix, IPv6: setting instances up... +Live test, OpenBGPD 6.9p0, max-prefix, IPv6: instances setup ... ok +Live test, OpenBGPD 6.9p0, max-prefix, IPv6: sessions are down ... ok +Live test, OpenBGPD 6.9p0, max-prefix, IPv6: clients log max-prefix notification ... ok +Live test, OpenBGPD 6.9p0, max-prefix, IPv6: reconfigure ... ok +Live test, OpenBGPD 6.9p0, max-prefix, IPv6: log contains errors ... ok +Live test, OpenBGPD 6.9p0, max-prefix, IPv6: dumping rs config... +Live test, OpenBGPD 6.9p0, max-prefix, IPv6: dumping routes... +Live test, OpenBGPD 6.9p0, max-prefix, IPv6: stopping instances... ---------------------------------------------------------------------- -Ran 4 tests in 42.171s +Ran 10 tests in 327.849s OK -Live test, OpenBGPD 6.7, global scenario, IPv4: setting instances up... -Live test, OpenBGPD 6.7, global scenario, IPv4: instances setup ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: sessions are up ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: session configured via local include files ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: good prefixes because of use_arin_bulk_whois_data ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: good prefixes received by rs: IRRdb white-list ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: good prefixes because of use_registrobr_bulk_whois_data ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: good prefixes because of use_rpki_roas_as_route_objects: exact ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: good prefixes because of use_rpki_roas_as_route_objects: covering ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: good prefixes received by rs ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: good prefixes received by rs: non-client NEXT_HOP ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: bad prefixes received by rs: not IPv6 global unicast space ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: bad prefixes received by rs: IRRdb white-list ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: bad prefixes received by rs: AS_SET origin, RFC6907 7.1.9 ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: bad prefixes received by rs: IRR check for AS_SET origin, BIRD ... SKIP: BIRD specific -Live test, OpenBGPD 6.7, global scenario, IPv4: bad prefixes received by rs: IRR check for AS_SET origin, OpenBGPD ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: bad prefixes received by rs: AS_PATH len ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: bad prefixes received by rs: bogon ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: bad prefixes received by rs: client blacklist ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: bad prefixes received by rs: global blacklist ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: bad prefixes received by rs: invalid ASN in AS-PATH ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: bad prefixes received by rs: invalid NEXT_HOP ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: bad prefixes received by rs: left-most ASN ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: bad prefixes received by rs: never via route servers ASN in AS-PATH (asns list) ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: bad prefixes received by rs: never via route servers ASN in AS-PATH (PeeringDB) ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: bad prefixes received by rs: origin not in AS-SET ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: bad prefixes received by rs: prefix not in AS-SET ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: bad prefixes received by rs: invalid prefix-len ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: bad prefixes received by rs: transit-free ASN in AS-PATH ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: bad prefixes received by rs: transit-free ASN in AS-PATH from a transit peer ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: bad prefixes received by rs: unknown NEXT_HOP ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: bad prefixes received by rs: RPKI ROAs as route objects failed ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: bad prefixes received by rs: default route ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: bad prefixes not received by clients ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: bad prefixes received by rs: bogon (wrong tag) ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: bad prefixes received by rs: global blacklist (wrong tag) ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: RPKI, blackhole request for a covered prefix ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: RPKI, invalid prefix (bad ASN) received by rs ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: RPKI, invalid prefix (bad length) received by rs ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: RPKI, invalid prefix (bad ASN) not propagated to clients ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: RPKI, valid prefix received by rs ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: RPKI, valid prefix propagated to clients ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: prefixes from AS101 received by its upstreams ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: prefixes from AS101 received by rs ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: bad communities as seen by AS101 upstreams ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: bad communities scrubbed by rs (lrg) ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: bad communities scrubbed by rs (std) ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: other communities not scrubbed by rs (lrg) ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: other communities not scrubbed by rs (std) ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: blackhole filtering requests as seen by rs (BLACKHOLE) ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: blackhole filtering requests as seen by rs (lrg cust) ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: blackhole filtering requests as seen by rs (std cust) ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: blackholed prefixes as seen by enabled clients (BLACKHOLE) ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: blackholed prefixes as seen by enabled clients (lrg_cust) ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: blackholed prefixes as seen by enabled clients (std_cust) ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: blackholed prefixes not seen by not enabled clients ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: gshut by an enabled client ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: gshut by a not enabled client ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: control communities, announce to AS1 only ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: control communities, don't announce to any ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: control communities, announce to all except AS1 ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: control communities, prepend once to any ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: control communities, prepend twice to any ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: control communities, prepend thrice to any ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: control communities, prepend once to AS1 ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: control communities, prepend twice to AS2 ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: control communities, prepend thrice to AS1, once to others ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: control communities, NO_EXPORT to AS1 ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: control communities, NO_EXPORT to any ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: control communities, RFC1997 NO_EXPORT ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: control communities, RTT, blackhole, not peers > 20 ms ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: control communities, RTT, not peers > 15 ms ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: control communities, RTT, not peers > 5 ms ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: control communities, RTT, not peers > 5 ms + AS3 ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: control communities, RTT, not peers <= 5 and > 100 ms ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: control communities, RTT, only peers <= 15 ms ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: control communities, RTT, only peers <= 5 ms ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: control communities, RTT, ext comms, prepend 1x > 10 ms, 2x > 20 ms ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: control communities, RTT, prepend 3x > 100 ms, 2x > 10 ms ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: control communities, RTT, prepend 3x <= 5 ms, 2x <= 20 ms, 1x any ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: prefixes received by clients: AS1_1 ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: prefixes received by clients: AS1_2 ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: prefixes received by clients: AS2 ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: prefixes received by clients: AS3 ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: prefixes received by clients: AS3 (with ADD-PATH) ... SKIP: ADD-PATH not supported by OpenBGPD -Live test, OpenBGPD 6.7, global scenario, IPv4: reconfigure ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: log contains errors ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: dumping rs config... -Live test, OpenBGPD 6.7, global scenario, IPv4: dumping routes... -Live test, OpenBGPD 6.7, global scenario, IPv4: stopping instances... -Live test, OpenBGPD 6.7, global scenario, IPv6: setting instances up... -Live test, OpenBGPD 6.7, global scenario, IPv6: instances setup ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: sessions are up ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: session configured via local include files ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: good prefixes because of use_arin_bulk_whois_data ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: good prefixes received by rs: IRRdb white-list ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: good prefixes because of use_registrobr_bulk_whois_data ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: good prefixes because of use_rpki_roas_as_route_objects: exact ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: good prefixes because of use_rpki_roas_as_route_objects: covering ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: good prefixes received by rs ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: good prefixes received by rs: non-client NEXT_HOP ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: bad prefixes received by rs: not IPv6 global unicast space ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: bad prefixes received by rs: IRRdb white-list ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: bad prefixes received by rs: AS_SET origin, RFC6907 7.1.9 ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: bad prefixes received by rs: IRR check for AS_SET origin, BIRD ... SKIP: BIRD specific -Live test, OpenBGPD 6.7, global scenario, IPv6: bad prefixes received by rs: IRR check for AS_SET origin, OpenBGPD ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: bad prefixes received by rs: AS_PATH len ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: bad prefixes received by rs: bogon ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: bad prefixes received by rs: client blacklist ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: bad prefixes received by rs: global blacklist ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: bad prefixes received by rs: invalid ASN in AS-PATH ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: bad prefixes received by rs: invalid NEXT_HOP ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: bad prefixes received by rs: left-most ASN ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: bad prefixes received by rs: never via route servers ASN in AS-PATH (asns list) ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: bad prefixes received by rs: never via route servers ASN in AS-PATH (PeeringDB) ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: bad prefixes received by rs: origin not in AS-SET ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: bad prefixes received by rs: prefix not in AS-SET ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: bad prefixes received by rs: invalid prefix-len ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: bad prefixes received by rs: transit-free ASN in AS-PATH ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: bad prefixes received by rs: transit-free ASN in AS-PATH from a transit peer ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: bad prefixes received by rs: unknown NEXT_HOP ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: bad prefixes received by rs: RPKI ROAs as route objects failed ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: bad prefixes received by rs: default route ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: bad prefixes not received by clients ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: bad prefixes received by rs: bogon (wrong tag) ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: bad prefixes received by rs: global blacklist (wrong tag) ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: RPKI, blackhole request for a covered prefix ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: RPKI, invalid prefix (bad ASN) received by rs ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: RPKI, invalid prefix (bad length) received by rs ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: RPKI, invalid prefix (bad ASN) not propagated to clients ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: RPKI, valid prefix received by rs ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: RPKI, valid prefix propagated to clients ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: prefixes from AS101 received by its upstreams ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: prefixes from AS101 received by rs ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: bad communities as seen by AS101 upstreams ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: bad communities scrubbed by rs (lrg) ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: bad communities scrubbed by rs (std) ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: other communities not scrubbed by rs (lrg) ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: other communities not scrubbed by rs (std) ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: blackhole filtering requests as seen by rs (BLACKHOLE) ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: blackhole filtering requests as seen by rs (lrg cust) ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: blackhole filtering requests as seen by rs (std cust) ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: blackholed prefixes as seen by enabled clients (BLACKHOLE) ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: blackholed prefixes as seen by enabled clients (lrg_cust) ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: blackholed prefixes as seen by enabled clients (std_cust) ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: blackholed prefixes not seen by not enabled clients ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: gshut by an enabled client ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: gshut by a not enabled client ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: control communities, announce to AS1 only ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: control communities, don't announce to any ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: control communities, announce to all except AS1 ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: control communities, prepend once to any ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: control communities, prepend twice to any ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: control communities, prepend thrice to any ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: control communities, prepend once to AS1 ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: control communities, prepend twice to AS2 ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: control communities, prepend thrice to AS1, once to others ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: control communities, NO_EXPORT to AS1 ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: control communities, NO_EXPORT to any ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: control communities, RFC1997 NO_EXPORT ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: control communities, RTT, blackhole, not peers > 20 ms ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: control communities, RTT, not peers > 15 ms ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: control communities, RTT, not peers > 5 ms ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: control communities, RTT, not peers > 5 ms + AS3 ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: control communities, RTT, not peers <= 5 and > 100 ms ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: control communities, RTT, only peers <= 15 ms ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: control communities, RTT, only peers <= 5 ms ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: control communities, RTT, ext comms, prepend 1x > 10 ms, 2x > 20 ms ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: control communities, RTT, prepend 3x > 100 ms, 2x > 10 ms ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: control communities, RTT, prepend 3x <= 5 ms, 2x <= 20 ms, 1x any ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: prefixes received by clients: AS1_1 ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: prefixes received by clients: AS1_2 ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: prefixes received by clients: AS2 ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: prefixes received by clients: AS3 ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: prefixes received by clients: AS3 (with ADD-PATH) ... SKIP: ADD-PATH not supported by OpenBGPD -Live test, OpenBGPD 6.7, global scenario, IPv6: reconfigure ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: log contains errors ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: dumping rs config... -Live test, OpenBGPD 6.7, global scenario, IPv6: dumping routes... -Live test, OpenBGPD 6.7, global scenario, IPv6: stopping instances... +Live test, OpenBGPD 6.9p0, path hiding, mitigation off, IPv4: setting instances up... +Live test, OpenBGPD 6.9p0, path hiding, mitigation off, IPv4: instances setup ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation off, IPv4: sessions are up ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation off, IPv4: rs should receive prefix from both AS1 and AS2 ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation off, IPv4: rs should have best toward AS1 ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation off, IPv4: AS1 wants rs to not announce to AS3 and AS4 ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation off, IPv4: AS3 does not receive prefix at all ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation off, IPv4: AS4 receives the prefix via AS2 because of ADD-PATH ... SKIP: ADD-PATH not supported by OpenBGPD +Live test, OpenBGPD 6.9p0, path hiding, mitigation off, IPv4: reconfigure ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation off, IPv4: log contains errors ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation off, IPv4: dumping rs config... +Live test, OpenBGPD 6.9p0, path hiding, mitigation off, IPv4: dumping routes... +Live test, OpenBGPD 6.9p0, path hiding, mitigation off, IPv4: stopping instances... +Live test, OpenBGPD 6.9p0, path hiding, mitigation on, IPv4: setting instances up... +Live test, OpenBGPD 6.9p0, path hiding, mitigation on, IPv4: instances setup ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation on, IPv4: sessions are up ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation on, IPv4: rs should receive prefix from both AS1 and AS2 ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation on, IPv4: rs should have best toward AS1 ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation on, IPv4: AS1 wants rs to not announce to AS3 and AS4 ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation on, IPv4: AS3 and AS4 receive prefix with sub-optimal path via AS2 ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation on, IPv4: AS3 and AS4 don't receive prefix via AS1 ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation on, IPv4: 2nd best is withdrawn and AS3 should not see it anymore ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation on, IPv4: reconfigure ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation on, IPv4: log contains errors ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation on, IPv4: dumping rs config... +Live test, OpenBGPD 6.9p0, path hiding, mitigation on, IPv4: dumping routes... +Live test, OpenBGPD 6.9p0, path hiding, mitigation on, IPv4: stopping instances... +Live test, OpenBGPD 6.9p0, path hiding, mitigation off, IPv6: setting instances up... +Live test, OpenBGPD 6.9p0, path hiding, mitigation off, IPv6: instances setup ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation off, IPv6: sessions are up ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation off, IPv6: rs should receive prefix from both AS1 and AS2 ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation off, IPv6: rs should have best toward AS1 ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation off, IPv6: AS1 wants rs to not announce to AS3 and AS4 ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation off, IPv6: AS3 does not receive prefix at all ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation off, IPv6: AS4 receives the prefix via AS2 because of ADD-PATH ... SKIP: ADD-PATH not supported by OpenBGPD +Live test, OpenBGPD 6.9p0, path hiding, mitigation off, IPv6: reconfigure ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation off, IPv6: log contains errors ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation off, IPv6: dumping rs config... +Live test, OpenBGPD 6.9p0, path hiding, mitigation off, IPv6: dumping routes... +Live test, OpenBGPD 6.9p0, path hiding, mitigation off, IPv6: stopping instances... +Live test, OpenBGPD 6.9p0, path hiding, mitigation on, IPv6: setting instances up... +Live test, OpenBGPD 6.9p0, path hiding, mitigation on, IPv6: instances setup ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation on, IPv6: sessions are up ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation on, IPv6: rs should receive prefix from both AS1 and AS2 ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation on, IPv6: rs should have best toward AS1 ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation on, IPv6: AS1 wants rs to not announce to AS3 and AS4 ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation on, IPv6: AS3 and AS4 receive prefix with sub-optimal path via AS2 ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation on, IPv6: AS3 and AS4 don't receive prefix via AS1 ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation on, IPv6: 2nd best is withdrawn and AS3 should not see it anymore ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation on, IPv6: reconfigure ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation on, IPv6: log contains errors ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation on, IPv6: dumping rs config... +Live test, OpenBGPD 6.9p0, path hiding, mitigation on, IPv6: dumping routes... +Live test, OpenBGPD 6.9p0, path hiding, mitigation on, IPv6: stopping instances... ---------------------------------------------------------------------- -Ran 172 tests in 193.583s +Ran 38 tests in 169.421s -OK (SKIP=4) -Live test, OpenBGPD 6.7, gshut, IPv4: setting instances up... -Live test, OpenBGPD 6.7, gshut, IPv4: instances setup ... ok -Live test, OpenBGPD 6.7, gshut, IPv4: sessions are up ... ok -Live test, OpenBGPD 6.7, gshut, IPv4: clients receive routes tagged with GRACEFUL_SHUTDOWN ... ok -Live test, OpenBGPD 6.7, gshut, IPv4: reconfigure ... ok -Live test, OpenBGPD 6.7, gshut, IPv4: log contains errors ... ok -Live test, OpenBGPD 6.7, gshut, IPv4: dumping rs config... -Live test, OpenBGPD 6.7, gshut, IPv4: dumping routes... -Live test, OpenBGPD 6.7, gshut, IPv4: stopping instances... -Live test, OpenBGPD 6.7, gshut, IPv6: setting instances up... -Live test, OpenBGPD 6.7, gshut, IPv6: instances setup ... ok -Live test, OpenBGPD 6.7, gshut, IPv6: sessions are up ... ok -Live test, OpenBGPD 6.7, gshut, IPv6: clients receive routes tagged with GRACEFUL_SHUTDOWN ... ok -Live test, OpenBGPD 6.7, gshut, IPv6: reconfigure ... ok -Live test, OpenBGPD 6.7, gshut, IPv6: log contains errors ... ok -Live test, OpenBGPD 6.7, gshut, IPv6: dumping rs config... -Live test, OpenBGPD 6.7, gshut, IPv6: dumping routes... -Live test, OpenBGPD 6.7, gshut, IPv6: stopping instances... +OK (SKIP=2) +Live test, OpenBGPD 6.9p0, examples, rich config, IPv4: setting instances up... +Live test, OpenBGPD 6.9p0, examples, rich config, IPv4: instances setup ... ok +Live test, OpenBGPD 6.9p0, examples, rich config, IPv4: log contains errors ... ok +Live test, OpenBGPD 6.9p0, examples, rich config, IPv4: dumping rs config... +Live test, OpenBGPD 6.9p0, examples, rich config, IPv4: dumping routes... +Live test, OpenBGPD 6.9p0, examples, rich config, IPv4: stopping instances... +Live test, OpenBGPD 6.9p0, examples, rich config, IPv6: setting instances up... +Live test, OpenBGPD 6.9p0, examples, rich config, IPv6: instances setup ... ok +Live test, OpenBGPD 6.9p0, examples, rich config, IPv6: log contains errors ... ok +Live test, OpenBGPD 6.9p0, examples, rich config, IPv6: dumping rs config... +Live test, OpenBGPD 6.9p0, examples, rich config, IPv6: dumping routes... +Live test, OpenBGPD 6.9p0, examples, rich config, IPv6: stopping instances... ---------------------------------------------------------------------- -Ran 10 tests in 82.938s +Ran 4 tests in 23.624s OK -Live test, OpenBGPD 6.7, max-prefix, IPv4: setting instances up... -Live test, OpenBGPD 6.7, max-prefix, IPv4: instances setup ... ok -Live test, OpenBGPD 6.7, max-prefix, IPv4: sessions are down ... ok -Live test, OpenBGPD 6.7, max-prefix, IPv4: clients log max-prefix notification ... ok -Live test, OpenBGPD 6.7, max-prefix, IPv4: reconfigure ... ok -Live test, OpenBGPD 6.7, max-prefix, IPv4: log contains errors ... ok -Live test, OpenBGPD 6.7, max-prefix, IPv4: dumping rs config... -Live test, OpenBGPD 6.7, max-prefix, IPv4: dumping routes... -Live test, OpenBGPD 6.7, max-prefix, IPv4: stopping instances... -Live test, OpenBGPD 6.7, max-prefix, IPv6: setting instances up... -Live test, OpenBGPD 6.7, max-prefix, IPv6: instances setup ... ok -Live test, OpenBGPD 6.7, max-prefix, IPv6: sessions are down ... ok -Live test, OpenBGPD 6.7, max-prefix, IPv6: clients log max-prefix notification ... ok -Live test, OpenBGPD 6.7, max-prefix, IPv6: reconfigure ... ok -Live test, OpenBGPD 6.7, max-prefix, IPv6: log contains errors ... ok -Live test, OpenBGPD 6.7, max-prefix, IPv6: dumping rs config... -Live test, OpenBGPD 6.7, max-prefix, IPv6: dumping routes... -Live test, OpenBGPD 6.7, max-prefix, IPv6: stopping instances... +Live test, OpenBGPD 6.9p0, RTR protocol: setting instances up... +Live test, OpenBGPD 6.9p0, RTR protocol: instances setup ... ok +Live test, OpenBGPD 6.9p0, RTR protocol: sessions are up ... ok +Live test, OpenBGPD 6.9p0, RTR protocol: route accepted because validator not running ... ok +Live test, OpenBGPD 6.9p0, RTR protocol: spin up the validator ... ok +Live test, OpenBGPD 6.9p0, RTR protocol: restart OpenBGPD to speed up RTR session establishment ... ok +Live test, OpenBGPD 6.9p0, RTR protocol: check the RTR session is up ... ok +Live test, OpenBGPD 6.9p0, RTR protocol: route dropped after spinning the validator up ... ok +Live test, OpenBGPD 6.9p0, RTR protocol: log contains errors ... ok +Live test, OpenBGPD 6.9p0, RTR protocol: dumping rs config... +Live test, OpenBGPD 6.9p0, RTR protocol: dumping routes... +Live test, OpenBGPD 6.9p0, RTR protocol: stopping instances... ---------------------------------------------------------------------- -Ran 10 tests in 445.637s +Ran 8 tests in 41.039s OK -Live test, OpenBGPD 6.7, path hiding, mitigation off, IPv4: setting instances up... -Live test, OpenBGPD 6.7, path hiding, mitigation off, IPv4: instances setup ... ok -Live test, OpenBGPD 6.7, path hiding, mitigation off, IPv4: sessions are up ... ok -Live test, OpenBGPD 6.7, path hiding, mitigation off, IPv4: rs should receive prefix from both AS1 and AS2 ... ok -Live test, OpenBGPD 6.7, path hiding, mitigation off, IPv4: rs should have best toward AS1 ... ok -Live test, OpenBGPD 6.7, path hiding, mitigation off, IPv4: AS1 wants rs to not announce to AS3 and AS4 ... ok -Live test, OpenBGPD 6.7, path hiding, mitigation off, IPv4: AS3 does not receive prefix at all ... ok -Live test, OpenBGPD 6.7, path hiding, mitigation off, IPv4: AS4 receives the prefix via AS2 because of ADD-PATH ... SKIP: ADD-PATH not supported by OpenBGPD -Live test, OpenBGPD 6.7, path hiding, mitigation off, IPv4: reconfigure ... ok -Live test, OpenBGPD 6.7, path hiding, mitigation off, IPv4: log contains errors ... ok -Live test, OpenBGPD 6.7, path hiding, mitigation off, IPv4: dumping rs config... -Live test, OpenBGPD 6.7, path hiding, mitigation off, IPv4: dumping routes... -Live test, OpenBGPD 6.7, path hiding, mitigation off, IPv4: stopping instances... -Live test, OpenBGPD 6.7, path hiding, mitigation on, IPv4: setting instances up... -Live test, OpenBGPD 6.7, path hiding, mitigation on, IPv4: instances setup ... ok -Live test, OpenBGPD 6.7, path hiding, mitigation on, IPv4: sessions are up ... ok -Live test, OpenBGPD 6.7, path hiding, mitigation on, IPv4: rs should receive prefix from both AS1 and AS2 ... ok -Live test, OpenBGPD 6.7, path hiding, mitigation on, IPv4: rs should have best toward AS1 ... ok -Live test, OpenBGPD 6.7, path hiding, mitigation on, IPv4: AS1 wants rs to not announce to AS3 and AS4 ... ok -Live test, OpenBGPD 6.7, path hiding, mitigation on, IPv4: AS3 and AS4 receive prefix with sub-optimal path via AS2 ... SKIP: Work in progress -Live test, OpenBGPD 6.7, path hiding, mitigation on, IPv4: AS3 and AS4 don't receive prefix via AS1 ... ok -Live test, OpenBGPD 6.7, path hiding, mitigation on, IPv4: reconfigure ... ok -Live test, OpenBGPD 6.7, path hiding, mitigation on, IPv4: log contains errors ... ok -Live test, OpenBGPD 6.7, path hiding, mitigation on, IPv4: dumping rs config... -Live test, OpenBGPD 6.7, path hiding, mitigation on, IPv4: dumping routes... -Live test, OpenBGPD 6.7, path hiding, mitigation on, IPv4: stopping instances... -Live test, OpenBGPD 6.7, path hiding, mitigation off, IPv6: setting instances up... -Live test, OpenBGPD 6.7, path hiding, mitigation off, IPv6: instances setup ... ok -Live test, OpenBGPD 6.7, path hiding, mitigation off, IPv6: sessions are up ... ok -Live test, OpenBGPD 6.7, path hiding, mitigation off, IPv6: rs should receive prefix from both AS1 and AS2 ... ok -Live test, OpenBGPD 6.7, path hiding, mitigation off, IPv6: rs should have best toward AS1 ... ok -Live test, OpenBGPD 6.7, path hiding, mitigation off, IPv6: AS1 wants rs to not announce to AS3 and AS4 ... ok -Live test, OpenBGPD 6.7, path hiding, mitigation off, IPv6: AS3 does not receive prefix at all ... ok -Live test, OpenBGPD 6.7, path hiding, mitigation off, IPv6: AS4 receives the prefix via AS2 because of ADD-PATH ... SKIP: ADD-PATH not supported by OpenBGPD -Live test, OpenBGPD 6.7, path hiding, mitigation off, IPv6: reconfigure ... ok -Live test, OpenBGPD 6.7, path hiding, mitigation off, IPv6: log contains errors ... ok -Live test, OpenBGPD 6.7, path hiding, mitigation off, IPv6: dumping rs config... -Live test, OpenBGPD 6.7, path hiding, mitigation off, IPv6: dumping routes... -Live test, OpenBGPD 6.7, path hiding, mitigation off, IPv6: stopping instances... -Live test, OpenBGPD 6.7, path hiding, mitigation on, IPv6: setting instances up... -Live test, OpenBGPD 6.7, path hiding, mitigation on, IPv6: instances setup ... ok -Live test, OpenBGPD 6.7, path hiding, mitigation on, IPv6: sessions are up ... ok -Live test, OpenBGPD 6.7, path hiding, mitigation on, IPv6: rs should receive prefix from both AS1 and AS2 ... ok -Live test, OpenBGPD 6.7, path hiding, mitigation on, IPv6: rs should have best toward AS1 ... ok -Live test, OpenBGPD 6.7, path hiding, mitigation on, IPv6: AS1 wants rs to not announce to AS3 and AS4 ... ok -Live test, OpenBGPD 6.7, path hiding, mitigation on, IPv6: AS3 and AS4 receive prefix with sub-optimal path via AS2 ... SKIP: Work in progress -Live test, OpenBGPD 6.7, path hiding, mitigation on, IPv6: AS3 and AS4 don't receive prefix via AS1 ... ok -Live test, OpenBGPD 6.7, path hiding, mitigation on, IPv6: reconfigure ... ok -Live test, OpenBGPD 6.7, path hiding, mitigation on, IPv6: log contains errors ... ok -Live test, OpenBGPD 6.7, path hiding, mitigation on, IPv6: dumping rs config... -Live test, OpenBGPD 6.7, path hiding, mitigation on, IPv6: dumping routes... -Live test, OpenBGPD 6.7, path hiding, mitigation on, IPv6: stopping instances... +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: setting instances up... +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: instances setup ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: sessions are up ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS2 no enforcement, prefix and origin not in AS-SET ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS4 origin enforcement ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS4 prefix enforcement ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS2 white list, prefix ko, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS2 white list, prefix ok, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS2 white list, prefix WL, origin ko ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS2 white list, prefix WL, origin ok ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS2 white list, prefix WL, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS4 route white list, ok (exact) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS4 route white list, reject (more spec) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS4 route white list, ok (more spec) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS4 route white list, reject (origin KO) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS4 route white list, ok (origin any) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS4 white list, prefix ko, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS4 white list, prefix ok, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS4 white list, prefix WL, origin ko ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS4 white list, prefix WL, origin ok ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS4 white list, prefix WL, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS5 white list, prefix ko, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS5 white list, prefix ok, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS5 white list, prefix WL, origin ko ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS5 white list, prefix WL, origin ok ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS5 white list, prefix WL, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS2 RPKI ROAs as route objects: tag only (w/o prefix_validated_via_rpki_roas) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS6 RPKI ROAs as route objects: invalid origin ASN ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS6 RPKI ROAs as route objects: ko ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS2 ARIN Whois DB: tag only (w/o prefix_validated_via_arin_whois_db_dump) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS6 ARIN Whois DB: ok (solely because of route white list) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS2 prefix ok, origin ok, ARIN: tag only (w/o prefix_validated_via_arin_whois_db_dump) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS2 prefix ok, origin ok, ROA: tag only (w/o prefix_validated_via_rpki_roas) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS2 ROA + ARIN Whois DB: tag only (w/o comms [arin_whois_db_dump, rpki_roas]) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS6 prefix ok, origin ok, ROA + ARIN: rejected ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS6 ROA + ARIN Whois DB: enforced (rejected) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: reconfigure ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: log contains errors ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: dumping rs config... +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: dumping routes... +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: stopping instances... +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: setting instances up... +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: instances setup ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: sessions are up ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS2 prefix ko origin ko ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS2 prefix ko origin ok ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS2 prefix ok origin ko ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS2 prefix ok origin ok ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS4 route filtered (origin ko) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS4 prefix ko origin ok ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS4 prefix ok origin ok ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS4 route filtered (prefix ko, origin ko) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS5 route filtered (prefix ko, origin ko) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS5 route filtered (prefix ko) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS5 prefix ok origin ko ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS5 prefix ok origin ok ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS2 white list, prefix ko, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS2 white list, prefix ok, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS2 white list, prefix WL, origin ko ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS2 white list, prefix WL, origin ok ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS2 white list, prefix WL, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS4 route white list, ok (exact) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS4 route white list, reject (more spec) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS4 route white list, ok (more spec) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS4 route white list, reject (origin KO) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS4 route white list, ok (origin any) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS4 white list, prefix ko, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS4 white list, prefix ok, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS4 white list, prefix WL, origin ko ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS4 white list, prefix WL, origin ok ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS4 white list, prefix WL, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS5 white list, prefix ko, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS5 white list, prefix ok, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS5 white list, prefix WL, origin ko ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS5 white list, prefix WL, origin ok ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS5 white list, prefix WL, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS2 RPKI ROAs as route objects: tag only (w/ prefix_validated_via_rpki_roas) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS6 RPKI ROAs as route objects: invalid origin ASN ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS6 RPKI ROAs as route objects: ok ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS2 ARIN Whois DB: tag only (w/ prefix_validated_via_arin_whois_db_dump) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS6 ARIN Whois DB: ok ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS2 prefix ok, origin ok, ARIN: tag only (w/ prefix_validated_via_arin_whois_db_dump) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS2 prefix ok, origin ok, ROA: tag only (w/ prefix_validated_via_rpki_roas) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS2 ROA + ARIN Whois DB: tag only (w/ comms [arin_whois_db_dump, rpki_roas]) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS6 prefix ok, origin ok, ROA + ARIN: enforce (w/ comms [arin_whois_db_dump, rpki_roas]) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS6 ROA + ARIN Whois DB: enforce (w/ comms [arin_whois_db_dump, rpki_roas]) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: reconfigure ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: log contains errors ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: dumping rs config... +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: dumping routes... +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: stopping instances... +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: setting instances up... +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: instances setup ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: sessions are up ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS2 no enforcement, prefix and origin not in AS-SET ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS4 origin enforcement ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS4 prefix enforcement ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS2 white list, prefix ko, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS2 white list, prefix ok, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS2 white list, prefix WL, origin ko ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS2 white list, prefix WL, origin ok ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS2 white list, prefix WL, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS4 route white list, ok (exact) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS4 route white list, reject (more spec) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS4 route white list, ok (more spec) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS4 route white list, reject (origin KO) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS4 route white list, ok (origin any) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS4 white list, prefix ko, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS4 white list, prefix ok, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS4 white list, prefix WL, origin ko ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS4 white list, prefix WL, origin ok ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS4 white list, prefix WL, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS5 white list, prefix ko, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS5 white list, prefix ok, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS5 white list, prefix WL, origin ko ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS5 white list, prefix WL, origin ok ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS5 white list, prefix WL, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS2 RPKI ROAs as route objects: tag only (w/o prefix_validated_via_rpki_roas) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS6 RPKI ROAs as route objects: invalid origin ASN ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS6 RPKI ROAs as route objects: ko ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS2 ARIN Whois DB: tag only (w/o prefix_validated_via_arin_whois_db_dump) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS6 ARIN Whois DB: ok (solely because of route white list) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS2 prefix ok, origin ok, ARIN: tag only (w/o prefix_validated_via_arin_whois_db_dump) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS2 prefix ok, origin ok, ROA: tag only (w/o prefix_validated_via_rpki_roas) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS2 ROA + ARIN Whois DB: tag only (w/o comms [arin_whois_db_dump, rpki_roas]) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS6 prefix ok, origin ok, ROA + ARIN: rejected ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS6 ROA + ARIN Whois DB: enforced (rejected) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: reconfigure ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: log contains errors ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: dumping rs config... +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: dumping routes... +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: stopping instances... +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: setting instances up... +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: instances setup ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: sessions are up ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS2 prefix ko origin ko ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS2 prefix ko origin ok ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS2 prefix ok origin ko ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS2 prefix ok origin ok ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS4 route filtered (origin ko) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS4 prefix ko origin ok ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS4 prefix ok origin ok ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS4 route filtered (prefix ko, origin ko) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS5 route filtered (prefix ko, origin ko) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS5 route filtered (prefix ko) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS5 prefix ok origin ko ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS5 prefix ok origin ok ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS2 white list, prefix ko, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS2 white list, prefix ok, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS2 white list, prefix WL, origin ko ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS2 white list, prefix WL, origin ok ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS2 white list, prefix WL, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS4 route white list, ok (exact) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS4 route white list, reject (more spec) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS4 route white list, ok (more spec) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS4 route white list, reject (origin KO) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS4 route white list, ok (origin any) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS4 white list, prefix ko, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS4 white list, prefix ok, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS4 white list, prefix WL, origin ko ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS4 white list, prefix WL, origin ok ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS4 white list, prefix WL, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS5 white list, prefix ko, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS5 white list, prefix ok, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS5 white list, prefix WL, origin ko ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS5 white list, prefix WL, origin ok ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS5 white list, prefix WL, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS2 RPKI ROAs as route objects: tag only (w/ prefix_validated_via_rpki_roas) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS6 RPKI ROAs as route objects: invalid origin ASN ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS6 RPKI ROAs as route objects: ok ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS2 ARIN Whois DB: tag only (w/ prefix_validated_via_arin_whois_db_dump) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS6 ARIN Whois DB: ok ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS2 prefix ok, origin ok, ARIN: tag only (w/ prefix_validated_via_arin_whois_db_dump) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS2 prefix ok, origin ok, ROA: tag only (w/ prefix_validated_via_rpki_roas) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS2 ROA + ARIN Whois DB: tag only (w/ comms [arin_whois_db_dump, rpki_roas]) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS6 prefix ok, origin ok, ROA + ARIN: enforce (w/ comms [arin_whois_db_dump, rpki_roas]) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS6 ROA + ARIN Whois DB: enforce (w/ comms [arin_whois_db_dump, rpki_roas]) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: reconfigure ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: log contains errors ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: dumping rs config... +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: dumping routes... +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: stopping instances... ---------------------------------------------------------------------- -Ran 36 tests in 243.785s - -OK (SKIP=4) -Live test, OpenBGPD 6.7, examples, rich config, IPv4: setting instances up... -Live test, OpenBGPD 6.7, examples, rich config, IPv4: instances setup ... ok -Live test, OpenBGPD 6.7, examples, rich config, IPv4: log contains errors ... ok -Live test, OpenBGPD 6.7, examples, rich config, IPv4: dumping rs config... -Live test, OpenBGPD 6.7, examples, rich config, IPv4: dumping routes... -Live test, OpenBGPD 6.7, examples, rich config, IPv4: stopping instances... -Live test, OpenBGPD 6.7, examples, rich config, IPv6: setting instances up... -Live test, OpenBGPD 6.7, examples, rich config, IPv6: instances setup ... ok -Live test, OpenBGPD 6.7, examples, rich config, IPv6: log contains errors ... ok -Live test, OpenBGPD 6.7, examples, rich config, IPv6: dumping rs config... -Live test, OpenBGPD 6.7, examples, rich config, IPv6: dumping routes... -Live test, OpenBGPD 6.7, examples, rich config, IPv6: stopping instances... - ----------------------------------------------------------------------- -Ran 4 tests in 58.525s - -OK -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: setting instances up... -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: instances setup ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: sessions are up ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS2 no enforcement, prefix and origin not in AS-SET ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS4 origin enforcement ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS4 prefix enforcement ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS2 white list, prefix ko, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS2 white list, prefix ok, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS2 white list, prefix WL, origin ko ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS2 white list, prefix WL, origin ok ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS2 white list, prefix WL, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS4 route white list, ok (exact) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS4 route white list, reject (more spec) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS4 route white list, ok (more spec) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS4 route white list, reject (origin KO) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS4 route white list, ok (origin any) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS4 white list, prefix ko, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS4 white list, prefix ok, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS4 white list, prefix WL, origin ko ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS4 white list, prefix WL, origin ok ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS4 white list, prefix WL, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS5 white list, prefix ko, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS5 white list, prefix ok, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS5 white list, prefix WL, origin ko ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS5 white list, prefix WL, origin ok ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS5 white list, prefix WL, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS2 RPKI ROAs as route objects: tag only (w/o prefix_validated_via_rpki_roas) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS6 RPKI ROAs as route objects: invalid origin ASN ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS6 RPKI ROAs as route objects: ko ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS2 ARIN Whois DB: tag only (w/o prefix_validated_via_arin_whois_db_dump) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS6 ARIN Whois DB: ok (solely because of route white list) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS2 prefix ok, origin ok, ARIN: tag only (w/o prefix_validated_via_arin_whois_db_dump) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS2 prefix ok, origin ok, ROA: tag only (w/o prefix_validated_via_rpki_roas) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS2 ROA + ARIN Whois DB: tag only (w/o comms [arin_whois_db_dump, rpki_roas]) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS6 prefix ok, origin ok, ROA + ARIN: rejected ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS6 ROA + ARIN Whois DB: enforced (rejected) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: reconfigure ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: log contains errors ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: dumping rs config... -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: dumping routes... -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: stopping instances... -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: setting instances up... -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: instances setup ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: sessions are up ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS2 prefix ko origin ko ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS2 prefix ko origin ok ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS2 prefix ok origin ko ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS2 prefix ok origin ok ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS4 route filtered (origin ko) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS4 prefix ko origin ok ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS4 prefix ok origin ok ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS4 route filtered (prefix ko, origin ko) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS5 route filtered (prefix ko, origin ko) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS5 route filtered (prefix ko) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS5 prefix ok origin ko ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS5 prefix ok origin ok ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS2 white list, prefix ko, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS2 white list, prefix ok, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS2 white list, prefix WL, origin ko ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS2 white list, prefix WL, origin ok ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS2 white list, prefix WL, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS4 route white list, ok (exact) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS4 route white list, reject (more spec) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS4 route white list, ok (more spec) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS4 route white list, reject (origin KO) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS4 route white list, ok (origin any) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS4 white list, prefix ko, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS4 white list, prefix ok, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS4 white list, prefix WL, origin ko ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS4 white list, prefix WL, origin ok ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS4 white list, prefix WL, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS5 white list, prefix ko, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS5 white list, prefix ok, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS5 white list, prefix WL, origin ko ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS5 white list, prefix WL, origin ok ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS5 white list, prefix WL, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS2 RPKI ROAs as route objects: tag only (w/ prefix_validated_via_rpki_roas) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS6 RPKI ROAs as route objects: invalid origin ASN ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS6 RPKI ROAs as route objects: ok ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS2 ARIN Whois DB: tag only (w/ prefix_validated_via_arin_whois_db_dump) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS6 ARIN Whois DB: ok ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS2 prefix ok, origin ok, ARIN: tag only (w/ prefix_validated_via_arin_whois_db_dump) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS2 prefix ok, origin ok, ROA: tag only (w/ prefix_validated_via_rpki_roas) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS2 ROA + ARIN Whois DB: tag only (w/ comms [arin_whois_db_dump, rpki_roas]) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS6 prefix ok, origin ok, ROA + ARIN: enforce (w/ comms [arin_whois_db_dump, rpki_roas]) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS6 ROA + ARIN Whois DB: enforce (w/ comms [arin_whois_db_dump, rpki_roas]) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: reconfigure ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: log contains errors ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: dumping rs config... -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: dumping routes... -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: stopping instances... -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: setting instances up... -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: instances setup ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: sessions are up ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS2 no enforcement, prefix and origin not in AS-SET ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS4 origin enforcement ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS4 prefix enforcement ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS2 white list, prefix ko, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS2 white list, prefix ok, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS2 white list, prefix WL, origin ko ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS2 white list, prefix WL, origin ok ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS2 white list, prefix WL, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS4 route white list, ok (exact) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS4 route white list, reject (more spec) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS4 route white list, ok (more spec) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS4 route white list, reject (origin KO) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS4 route white list, ok (origin any) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS4 white list, prefix ko, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS4 white list, prefix ok, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS4 white list, prefix WL, origin ko ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS4 white list, prefix WL, origin ok ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS4 white list, prefix WL, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS5 white list, prefix ko, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS5 white list, prefix ok, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS5 white list, prefix WL, origin ko ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS5 white list, prefix WL, origin ok ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS5 white list, prefix WL, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS2 RPKI ROAs as route objects: tag only (w/o prefix_validated_via_rpki_roas) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS6 RPKI ROAs as route objects: invalid origin ASN ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS6 RPKI ROAs as route objects: ko ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS2 ARIN Whois DB: tag only (w/o prefix_validated_via_arin_whois_db_dump) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS6 ARIN Whois DB: ok (solely because of route white list) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS2 prefix ok, origin ok, ARIN: tag only (w/o prefix_validated_via_arin_whois_db_dump) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS2 prefix ok, origin ok, ROA: tag only (w/o prefix_validated_via_rpki_roas) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS2 ROA + ARIN Whois DB: tag only (w/o comms [arin_whois_db_dump, rpki_roas]) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS6 prefix ok, origin ok, ROA + ARIN: rejected ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS6 ROA + ARIN Whois DB: enforced (rejected) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: reconfigure ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: log contains errors ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: dumping rs config... -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: dumping routes... -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: stopping instances... -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: setting instances up... -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: instances setup ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: sessions are up ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS2 prefix ko origin ko ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS2 prefix ko origin ok ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS2 prefix ok origin ko ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS2 prefix ok origin ok ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS4 route filtered (origin ko) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS4 prefix ko origin ok ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS4 prefix ok origin ok ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS4 route filtered (prefix ko, origin ko) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS5 route filtered (prefix ko, origin ko) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS5 route filtered (prefix ko) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS5 prefix ok origin ko ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS5 prefix ok origin ok ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS2 white list, prefix ko, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS2 white list, prefix ok, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS2 white list, prefix WL, origin ko ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS2 white list, prefix WL, origin ok ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS2 white list, prefix WL, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS4 route white list, ok (exact) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS4 route white list, reject (more spec) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS4 route white list, ok (more spec) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS4 route white list, reject (origin KO) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS4 route white list, ok (origin any) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS4 white list, prefix ko, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS4 white list, prefix ok, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS4 white list, prefix WL, origin ko ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS4 white list, prefix WL, origin ok ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS4 white list, prefix WL, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS5 white list, prefix ko, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS5 white list, prefix ok, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS5 white list, prefix WL, origin ko ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS5 white list, prefix WL, origin ok ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS5 white list, prefix WL, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS2 RPKI ROAs as route objects: tag only (w/ prefix_validated_via_rpki_roas) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS6 RPKI ROAs as route objects: invalid origin ASN ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS6 RPKI ROAs as route objects: ok ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS2 ARIN Whois DB: tag only (w/ prefix_validated_via_arin_whois_db_dump) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS6 ARIN Whois DB: ok ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS2 prefix ok, origin ok, ARIN: tag only (w/ prefix_validated_via_arin_whois_db_dump) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS2 prefix ok, origin ok, ROA: tag only (w/ prefix_validated_via_rpki_roas) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS2 ROA + ARIN Whois DB: tag only (w/ comms [arin_whois_db_dump, rpki_roas]) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS6 prefix ok, origin ok, ROA + ARIN: enforce (w/ comms [arin_whois_db_dump, rpki_roas]) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS6 ROA + ARIN Whois DB: enforce (w/ comms [arin_whois_db_dump, rpki_roas]) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: reconfigure ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: log contains errors ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: dumping rs config... -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: dumping routes... -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: stopping instances... - ----------------------------------------------------------------------- -Ran 166 tests in 235.172s +Ran 166 tests in 158.950s OK -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv4: setting instances up... -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv4: instances setup ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv4: sessions are up ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv4: AS_PATH too long ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv4: bogon prefix ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv4: bogon prefix, wrong announcing ASN ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv4: prefix in client's blacklist ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv4: invalid ASN in AS_PATH ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv4: invalid NEXT_HOP ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv4: local black list ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv4: prefix is not in IPv6 global unicast space ... SKIP: IPv6 only test -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv4: origin not in as-macro ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv4: invalid left-most ASN ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv4: prefix length ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv4: prefix not in as-macro ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv4: RPKI INVALID route ... SKIP: RPKI not supported by OpenBGPD -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv4: transit-free ASN in AS_PATH ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv4: good routes not received ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv4: prefixes received by clients: AS1_1 ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv4: prefixes received by clients: AS1_2 ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv4: prefixes received by clients: AS2 ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv4: reconfigure ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv4: log contains errors ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv4: dumping rs config... -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv4: dumping routes... -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv4: stopping instances... -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv6: setting instances up... -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv6: instances setup ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv6: sessions are up ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv6: AS_PATH too long ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv6: bogon prefix ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv6: bogon prefix, wrong announcing ASN ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv6: prefix in client's blacklist ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv6: invalid ASN in AS_PATH ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv6: invalid NEXT_HOP ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv6: local black list ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv6: prefix is not in IPv6 global unicast space ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv6: origin not in as-macro ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv6: invalid left-most ASN ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv6: prefix length ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv6: prefix not in as-macro ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv6: RPKI INVALID route ... SKIP: RPKI not supported by OpenBGPD -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv6: transit-free ASN in AS_PATH ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv6: good routes not received ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv6: prefixes received by clients: AS1_1 ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv6: prefixes received by clients: AS1_2 ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv6: prefixes received by clients: AS2 ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv6: reconfigure ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv6: log contains errors ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv6: dumping rs config... -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv6: dumping routes... -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv6: stopping instances... +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv4: setting instances up... +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv4: instances setup ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv4: sessions are up ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv4: AS_PATH too long ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv4: bogon prefix ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv4: bogon prefix, wrong announcing ASN ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv4: prefix in client's blacklist ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv4: invalid ASN in AS_PATH ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv4: invalid NEXT_HOP ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv4: local black list ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv4: prefix is not in IPv6 global unicast space ... SKIP: IPv6 only test +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv4: origin not in as-macro ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv4: invalid left-most ASN ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv4: prefix length ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv4: prefix not in as-macro ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv4: RPKI INVALID route ... SKIP: RPKI not supported by OpenBGPD +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv4: transit-free ASN in AS_PATH ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv4: good routes not received ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv4: prefixes received by clients: AS1_1 ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv4: prefixes received by clients: AS1_2 ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv4: prefixes received by clients: AS2 ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv4: reconfigure ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv4: log contains errors ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv4: dumping rs config... +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv4: dumping routes... +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv4: stopping instances... +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv6: setting instances up... +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv6: instances setup ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv6: sessions are up ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv6: AS_PATH too long ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv6: bogon prefix ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv6: bogon prefix, wrong announcing ASN ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv6: prefix in client's blacklist ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv6: invalid ASN in AS_PATH ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv6: invalid NEXT_HOP ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv6: local black list ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv6: prefix is not in IPv6 global unicast space ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv6: origin not in as-macro ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv6: invalid left-most ASN ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv6: prefix length ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv6: prefix not in as-macro ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv6: RPKI INVALID route ... SKIP: RPKI not supported by OpenBGPD +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv6: transit-free ASN in AS_PATH ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv6: good routes not received ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv6: prefixes received by clients: AS1_1 ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv6: prefixes received by clients: AS1_2 ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv6: prefixes received by clients: AS2 ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv6: reconfigure ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv6: log contains errors ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv6: dumping rs config... +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv6: dumping routes... +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv6: stopping instances... ---------------------------------------------------------------------- -Ran 44 tests in 168.145s +Ran 44 tests in 109.254s OK (SKIP=3) Live test, OpenBGPD 6.8, BGP communities, IPv4: setting instances up... @@ -3544,7 +3138,7 @@ Live test, OpenBGPD 6.8, BGP communities, IPv6: dumping routes... Live test, OpenBGPD 6.8, BGP communities, IPv6: stopping instances... ---------------------------------------------------------------------- -Ran 26 tests in 256.943s +Ran 26 tests in 241.909s OK Live test, OpenBGPD 6.8, default config, IPv4: setting instances up... @@ -3561,7 +3155,7 @@ Live test, OpenBGPD 6.8, default config, IPv6: dumping routes... Live test, OpenBGPD 6.8, default config, IPv6: stopping instances... ---------------------------------------------------------------------- -Ran 4 tests in 42.070s +Ran 4 tests in 42.007s OK Live test, OpenBGPD 6.8, global scenario, IPv4: setting instances up... @@ -3746,7 +3340,7 @@ Live test, OpenBGPD 6.8, global scenario, IPv6: dumping routes... Live test, OpenBGPD 6.8, global scenario, IPv6: stopping instances... ---------------------------------------------------------------------- -Ran 172 tests in 201.134s +Ran 172 tests in 200.350s OK (SKIP=4) Live test, OpenBGPD 6.8, gshut, IPv4: setting instances up... @@ -3769,7 +3363,7 @@ Live test, OpenBGPD 6.8, gshut, IPv6: dumping routes... Live test, OpenBGPD 6.8, gshut, IPv6: stopping instances... ---------------------------------------------------------------------- -Ran 10 tests in 83.168s +Ran 10 tests in 81.625s OK Live test, OpenBGPD 6.8, max-prefix, IPv4: setting instances up... @@ -3792,7 +3386,7 @@ Live test, OpenBGPD 6.8, max-prefix, IPv6: dumping routes... Live test, OpenBGPD 6.8, max-prefix, IPv6: stopping instances... ---------------------------------------------------------------------- -Ran 10 tests in 444.942s +Ran 10 tests in 445.562s OK Live test, OpenBGPD 6.8, path hiding, mitigation off, IPv4: setting instances up... @@ -3814,8 +3408,9 @@ Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv4: sessions are up ... o Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv4: rs should receive prefix from both AS1 and AS2 ... ok Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv4: rs should have best toward AS1 ... ok Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv4: AS1 wants rs to not announce to AS3 and AS4 ... ok -Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv4: AS3 and AS4 receive prefix with sub-optimal path via AS2 ... SKIP: Work in progress +Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv4: AS3 and AS4 receive prefix with sub-optimal path via AS2 ... SKIP: Path hiding mititaion not supported on OpenBGPD < 6.9 Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv4: AS3 and AS4 don't receive prefix via AS1 ... ok +Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv4: 2nd best is withdrawn and AS3 should not see it anymore ... SKIP: OpenBSD version not patched Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv4: reconfigure ... ok Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv4: log contains errors ... ok Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv4: dumping rs config... @@ -3840,8 +3435,9 @@ Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv6: sessions are up ... o Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv6: rs should receive prefix from both AS1 and AS2 ... ok Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv6: rs should have best toward AS1 ... ok Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv6: AS1 wants rs to not announce to AS3 and AS4 ... ok -Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv6: AS3 and AS4 receive prefix with sub-optimal path via AS2 ... SKIP: Work in progress +Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv6: AS3 and AS4 receive prefix with sub-optimal path via AS2 ... SKIP: Path hiding mititaion not supported on OpenBGPD < 6.9 Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv6: AS3 and AS4 don't receive prefix via AS1 ... ok +Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv6: 2nd best is withdrawn and AS3 should not see it anymore ... SKIP: OpenBSD version not patched Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv6: reconfigure ... ok Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv6: log contains errors ... ok Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv6: dumping rs config... @@ -3849,9 +3445,9 @@ Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv6: dumping routes... Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv6: stopping instances... ---------------------------------------------------------------------- -Ran 36 tests in 242.400s +Ran 38 tests in 243.467s -OK (SKIP=4) +OK (SKIP=6) Live test, OpenBGPD 6.8, examples, rich config, IPv4: setting instances up... Live test, OpenBGPD 6.8, examples, rich config, IPv4: instances setup ... ok Live test, OpenBGPD 6.8, examples, rich config, IPv4: log contains errors ... ok @@ -3866,7 +3462,7 @@ Live test, OpenBGPD 6.8, examples, rich config, IPv6: dumping routes... Live test, OpenBGPD 6.8, examples, rich config, IPv6: stopping instances... ---------------------------------------------------------------------- -Ran 4 tests in 56.222s +Ran 4 tests in 56.249s OK Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: setting instances up... @@ -4053,7 +3649,7 @@ Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: dumping routes... Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: stopping instances... ---------------------------------------------------------------------- -Ran 166 tests in 231.881s +Ran 166 tests in 233.864s OK Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv4: setting instances up... @@ -4110,6 +3706,613 @@ Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv6: dumping routes... Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv6: stopping instances... ---------------------------------------------------------------------- -Ran 44 tests in 169.753s +Ran 44 tests in 168.207s + +OK (SKIP=3) +Live test, OpenBGPD 6.9, BGP communities, IPv4: setting instances up... +Live test, OpenBGPD 6.9, BGP communities, IPv4: instances setup ... ok +Live test, OpenBGPD 6.9, BGP communities, IPv4: sessions are up ... ok +Live test, OpenBGPD 6.9, BGP communities, IPv4: announce to AS1 only (ext) ... ok +Live test, OpenBGPD 6.9, BGP communities, IPv4: announce to AS1 only (lrg) ... ok +Live test, OpenBGPD 6.9, BGP communities, IPv4: announce to AS1 only (std) ... ok +Live test, OpenBGPD 6.9, BGP communities, IPv4: announce to AS131073 only (ext) ... ok +Live test, OpenBGPD 6.9, BGP communities, IPv4: announce to AS131073 only (lrg) ... ok +Live test, OpenBGPD 6.9, BGP communities, IPv4: custom BGP community (ext) ... ok +Live test, OpenBGPD 6.9, BGP communities, IPv4: custom BGP community (lrg) ... ok +Live test, OpenBGPD 6.9, BGP communities, IPv4: custom BGP community (std) ... ok +Live test, OpenBGPD 6.9, BGP communities, IPv4: custom BGP community scrubbed ... ok +Live test, OpenBGPD 6.9, BGP communities, IPv4: reconfigure ... ok +Live test, OpenBGPD 6.9, BGP communities, IPv4: log contains errors ... ok +Live test, OpenBGPD 6.9, BGP communities, IPv4: dumping rs config... +Live test, OpenBGPD 6.9, BGP communities, IPv4: dumping routes... +Live test, OpenBGPD 6.9, BGP communities, IPv4: stopping instances... +Live test, OpenBGPD 6.9, BGP communities, IPv6: setting instances up... +Live test, OpenBGPD 6.9, BGP communities, IPv6: instances setup ... ok +Live test, OpenBGPD 6.9, BGP communities, IPv6: sessions are up ... ok +Live test, OpenBGPD 6.9, BGP communities, IPv6: announce to AS1 only (ext) ... ok +Live test, OpenBGPD 6.9, BGP communities, IPv6: announce to AS1 only (lrg) ... ok +Live test, OpenBGPD 6.9, BGP communities, IPv6: announce to AS1 only (std) ... ok +Live test, OpenBGPD 6.9, BGP communities, IPv6: announce to AS131073 only (ext) ... ok +Live test, OpenBGPD 6.9, BGP communities, IPv6: announce to AS131073 only (lrg) ... ok +Live test, OpenBGPD 6.9, BGP communities, IPv6: custom BGP community (ext) ... ok +Live test, OpenBGPD 6.9, BGP communities, IPv6: custom BGP community (lrg) ... ok +Live test, OpenBGPD 6.9, BGP communities, IPv6: custom BGP community (std) ... ok +Live test, OpenBGPD 6.9, BGP communities, IPv6: custom BGP community scrubbed ... ok +Live test, OpenBGPD 6.9, BGP communities, IPv6: reconfigure ... ok +Live test, OpenBGPD 6.9, BGP communities, IPv6: log contains errors ... ok +Live test, OpenBGPD 6.9, BGP communities, IPv6: dumping rs config... +Live test, OpenBGPD 6.9, BGP communities, IPv6: dumping routes... +Live test, OpenBGPD 6.9, BGP communities, IPv6: stopping instances... + +---------------------------------------------------------------------- +Ran 26 tests in 246.979s + +OK +Live test, OpenBGPD 6.9, default config, IPv4: setting instances up... +Live test, OpenBGPD 6.9, default config, IPv4: instances setup ... ok +Live test, OpenBGPD 6.9, default config, IPv4: log contains errors ... ok +Live test, OpenBGPD 6.9, default config, IPv4: dumping rs config... +Live test, OpenBGPD 6.9, default config, IPv4: dumping routes... +Live test, OpenBGPD 6.9, default config, IPv4: stopping instances... +Live test, OpenBGPD 6.9, default config, IPv6: setting instances up... +Live test, OpenBGPD 6.9, default config, IPv6: instances setup ... ok +Live test, OpenBGPD 6.9, default config, IPv6: log contains errors ... ok +Live test, OpenBGPD 6.9, default config, IPv6: dumping rs config... +Live test, OpenBGPD 6.9, default config, IPv6: dumping routes... +Live test, OpenBGPD 6.9, default config, IPv6: stopping instances... + +---------------------------------------------------------------------- +Ran 4 tests in 42.422s + +OK +Live test, OpenBGPD 6.9, global scenario, IPv4: setting instances up... +Live test, OpenBGPD 6.9, global scenario, IPv4: instances setup ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: sessions are up ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: session configured via local include files ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: good prefixes because of use_arin_bulk_whois_data ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: good prefixes received by rs: IRRdb white-list ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: good prefixes because of use_registrobr_bulk_whois_data ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: good prefixes because of use_rpki_roas_as_route_objects: exact ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: good prefixes because of use_rpki_roas_as_route_objects: covering ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: good prefixes received by rs ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: good prefixes received by rs: non-client NEXT_HOP ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: bad prefixes received by rs: not IPv6 global unicast space ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: bad prefixes received by rs: IRRdb white-list ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: bad prefixes received by rs: AS_SET origin, RFC6907 7.1.9 ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: bad prefixes received by rs: IRR check for AS_SET origin, BIRD ... SKIP: BIRD specific +Live test, OpenBGPD 6.9, global scenario, IPv4: bad prefixes received by rs: IRR check for AS_SET origin, OpenBGPD ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: bad prefixes received by rs: AS_PATH len ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: bad prefixes received by rs: bogon ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: bad prefixes received by rs: client blacklist ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: bad prefixes received by rs: global blacklist ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: bad prefixes received by rs: invalid ASN in AS-PATH ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: bad prefixes received by rs: invalid NEXT_HOP ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: bad prefixes received by rs: left-most ASN ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: bad prefixes received by rs: never via route servers ASN in AS-PATH (asns list) ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: bad prefixes received by rs: never via route servers ASN in AS-PATH (PeeringDB) ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: bad prefixes received by rs: origin not in AS-SET ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: bad prefixes received by rs: prefix not in AS-SET ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: bad prefixes received by rs: invalid prefix-len ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: bad prefixes received by rs: transit-free ASN in AS-PATH ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: bad prefixes received by rs: transit-free ASN in AS-PATH from a transit peer ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: bad prefixes received by rs: unknown NEXT_HOP ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: bad prefixes received by rs: RPKI ROAs as route objects failed ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: bad prefixes received by rs: default route ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: bad prefixes not received by clients ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: bad prefixes received by rs: bogon (wrong tag) ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: bad prefixes received by rs: global blacklist (wrong tag) ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: RPKI, blackhole request for a covered prefix ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: RPKI, invalid prefix (bad ASN) received by rs ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: RPKI, invalid prefix (bad length) received by rs ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: RPKI, invalid prefix (bad ASN) not propagated to clients ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: RPKI, valid prefix received by rs ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: RPKI, valid prefix propagated to clients ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: prefixes from AS101 received by its upstreams ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: prefixes from AS101 received by rs ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: bad communities as seen by AS101 upstreams ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: bad communities scrubbed by rs (lrg) ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: bad communities scrubbed by rs (std) ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: other communities not scrubbed by rs (lrg) ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: other communities not scrubbed by rs (std) ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: blackhole filtering requests as seen by rs (BLACKHOLE) ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: blackhole filtering requests as seen by rs (lrg cust) ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: blackhole filtering requests as seen by rs (std cust) ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: blackholed prefixes as seen by enabled clients (BLACKHOLE) ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: blackholed prefixes as seen by enabled clients (lrg_cust) ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: blackholed prefixes as seen by enabled clients (std_cust) ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: blackholed prefixes not seen by not enabled clients ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: gshut by an enabled client ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: gshut by a not enabled client ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: control communities, announce to AS1 only ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: control communities, don't announce to any ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: control communities, announce to all except AS1 ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: control communities, prepend once to any ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: control communities, prepend twice to any ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: control communities, prepend thrice to any ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: control communities, prepend once to AS1 ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: control communities, prepend twice to AS2 ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: control communities, prepend thrice to AS1, once to others ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: control communities, NO_EXPORT to AS1 ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: control communities, NO_EXPORT to any ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: control communities, RFC1997 NO_EXPORT ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: control communities, RTT, blackhole, not peers > 20 ms ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: control communities, RTT, not peers > 15 ms ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: control communities, RTT, not peers > 5 ms ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: control communities, RTT, not peers > 5 ms + AS3 ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: control communities, RTT, not peers <= 5 and > 100 ms ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: control communities, RTT, only peers <= 15 ms ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: control communities, RTT, only peers <= 5 ms ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: control communities, RTT, ext comms, prepend 1x > 10 ms, 2x > 20 ms ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: control communities, RTT, prepend 3x > 100 ms, 2x > 10 ms ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: control communities, RTT, prepend 3x <= 5 ms, 2x <= 20 ms, 1x any ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: prefixes received by clients: AS1_1 ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: prefixes received by clients: AS1_2 ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: prefixes received by clients: AS2 ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: prefixes received by clients: AS3 ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: prefixes received by clients: AS3 (with ADD-PATH) ... SKIP: ADD-PATH not supported by OpenBGPD +Live test, OpenBGPD 6.9, global scenario, IPv4: reconfigure ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: log contains errors ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: dumping rs config... +Live test, OpenBGPD 6.9, global scenario, IPv4: dumping routes... +Live test, OpenBGPD 6.9, global scenario, IPv4: stopping instances... +Live test, OpenBGPD 6.9, global scenario, IPv6: setting instances up... +Live test, OpenBGPD 6.9, global scenario, IPv6: instances setup ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: sessions are up ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: session configured via local include files ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: good prefixes because of use_arin_bulk_whois_data ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: good prefixes received by rs: IRRdb white-list ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: good prefixes because of use_registrobr_bulk_whois_data ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: good prefixes because of use_rpki_roas_as_route_objects: exact ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: good prefixes because of use_rpki_roas_as_route_objects: covering ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: good prefixes received by rs ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: good prefixes received by rs: non-client NEXT_HOP ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: bad prefixes received by rs: not IPv6 global unicast space ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: bad prefixes received by rs: IRRdb white-list ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: bad prefixes received by rs: AS_SET origin, RFC6907 7.1.9 ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: bad prefixes received by rs: IRR check for AS_SET origin, BIRD ... SKIP: BIRD specific +Live test, OpenBGPD 6.9, global scenario, IPv6: bad prefixes received by rs: IRR check for AS_SET origin, OpenBGPD ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: bad prefixes received by rs: AS_PATH len ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: bad prefixes received by rs: bogon ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: bad prefixes received by rs: client blacklist ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: bad prefixes received by rs: global blacklist ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: bad prefixes received by rs: invalid ASN in AS-PATH ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: bad prefixes received by rs: invalid NEXT_HOP ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: bad prefixes received by rs: left-most ASN ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: bad prefixes received by rs: never via route servers ASN in AS-PATH (asns list) ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: bad prefixes received by rs: never via route servers ASN in AS-PATH (PeeringDB) ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: bad prefixes received by rs: origin not in AS-SET ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: bad prefixes received by rs: prefix not in AS-SET ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: bad prefixes received by rs: invalid prefix-len ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: bad prefixes received by rs: transit-free ASN in AS-PATH ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: bad prefixes received by rs: transit-free ASN in AS-PATH from a transit peer ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: bad prefixes received by rs: unknown NEXT_HOP ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: bad prefixes received by rs: RPKI ROAs as route objects failed ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: bad prefixes received by rs: default route ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: bad prefixes not received by clients ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: bad prefixes received by rs: bogon (wrong tag) ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: bad prefixes received by rs: global blacklist (wrong tag) ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: RPKI, blackhole request for a covered prefix ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: RPKI, invalid prefix (bad ASN) received by rs ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: RPKI, invalid prefix (bad length) received by rs ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: RPKI, invalid prefix (bad ASN) not propagated to clients ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: RPKI, valid prefix received by rs ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: RPKI, valid prefix propagated to clients ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: prefixes from AS101 received by its upstreams ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: prefixes from AS101 received by rs ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: bad communities as seen by AS101 upstreams ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: bad communities scrubbed by rs (lrg) ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: bad communities scrubbed by rs (std) ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: other communities not scrubbed by rs (lrg) ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: other communities not scrubbed by rs (std) ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: blackhole filtering requests as seen by rs (BLACKHOLE) ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: blackhole filtering requests as seen by rs (lrg cust) ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: blackhole filtering requests as seen by rs (std cust) ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: blackholed prefixes as seen by enabled clients (BLACKHOLE) ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: blackholed prefixes as seen by enabled clients (lrg_cust) ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: blackholed prefixes as seen by enabled clients (std_cust) ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: blackholed prefixes not seen by not enabled clients ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: gshut by an enabled client ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: gshut by a not enabled client ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: control communities, announce to AS1 only ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: control communities, don't announce to any ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: control communities, announce to all except AS1 ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: control communities, prepend once to any ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: control communities, prepend twice to any ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: control communities, prepend thrice to any ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: control communities, prepend once to AS1 ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: control communities, prepend twice to AS2 ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: control communities, prepend thrice to AS1, once to others ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: control communities, NO_EXPORT to AS1 ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: control communities, NO_EXPORT to any ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: control communities, RFC1997 NO_EXPORT ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: control communities, RTT, blackhole, not peers > 20 ms ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: control communities, RTT, not peers > 15 ms ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: control communities, RTT, not peers > 5 ms ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: control communities, RTT, not peers > 5 ms + AS3 ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: control communities, RTT, not peers <= 5 and > 100 ms ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: control communities, RTT, only peers <= 15 ms ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: control communities, RTT, only peers <= 5 ms ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: control communities, RTT, ext comms, prepend 1x > 10 ms, 2x > 20 ms ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: control communities, RTT, prepend 3x > 100 ms, 2x > 10 ms ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: control communities, RTT, prepend 3x <= 5 ms, 2x <= 20 ms, 1x any ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: prefixes received by clients: AS1_1 ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: prefixes received by clients: AS1_2 ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: prefixes received by clients: AS2 ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: prefixes received by clients: AS3 ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: prefixes received by clients: AS3 (with ADD-PATH) ... SKIP: ADD-PATH not supported by OpenBGPD +Live test, OpenBGPD 6.9, global scenario, IPv6: reconfigure ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: log contains errors ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: dumping rs config... +Live test, OpenBGPD 6.9, global scenario, IPv6: dumping routes... +Live test, OpenBGPD 6.9, global scenario, IPv6: stopping instances... + +---------------------------------------------------------------------- +Ran 172 tests in 201.932s + +OK (SKIP=4) +Live test, OpenBGPD 6.9, gshut, IPv4: setting instances up... +Live test, OpenBGPD 6.9, gshut, IPv4: instances setup ... ok +Live test, OpenBGPD 6.9, gshut, IPv4: sessions are up ... ok +Live test, OpenBGPD 6.9, gshut, IPv4: clients receive routes tagged with GRACEFUL_SHUTDOWN ... ok +Live test, OpenBGPD 6.9, gshut, IPv4: reconfigure ... ok +Live test, OpenBGPD 6.9, gshut, IPv4: log contains errors ... ok +Live test, OpenBGPD 6.9, gshut, IPv4: dumping rs config... +Live test, OpenBGPD 6.9, gshut, IPv4: dumping routes... +Live test, OpenBGPD 6.9, gshut, IPv4: stopping instances... +Live test, OpenBGPD 6.9, gshut, IPv6: setting instances up... +Live test, OpenBGPD 6.9, gshut, IPv6: instances setup ... ok +Live test, OpenBGPD 6.9, gshut, IPv6: sessions are up ... ok +Live test, OpenBGPD 6.9, gshut, IPv6: clients receive routes tagged with GRACEFUL_SHUTDOWN ... ok +Live test, OpenBGPD 6.9, gshut, IPv6: reconfigure ... ok +Live test, OpenBGPD 6.9, gshut, IPv6: log contains errors ... ok +Live test, OpenBGPD 6.9, gshut, IPv6: dumping rs config... +Live test, OpenBGPD 6.9, gshut, IPv6: dumping routes... +Live test, OpenBGPD 6.9, gshut, IPv6: stopping instances... + +---------------------------------------------------------------------- +Ran 10 tests in 83.536s + +OK +Live test, OpenBGPD 6.9, max-prefix, IPv4: setting instances up... +Live test, OpenBGPD 6.9, max-prefix, IPv4: instances setup ... ok +Live test, OpenBGPD 6.9, max-prefix, IPv4: sessions are down ... ok +Live test, OpenBGPD 6.9, max-prefix, IPv4: clients log max-prefix notification ... ok +Live test, OpenBGPD 6.9, max-prefix, IPv4: reconfigure ... ok +Live test, OpenBGPD 6.9, max-prefix, IPv4: log contains errors ... ok +Live test, OpenBGPD 6.9, max-prefix, IPv4: dumping rs config... +Live test, OpenBGPD 6.9, max-prefix, IPv4: dumping routes... +Live test, OpenBGPD 6.9, max-prefix, IPv4: stopping instances... +Live test, OpenBGPD 6.9, max-prefix, IPv6: setting instances up... +Live test, OpenBGPD 6.9, max-prefix, IPv6: instances setup ... ok +Live test, OpenBGPD 6.9, max-prefix, IPv6: sessions are down ... ok +Live test, OpenBGPD 6.9, max-prefix, IPv6: clients log max-prefix notification ... ok +Live test, OpenBGPD 6.9, max-prefix, IPv6: reconfigure ... ok +Live test, OpenBGPD 6.9, max-prefix, IPv6: log contains errors ... ok +Live test, OpenBGPD 6.9, max-prefix, IPv6: dumping rs config... +Live test, OpenBGPD 6.9, max-prefix, IPv6: dumping routes... +Live test, OpenBGPD 6.9, max-prefix, IPv6: stopping instances... + +---------------------------------------------------------------------- +Ran 10 tests in 444.322s + +OK +Live test, OpenBGPD 6.9, path hiding, mitigation off, IPv4: setting instances up... +Live test, OpenBGPD 6.9, path hiding, mitigation off, IPv4: instances setup ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation off, IPv4: sessions are up ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation off, IPv4: rs should receive prefix from both AS1 and AS2 ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation off, IPv4: rs should have best toward AS1 ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation off, IPv4: AS1 wants rs to not announce to AS3 and AS4 ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation off, IPv4: AS3 does not receive prefix at all ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation off, IPv4: AS4 receives the prefix via AS2 because of ADD-PATH ... SKIP: ADD-PATH not supported by OpenBGPD +Live test, OpenBGPD 6.9, path hiding, mitigation off, IPv4: reconfigure ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation off, IPv4: log contains errors ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation off, IPv4: dumping rs config... +Live test, OpenBGPD 6.9, path hiding, mitigation off, IPv4: dumping routes... +Live test, OpenBGPD 6.9, path hiding, mitigation off, IPv4: stopping instances... +Live test, OpenBGPD 6.9, path hiding, mitigation on, IPv4: setting instances up... +Live test, OpenBGPD 6.9, path hiding, mitigation on, IPv4: instances setup ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation on, IPv4: sessions are up ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation on, IPv4: rs should receive prefix from both AS1 and AS2 ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation on, IPv4: rs should have best toward AS1 ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation on, IPv4: AS1 wants rs to not announce to AS3 and AS4 ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation on, IPv4: AS3 and AS4 receive prefix with sub-optimal path via AS2 ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation on, IPv4: AS3 and AS4 don't receive prefix via AS1 ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation on, IPv4: 2nd best is withdrawn and AS3 should not see it anymore ... SKIP: OpenBSD version not patched +Live test, OpenBGPD 6.9, path hiding, mitigation on, IPv4: reconfigure ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation on, IPv4: log contains errors ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation on, IPv4: dumping rs config... +Live test, OpenBGPD 6.9, path hiding, mitigation on, IPv4: dumping routes... +Live test, OpenBGPD 6.9, path hiding, mitigation on, IPv4: stopping instances... +Live test, OpenBGPD 6.9, path hiding, mitigation off, IPv6: setting instances up... +Live test, OpenBGPD 6.9, path hiding, mitigation off, IPv6: instances setup ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation off, IPv6: sessions are up ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation off, IPv6: rs should receive prefix from both AS1 and AS2 ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation off, IPv6: rs should have best toward AS1 ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation off, IPv6: AS1 wants rs to not announce to AS3 and AS4 ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation off, IPv6: AS3 does not receive prefix at all ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation off, IPv6: AS4 receives the prefix via AS2 because of ADD-PATH ... SKIP: ADD-PATH not supported by OpenBGPD +Live test, OpenBGPD 6.9, path hiding, mitigation off, IPv6: reconfigure ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation off, IPv6: log contains errors ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation off, IPv6: dumping rs config... +Live test, OpenBGPD 6.9, path hiding, mitigation off, IPv6: dumping routes... +Live test, OpenBGPD 6.9, path hiding, mitigation off, IPv6: stopping instances... +Live test, OpenBGPD 6.9, path hiding, mitigation on, IPv6: setting instances up... +Live test, OpenBGPD 6.9, path hiding, mitigation on, IPv6: instances setup ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation on, IPv6: sessions are up ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation on, IPv6: rs should receive prefix from both AS1 and AS2 ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation on, IPv6: rs should have best toward AS1 ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation on, IPv6: AS1 wants rs to not announce to AS3 and AS4 ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation on, IPv6: AS3 and AS4 receive prefix with sub-optimal path via AS2 ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation on, IPv6: AS3 and AS4 don't receive prefix via AS1 ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation on, IPv6: 2nd best is withdrawn and AS3 should not see it anymore ... SKIP: OpenBSD version not patched +Live test, OpenBGPD 6.9, path hiding, mitigation on, IPv6: reconfigure ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation on, IPv6: log contains errors ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation on, IPv6: dumping rs config... +Live test, OpenBGPD 6.9, path hiding, mitigation on, IPv6: dumping routes... +Live test, OpenBGPD 6.9, path hiding, mitigation on, IPv6: stopping instances... + +---------------------------------------------------------------------- +Ran 38 tests in 235.044s + +OK (SKIP=4) +Live test, OpenBGPD 6.9, examples, rich config, IPv4: setting instances up... +Live test, OpenBGPD 6.9, examples, rich config, IPv4: instances setup ... ok +Live test, OpenBGPD 6.9, examples, rich config, IPv4: log contains errors ... ok +Live test, OpenBGPD 6.9, examples, rich config, IPv4: dumping rs config... +Live test, OpenBGPD 6.9, examples, rich config, IPv4: dumping routes... +Live test, OpenBGPD 6.9, examples, rich config, IPv4: stopping instances... +Live test, OpenBGPD 6.9, examples, rich config, IPv6: setting instances up... +Live test, OpenBGPD 6.9, examples, rich config, IPv6: instances setup ... ok +Live test, OpenBGPD 6.9, examples, rich config, IPv6: log contains errors ... ok +Live test, OpenBGPD 6.9, examples, rich config, IPv6: dumping rs config... +Live test, OpenBGPD 6.9, examples, rich config, IPv6: dumping routes... +Live test, OpenBGPD 6.9, examples, rich config, IPv6: stopping instances... + +---------------------------------------------------------------------- +Ran 4 tests in 57.033s + +OK +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: setting instances up... +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: instances setup ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: sessions are up ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS2 no enforcement, prefix and origin not in AS-SET ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS4 origin enforcement ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS4 prefix enforcement ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS2 white list, prefix ko, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS2 white list, prefix ok, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS2 white list, prefix WL, origin ko ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS2 white list, prefix WL, origin ok ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS2 white list, prefix WL, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS4 route white list, ok (exact) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS4 route white list, reject (more spec) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS4 route white list, ok (more spec) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS4 route white list, reject (origin KO) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS4 route white list, ok (origin any) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS4 white list, prefix ko, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS4 white list, prefix ok, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS4 white list, prefix WL, origin ko ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS4 white list, prefix WL, origin ok ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS4 white list, prefix WL, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS5 white list, prefix ko, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS5 white list, prefix ok, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS5 white list, prefix WL, origin ko ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS5 white list, prefix WL, origin ok ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS5 white list, prefix WL, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS2 RPKI ROAs as route objects: tag only (w/o prefix_validated_via_rpki_roas) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS6 RPKI ROAs as route objects: invalid origin ASN ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS6 RPKI ROAs as route objects: ko ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS2 ARIN Whois DB: tag only (w/o prefix_validated_via_arin_whois_db_dump) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS6 ARIN Whois DB: ok (solely because of route white list) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS2 prefix ok, origin ok, ARIN: tag only (w/o prefix_validated_via_arin_whois_db_dump) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS2 prefix ok, origin ok, ROA: tag only (w/o prefix_validated_via_rpki_roas) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS2 ROA + ARIN Whois DB: tag only (w/o comms [arin_whois_db_dump, rpki_roas]) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS6 prefix ok, origin ok, ROA + ARIN: rejected ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS6 ROA + ARIN Whois DB: enforced (rejected) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: reconfigure ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: log contains errors ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: dumping rs config... +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: dumping routes... +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: stopping instances... +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: setting instances up... +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: instances setup ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: sessions are up ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS2 prefix ko origin ko ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS2 prefix ko origin ok ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS2 prefix ok origin ko ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS2 prefix ok origin ok ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS4 route filtered (origin ko) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS4 prefix ko origin ok ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS4 prefix ok origin ok ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS4 route filtered (prefix ko, origin ko) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS5 route filtered (prefix ko, origin ko) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS5 route filtered (prefix ko) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS5 prefix ok origin ko ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS5 prefix ok origin ok ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS2 white list, prefix ko, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS2 white list, prefix ok, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS2 white list, prefix WL, origin ko ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS2 white list, prefix WL, origin ok ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS2 white list, prefix WL, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS4 route white list, ok (exact) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS4 route white list, reject (more spec) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS4 route white list, ok (more spec) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS4 route white list, reject (origin KO) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS4 route white list, ok (origin any) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS4 white list, prefix ko, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS4 white list, prefix ok, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS4 white list, prefix WL, origin ko ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS4 white list, prefix WL, origin ok ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS4 white list, prefix WL, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS5 white list, prefix ko, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS5 white list, prefix ok, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS5 white list, prefix WL, origin ko ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS5 white list, prefix WL, origin ok ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS5 white list, prefix WL, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS2 RPKI ROAs as route objects: tag only (w/ prefix_validated_via_rpki_roas) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS6 RPKI ROAs as route objects: invalid origin ASN ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS6 RPKI ROAs as route objects: ok ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS2 ARIN Whois DB: tag only (w/ prefix_validated_via_arin_whois_db_dump) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS6 ARIN Whois DB: ok ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS2 prefix ok, origin ok, ARIN: tag only (w/ prefix_validated_via_arin_whois_db_dump) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS2 prefix ok, origin ok, ROA: tag only (w/ prefix_validated_via_rpki_roas) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS2 ROA + ARIN Whois DB: tag only (w/ comms [arin_whois_db_dump, rpki_roas]) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS6 prefix ok, origin ok, ROA + ARIN: enforce (w/ comms [arin_whois_db_dump, rpki_roas]) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS6 ROA + ARIN Whois DB: enforce (w/ comms [arin_whois_db_dump, rpki_roas]) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: reconfigure ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: log contains errors ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: dumping rs config... +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: dumping routes... +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: stopping instances... +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: setting instances up... +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: instances setup ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: sessions are up ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS2 no enforcement, prefix and origin not in AS-SET ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS4 origin enforcement ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS4 prefix enforcement ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS2 white list, prefix ko, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS2 white list, prefix ok, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS2 white list, prefix WL, origin ko ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS2 white list, prefix WL, origin ok ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS2 white list, prefix WL, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS4 route white list, ok (exact) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS4 route white list, reject (more spec) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS4 route white list, ok (more spec) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS4 route white list, reject (origin KO) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS4 route white list, ok (origin any) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS4 white list, prefix ko, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS4 white list, prefix ok, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS4 white list, prefix WL, origin ko ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS4 white list, prefix WL, origin ok ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS4 white list, prefix WL, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS5 white list, prefix ko, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS5 white list, prefix ok, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS5 white list, prefix WL, origin ko ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS5 white list, prefix WL, origin ok ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS5 white list, prefix WL, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS2 RPKI ROAs as route objects: tag only (w/o prefix_validated_via_rpki_roas) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS6 RPKI ROAs as route objects: invalid origin ASN ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS6 RPKI ROAs as route objects: ko ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS2 ARIN Whois DB: tag only (w/o prefix_validated_via_arin_whois_db_dump) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS6 ARIN Whois DB: ok (solely because of route white list) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS2 prefix ok, origin ok, ARIN: tag only (w/o prefix_validated_via_arin_whois_db_dump) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS2 prefix ok, origin ok, ROA: tag only (w/o prefix_validated_via_rpki_roas) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS2 ROA + ARIN Whois DB: tag only (w/o comms [arin_whois_db_dump, rpki_roas]) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS6 prefix ok, origin ok, ROA + ARIN: rejected ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS6 ROA + ARIN Whois DB: enforced (rejected) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: reconfigure ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: log contains errors ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: dumping rs config... +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: dumping routes... +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: stopping instances... +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: setting instances up... +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: instances setup ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: sessions are up ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS2 prefix ko origin ko ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS2 prefix ko origin ok ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS2 prefix ok origin ko ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS2 prefix ok origin ok ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS4 route filtered (origin ko) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS4 prefix ko origin ok ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS4 prefix ok origin ok ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS4 route filtered (prefix ko, origin ko) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS5 route filtered (prefix ko, origin ko) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS5 route filtered (prefix ko) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS5 prefix ok origin ko ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS5 prefix ok origin ok ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS2 white list, prefix ko, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS2 white list, prefix ok, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS2 white list, prefix WL, origin ko ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS2 white list, prefix WL, origin ok ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS2 white list, prefix WL, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS4 route white list, ok (exact) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS4 route white list, reject (more spec) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS4 route white list, ok (more spec) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS4 route white list, reject (origin KO) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS4 route white list, ok (origin any) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS4 white list, prefix ko, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS4 white list, prefix ok, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS4 white list, prefix WL, origin ko ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS4 white list, prefix WL, origin ok ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS4 white list, prefix WL, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS5 white list, prefix ko, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS5 white list, prefix ok, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS5 white list, prefix WL, origin ko ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS5 white list, prefix WL, origin ok ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS5 white list, prefix WL, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS2 RPKI ROAs as route objects: tag only (w/ prefix_validated_via_rpki_roas) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS6 RPKI ROAs as route objects: invalid origin ASN ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS6 RPKI ROAs as route objects: ok ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS2 ARIN Whois DB: tag only (w/ prefix_validated_via_arin_whois_db_dump) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS6 ARIN Whois DB: ok ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS2 prefix ok, origin ok, ARIN: tag only (w/ prefix_validated_via_arin_whois_db_dump) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS2 prefix ok, origin ok, ROA: tag only (w/ prefix_validated_via_rpki_roas) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS2 ROA + ARIN Whois DB: tag only (w/ comms [arin_whois_db_dump, rpki_roas]) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS6 prefix ok, origin ok, ROA + ARIN: enforce (w/ comms [arin_whois_db_dump, rpki_roas]) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS6 ROA + ARIN Whois DB: enforce (w/ comms [arin_whois_db_dump, rpki_roas]) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: reconfigure ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: log contains errors ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: dumping rs config... +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: dumping routes... +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: stopping instances... + +---------------------------------------------------------------------- +Ran 166 tests in 234.540s + +OK +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv4: setting instances up... +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv4: instances setup ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv4: sessions are up ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv4: AS_PATH too long ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv4: bogon prefix ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv4: bogon prefix, wrong announcing ASN ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv4: prefix in client's blacklist ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv4: invalid ASN in AS_PATH ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv4: invalid NEXT_HOP ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv4: local black list ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv4: prefix is not in IPv6 global unicast space ... SKIP: IPv6 only test +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv4: origin not in as-macro ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv4: invalid left-most ASN ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv4: prefix length ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv4: prefix not in as-macro ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv4: RPKI INVALID route ... SKIP: RPKI not supported by OpenBGPD +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv4: transit-free ASN in AS_PATH ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv4: good routes not received ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv4: prefixes received by clients: AS1_1 ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv4: prefixes received by clients: AS1_2 ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv4: prefixes received by clients: AS2 ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv4: reconfigure ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv4: log contains errors ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv4: dumping rs config... +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv4: dumping routes... +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv4: stopping instances... +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv6: setting instances up... +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv6: instances setup ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv6: sessions are up ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv6: AS_PATH too long ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv6: bogon prefix ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv6: bogon prefix, wrong announcing ASN ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv6: prefix in client's blacklist ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv6: invalid ASN in AS_PATH ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv6: invalid NEXT_HOP ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv6: local black list ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv6: prefix is not in IPv6 global unicast space ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv6: origin not in as-macro ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv6: invalid left-most ASN ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv6: prefix length ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv6: prefix not in as-macro ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv6: RPKI INVALID route ... SKIP: RPKI not supported by OpenBGPD +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv6: transit-free ASN in AS_PATH ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv6: good routes not received ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv6: prefixes received by clients: AS1_1 ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv6: prefixes received by clients: AS1_2 ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv6: prefixes received by clients: AS2 ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv6: reconfigure ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv6: log contains errors ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv6: dumping rs config... +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv6: dumping routes... +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv6: stopping instances... + +---------------------------------------------------------------------- +Ran 44 tests in 166.424s OK (SKIP=3) diff --git a/tests/last.json b/tests/last.json index f7692361..d4c277ed 100644 --- a/tests/last.json +++ b/tests/last.json @@ -1 +1 @@ -{"unique_test_cases": 3313} +{"unique_test_cases": 3495} diff --git a/tests/last_results/live_communities_openbgpd_latest.last b/tests/last_results/live_communities_openbgpd_latest.last index 15f59c2d..c7740020 100644 --- a/tests/last_results/live_communities_openbgpd_latest.last +++ b/tests/last_results/live_communities_openbgpd_latest.last @@ -1,39 +1,39 @@ -Live test, OpenBGPD 6.8, BGP communities, IPv4: setting instances up... -Live test, OpenBGPD 6.8, BGP communities, IPv4: instances setup ... ok -Live test, OpenBGPD 6.8, BGP communities, IPv4: sessions are up ... ok -Live test, OpenBGPD 6.8, BGP communities, IPv4: announce to AS1 only (ext) ... ok -Live test, OpenBGPD 6.8, BGP communities, IPv4: announce to AS1 only (lrg) ... ok -Live test, OpenBGPD 6.8, BGP communities, IPv4: announce to AS1 only (std) ... ok -Live test, OpenBGPD 6.8, BGP communities, IPv4: announce to AS131073 only (ext) ... ok -Live test, OpenBGPD 6.8, BGP communities, IPv4: announce to AS131073 only (lrg) ... ok -Live test, OpenBGPD 6.8, BGP communities, IPv4: custom BGP community (ext) ... ok -Live test, OpenBGPD 6.8, BGP communities, IPv4: custom BGP community (lrg) ... ok -Live test, OpenBGPD 6.8, BGP communities, IPv4: custom BGP community (std) ... ok -Live test, OpenBGPD 6.8, BGP communities, IPv4: custom BGP community scrubbed ... ok -Live test, OpenBGPD 6.8, BGP communities, IPv4: reconfigure ... ok -Live test, OpenBGPD 6.8, BGP communities, IPv4: log contains errors ... ok -Live test, OpenBGPD 6.8, BGP communities, IPv4: dumping rs config... -Live test, OpenBGPD 6.8, BGP communities, IPv4: dumping routes... -Live test, OpenBGPD 6.8, BGP communities, IPv4: stopping instances... -Live test, OpenBGPD 6.8, BGP communities, IPv6: setting instances up... -Live test, OpenBGPD 6.8, BGP communities, IPv6: instances setup ... ok -Live test, OpenBGPD 6.8, BGP communities, IPv6: sessions are up ... ok -Live test, OpenBGPD 6.8, BGP communities, IPv6: announce to AS1 only (ext) ... ok -Live test, OpenBGPD 6.8, BGP communities, IPv6: announce to AS1 only (lrg) ... ok -Live test, OpenBGPD 6.8, BGP communities, IPv6: announce to AS1 only (std) ... ok -Live test, OpenBGPD 6.8, BGP communities, IPv6: announce to AS131073 only (ext) ... ok -Live test, OpenBGPD 6.8, BGP communities, IPv6: announce to AS131073 only (lrg) ... ok -Live test, OpenBGPD 6.8, BGP communities, IPv6: custom BGP community (ext) ... ok -Live test, OpenBGPD 6.8, BGP communities, IPv6: custom BGP community (lrg) ... ok -Live test, OpenBGPD 6.8, BGP communities, IPv6: custom BGP community (std) ... ok -Live test, OpenBGPD 6.8, BGP communities, IPv6: custom BGP community scrubbed ... ok -Live test, OpenBGPD 6.8, BGP communities, IPv6: reconfigure ... ok -Live test, OpenBGPD 6.8, BGP communities, IPv6: log contains errors ... ok -Live test, OpenBGPD 6.8, BGP communities, IPv6: dumping rs config... -Live test, OpenBGPD 6.8, BGP communities, IPv6: dumping routes... -Live test, OpenBGPD 6.8, BGP communities, IPv6: stopping instances... +Live test, OpenBGPD 6.9, BGP communities, IPv4: setting instances up... +Live test, OpenBGPD 6.9, BGP communities, IPv4: instances setup ... ok +Live test, OpenBGPD 6.9, BGP communities, IPv4: sessions are up ... ok +Live test, OpenBGPD 6.9, BGP communities, IPv4: announce to AS1 only (ext) ... ok +Live test, OpenBGPD 6.9, BGP communities, IPv4: announce to AS1 only (lrg) ... ok +Live test, OpenBGPD 6.9, BGP communities, IPv4: announce to AS1 only (std) ... ok +Live test, OpenBGPD 6.9, BGP communities, IPv4: announce to AS131073 only (ext) ... ok +Live test, OpenBGPD 6.9, BGP communities, IPv4: announce to AS131073 only (lrg) ... ok +Live test, OpenBGPD 6.9, BGP communities, IPv4: custom BGP community (ext) ... ok +Live test, OpenBGPD 6.9, BGP communities, IPv4: custom BGP community (lrg) ... ok +Live test, OpenBGPD 6.9, BGP communities, IPv4: custom BGP community (std) ... ok +Live test, OpenBGPD 6.9, BGP communities, IPv4: custom BGP community scrubbed ... ok +Live test, OpenBGPD 6.9, BGP communities, IPv4: reconfigure ... ok +Live test, OpenBGPD 6.9, BGP communities, IPv4: log contains errors ... ok +Live test, OpenBGPD 6.9, BGP communities, IPv4: dumping rs config... +Live test, OpenBGPD 6.9, BGP communities, IPv4: dumping routes... +Live test, OpenBGPD 6.9, BGP communities, IPv4: stopping instances... +Live test, OpenBGPD 6.9, BGP communities, IPv6: setting instances up... +Live test, OpenBGPD 6.9, BGP communities, IPv6: instances setup ... ok +Live test, OpenBGPD 6.9, BGP communities, IPv6: sessions are up ... ok +Live test, OpenBGPD 6.9, BGP communities, IPv6: announce to AS1 only (ext) ... ok +Live test, OpenBGPD 6.9, BGP communities, IPv6: announce to AS1 only (lrg) ... ok +Live test, OpenBGPD 6.9, BGP communities, IPv6: announce to AS1 only (std) ... ok +Live test, OpenBGPD 6.9, BGP communities, IPv6: announce to AS131073 only (ext) ... ok +Live test, OpenBGPD 6.9, BGP communities, IPv6: announce to AS131073 only (lrg) ... ok +Live test, OpenBGPD 6.9, BGP communities, IPv6: custom BGP community (ext) ... ok +Live test, OpenBGPD 6.9, BGP communities, IPv6: custom BGP community (lrg) ... ok +Live test, OpenBGPD 6.9, BGP communities, IPv6: custom BGP community (std) ... ok +Live test, OpenBGPD 6.9, BGP communities, IPv6: custom BGP community scrubbed ... ok +Live test, OpenBGPD 6.9, BGP communities, IPv6: reconfigure ... ok +Live test, OpenBGPD 6.9, BGP communities, IPv6: log contains errors ... ok +Live test, OpenBGPD 6.9, BGP communities, IPv6: dumping rs config... +Live test, OpenBGPD 6.9, BGP communities, IPv6: dumping routes... +Live test, OpenBGPD 6.9, BGP communities, IPv6: stopping instances... ---------------------------------------------------------------------- -Ran 26 tests in 256.943s +Ran 26 tests in 246.979s OK diff --git a/tests/last_results/live_communities_openbgpd_portable.last b/tests/last_results/live_communities_openbgpd_portable.last index 2b3a210e..0ffb4f62 100644 --- a/tests/last_results/live_communities_openbgpd_portable.last +++ b/tests/last_results/live_communities_openbgpd_portable.last @@ -1,39 +1,39 @@ -Live test, OpenBGPD 6.8p1, BGP communities, IPv4: setting instances up... -Live test, OpenBGPD 6.8p1, BGP communities, IPv4: instances setup ... ok -Live test, OpenBGPD 6.8p1, BGP communities, IPv4: sessions are up ... ok -Live test, OpenBGPD 6.8p1, BGP communities, IPv4: announce to AS1 only (ext) ... ok -Live test, OpenBGPD 6.8p1, BGP communities, IPv4: announce to AS1 only (lrg) ... ok -Live test, OpenBGPD 6.8p1, BGP communities, IPv4: announce to AS1 only (std) ... ok -Live test, OpenBGPD 6.8p1, BGP communities, IPv4: announce to AS131073 only (ext) ... ok -Live test, OpenBGPD 6.8p1, BGP communities, IPv4: announce to AS131073 only (lrg) ... ok -Live test, OpenBGPD 6.8p1, BGP communities, IPv4: custom BGP community (ext) ... ok -Live test, OpenBGPD 6.8p1, BGP communities, IPv4: custom BGP community (lrg) ... ok -Live test, OpenBGPD 6.8p1, BGP communities, IPv4: custom BGP community (std) ... ok -Live test, OpenBGPD 6.8p1, BGP communities, IPv4: custom BGP community scrubbed ... ok -Live test, OpenBGPD 6.8p1, BGP communities, IPv4: reconfigure ... ok -Live test, OpenBGPD 6.8p1, BGP communities, IPv4: log contains errors ... ok -Live test, OpenBGPD 6.8p1, BGP communities, IPv4: dumping rs config... -Live test, OpenBGPD 6.8p1, BGP communities, IPv4: dumping routes... -Live test, OpenBGPD 6.8p1, BGP communities, IPv4: stopping instances... -Live test, OpenBGPD 6.8p1, BGP communities, IPv6: setting instances up... -Live test, OpenBGPD 6.8p1, BGP communities, IPv6: instances setup ... ok -Live test, OpenBGPD 6.8p1, BGP communities, IPv6: sessions are up ... ok -Live test, OpenBGPD 6.8p1, BGP communities, IPv6: announce to AS1 only (ext) ... ok -Live test, OpenBGPD 6.8p1, BGP communities, IPv6: announce to AS1 only (lrg) ... ok -Live test, OpenBGPD 6.8p1, BGP communities, IPv6: announce to AS1 only (std) ... ok -Live test, OpenBGPD 6.8p1, BGP communities, IPv6: announce to AS131073 only (ext) ... ok -Live test, OpenBGPD 6.8p1, BGP communities, IPv6: announce to AS131073 only (lrg) ... ok -Live test, OpenBGPD 6.8p1, BGP communities, IPv6: custom BGP community (ext) ... ok -Live test, OpenBGPD 6.8p1, BGP communities, IPv6: custom BGP community (lrg) ... ok -Live test, OpenBGPD 6.8p1, BGP communities, IPv6: custom BGP community (std) ... ok -Live test, OpenBGPD 6.8p1, BGP communities, IPv6: custom BGP community scrubbed ... ok -Live test, OpenBGPD 6.8p1, BGP communities, IPv6: reconfigure ... ok -Live test, OpenBGPD 6.8p1, BGP communities, IPv6: log contains errors ... ok -Live test, OpenBGPD 6.8p1, BGP communities, IPv6: dumping rs config... -Live test, OpenBGPD 6.8p1, BGP communities, IPv6: dumping routes... -Live test, OpenBGPD 6.8p1, BGP communities, IPv6: stopping instances... +Live test, OpenBGPD 6.9p0, BGP communities, IPv4: setting instances up... +Live test, OpenBGPD 6.9p0, BGP communities, IPv4: instances setup ... ok +Live test, OpenBGPD 6.9p0, BGP communities, IPv4: sessions are up ... ok +Live test, OpenBGPD 6.9p0, BGP communities, IPv4: announce to AS1 only (ext) ... ok +Live test, OpenBGPD 6.9p0, BGP communities, IPv4: announce to AS1 only (lrg) ... ok +Live test, OpenBGPD 6.9p0, BGP communities, IPv4: announce to AS1 only (std) ... ok +Live test, OpenBGPD 6.9p0, BGP communities, IPv4: announce to AS131073 only (ext) ... ok +Live test, OpenBGPD 6.9p0, BGP communities, IPv4: announce to AS131073 only (lrg) ... ok +Live test, OpenBGPD 6.9p0, BGP communities, IPv4: custom BGP community (ext) ... ok +Live test, OpenBGPD 6.9p0, BGP communities, IPv4: custom BGP community (lrg) ... ok +Live test, OpenBGPD 6.9p0, BGP communities, IPv4: custom BGP community (std) ... ok +Live test, OpenBGPD 6.9p0, BGP communities, IPv4: custom BGP community scrubbed ... ok +Live test, OpenBGPD 6.9p0, BGP communities, IPv4: reconfigure ... ok +Live test, OpenBGPD 6.9p0, BGP communities, IPv4: log contains errors ... ok +Live test, OpenBGPD 6.9p0, BGP communities, IPv4: dumping rs config... +Live test, OpenBGPD 6.9p0, BGP communities, IPv4: dumping routes... +Live test, OpenBGPD 6.9p0, BGP communities, IPv4: stopping instances... +Live test, OpenBGPD 6.9p0, BGP communities, IPv6: setting instances up... +Live test, OpenBGPD 6.9p0, BGP communities, IPv6: instances setup ... ok +Live test, OpenBGPD 6.9p0, BGP communities, IPv6: sessions are up ... ok +Live test, OpenBGPD 6.9p0, BGP communities, IPv6: announce to AS1 only (ext) ... ok +Live test, OpenBGPD 6.9p0, BGP communities, IPv6: announce to AS1 only (lrg) ... ok +Live test, OpenBGPD 6.9p0, BGP communities, IPv6: announce to AS1 only (std) ... ok +Live test, OpenBGPD 6.9p0, BGP communities, IPv6: announce to AS131073 only (ext) ... ok +Live test, OpenBGPD 6.9p0, BGP communities, IPv6: announce to AS131073 only (lrg) ... ok +Live test, OpenBGPD 6.9p0, BGP communities, IPv6: custom BGP community (ext) ... ok +Live test, OpenBGPD 6.9p0, BGP communities, IPv6: custom BGP community (lrg) ... ok +Live test, OpenBGPD 6.9p0, BGP communities, IPv6: custom BGP community (std) ... ok +Live test, OpenBGPD 6.9p0, BGP communities, IPv6: custom BGP community scrubbed ... ok +Live test, OpenBGPD 6.9p0, BGP communities, IPv6: reconfigure ... ok +Live test, OpenBGPD 6.9p0, BGP communities, IPv6: log contains errors ... ok +Live test, OpenBGPD 6.9p0, BGP communities, IPv6: dumping rs config... +Live test, OpenBGPD 6.9p0, BGP communities, IPv6: dumping routes... +Live test, OpenBGPD 6.9p0, BGP communities, IPv6: stopping instances... ---------------------------------------------------------------------- -Ran 26 tests in 65.847s +Ran 26 tests in 60.401s OK diff --git a/tests/last_results/live_communities_openbgpd_previous.last b/tests/last_results/live_communities_openbgpd_previous.last index 5061ac90..4e6da9c2 100644 --- a/tests/last_results/live_communities_openbgpd_previous.last +++ b/tests/last_results/live_communities_openbgpd_previous.last @@ -1,39 +1,39 @@ -Live test, OpenBGPD 6.7, BGP communities, IPv4: setting instances up... -Live test, OpenBGPD 6.7, BGP communities, IPv4: instances setup ... ok -Live test, OpenBGPD 6.7, BGP communities, IPv4: sessions are up ... ok -Live test, OpenBGPD 6.7, BGP communities, IPv4: announce to AS1 only (ext) ... ok -Live test, OpenBGPD 6.7, BGP communities, IPv4: announce to AS1 only (lrg) ... ok -Live test, OpenBGPD 6.7, BGP communities, IPv4: announce to AS1 only (std) ... ok -Live test, OpenBGPD 6.7, BGP communities, IPv4: announce to AS131073 only (ext) ... ok -Live test, OpenBGPD 6.7, BGP communities, IPv4: announce to AS131073 only (lrg) ... ok -Live test, OpenBGPD 6.7, BGP communities, IPv4: custom BGP community (ext) ... ok -Live test, OpenBGPD 6.7, BGP communities, IPv4: custom BGP community (lrg) ... ok -Live test, OpenBGPD 6.7, BGP communities, IPv4: custom BGP community (std) ... ok -Live test, OpenBGPD 6.7, BGP communities, IPv4: custom BGP community scrubbed ... ok -Live test, OpenBGPD 6.7, BGP communities, IPv4: reconfigure ... ok -Live test, OpenBGPD 6.7, BGP communities, IPv4: log contains errors ... ok -Live test, OpenBGPD 6.7, BGP communities, IPv4: dumping rs config... -Live test, OpenBGPD 6.7, BGP communities, IPv4: dumping routes... -Live test, OpenBGPD 6.7, BGP communities, IPv4: stopping instances... -Live test, OpenBGPD 6.7, BGP communities, IPv6: setting instances up... -Live test, OpenBGPD 6.7, BGP communities, IPv6: instances setup ... ok -Live test, OpenBGPD 6.7, BGP communities, IPv6: sessions are up ... ok -Live test, OpenBGPD 6.7, BGP communities, IPv6: announce to AS1 only (ext) ... ok -Live test, OpenBGPD 6.7, BGP communities, IPv6: announce to AS1 only (lrg) ... ok -Live test, OpenBGPD 6.7, BGP communities, IPv6: announce to AS1 only (std) ... ok -Live test, OpenBGPD 6.7, BGP communities, IPv6: announce to AS131073 only (ext) ... ok -Live test, OpenBGPD 6.7, BGP communities, IPv6: announce to AS131073 only (lrg) ... ok -Live test, OpenBGPD 6.7, BGP communities, IPv6: custom BGP community (ext) ... ok -Live test, OpenBGPD 6.7, BGP communities, IPv6: custom BGP community (lrg) ... ok -Live test, OpenBGPD 6.7, BGP communities, IPv6: custom BGP community (std) ... ok -Live test, OpenBGPD 6.7, BGP communities, IPv6: custom BGP community scrubbed ... ok -Live test, OpenBGPD 6.7, BGP communities, IPv6: reconfigure ... ok -Live test, OpenBGPD 6.7, BGP communities, IPv6: log contains errors ... ok -Live test, OpenBGPD 6.7, BGP communities, IPv6: dumping rs config... -Live test, OpenBGPD 6.7, BGP communities, IPv6: dumping routes... -Live test, OpenBGPD 6.7, BGP communities, IPv6: stopping instances... +Live test, OpenBGPD 6.8, BGP communities, IPv4: setting instances up... +Live test, OpenBGPD 6.8, BGP communities, IPv4: instances setup ... ok +Live test, OpenBGPD 6.8, BGP communities, IPv4: sessions are up ... ok +Live test, OpenBGPD 6.8, BGP communities, IPv4: announce to AS1 only (ext) ... ok +Live test, OpenBGPD 6.8, BGP communities, IPv4: announce to AS1 only (lrg) ... ok +Live test, OpenBGPD 6.8, BGP communities, IPv4: announce to AS1 only (std) ... ok +Live test, OpenBGPD 6.8, BGP communities, IPv4: announce to AS131073 only (ext) ... ok +Live test, OpenBGPD 6.8, BGP communities, IPv4: announce to AS131073 only (lrg) ... ok +Live test, OpenBGPD 6.8, BGP communities, IPv4: custom BGP community (ext) ... ok +Live test, OpenBGPD 6.8, BGP communities, IPv4: custom BGP community (lrg) ... ok +Live test, OpenBGPD 6.8, BGP communities, IPv4: custom BGP community (std) ... ok +Live test, OpenBGPD 6.8, BGP communities, IPv4: custom BGP community scrubbed ... ok +Live test, OpenBGPD 6.8, BGP communities, IPv4: reconfigure ... ok +Live test, OpenBGPD 6.8, BGP communities, IPv4: log contains errors ... ok +Live test, OpenBGPD 6.8, BGP communities, IPv4: dumping rs config... +Live test, OpenBGPD 6.8, BGP communities, IPv4: dumping routes... +Live test, OpenBGPD 6.8, BGP communities, IPv4: stopping instances... +Live test, OpenBGPD 6.8, BGP communities, IPv6: setting instances up... +Live test, OpenBGPD 6.8, BGP communities, IPv6: instances setup ... ok +Live test, OpenBGPD 6.8, BGP communities, IPv6: sessions are up ... ok +Live test, OpenBGPD 6.8, BGP communities, IPv6: announce to AS1 only (ext) ... ok +Live test, OpenBGPD 6.8, BGP communities, IPv6: announce to AS1 only (lrg) ... ok +Live test, OpenBGPD 6.8, BGP communities, IPv6: announce to AS1 only (std) ... ok +Live test, OpenBGPD 6.8, BGP communities, IPv6: announce to AS131073 only (ext) ... ok +Live test, OpenBGPD 6.8, BGP communities, IPv6: announce to AS131073 only (lrg) ... ok +Live test, OpenBGPD 6.8, BGP communities, IPv6: custom BGP community (ext) ... ok +Live test, OpenBGPD 6.8, BGP communities, IPv6: custom BGP community (lrg) ... ok +Live test, OpenBGPD 6.8, BGP communities, IPv6: custom BGP community (std) ... ok +Live test, OpenBGPD 6.8, BGP communities, IPv6: custom BGP community scrubbed ... ok +Live test, OpenBGPD 6.8, BGP communities, IPv6: reconfigure ... ok +Live test, OpenBGPD 6.8, BGP communities, IPv6: log contains errors ... ok +Live test, OpenBGPD 6.8, BGP communities, IPv6: dumping rs config... +Live test, OpenBGPD 6.8, BGP communities, IPv6: dumping routes... +Live test, OpenBGPD 6.8, BGP communities, IPv6: stopping instances... ---------------------------------------------------------------------- -Ran 26 tests in 217.706s +Ran 26 tests in 241.909s OK diff --git a/tests/last_results/live_default_openbgpd_latest.last b/tests/last_results/live_default_openbgpd_latest.last index b877b521..80a54f0d 100644 --- a/tests/last_results/live_default_openbgpd_latest.last +++ b/tests/last_results/live_default_openbgpd_latest.last @@ -1,17 +1,17 @@ -Live test, OpenBGPD 6.8, default config, IPv4: setting instances up... -Live test, OpenBGPD 6.8, default config, IPv4: instances setup ... ok -Live test, OpenBGPD 6.8, default config, IPv4: log contains errors ... ok -Live test, OpenBGPD 6.8, default config, IPv4: dumping rs config... -Live test, OpenBGPD 6.8, default config, IPv4: dumping routes... -Live test, OpenBGPD 6.8, default config, IPv4: stopping instances... -Live test, OpenBGPD 6.8, default config, IPv6: setting instances up... -Live test, OpenBGPD 6.8, default config, IPv6: instances setup ... ok -Live test, OpenBGPD 6.8, default config, IPv6: log contains errors ... ok -Live test, OpenBGPD 6.8, default config, IPv6: dumping rs config... -Live test, OpenBGPD 6.8, default config, IPv6: dumping routes... -Live test, OpenBGPD 6.8, default config, IPv6: stopping instances... +Live test, OpenBGPD 6.9, default config, IPv4: setting instances up... +Live test, OpenBGPD 6.9, default config, IPv4: instances setup ... ok +Live test, OpenBGPD 6.9, default config, IPv4: log contains errors ... ok +Live test, OpenBGPD 6.9, default config, IPv4: dumping rs config... +Live test, OpenBGPD 6.9, default config, IPv4: dumping routes... +Live test, OpenBGPD 6.9, default config, IPv4: stopping instances... +Live test, OpenBGPD 6.9, default config, IPv6: setting instances up... +Live test, OpenBGPD 6.9, default config, IPv6: instances setup ... ok +Live test, OpenBGPD 6.9, default config, IPv6: log contains errors ... ok +Live test, OpenBGPD 6.9, default config, IPv6: dumping rs config... +Live test, OpenBGPD 6.9, default config, IPv6: dumping routes... +Live test, OpenBGPD 6.9, default config, IPv6: stopping instances... ---------------------------------------------------------------------- -Ran 4 tests in 42.070s +Ran 4 tests in 42.422s OK diff --git a/tests/last_results/live_default_openbgpd_portable.last b/tests/last_results/live_default_openbgpd_portable.last index 11af1dcd..1824d13f 100644 --- a/tests/last_results/live_default_openbgpd_portable.last +++ b/tests/last_results/live_default_openbgpd_portable.last @@ -1,17 +1,17 @@ -Live test, OpenBGPD 6.8p1, default config, IPv4: setting instances up... -Live test, OpenBGPD 6.8p1, default config, IPv4: instances setup ... ok -Live test, OpenBGPD 6.8p1, default config, IPv4: log contains errors ... ok -Live test, OpenBGPD 6.8p1, default config, IPv4: dumping rs config... -Live test, OpenBGPD 6.8p1, default config, IPv4: dumping routes... -Live test, OpenBGPD 6.8p1, default config, IPv4: stopping instances... -Live test, OpenBGPD 6.8p1, default config, IPv6: setting instances up... -Live test, OpenBGPD 6.8p1, default config, IPv6: instances setup ... ok -Live test, OpenBGPD 6.8p1, default config, IPv6: log contains errors ... ok -Live test, OpenBGPD 6.8p1, default config, IPv6: dumping rs config... -Live test, OpenBGPD 6.8p1, default config, IPv6: dumping routes... -Live test, OpenBGPD 6.8p1, default config, IPv6: stopping instances... +Live test, OpenBGPD 6.9p0, default config, IPv4: setting instances up... +Live test, OpenBGPD 6.9p0, default config, IPv4: instances setup ... ok +Live test, OpenBGPD 6.9p0, default config, IPv4: log contains errors ... ok +Live test, OpenBGPD 6.9p0, default config, IPv4: dumping rs config... +Live test, OpenBGPD 6.9p0, default config, IPv4: dumping routes... +Live test, OpenBGPD 6.9p0, default config, IPv4: stopping instances... +Live test, OpenBGPD 6.9p0, default config, IPv6: setting instances up... +Live test, OpenBGPD 6.9p0, default config, IPv6: instances setup ... ok +Live test, OpenBGPD 6.9p0, default config, IPv6: log contains errors ... ok +Live test, OpenBGPD 6.9p0, default config, IPv6: dumping rs config... +Live test, OpenBGPD 6.9p0, default config, IPv6: dumping routes... +Live test, OpenBGPD 6.9p0, default config, IPv6: stopping instances... ---------------------------------------------------------------------- -Ran 4 tests in 10.911s +Ran 4 tests in 10.783s OK diff --git a/tests/last_results/live_default_openbgpd_previous.last b/tests/last_results/live_default_openbgpd_previous.last index fc772482..e96e5bf2 100644 --- a/tests/last_results/live_default_openbgpd_previous.last +++ b/tests/last_results/live_default_openbgpd_previous.last @@ -1,17 +1,17 @@ -Live test, OpenBGPD 6.7, default config, IPv4: setting instances up... -Live test, OpenBGPD 6.7, default config, IPv4: instances setup ... ok -Live test, OpenBGPD 6.7, default config, IPv4: log contains errors ... ok -Live test, OpenBGPD 6.7, default config, IPv4: dumping rs config... -Live test, OpenBGPD 6.7, default config, IPv4: dumping routes... -Live test, OpenBGPD 6.7, default config, IPv4: stopping instances... -Live test, OpenBGPD 6.7, default config, IPv6: setting instances up... -Live test, OpenBGPD 6.7, default config, IPv6: instances setup ... ok -Live test, OpenBGPD 6.7, default config, IPv6: log contains errors ... ok -Live test, OpenBGPD 6.7, default config, IPv6: dumping rs config... -Live test, OpenBGPD 6.7, default config, IPv6: dumping routes... -Live test, OpenBGPD 6.7, default config, IPv6: stopping instances... +Live test, OpenBGPD 6.8, default config, IPv4: setting instances up... +Live test, OpenBGPD 6.8, default config, IPv4: instances setup ... ok +Live test, OpenBGPD 6.8, default config, IPv4: log contains errors ... ok +Live test, OpenBGPD 6.8, default config, IPv4: dumping rs config... +Live test, OpenBGPD 6.8, default config, IPv4: dumping routes... +Live test, OpenBGPD 6.8, default config, IPv4: stopping instances... +Live test, OpenBGPD 6.8, default config, IPv6: setting instances up... +Live test, OpenBGPD 6.8, default config, IPv6: instances setup ... ok +Live test, OpenBGPD 6.8, default config, IPv6: log contains errors ... ok +Live test, OpenBGPD 6.8, default config, IPv6: dumping rs config... +Live test, OpenBGPD 6.8, default config, IPv6: dumping routes... +Live test, OpenBGPD 6.8, default config, IPv6: stopping instances... ---------------------------------------------------------------------- -Ran 4 tests in 42.171s +Ran 4 tests in 42.007s OK diff --git a/tests/last_results/live_global_openbgpd_latest.last b/tests/last_results/live_global_openbgpd_latest.last index 0a1fbda6..fe5a2d58 100644 --- a/tests/last_results/live_global_openbgpd_latest.last +++ b/tests/last_results/live_global_openbgpd_latest.last @@ -1,185 +1,185 @@ -Live test, OpenBGPD 6.8, global scenario, IPv4: setting instances up... -Live test, OpenBGPD 6.8, global scenario, IPv4: instances setup ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: sessions are up ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: session configured via local include files ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: good prefixes because of use_arin_bulk_whois_data ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: good prefixes received by rs: IRRdb white-list ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: good prefixes because of use_registrobr_bulk_whois_data ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: good prefixes because of use_rpki_roas_as_route_objects: exact ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: good prefixes because of use_rpki_roas_as_route_objects: covering ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: good prefixes received by rs ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: good prefixes received by rs: non-client NEXT_HOP ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: bad prefixes received by rs: not IPv6 global unicast space ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: bad prefixes received by rs: IRRdb white-list ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: bad prefixes received by rs: AS_SET origin, RFC6907 7.1.9 ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: bad prefixes received by rs: IRR check for AS_SET origin, BIRD ... SKIP: BIRD specific -Live test, OpenBGPD 6.8, global scenario, IPv4: bad prefixes received by rs: IRR check for AS_SET origin, OpenBGPD ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: bad prefixes received by rs: AS_PATH len ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: bad prefixes received by rs: bogon ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: bad prefixes received by rs: client blacklist ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: bad prefixes received by rs: global blacklist ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: bad prefixes received by rs: invalid ASN in AS-PATH ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: bad prefixes received by rs: invalid NEXT_HOP ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: bad prefixes received by rs: left-most ASN ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: bad prefixes received by rs: never via route servers ASN in AS-PATH (asns list) ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: bad prefixes received by rs: never via route servers ASN in AS-PATH (PeeringDB) ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: bad prefixes received by rs: origin not in AS-SET ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: bad prefixes received by rs: prefix not in AS-SET ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: bad prefixes received by rs: invalid prefix-len ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: bad prefixes received by rs: transit-free ASN in AS-PATH ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: bad prefixes received by rs: transit-free ASN in AS-PATH from a transit peer ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: bad prefixes received by rs: unknown NEXT_HOP ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: bad prefixes received by rs: RPKI ROAs as route objects failed ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: bad prefixes received by rs: default route ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: bad prefixes not received by clients ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: bad prefixes received by rs: bogon (wrong tag) ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: bad prefixes received by rs: global blacklist (wrong tag) ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: RPKI, blackhole request for a covered prefix ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: RPKI, invalid prefix (bad ASN) received by rs ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: RPKI, invalid prefix (bad length) received by rs ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: RPKI, invalid prefix (bad ASN) not propagated to clients ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: RPKI, valid prefix received by rs ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: RPKI, valid prefix propagated to clients ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: prefixes from AS101 received by its upstreams ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: prefixes from AS101 received by rs ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: bad communities as seen by AS101 upstreams ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: bad communities scrubbed by rs (lrg) ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: bad communities scrubbed by rs (std) ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: other communities not scrubbed by rs (lrg) ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: other communities not scrubbed by rs (std) ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: blackhole filtering requests as seen by rs (BLACKHOLE) ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: blackhole filtering requests as seen by rs (lrg cust) ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: blackhole filtering requests as seen by rs (std cust) ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: blackholed prefixes as seen by enabled clients (BLACKHOLE) ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: blackholed prefixes as seen by enabled clients (lrg_cust) ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: blackholed prefixes as seen by enabled clients (std_cust) ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: blackholed prefixes not seen by not enabled clients ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: gshut by an enabled client ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: gshut by a not enabled client ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: control communities, announce to AS1 only ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: control communities, don't announce to any ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: control communities, announce to all except AS1 ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: control communities, prepend once to any ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: control communities, prepend twice to any ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: control communities, prepend thrice to any ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: control communities, prepend once to AS1 ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: control communities, prepend twice to AS2 ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: control communities, prepend thrice to AS1, once to others ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: control communities, NO_EXPORT to AS1 ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: control communities, NO_EXPORT to any ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: control communities, RFC1997 NO_EXPORT ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: control communities, RTT, blackhole, not peers > 20 ms ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: control communities, RTT, not peers > 15 ms ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: control communities, RTT, not peers > 5 ms ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: control communities, RTT, not peers > 5 ms + AS3 ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: control communities, RTT, not peers <= 5 and > 100 ms ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: control communities, RTT, only peers <= 15 ms ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: control communities, RTT, only peers <= 5 ms ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: control communities, RTT, ext comms, prepend 1x > 10 ms, 2x > 20 ms ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: control communities, RTT, prepend 3x > 100 ms, 2x > 10 ms ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: control communities, RTT, prepend 3x <= 5 ms, 2x <= 20 ms, 1x any ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: prefixes received by clients: AS1_1 ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: prefixes received by clients: AS1_2 ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: prefixes received by clients: AS2 ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: prefixes received by clients: AS3 ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: prefixes received by clients: AS3 (with ADD-PATH) ... SKIP: ADD-PATH not supported by OpenBGPD -Live test, OpenBGPD 6.8, global scenario, IPv4: reconfigure ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: log contains errors ... ok -Live test, OpenBGPD 6.8, global scenario, IPv4: dumping rs config... -Live test, OpenBGPD 6.8, global scenario, IPv4: dumping routes... -Live test, OpenBGPD 6.8, global scenario, IPv4: stopping instances... -Live test, OpenBGPD 6.8, global scenario, IPv6: setting instances up... -Live test, OpenBGPD 6.8, global scenario, IPv6: instances setup ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: sessions are up ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: session configured via local include files ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: good prefixes because of use_arin_bulk_whois_data ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: good prefixes received by rs: IRRdb white-list ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: good prefixes because of use_registrobr_bulk_whois_data ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: good prefixes because of use_rpki_roas_as_route_objects: exact ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: good prefixes because of use_rpki_roas_as_route_objects: covering ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: good prefixes received by rs ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: good prefixes received by rs: non-client NEXT_HOP ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: bad prefixes received by rs: not IPv6 global unicast space ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: bad prefixes received by rs: IRRdb white-list ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: bad prefixes received by rs: AS_SET origin, RFC6907 7.1.9 ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: bad prefixes received by rs: IRR check for AS_SET origin, BIRD ... SKIP: BIRD specific -Live test, OpenBGPD 6.8, global scenario, IPv6: bad prefixes received by rs: IRR check for AS_SET origin, OpenBGPD ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: bad prefixes received by rs: AS_PATH len ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: bad prefixes received by rs: bogon ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: bad prefixes received by rs: client blacklist ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: bad prefixes received by rs: global blacklist ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: bad prefixes received by rs: invalid ASN in AS-PATH ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: bad prefixes received by rs: invalid NEXT_HOP ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: bad prefixes received by rs: left-most ASN ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: bad prefixes received by rs: never via route servers ASN in AS-PATH (asns list) ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: bad prefixes received by rs: never via route servers ASN in AS-PATH (PeeringDB) ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: bad prefixes received by rs: origin not in AS-SET ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: bad prefixes received by rs: prefix not in AS-SET ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: bad prefixes received by rs: invalid prefix-len ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: bad prefixes received by rs: transit-free ASN in AS-PATH ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: bad prefixes received by rs: transit-free ASN in AS-PATH from a transit peer ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: bad prefixes received by rs: unknown NEXT_HOP ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: bad prefixes received by rs: RPKI ROAs as route objects failed ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: bad prefixes received by rs: default route ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: bad prefixes not received by clients ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: bad prefixes received by rs: bogon (wrong tag) ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: bad prefixes received by rs: global blacklist (wrong tag) ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: RPKI, blackhole request for a covered prefix ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: RPKI, invalid prefix (bad ASN) received by rs ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: RPKI, invalid prefix (bad length) received by rs ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: RPKI, invalid prefix (bad ASN) not propagated to clients ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: RPKI, valid prefix received by rs ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: RPKI, valid prefix propagated to clients ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: prefixes from AS101 received by its upstreams ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: prefixes from AS101 received by rs ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: bad communities as seen by AS101 upstreams ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: bad communities scrubbed by rs (lrg) ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: bad communities scrubbed by rs (std) ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: other communities not scrubbed by rs (lrg) ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: other communities not scrubbed by rs (std) ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: blackhole filtering requests as seen by rs (BLACKHOLE) ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: blackhole filtering requests as seen by rs (lrg cust) ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: blackhole filtering requests as seen by rs (std cust) ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: blackholed prefixes as seen by enabled clients (BLACKHOLE) ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: blackholed prefixes as seen by enabled clients (lrg_cust) ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: blackholed prefixes as seen by enabled clients (std_cust) ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: blackholed prefixes not seen by not enabled clients ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: gshut by an enabled client ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: gshut by a not enabled client ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: control communities, announce to AS1 only ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: control communities, don't announce to any ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: control communities, announce to all except AS1 ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: control communities, prepend once to any ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: control communities, prepend twice to any ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: control communities, prepend thrice to any ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: control communities, prepend once to AS1 ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: control communities, prepend twice to AS2 ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: control communities, prepend thrice to AS1, once to others ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: control communities, NO_EXPORT to AS1 ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: control communities, NO_EXPORT to any ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: control communities, RFC1997 NO_EXPORT ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: control communities, RTT, blackhole, not peers > 20 ms ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: control communities, RTT, not peers > 15 ms ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: control communities, RTT, not peers > 5 ms ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: control communities, RTT, not peers > 5 ms + AS3 ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: control communities, RTT, not peers <= 5 and > 100 ms ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: control communities, RTT, only peers <= 15 ms ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: control communities, RTT, only peers <= 5 ms ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: control communities, RTT, ext comms, prepend 1x > 10 ms, 2x > 20 ms ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: control communities, RTT, prepend 3x > 100 ms, 2x > 10 ms ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: control communities, RTT, prepend 3x <= 5 ms, 2x <= 20 ms, 1x any ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: prefixes received by clients: AS1_1 ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: prefixes received by clients: AS1_2 ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: prefixes received by clients: AS2 ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: prefixes received by clients: AS3 ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: prefixes received by clients: AS3 (with ADD-PATH) ... SKIP: ADD-PATH not supported by OpenBGPD -Live test, OpenBGPD 6.8, global scenario, IPv6: reconfigure ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: log contains errors ... ok -Live test, OpenBGPD 6.8, global scenario, IPv6: dumping rs config... -Live test, OpenBGPD 6.8, global scenario, IPv6: dumping routes... -Live test, OpenBGPD 6.8, global scenario, IPv6: stopping instances... +Live test, OpenBGPD 6.9, global scenario, IPv4: setting instances up... +Live test, OpenBGPD 6.9, global scenario, IPv4: instances setup ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: sessions are up ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: session configured via local include files ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: good prefixes because of use_arin_bulk_whois_data ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: good prefixes received by rs: IRRdb white-list ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: good prefixes because of use_registrobr_bulk_whois_data ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: good prefixes because of use_rpki_roas_as_route_objects: exact ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: good prefixes because of use_rpki_roas_as_route_objects: covering ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: good prefixes received by rs ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: good prefixes received by rs: non-client NEXT_HOP ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: bad prefixes received by rs: not IPv6 global unicast space ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: bad prefixes received by rs: IRRdb white-list ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: bad prefixes received by rs: AS_SET origin, RFC6907 7.1.9 ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: bad prefixes received by rs: IRR check for AS_SET origin, BIRD ... SKIP: BIRD specific +Live test, OpenBGPD 6.9, global scenario, IPv4: bad prefixes received by rs: IRR check for AS_SET origin, OpenBGPD ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: bad prefixes received by rs: AS_PATH len ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: bad prefixes received by rs: bogon ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: bad prefixes received by rs: client blacklist ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: bad prefixes received by rs: global blacklist ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: bad prefixes received by rs: invalid ASN in AS-PATH ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: bad prefixes received by rs: invalid NEXT_HOP ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: bad prefixes received by rs: left-most ASN ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: bad prefixes received by rs: never via route servers ASN in AS-PATH (asns list) ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: bad prefixes received by rs: never via route servers ASN in AS-PATH (PeeringDB) ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: bad prefixes received by rs: origin not in AS-SET ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: bad prefixes received by rs: prefix not in AS-SET ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: bad prefixes received by rs: invalid prefix-len ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: bad prefixes received by rs: transit-free ASN in AS-PATH ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: bad prefixes received by rs: transit-free ASN in AS-PATH from a transit peer ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: bad prefixes received by rs: unknown NEXT_HOP ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: bad prefixes received by rs: RPKI ROAs as route objects failed ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: bad prefixes received by rs: default route ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: bad prefixes not received by clients ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: bad prefixes received by rs: bogon (wrong tag) ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: bad prefixes received by rs: global blacklist (wrong tag) ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: RPKI, blackhole request for a covered prefix ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: RPKI, invalid prefix (bad ASN) received by rs ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: RPKI, invalid prefix (bad length) received by rs ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: RPKI, invalid prefix (bad ASN) not propagated to clients ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: RPKI, valid prefix received by rs ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: RPKI, valid prefix propagated to clients ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: prefixes from AS101 received by its upstreams ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: prefixes from AS101 received by rs ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: bad communities as seen by AS101 upstreams ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: bad communities scrubbed by rs (lrg) ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: bad communities scrubbed by rs (std) ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: other communities not scrubbed by rs (lrg) ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: other communities not scrubbed by rs (std) ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: blackhole filtering requests as seen by rs (BLACKHOLE) ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: blackhole filtering requests as seen by rs (lrg cust) ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: blackhole filtering requests as seen by rs (std cust) ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: blackholed prefixes as seen by enabled clients (BLACKHOLE) ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: blackholed prefixes as seen by enabled clients (lrg_cust) ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: blackholed prefixes as seen by enabled clients (std_cust) ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: blackholed prefixes not seen by not enabled clients ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: gshut by an enabled client ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: gshut by a not enabled client ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: control communities, announce to AS1 only ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: control communities, don't announce to any ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: control communities, announce to all except AS1 ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: control communities, prepend once to any ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: control communities, prepend twice to any ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: control communities, prepend thrice to any ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: control communities, prepend once to AS1 ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: control communities, prepend twice to AS2 ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: control communities, prepend thrice to AS1, once to others ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: control communities, NO_EXPORT to AS1 ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: control communities, NO_EXPORT to any ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: control communities, RFC1997 NO_EXPORT ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: control communities, RTT, blackhole, not peers > 20 ms ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: control communities, RTT, not peers > 15 ms ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: control communities, RTT, not peers > 5 ms ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: control communities, RTT, not peers > 5 ms + AS3 ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: control communities, RTT, not peers <= 5 and > 100 ms ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: control communities, RTT, only peers <= 15 ms ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: control communities, RTT, only peers <= 5 ms ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: control communities, RTT, ext comms, prepend 1x > 10 ms, 2x > 20 ms ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: control communities, RTT, prepend 3x > 100 ms, 2x > 10 ms ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: control communities, RTT, prepend 3x <= 5 ms, 2x <= 20 ms, 1x any ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: prefixes received by clients: AS1_1 ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: prefixes received by clients: AS1_2 ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: prefixes received by clients: AS2 ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: prefixes received by clients: AS3 ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: prefixes received by clients: AS3 (with ADD-PATH) ... SKIP: ADD-PATH not supported by OpenBGPD +Live test, OpenBGPD 6.9, global scenario, IPv4: reconfigure ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: log contains errors ... ok +Live test, OpenBGPD 6.9, global scenario, IPv4: dumping rs config... +Live test, OpenBGPD 6.9, global scenario, IPv4: dumping routes... +Live test, OpenBGPD 6.9, global scenario, IPv4: stopping instances... +Live test, OpenBGPD 6.9, global scenario, IPv6: setting instances up... +Live test, OpenBGPD 6.9, global scenario, IPv6: instances setup ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: sessions are up ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: session configured via local include files ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: good prefixes because of use_arin_bulk_whois_data ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: good prefixes received by rs: IRRdb white-list ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: good prefixes because of use_registrobr_bulk_whois_data ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: good prefixes because of use_rpki_roas_as_route_objects: exact ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: good prefixes because of use_rpki_roas_as_route_objects: covering ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: good prefixes received by rs ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: good prefixes received by rs: non-client NEXT_HOP ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: bad prefixes received by rs: not IPv6 global unicast space ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: bad prefixes received by rs: IRRdb white-list ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: bad prefixes received by rs: AS_SET origin, RFC6907 7.1.9 ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: bad prefixes received by rs: IRR check for AS_SET origin, BIRD ... SKIP: BIRD specific +Live test, OpenBGPD 6.9, global scenario, IPv6: bad prefixes received by rs: IRR check for AS_SET origin, OpenBGPD ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: bad prefixes received by rs: AS_PATH len ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: bad prefixes received by rs: bogon ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: bad prefixes received by rs: client blacklist ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: bad prefixes received by rs: global blacklist ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: bad prefixes received by rs: invalid ASN in AS-PATH ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: bad prefixes received by rs: invalid NEXT_HOP ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: bad prefixes received by rs: left-most ASN ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: bad prefixes received by rs: never via route servers ASN in AS-PATH (asns list) ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: bad prefixes received by rs: never via route servers ASN in AS-PATH (PeeringDB) ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: bad prefixes received by rs: origin not in AS-SET ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: bad prefixes received by rs: prefix not in AS-SET ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: bad prefixes received by rs: invalid prefix-len ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: bad prefixes received by rs: transit-free ASN in AS-PATH ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: bad prefixes received by rs: transit-free ASN in AS-PATH from a transit peer ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: bad prefixes received by rs: unknown NEXT_HOP ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: bad prefixes received by rs: RPKI ROAs as route objects failed ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: bad prefixes received by rs: default route ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: bad prefixes not received by clients ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: bad prefixes received by rs: bogon (wrong tag) ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: bad prefixes received by rs: global blacklist (wrong tag) ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: RPKI, blackhole request for a covered prefix ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: RPKI, invalid prefix (bad ASN) received by rs ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: RPKI, invalid prefix (bad length) received by rs ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: RPKI, invalid prefix (bad ASN) not propagated to clients ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: RPKI, valid prefix received by rs ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: RPKI, valid prefix propagated to clients ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: prefixes from AS101 received by its upstreams ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: prefixes from AS101 received by rs ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: bad communities as seen by AS101 upstreams ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: bad communities scrubbed by rs (lrg) ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: bad communities scrubbed by rs (std) ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: other communities not scrubbed by rs (lrg) ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: other communities not scrubbed by rs (std) ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: blackhole filtering requests as seen by rs (BLACKHOLE) ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: blackhole filtering requests as seen by rs (lrg cust) ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: blackhole filtering requests as seen by rs (std cust) ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: blackholed prefixes as seen by enabled clients (BLACKHOLE) ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: blackholed prefixes as seen by enabled clients (lrg_cust) ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: blackholed prefixes as seen by enabled clients (std_cust) ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: blackholed prefixes not seen by not enabled clients ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: gshut by an enabled client ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: gshut by a not enabled client ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: control communities, announce to AS1 only ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: control communities, don't announce to any ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: control communities, announce to all except AS1 ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: control communities, prepend once to any ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: control communities, prepend twice to any ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: control communities, prepend thrice to any ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: control communities, prepend once to AS1 ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: control communities, prepend twice to AS2 ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: control communities, prepend thrice to AS1, once to others ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: control communities, NO_EXPORT to AS1 ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: control communities, NO_EXPORT to any ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: control communities, RFC1997 NO_EXPORT ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: control communities, RTT, blackhole, not peers > 20 ms ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: control communities, RTT, not peers > 15 ms ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: control communities, RTT, not peers > 5 ms ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: control communities, RTT, not peers > 5 ms + AS3 ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: control communities, RTT, not peers <= 5 and > 100 ms ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: control communities, RTT, only peers <= 15 ms ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: control communities, RTT, only peers <= 5 ms ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: control communities, RTT, ext comms, prepend 1x > 10 ms, 2x > 20 ms ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: control communities, RTT, prepend 3x > 100 ms, 2x > 10 ms ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: control communities, RTT, prepend 3x <= 5 ms, 2x <= 20 ms, 1x any ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: prefixes received by clients: AS1_1 ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: prefixes received by clients: AS1_2 ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: prefixes received by clients: AS2 ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: prefixes received by clients: AS3 ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: prefixes received by clients: AS3 (with ADD-PATH) ... SKIP: ADD-PATH not supported by OpenBGPD +Live test, OpenBGPD 6.9, global scenario, IPv6: reconfigure ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: log contains errors ... ok +Live test, OpenBGPD 6.9, global scenario, IPv6: dumping rs config... +Live test, OpenBGPD 6.9, global scenario, IPv6: dumping routes... +Live test, OpenBGPD 6.9, global scenario, IPv6: stopping instances... ---------------------------------------------------------------------- -Ran 172 tests in 201.134s +Ran 172 tests in 201.932s OK (SKIP=4) diff --git a/tests/last_results/live_global_openbgpd_portable.last b/tests/last_results/live_global_openbgpd_portable.last index c354baf1..82fb898f 100644 --- a/tests/last_results/live_global_openbgpd_portable.last +++ b/tests/last_results/live_global_openbgpd_portable.last @@ -1,3 +1,183 @@ +Live test, OpenBGPD 6.9p0, global scenario, IPv4: setting instances up... +Live test, OpenBGPD 6.9p0, global scenario, IPv4: instances setup ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: sessions are up ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: session configured via local include files ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: good prefixes because of use_arin_bulk_whois_data ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: good prefixes received by rs: IRRdb white-list ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: good prefixes because of use_registrobr_bulk_whois_data ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: good prefixes because of use_rpki_roas_as_route_objects: exact ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: good prefixes because of use_rpki_roas_as_route_objects: covering ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: good prefixes received by rs ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: good prefixes received by rs: non-client NEXT_HOP ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: bad prefixes received by rs: not IPv6 global unicast space ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: bad prefixes received by rs: IRRdb white-list ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: bad prefixes received by rs: AS_SET origin, RFC6907 7.1.9 ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: bad prefixes received by rs: IRR check for AS_SET origin, BIRD ... SKIP: BIRD specific +Live test, OpenBGPD 6.9p0, global scenario, IPv4: bad prefixes received by rs: IRR check for AS_SET origin, OpenBGPD ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: bad prefixes received by rs: AS_PATH len ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: bad prefixes received by rs: bogon ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: bad prefixes received by rs: client blacklist ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: bad prefixes received by rs: global blacklist ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: bad prefixes received by rs: invalid ASN in AS-PATH ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: bad prefixes received by rs: invalid NEXT_HOP ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: bad prefixes received by rs: left-most ASN ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: bad prefixes received by rs: never via route servers ASN in AS-PATH (asns list) ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: bad prefixes received by rs: never via route servers ASN in AS-PATH (PeeringDB) ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: bad prefixes received by rs: origin not in AS-SET ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: bad prefixes received by rs: prefix not in AS-SET ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: bad prefixes received by rs: invalid prefix-len ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: bad prefixes received by rs: transit-free ASN in AS-PATH ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: bad prefixes received by rs: transit-free ASN in AS-PATH from a transit peer ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: bad prefixes received by rs: unknown NEXT_HOP ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: bad prefixes received by rs: RPKI ROAs as route objects failed ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: bad prefixes received by rs: default route ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: bad prefixes not received by clients ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: bad prefixes received by rs: bogon (wrong tag) ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: bad prefixes received by rs: global blacklist (wrong tag) ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: RPKI, blackhole request for a covered prefix ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: RPKI, invalid prefix (bad ASN) received by rs ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: RPKI, invalid prefix (bad length) received by rs ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: RPKI, invalid prefix (bad ASN) not propagated to clients ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: RPKI, valid prefix received by rs ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: RPKI, valid prefix propagated to clients ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: prefixes from AS101 received by its upstreams ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: prefixes from AS101 received by rs ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: bad communities as seen by AS101 upstreams ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: bad communities scrubbed by rs (lrg) ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: bad communities scrubbed by rs (std) ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: other communities not scrubbed by rs (lrg) ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: other communities not scrubbed by rs (std) ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: blackhole filtering requests as seen by rs (BLACKHOLE) ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: blackhole filtering requests as seen by rs (lrg cust) ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: blackhole filtering requests as seen by rs (std cust) ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: blackholed prefixes as seen by enabled clients (BLACKHOLE) ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: blackholed prefixes as seen by enabled clients (lrg_cust) ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: blackholed prefixes as seen by enabled clients (std_cust) ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: blackholed prefixes not seen by not enabled clients ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: gshut by an enabled client ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: gshut by a not enabled client ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: control communities, announce to AS1 only ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: control communities, don't announce to any ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: control communities, announce to all except AS1 ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: control communities, prepend once to any ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: control communities, prepend twice to any ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: control communities, prepend thrice to any ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: control communities, prepend once to AS1 ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: control communities, prepend twice to AS2 ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: control communities, prepend thrice to AS1, once to others ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: control communities, NO_EXPORT to AS1 ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: control communities, NO_EXPORT to any ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: control communities, RFC1997 NO_EXPORT ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: control communities, RTT, blackhole, not peers > 20 ms ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: control communities, RTT, not peers > 15 ms ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: control communities, RTT, not peers > 5 ms ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: control communities, RTT, not peers > 5 ms + AS3 ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: control communities, RTT, not peers <= 5 and > 100 ms ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: control communities, RTT, only peers <= 15 ms ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: control communities, RTT, only peers <= 5 ms ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: control communities, RTT, ext comms, prepend 1x > 10 ms, 2x > 20 ms ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: control communities, RTT, prepend 3x > 100 ms, 2x > 10 ms ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: control communities, RTT, prepend 3x <= 5 ms, 2x <= 20 ms, 1x any ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: prefixes received by clients: AS1_1 ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: prefixes received by clients: AS1_2 ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: prefixes received by clients: AS2 ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: prefixes received by clients: AS3 ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: prefixes received by clients: AS3 (with ADD-PATH) ... SKIP: ADD-PATH not supported by OpenBGPD +Live test, OpenBGPD 6.9p0, global scenario, IPv4: reconfigure ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: log contains errors ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv4: dumping rs config... +Live test, OpenBGPD 6.9p0, global scenario, IPv4: dumping routes... +Live test, OpenBGPD 6.9p0, global scenario, IPv4: stopping instances... +Live test, OpenBGPD 6.9p0, global scenario, IPv6: setting instances up... +Live test, OpenBGPD 6.9p0, global scenario, IPv6: instances setup ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: sessions are up ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: session configured via local include files ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: good prefixes because of use_arin_bulk_whois_data ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: good prefixes received by rs: IRRdb white-list ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: good prefixes because of use_registrobr_bulk_whois_data ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: good prefixes because of use_rpki_roas_as_route_objects: exact ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: good prefixes because of use_rpki_roas_as_route_objects: covering ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: good prefixes received by rs ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: good prefixes received by rs: non-client NEXT_HOP ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: bad prefixes received by rs: not IPv6 global unicast space ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: bad prefixes received by rs: IRRdb white-list ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: bad prefixes received by rs: AS_SET origin, RFC6907 7.1.9 ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: bad prefixes received by rs: IRR check for AS_SET origin, BIRD ... SKIP: BIRD specific +Live test, OpenBGPD 6.9p0, global scenario, IPv6: bad prefixes received by rs: IRR check for AS_SET origin, OpenBGPD ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: bad prefixes received by rs: AS_PATH len ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: bad prefixes received by rs: bogon ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: bad prefixes received by rs: client blacklist ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: bad prefixes received by rs: global blacklist ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: bad prefixes received by rs: invalid ASN in AS-PATH ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: bad prefixes received by rs: invalid NEXT_HOP ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: bad prefixes received by rs: left-most ASN ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: bad prefixes received by rs: never via route servers ASN in AS-PATH (asns list) ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: bad prefixes received by rs: never via route servers ASN in AS-PATH (PeeringDB) ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: bad prefixes received by rs: origin not in AS-SET ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: bad prefixes received by rs: prefix not in AS-SET ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: bad prefixes received by rs: invalid prefix-len ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: bad prefixes received by rs: transit-free ASN in AS-PATH ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: bad prefixes received by rs: transit-free ASN in AS-PATH from a transit peer ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: bad prefixes received by rs: unknown NEXT_HOP ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: bad prefixes received by rs: RPKI ROAs as route objects failed ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: bad prefixes received by rs: default route ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: bad prefixes not received by clients ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: bad prefixes received by rs: bogon (wrong tag) ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: bad prefixes received by rs: global blacklist (wrong tag) ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: RPKI, blackhole request for a covered prefix ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: RPKI, invalid prefix (bad ASN) received by rs ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: RPKI, invalid prefix (bad length) received by rs ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: RPKI, invalid prefix (bad ASN) not propagated to clients ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: RPKI, valid prefix received by rs ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: RPKI, valid prefix propagated to clients ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: prefixes from AS101 received by its upstreams ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: prefixes from AS101 received by rs ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: bad communities as seen by AS101 upstreams ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: bad communities scrubbed by rs (lrg) ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: bad communities scrubbed by rs (std) ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: other communities not scrubbed by rs (lrg) ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: other communities not scrubbed by rs (std) ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: blackhole filtering requests as seen by rs (BLACKHOLE) ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: blackhole filtering requests as seen by rs (lrg cust) ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: blackhole filtering requests as seen by rs (std cust) ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: blackholed prefixes as seen by enabled clients (BLACKHOLE) ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: blackholed prefixes as seen by enabled clients (lrg_cust) ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: blackholed prefixes as seen by enabled clients (std_cust) ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: blackholed prefixes not seen by not enabled clients ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: gshut by an enabled client ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: gshut by a not enabled client ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: control communities, announce to AS1 only ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: control communities, don't announce to any ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: control communities, announce to all except AS1 ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: control communities, prepend once to any ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: control communities, prepend twice to any ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: control communities, prepend thrice to any ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: control communities, prepend once to AS1 ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: control communities, prepend twice to AS2 ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: control communities, prepend thrice to AS1, once to others ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: control communities, NO_EXPORT to AS1 ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: control communities, NO_EXPORT to any ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: control communities, RFC1997 NO_EXPORT ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: control communities, RTT, blackhole, not peers > 20 ms ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: control communities, RTT, not peers > 15 ms ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: control communities, RTT, not peers > 5 ms ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: control communities, RTT, not peers > 5 ms + AS3 ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: control communities, RTT, not peers <= 5 and > 100 ms ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: control communities, RTT, only peers <= 15 ms ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: control communities, RTT, only peers <= 5 ms ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: control communities, RTT, ext comms, prepend 1x > 10 ms, 2x > 20 ms ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: control communities, RTT, prepend 3x > 100 ms, 2x > 10 ms ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: control communities, RTT, prepend 3x <= 5 ms, 2x <= 20 ms, 1x any ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: prefixes received by clients: AS1_1 ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: prefixes received by clients: AS1_2 ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: prefixes received by clients: AS2 ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: prefixes received by clients: AS3 ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: prefixes received by clients: AS3 (with ADD-PATH) ... SKIP: ADD-PATH not supported by OpenBGPD +Live test, OpenBGPD 6.9p0, global scenario, IPv6: reconfigure ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: log contains errors ... ok +Live test, OpenBGPD 6.9p0, global scenario, IPv6: dumping rs config... +Live test, OpenBGPD 6.9p0, global scenario, IPv6: dumping routes... +Live test, OpenBGPD 6.9p0, global scenario, IPv6: stopping instances... Live test, OpenBGPD 6.8p1, global scenario, IPv4: setting instances up... Live test, OpenBGPD 6.8p1, global scenario, IPv4: instances setup ... ok Live test, OpenBGPD 6.8p1, global scenario, IPv4: sessions are up ... ok @@ -180,6 +360,6 @@ Live test, OpenBGPD 6.8p1, global scenario, IPv6: dumping routes... Live test, OpenBGPD 6.8p1, global scenario, IPv6: stopping instances... ---------------------------------------------------------------------- -Ran 172 tests in 139.794s +Ran 344 tests in 281.370s -OK (SKIP=4) +OK (SKIP=8) diff --git a/tests/last_results/live_global_openbgpd_previous.last b/tests/last_results/live_global_openbgpd_previous.last index fd01de1b..61bfbf24 100644 --- a/tests/last_results/live_global_openbgpd_previous.last +++ b/tests/last_results/live_global_openbgpd_previous.last @@ -1,185 +1,185 @@ -Live test, OpenBGPD 6.7, global scenario, IPv4: setting instances up... -Live test, OpenBGPD 6.7, global scenario, IPv4: instances setup ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: sessions are up ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: session configured via local include files ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: good prefixes because of use_arin_bulk_whois_data ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: good prefixes received by rs: IRRdb white-list ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: good prefixes because of use_registrobr_bulk_whois_data ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: good prefixes because of use_rpki_roas_as_route_objects: exact ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: good prefixes because of use_rpki_roas_as_route_objects: covering ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: good prefixes received by rs ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: good prefixes received by rs: non-client NEXT_HOP ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: bad prefixes received by rs: not IPv6 global unicast space ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: bad prefixes received by rs: IRRdb white-list ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: bad prefixes received by rs: AS_SET origin, RFC6907 7.1.9 ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: bad prefixes received by rs: IRR check for AS_SET origin, BIRD ... SKIP: BIRD specific -Live test, OpenBGPD 6.7, global scenario, IPv4: bad prefixes received by rs: IRR check for AS_SET origin, OpenBGPD ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: bad prefixes received by rs: AS_PATH len ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: bad prefixes received by rs: bogon ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: bad prefixes received by rs: client blacklist ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: bad prefixes received by rs: global blacklist ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: bad prefixes received by rs: invalid ASN in AS-PATH ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: bad prefixes received by rs: invalid NEXT_HOP ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: bad prefixes received by rs: left-most ASN ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: bad prefixes received by rs: never via route servers ASN in AS-PATH (asns list) ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: bad prefixes received by rs: never via route servers ASN in AS-PATH (PeeringDB) ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: bad prefixes received by rs: origin not in AS-SET ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: bad prefixes received by rs: prefix not in AS-SET ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: bad prefixes received by rs: invalid prefix-len ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: bad prefixes received by rs: transit-free ASN in AS-PATH ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: bad prefixes received by rs: transit-free ASN in AS-PATH from a transit peer ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: bad prefixes received by rs: unknown NEXT_HOP ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: bad prefixes received by rs: RPKI ROAs as route objects failed ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: bad prefixes received by rs: default route ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: bad prefixes not received by clients ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: bad prefixes received by rs: bogon (wrong tag) ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: bad prefixes received by rs: global blacklist (wrong tag) ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: RPKI, blackhole request for a covered prefix ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: RPKI, invalid prefix (bad ASN) received by rs ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: RPKI, invalid prefix (bad length) received by rs ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: RPKI, invalid prefix (bad ASN) not propagated to clients ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: RPKI, valid prefix received by rs ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: RPKI, valid prefix propagated to clients ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: prefixes from AS101 received by its upstreams ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: prefixes from AS101 received by rs ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: bad communities as seen by AS101 upstreams ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: bad communities scrubbed by rs (lrg) ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: bad communities scrubbed by rs (std) ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: other communities not scrubbed by rs (lrg) ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: other communities not scrubbed by rs (std) ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: blackhole filtering requests as seen by rs (BLACKHOLE) ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: blackhole filtering requests as seen by rs (lrg cust) ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: blackhole filtering requests as seen by rs (std cust) ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: blackholed prefixes as seen by enabled clients (BLACKHOLE) ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: blackholed prefixes as seen by enabled clients (lrg_cust) ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: blackholed prefixes as seen by enabled clients (std_cust) ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: blackholed prefixes not seen by not enabled clients ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: gshut by an enabled client ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: gshut by a not enabled client ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: control communities, announce to AS1 only ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: control communities, don't announce to any ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: control communities, announce to all except AS1 ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: control communities, prepend once to any ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: control communities, prepend twice to any ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: control communities, prepend thrice to any ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: control communities, prepend once to AS1 ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: control communities, prepend twice to AS2 ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: control communities, prepend thrice to AS1, once to others ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: control communities, NO_EXPORT to AS1 ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: control communities, NO_EXPORT to any ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: control communities, RFC1997 NO_EXPORT ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: control communities, RTT, blackhole, not peers > 20 ms ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: control communities, RTT, not peers > 15 ms ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: control communities, RTT, not peers > 5 ms ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: control communities, RTT, not peers > 5 ms + AS3 ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: control communities, RTT, not peers <= 5 and > 100 ms ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: control communities, RTT, only peers <= 15 ms ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: control communities, RTT, only peers <= 5 ms ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: control communities, RTT, ext comms, prepend 1x > 10 ms, 2x > 20 ms ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: control communities, RTT, prepend 3x > 100 ms, 2x > 10 ms ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: control communities, RTT, prepend 3x <= 5 ms, 2x <= 20 ms, 1x any ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: prefixes received by clients: AS1_1 ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: prefixes received by clients: AS1_2 ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: prefixes received by clients: AS2 ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: prefixes received by clients: AS3 ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: prefixes received by clients: AS3 (with ADD-PATH) ... SKIP: ADD-PATH not supported by OpenBGPD -Live test, OpenBGPD 6.7, global scenario, IPv4: reconfigure ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: log contains errors ... ok -Live test, OpenBGPD 6.7, global scenario, IPv4: dumping rs config... -Live test, OpenBGPD 6.7, global scenario, IPv4: dumping routes... -Live test, OpenBGPD 6.7, global scenario, IPv4: stopping instances... -Live test, OpenBGPD 6.7, global scenario, IPv6: setting instances up... -Live test, OpenBGPD 6.7, global scenario, IPv6: instances setup ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: sessions are up ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: session configured via local include files ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: good prefixes because of use_arin_bulk_whois_data ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: good prefixes received by rs: IRRdb white-list ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: good prefixes because of use_registrobr_bulk_whois_data ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: good prefixes because of use_rpki_roas_as_route_objects: exact ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: good prefixes because of use_rpki_roas_as_route_objects: covering ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: good prefixes received by rs ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: good prefixes received by rs: non-client NEXT_HOP ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: bad prefixes received by rs: not IPv6 global unicast space ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: bad prefixes received by rs: IRRdb white-list ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: bad prefixes received by rs: AS_SET origin, RFC6907 7.1.9 ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: bad prefixes received by rs: IRR check for AS_SET origin, BIRD ... SKIP: BIRD specific -Live test, OpenBGPD 6.7, global scenario, IPv6: bad prefixes received by rs: IRR check for AS_SET origin, OpenBGPD ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: bad prefixes received by rs: AS_PATH len ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: bad prefixes received by rs: bogon ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: bad prefixes received by rs: client blacklist ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: bad prefixes received by rs: global blacklist ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: bad prefixes received by rs: invalid ASN in AS-PATH ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: bad prefixes received by rs: invalid NEXT_HOP ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: bad prefixes received by rs: left-most ASN ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: bad prefixes received by rs: never via route servers ASN in AS-PATH (asns list) ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: bad prefixes received by rs: never via route servers ASN in AS-PATH (PeeringDB) ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: bad prefixes received by rs: origin not in AS-SET ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: bad prefixes received by rs: prefix not in AS-SET ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: bad prefixes received by rs: invalid prefix-len ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: bad prefixes received by rs: transit-free ASN in AS-PATH ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: bad prefixes received by rs: transit-free ASN in AS-PATH from a transit peer ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: bad prefixes received by rs: unknown NEXT_HOP ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: bad prefixes received by rs: RPKI ROAs as route objects failed ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: bad prefixes received by rs: default route ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: bad prefixes not received by clients ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: bad prefixes received by rs: bogon (wrong tag) ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: bad prefixes received by rs: global blacklist (wrong tag) ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: RPKI, blackhole request for a covered prefix ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: RPKI, invalid prefix (bad ASN) received by rs ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: RPKI, invalid prefix (bad length) received by rs ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: RPKI, invalid prefix (bad ASN) not propagated to clients ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: RPKI, valid prefix received by rs ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: RPKI, valid prefix propagated to clients ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: prefixes from AS101 received by its upstreams ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: prefixes from AS101 received by rs ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: bad communities as seen by AS101 upstreams ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: bad communities scrubbed by rs (lrg) ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: bad communities scrubbed by rs (std) ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: other communities not scrubbed by rs (lrg) ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: other communities not scrubbed by rs (std) ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: blackhole filtering requests as seen by rs (BLACKHOLE) ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: blackhole filtering requests as seen by rs (lrg cust) ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: blackhole filtering requests as seen by rs (std cust) ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: blackholed prefixes as seen by enabled clients (BLACKHOLE) ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: blackholed prefixes as seen by enabled clients (lrg_cust) ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: blackholed prefixes as seen by enabled clients (std_cust) ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: blackholed prefixes not seen by not enabled clients ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: gshut by an enabled client ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: gshut by a not enabled client ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: control communities, announce to AS1 only ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: control communities, don't announce to any ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: control communities, announce to all except AS1 ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: control communities, prepend once to any ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: control communities, prepend twice to any ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: control communities, prepend thrice to any ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: control communities, prepend once to AS1 ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: control communities, prepend twice to AS2 ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: control communities, prepend thrice to AS1, once to others ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: control communities, NO_EXPORT to AS1 ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: control communities, NO_EXPORT to any ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: control communities, RFC1997 NO_EXPORT ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: control communities, RTT, blackhole, not peers > 20 ms ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: control communities, RTT, not peers > 15 ms ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: control communities, RTT, not peers > 5 ms ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: control communities, RTT, not peers > 5 ms + AS3 ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: control communities, RTT, not peers <= 5 and > 100 ms ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: control communities, RTT, only peers <= 15 ms ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: control communities, RTT, only peers <= 5 ms ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: control communities, RTT, ext comms, prepend 1x > 10 ms, 2x > 20 ms ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: control communities, RTT, prepend 3x > 100 ms, 2x > 10 ms ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: control communities, RTT, prepend 3x <= 5 ms, 2x <= 20 ms, 1x any ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: prefixes received by clients: AS1_1 ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: prefixes received by clients: AS1_2 ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: prefixes received by clients: AS2 ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: prefixes received by clients: AS3 ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: prefixes received by clients: AS3 (with ADD-PATH) ... SKIP: ADD-PATH not supported by OpenBGPD -Live test, OpenBGPD 6.7, global scenario, IPv6: reconfigure ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: log contains errors ... ok -Live test, OpenBGPD 6.7, global scenario, IPv6: dumping rs config... -Live test, OpenBGPD 6.7, global scenario, IPv6: dumping routes... -Live test, OpenBGPD 6.7, global scenario, IPv6: stopping instances... +Live test, OpenBGPD 6.8, global scenario, IPv4: setting instances up... +Live test, OpenBGPD 6.8, global scenario, IPv4: instances setup ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: sessions are up ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: session configured via local include files ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: good prefixes because of use_arin_bulk_whois_data ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: good prefixes received by rs: IRRdb white-list ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: good prefixes because of use_registrobr_bulk_whois_data ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: good prefixes because of use_rpki_roas_as_route_objects: exact ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: good prefixes because of use_rpki_roas_as_route_objects: covering ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: good prefixes received by rs ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: good prefixes received by rs: non-client NEXT_HOP ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: bad prefixes received by rs: not IPv6 global unicast space ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: bad prefixes received by rs: IRRdb white-list ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: bad prefixes received by rs: AS_SET origin, RFC6907 7.1.9 ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: bad prefixes received by rs: IRR check for AS_SET origin, BIRD ... SKIP: BIRD specific +Live test, OpenBGPD 6.8, global scenario, IPv4: bad prefixes received by rs: IRR check for AS_SET origin, OpenBGPD ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: bad prefixes received by rs: AS_PATH len ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: bad prefixes received by rs: bogon ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: bad prefixes received by rs: client blacklist ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: bad prefixes received by rs: global blacklist ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: bad prefixes received by rs: invalid ASN in AS-PATH ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: bad prefixes received by rs: invalid NEXT_HOP ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: bad prefixes received by rs: left-most ASN ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: bad prefixes received by rs: never via route servers ASN in AS-PATH (asns list) ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: bad prefixes received by rs: never via route servers ASN in AS-PATH (PeeringDB) ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: bad prefixes received by rs: origin not in AS-SET ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: bad prefixes received by rs: prefix not in AS-SET ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: bad prefixes received by rs: invalid prefix-len ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: bad prefixes received by rs: transit-free ASN in AS-PATH ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: bad prefixes received by rs: transit-free ASN in AS-PATH from a transit peer ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: bad prefixes received by rs: unknown NEXT_HOP ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: bad prefixes received by rs: RPKI ROAs as route objects failed ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: bad prefixes received by rs: default route ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: bad prefixes not received by clients ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: bad prefixes received by rs: bogon (wrong tag) ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: bad prefixes received by rs: global blacklist (wrong tag) ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: RPKI, blackhole request for a covered prefix ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: RPKI, invalid prefix (bad ASN) received by rs ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: RPKI, invalid prefix (bad length) received by rs ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: RPKI, invalid prefix (bad ASN) not propagated to clients ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: RPKI, valid prefix received by rs ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: RPKI, valid prefix propagated to clients ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: prefixes from AS101 received by its upstreams ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: prefixes from AS101 received by rs ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: bad communities as seen by AS101 upstreams ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: bad communities scrubbed by rs (lrg) ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: bad communities scrubbed by rs (std) ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: other communities not scrubbed by rs (lrg) ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: other communities not scrubbed by rs (std) ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: blackhole filtering requests as seen by rs (BLACKHOLE) ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: blackhole filtering requests as seen by rs (lrg cust) ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: blackhole filtering requests as seen by rs (std cust) ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: blackholed prefixes as seen by enabled clients (BLACKHOLE) ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: blackholed prefixes as seen by enabled clients (lrg_cust) ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: blackholed prefixes as seen by enabled clients (std_cust) ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: blackholed prefixes not seen by not enabled clients ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: gshut by an enabled client ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: gshut by a not enabled client ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: control communities, announce to AS1 only ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: control communities, don't announce to any ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: control communities, announce to all except AS1 ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: control communities, prepend once to any ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: control communities, prepend twice to any ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: control communities, prepend thrice to any ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: control communities, prepend once to AS1 ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: control communities, prepend twice to AS2 ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: control communities, prepend thrice to AS1, once to others ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: control communities, NO_EXPORT to AS1 ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: control communities, NO_EXPORT to any ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: control communities, RFC1997 NO_EXPORT ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: control communities, RTT, blackhole, not peers > 20 ms ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: control communities, RTT, not peers > 15 ms ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: control communities, RTT, not peers > 5 ms ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: control communities, RTT, not peers > 5 ms + AS3 ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: control communities, RTT, not peers <= 5 and > 100 ms ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: control communities, RTT, only peers <= 15 ms ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: control communities, RTT, only peers <= 5 ms ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: control communities, RTT, ext comms, prepend 1x > 10 ms, 2x > 20 ms ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: control communities, RTT, prepend 3x > 100 ms, 2x > 10 ms ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: control communities, RTT, prepend 3x <= 5 ms, 2x <= 20 ms, 1x any ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: prefixes received by clients: AS1_1 ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: prefixes received by clients: AS1_2 ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: prefixes received by clients: AS2 ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: prefixes received by clients: AS3 ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: prefixes received by clients: AS3 (with ADD-PATH) ... SKIP: ADD-PATH not supported by OpenBGPD +Live test, OpenBGPD 6.8, global scenario, IPv4: reconfigure ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: log contains errors ... ok +Live test, OpenBGPD 6.8, global scenario, IPv4: dumping rs config... +Live test, OpenBGPD 6.8, global scenario, IPv4: dumping routes... +Live test, OpenBGPD 6.8, global scenario, IPv4: stopping instances... +Live test, OpenBGPD 6.8, global scenario, IPv6: setting instances up... +Live test, OpenBGPD 6.8, global scenario, IPv6: instances setup ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: sessions are up ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: session configured via local include files ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: good prefixes because of use_arin_bulk_whois_data ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: good prefixes received by rs: IRRdb white-list ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: good prefixes because of use_registrobr_bulk_whois_data ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: good prefixes because of use_rpki_roas_as_route_objects: exact ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: good prefixes because of use_rpki_roas_as_route_objects: covering ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: good prefixes received by rs ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: good prefixes received by rs: non-client NEXT_HOP ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: bad prefixes received by rs: not IPv6 global unicast space ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: bad prefixes received by rs: IRRdb white-list ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: bad prefixes received by rs: AS_SET origin, RFC6907 7.1.9 ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: bad prefixes received by rs: IRR check for AS_SET origin, BIRD ... SKIP: BIRD specific +Live test, OpenBGPD 6.8, global scenario, IPv6: bad prefixes received by rs: IRR check for AS_SET origin, OpenBGPD ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: bad prefixes received by rs: AS_PATH len ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: bad prefixes received by rs: bogon ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: bad prefixes received by rs: client blacklist ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: bad prefixes received by rs: global blacklist ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: bad prefixes received by rs: invalid ASN in AS-PATH ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: bad prefixes received by rs: invalid NEXT_HOP ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: bad prefixes received by rs: left-most ASN ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: bad prefixes received by rs: never via route servers ASN in AS-PATH (asns list) ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: bad prefixes received by rs: never via route servers ASN in AS-PATH (PeeringDB) ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: bad prefixes received by rs: origin not in AS-SET ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: bad prefixes received by rs: prefix not in AS-SET ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: bad prefixes received by rs: invalid prefix-len ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: bad prefixes received by rs: transit-free ASN in AS-PATH ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: bad prefixes received by rs: transit-free ASN in AS-PATH from a transit peer ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: bad prefixes received by rs: unknown NEXT_HOP ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: bad prefixes received by rs: RPKI ROAs as route objects failed ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: bad prefixes received by rs: default route ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: bad prefixes not received by clients ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: bad prefixes received by rs: bogon (wrong tag) ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: bad prefixes received by rs: global blacklist (wrong tag) ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: RPKI, blackhole request for a covered prefix ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: RPKI, invalid prefix (bad ASN) received by rs ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: RPKI, invalid prefix (bad length) received by rs ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: RPKI, invalid prefix (bad ASN) not propagated to clients ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: RPKI, valid prefix received by rs ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: RPKI, valid prefix propagated to clients ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: prefixes from AS101 received by its upstreams ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: prefixes from AS101 received by rs ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: bad communities as seen by AS101 upstreams ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: bad communities scrubbed by rs (lrg) ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: bad communities scrubbed by rs (std) ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: other communities not scrubbed by rs (lrg) ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: other communities not scrubbed by rs (std) ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: blackhole filtering requests as seen by rs (BLACKHOLE) ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: blackhole filtering requests as seen by rs (lrg cust) ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: blackhole filtering requests as seen by rs (std cust) ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: blackholed prefixes as seen by enabled clients (BLACKHOLE) ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: blackholed prefixes as seen by enabled clients (lrg_cust) ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: blackholed prefixes as seen by enabled clients (std_cust) ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: blackholed prefixes not seen by not enabled clients ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: gshut by an enabled client ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: gshut by a not enabled client ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: control communities, announce to AS1 only ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: control communities, don't announce to any ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: control communities, announce to all except AS1 ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: control communities, prepend once to any ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: control communities, prepend twice to any ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: control communities, prepend thrice to any ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: control communities, prepend once to AS1 ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: control communities, prepend twice to AS2 ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: control communities, prepend thrice to AS1, once to others ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: control communities, NO_EXPORT to AS1 ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: control communities, NO_EXPORT to any ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: control communities, RFC1997 NO_EXPORT ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: control communities, RTT, blackhole, not peers > 20 ms ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: control communities, RTT, not peers > 15 ms ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: control communities, RTT, not peers > 5 ms ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: control communities, RTT, not peers > 5 ms + AS3 ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: control communities, RTT, not peers <= 5 and > 100 ms ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: control communities, RTT, only peers <= 15 ms ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: control communities, RTT, only peers <= 5 ms ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: control communities, RTT, ext comms, prepend 1x > 10 ms, 2x > 20 ms ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: control communities, RTT, prepend 3x > 100 ms, 2x > 10 ms ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: control communities, RTT, prepend 3x <= 5 ms, 2x <= 20 ms, 1x any ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: prefixes received by clients: AS1_1 ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: prefixes received by clients: AS1_2 ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: prefixes received by clients: AS2 ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: prefixes received by clients: AS3 ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: prefixes received by clients: AS3 (with ADD-PATH) ... SKIP: ADD-PATH not supported by OpenBGPD +Live test, OpenBGPD 6.8, global scenario, IPv6: reconfigure ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: log contains errors ... ok +Live test, OpenBGPD 6.8, global scenario, IPv6: dumping rs config... +Live test, OpenBGPD 6.8, global scenario, IPv6: dumping routes... +Live test, OpenBGPD 6.8, global scenario, IPv6: stopping instances... ---------------------------------------------------------------------- -Ran 172 tests in 193.583s +Ran 172 tests in 200.350s OK (SKIP=4) diff --git a/tests/last_results/live_gshut_openbgpd_latest.last b/tests/last_results/live_gshut_openbgpd_latest.last index 9b56a7cc..806402e5 100644 --- a/tests/last_results/live_gshut_openbgpd_latest.last +++ b/tests/last_results/live_gshut_openbgpd_latest.last @@ -1,23 +1,23 @@ -Live test, OpenBGPD 6.8, gshut, IPv4: setting instances up... -Live test, OpenBGPD 6.8, gshut, IPv4: instances setup ... ok -Live test, OpenBGPD 6.8, gshut, IPv4: sessions are up ... ok -Live test, OpenBGPD 6.8, gshut, IPv4: clients receive routes tagged with GRACEFUL_SHUTDOWN ... ok -Live test, OpenBGPD 6.8, gshut, IPv4: reconfigure ... ok -Live test, OpenBGPD 6.8, gshut, IPv4: log contains errors ... ok -Live test, OpenBGPD 6.8, gshut, IPv4: dumping rs config... -Live test, OpenBGPD 6.8, gshut, IPv4: dumping routes... -Live test, OpenBGPD 6.8, gshut, IPv4: stopping instances... -Live test, OpenBGPD 6.8, gshut, IPv6: setting instances up... -Live test, OpenBGPD 6.8, gshut, IPv6: instances setup ... ok -Live test, OpenBGPD 6.8, gshut, IPv6: sessions are up ... ok -Live test, OpenBGPD 6.8, gshut, IPv6: clients receive routes tagged with GRACEFUL_SHUTDOWN ... ok -Live test, OpenBGPD 6.8, gshut, IPv6: reconfigure ... ok -Live test, OpenBGPD 6.8, gshut, IPv6: log contains errors ... ok -Live test, OpenBGPD 6.8, gshut, IPv6: dumping rs config... -Live test, OpenBGPD 6.8, gshut, IPv6: dumping routes... -Live test, OpenBGPD 6.8, gshut, IPv6: stopping instances... +Live test, OpenBGPD 6.9, gshut, IPv4: setting instances up... +Live test, OpenBGPD 6.9, gshut, IPv4: instances setup ... ok +Live test, OpenBGPD 6.9, gshut, IPv4: sessions are up ... ok +Live test, OpenBGPD 6.9, gshut, IPv4: clients receive routes tagged with GRACEFUL_SHUTDOWN ... ok +Live test, OpenBGPD 6.9, gshut, IPv4: reconfigure ... ok +Live test, OpenBGPD 6.9, gshut, IPv4: log contains errors ... ok +Live test, OpenBGPD 6.9, gshut, IPv4: dumping rs config... +Live test, OpenBGPD 6.9, gshut, IPv4: dumping routes... +Live test, OpenBGPD 6.9, gshut, IPv4: stopping instances... +Live test, OpenBGPD 6.9, gshut, IPv6: setting instances up... +Live test, OpenBGPD 6.9, gshut, IPv6: instances setup ... ok +Live test, OpenBGPD 6.9, gshut, IPv6: sessions are up ... ok +Live test, OpenBGPD 6.9, gshut, IPv6: clients receive routes tagged with GRACEFUL_SHUTDOWN ... ok +Live test, OpenBGPD 6.9, gshut, IPv6: reconfigure ... ok +Live test, OpenBGPD 6.9, gshut, IPv6: log contains errors ... ok +Live test, OpenBGPD 6.9, gshut, IPv6: dumping rs config... +Live test, OpenBGPD 6.9, gshut, IPv6: dumping routes... +Live test, OpenBGPD 6.9, gshut, IPv6: stopping instances... ---------------------------------------------------------------------- -Ran 10 tests in 83.168s +Ran 10 tests in 83.536s OK diff --git a/tests/last_results/live_gshut_openbgpd_portable.last b/tests/last_results/live_gshut_openbgpd_portable.last index 3953c926..cf6f0c37 100644 --- a/tests/last_results/live_gshut_openbgpd_portable.last +++ b/tests/last_results/live_gshut_openbgpd_portable.last @@ -1,23 +1,23 @@ -Live test, OpenBGPD 6.8p1, gshut, IPv4: setting instances up... -Live test, OpenBGPD 6.8p1, gshut, IPv4: instances setup ... ok -Live test, OpenBGPD 6.8p1, gshut, IPv4: sessions are up ... ok -Live test, OpenBGPD 6.8p1, gshut, IPv4: clients receive routes tagged with GRACEFUL_SHUTDOWN ... ok -Live test, OpenBGPD 6.8p1, gshut, IPv4: reconfigure ... ok -Live test, OpenBGPD 6.8p1, gshut, IPv4: log contains errors ... ok -Live test, OpenBGPD 6.8p1, gshut, IPv4: dumping rs config... -Live test, OpenBGPD 6.8p1, gshut, IPv4: dumping routes... -Live test, OpenBGPD 6.8p1, gshut, IPv4: stopping instances... -Live test, OpenBGPD 6.8p1, gshut, IPv6: setting instances up... -Live test, OpenBGPD 6.8p1, gshut, IPv6: instances setup ... ok -Live test, OpenBGPD 6.8p1, gshut, IPv6: sessions are up ... ok -Live test, OpenBGPD 6.8p1, gshut, IPv6: clients receive routes tagged with GRACEFUL_SHUTDOWN ... ok -Live test, OpenBGPD 6.8p1, gshut, IPv6: reconfigure ... ok -Live test, OpenBGPD 6.8p1, gshut, IPv6: log contains errors ... ok -Live test, OpenBGPD 6.8p1, gshut, IPv6: dumping rs config... -Live test, OpenBGPD 6.8p1, gshut, IPv6: dumping routes... -Live test, OpenBGPD 6.8p1, gshut, IPv6: stopping instances... +Live test, OpenBGPD 6.9p0, gshut, IPv4: setting instances up... +Live test, OpenBGPD 6.9p0, gshut, IPv4: instances setup ... ok +Live test, OpenBGPD 6.9p0, gshut, IPv4: sessions are up ... ok +Live test, OpenBGPD 6.9p0, gshut, IPv4: clients receive routes tagged with GRACEFUL_SHUTDOWN ... ok +Live test, OpenBGPD 6.9p0, gshut, IPv4: reconfigure ... ok +Live test, OpenBGPD 6.9p0, gshut, IPv4: log contains errors ... ok +Live test, OpenBGPD 6.9p0, gshut, IPv4: dumping rs config... +Live test, OpenBGPD 6.9p0, gshut, IPv4: dumping routes... +Live test, OpenBGPD 6.9p0, gshut, IPv4: stopping instances... +Live test, OpenBGPD 6.9p0, gshut, IPv6: setting instances up... +Live test, OpenBGPD 6.9p0, gshut, IPv6: instances setup ... ok +Live test, OpenBGPD 6.9p0, gshut, IPv6: sessions are up ... ok +Live test, OpenBGPD 6.9p0, gshut, IPv6: clients receive routes tagged with GRACEFUL_SHUTDOWN ... ok +Live test, OpenBGPD 6.9p0, gshut, IPv6: reconfigure ... ok +Live test, OpenBGPD 6.9p0, gshut, IPv6: log contains errors ... ok +Live test, OpenBGPD 6.9p0, gshut, IPv6: dumping rs config... +Live test, OpenBGPD 6.9p0, gshut, IPv6: dumping routes... +Live test, OpenBGPD 6.9p0, gshut, IPv6: stopping instances... ---------------------------------------------------------------------- -Ran 10 tests in 44.698s +Ran 10 tests in 50.247s OK diff --git a/tests/last_results/live_gshut_openbgpd_previous.last b/tests/last_results/live_gshut_openbgpd_previous.last index fb72ef40..aa56d0fa 100644 --- a/tests/last_results/live_gshut_openbgpd_previous.last +++ b/tests/last_results/live_gshut_openbgpd_previous.last @@ -1,23 +1,23 @@ -Live test, OpenBGPD 6.7, gshut, IPv4: setting instances up... -Live test, OpenBGPD 6.7, gshut, IPv4: instances setup ... ok -Live test, OpenBGPD 6.7, gshut, IPv4: sessions are up ... ok -Live test, OpenBGPD 6.7, gshut, IPv4: clients receive routes tagged with GRACEFUL_SHUTDOWN ... ok -Live test, OpenBGPD 6.7, gshut, IPv4: reconfigure ... ok -Live test, OpenBGPD 6.7, gshut, IPv4: log contains errors ... ok -Live test, OpenBGPD 6.7, gshut, IPv4: dumping rs config... -Live test, OpenBGPD 6.7, gshut, IPv4: dumping routes... -Live test, OpenBGPD 6.7, gshut, IPv4: stopping instances... -Live test, OpenBGPD 6.7, gshut, IPv6: setting instances up... -Live test, OpenBGPD 6.7, gshut, IPv6: instances setup ... ok -Live test, OpenBGPD 6.7, gshut, IPv6: sessions are up ... ok -Live test, OpenBGPD 6.7, gshut, IPv6: clients receive routes tagged with GRACEFUL_SHUTDOWN ... ok -Live test, OpenBGPD 6.7, gshut, IPv6: reconfigure ... ok -Live test, OpenBGPD 6.7, gshut, IPv6: log contains errors ... ok -Live test, OpenBGPD 6.7, gshut, IPv6: dumping rs config... -Live test, OpenBGPD 6.7, gshut, IPv6: dumping routes... -Live test, OpenBGPD 6.7, gshut, IPv6: stopping instances... +Live test, OpenBGPD 6.8, gshut, IPv4: setting instances up... +Live test, OpenBGPD 6.8, gshut, IPv4: instances setup ... ok +Live test, OpenBGPD 6.8, gshut, IPv4: sessions are up ... ok +Live test, OpenBGPD 6.8, gshut, IPv4: clients receive routes tagged with GRACEFUL_SHUTDOWN ... ok +Live test, OpenBGPD 6.8, gshut, IPv4: reconfigure ... ok +Live test, OpenBGPD 6.8, gshut, IPv4: log contains errors ... ok +Live test, OpenBGPD 6.8, gshut, IPv4: dumping rs config... +Live test, OpenBGPD 6.8, gshut, IPv4: dumping routes... +Live test, OpenBGPD 6.8, gshut, IPv4: stopping instances... +Live test, OpenBGPD 6.8, gshut, IPv6: setting instances up... +Live test, OpenBGPD 6.8, gshut, IPv6: instances setup ... ok +Live test, OpenBGPD 6.8, gshut, IPv6: sessions are up ... ok +Live test, OpenBGPD 6.8, gshut, IPv6: clients receive routes tagged with GRACEFUL_SHUTDOWN ... ok +Live test, OpenBGPD 6.8, gshut, IPv6: reconfigure ... ok +Live test, OpenBGPD 6.8, gshut, IPv6: log contains errors ... ok +Live test, OpenBGPD 6.8, gshut, IPv6: dumping rs config... +Live test, OpenBGPD 6.8, gshut, IPv6: dumping routes... +Live test, OpenBGPD 6.8, gshut, IPv6: stopping instances... ---------------------------------------------------------------------- -Ran 10 tests in 82.938s +Ran 10 tests in 81.625s OK diff --git a/tests/last_results/live_max_prefix_openbgpd_latest.last b/tests/last_results/live_max_prefix_openbgpd_latest.last index e9dc513e..3bc5f5a6 100644 --- a/tests/last_results/live_max_prefix_openbgpd_latest.last +++ b/tests/last_results/live_max_prefix_openbgpd_latest.last @@ -1,23 +1,23 @@ -Live test, OpenBGPD 6.8, max-prefix, IPv4: setting instances up... -Live test, OpenBGPD 6.8, max-prefix, IPv4: instances setup ... ok -Live test, OpenBGPD 6.8, max-prefix, IPv4: sessions are down ... ok -Live test, OpenBGPD 6.8, max-prefix, IPv4: clients log max-prefix notification ... ok -Live test, OpenBGPD 6.8, max-prefix, IPv4: reconfigure ... ok -Live test, OpenBGPD 6.8, max-prefix, IPv4: log contains errors ... ok -Live test, OpenBGPD 6.8, max-prefix, IPv4: dumping rs config... -Live test, OpenBGPD 6.8, max-prefix, IPv4: dumping routes... -Live test, OpenBGPD 6.8, max-prefix, IPv4: stopping instances... -Live test, OpenBGPD 6.8, max-prefix, IPv6: setting instances up... -Live test, OpenBGPD 6.8, max-prefix, IPv6: instances setup ... ok -Live test, OpenBGPD 6.8, max-prefix, IPv6: sessions are down ... ok -Live test, OpenBGPD 6.8, max-prefix, IPv6: clients log max-prefix notification ... ok -Live test, OpenBGPD 6.8, max-prefix, IPv6: reconfigure ... ok -Live test, OpenBGPD 6.8, max-prefix, IPv6: log contains errors ... ok -Live test, OpenBGPD 6.8, max-prefix, IPv6: dumping rs config... -Live test, OpenBGPD 6.8, max-prefix, IPv6: dumping routes... -Live test, OpenBGPD 6.8, max-prefix, IPv6: stopping instances... +Live test, OpenBGPD 6.9, max-prefix, IPv4: setting instances up... +Live test, OpenBGPD 6.9, max-prefix, IPv4: instances setup ... ok +Live test, OpenBGPD 6.9, max-prefix, IPv4: sessions are down ... ok +Live test, OpenBGPD 6.9, max-prefix, IPv4: clients log max-prefix notification ... ok +Live test, OpenBGPD 6.9, max-prefix, IPv4: reconfigure ... ok +Live test, OpenBGPD 6.9, max-prefix, IPv4: log contains errors ... ok +Live test, OpenBGPD 6.9, max-prefix, IPv4: dumping rs config... +Live test, OpenBGPD 6.9, max-prefix, IPv4: dumping routes... +Live test, OpenBGPD 6.9, max-prefix, IPv4: stopping instances... +Live test, OpenBGPD 6.9, max-prefix, IPv6: setting instances up... +Live test, OpenBGPD 6.9, max-prefix, IPv6: instances setup ... ok +Live test, OpenBGPD 6.9, max-prefix, IPv6: sessions are down ... ok +Live test, OpenBGPD 6.9, max-prefix, IPv6: clients log max-prefix notification ... ok +Live test, OpenBGPD 6.9, max-prefix, IPv6: reconfigure ... ok +Live test, OpenBGPD 6.9, max-prefix, IPv6: log contains errors ... ok +Live test, OpenBGPD 6.9, max-prefix, IPv6: dumping rs config... +Live test, OpenBGPD 6.9, max-prefix, IPv6: dumping routes... +Live test, OpenBGPD 6.9, max-prefix, IPv6: stopping instances... ---------------------------------------------------------------------- -Ran 10 tests in 444.942s +Ran 10 tests in 444.322s OK diff --git a/tests/last_results/live_max_prefix_openbgpd_portable.last b/tests/last_results/live_max_prefix_openbgpd_portable.last index 2b94d126..ed51d690 100644 --- a/tests/last_results/live_max_prefix_openbgpd_portable.last +++ b/tests/last_results/live_max_prefix_openbgpd_portable.last @@ -1,23 +1,23 @@ -Live test, OpenBGPD 6.8p1, max-prefix, IPv4: setting instances up... -Live test, OpenBGPD 6.8p1, max-prefix, IPv4: instances setup ... ok -Live test, OpenBGPD 6.8p1, max-prefix, IPv4: sessions are down ... ok -Live test, OpenBGPD 6.8p1, max-prefix, IPv4: clients log max-prefix notification ... ok -Live test, OpenBGPD 6.8p1, max-prefix, IPv4: reconfigure ... ok -Live test, OpenBGPD 6.8p1, max-prefix, IPv4: log contains errors ... ok -Live test, OpenBGPD 6.8p1, max-prefix, IPv4: dumping rs config... -Live test, OpenBGPD 6.8p1, max-prefix, IPv4: dumping routes... -Live test, OpenBGPD 6.8p1, max-prefix, IPv4: stopping instances... -Live test, OpenBGPD 6.8p1, max-prefix, IPv6: setting instances up... -Live test, OpenBGPD 6.8p1, max-prefix, IPv6: instances setup ... ok -Live test, OpenBGPD 6.8p1, max-prefix, IPv6: sessions are down ... ok -Live test, OpenBGPD 6.8p1, max-prefix, IPv6: clients log max-prefix notification ... ok -Live test, OpenBGPD 6.8p1, max-prefix, IPv6: reconfigure ... ok -Live test, OpenBGPD 6.8p1, max-prefix, IPv6: log contains errors ... ok -Live test, OpenBGPD 6.8p1, max-prefix, IPv6: dumping rs config... -Live test, OpenBGPD 6.8p1, max-prefix, IPv6: dumping routes... -Live test, OpenBGPD 6.8p1, max-prefix, IPv6: stopping instances... +Live test, OpenBGPD 6.9p0, max-prefix, IPv4: setting instances up... +Live test, OpenBGPD 6.9p0, max-prefix, IPv4: instances setup ... ok +Live test, OpenBGPD 6.9p0, max-prefix, IPv4: sessions are down ... ok +Live test, OpenBGPD 6.9p0, max-prefix, IPv4: clients log max-prefix notification ... ok +Live test, OpenBGPD 6.9p0, max-prefix, IPv4: reconfigure ... ok +Live test, OpenBGPD 6.9p0, max-prefix, IPv4: log contains errors ... ok +Live test, OpenBGPD 6.9p0, max-prefix, IPv4: dumping rs config... +Live test, OpenBGPD 6.9p0, max-prefix, IPv4: dumping routes... +Live test, OpenBGPD 6.9p0, max-prefix, IPv4: stopping instances... +Live test, OpenBGPD 6.9p0, max-prefix, IPv6: setting instances up... +Live test, OpenBGPD 6.9p0, max-prefix, IPv6: instances setup ... ok +Live test, OpenBGPD 6.9p0, max-prefix, IPv6: sessions are down ... ok +Live test, OpenBGPD 6.9p0, max-prefix, IPv6: clients log max-prefix notification ... ok +Live test, OpenBGPD 6.9p0, max-prefix, IPv6: reconfigure ... ok +Live test, OpenBGPD 6.9p0, max-prefix, IPv6: log contains errors ... ok +Live test, OpenBGPD 6.9p0, max-prefix, IPv6: dumping rs config... +Live test, OpenBGPD 6.9p0, max-prefix, IPv6: dumping routes... +Live test, OpenBGPD 6.9p0, max-prefix, IPv6: stopping instances... ---------------------------------------------------------------------- -Ran 10 tests in 325.578s +Ran 10 tests in 327.849s OK diff --git a/tests/last_results/live_max_prefix_openbgpd_previous.last b/tests/last_results/live_max_prefix_openbgpd_previous.last index 523b6277..347c5843 100644 --- a/tests/last_results/live_max_prefix_openbgpd_previous.last +++ b/tests/last_results/live_max_prefix_openbgpd_previous.last @@ -1,23 +1,23 @@ -Live test, OpenBGPD 6.7, max-prefix, IPv4: setting instances up... -Live test, OpenBGPD 6.7, max-prefix, IPv4: instances setup ... ok -Live test, OpenBGPD 6.7, max-prefix, IPv4: sessions are down ... ok -Live test, OpenBGPD 6.7, max-prefix, IPv4: clients log max-prefix notification ... ok -Live test, OpenBGPD 6.7, max-prefix, IPv4: reconfigure ... ok -Live test, OpenBGPD 6.7, max-prefix, IPv4: log contains errors ... ok -Live test, OpenBGPD 6.7, max-prefix, IPv4: dumping rs config... -Live test, OpenBGPD 6.7, max-prefix, IPv4: dumping routes... -Live test, OpenBGPD 6.7, max-prefix, IPv4: stopping instances... -Live test, OpenBGPD 6.7, max-prefix, IPv6: setting instances up... -Live test, OpenBGPD 6.7, max-prefix, IPv6: instances setup ... ok -Live test, OpenBGPD 6.7, max-prefix, IPv6: sessions are down ... ok -Live test, OpenBGPD 6.7, max-prefix, IPv6: clients log max-prefix notification ... ok -Live test, OpenBGPD 6.7, max-prefix, IPv6: reconfigure ... ok -Live test, OpenBGPD 6.7, max-prefix, IPv6: log contains errors ... ok -Live test, OpenBGPD 6.7, max-prefix, IPv6: dumping rs config... -Live test, OpenBGPD 6.7, max-prefix, IPv6: dumping routes... -Live test, OpenBGPD 6.7, max-prefix, IPv6: stopping instances... +Live test, OpenBGPD 6.8, max-prefix, IPv4: setting instances up... +Live test, OpenBGPD 6.8, max-prefix, IPv4: instances setup ... ok +Live test, OpenBGPD 6.8, max-prefix, IPv4: sessions are down ... ok +Live test, OpenBGPD 6.8, max-prefix, IPv4: clients log max-prefix notification ... ok +Live test, OpenBGPD 6.8, max-prefix, IPv4: reconfigure ... ok +Live test, OpenBGPD 6.8, max-prefix, IPv4: log contains errors ... ok +Live test, OpenBGPD 6.8, max-prefix, IPv4: dumping rs config... +Live test, OpenBGPD 6.8, max-prefix, IPv4: dumping routes... +Live test, OpenBGPD 6.8, max-prefix, IPv4: stopping instances... +Live test, OpenBGPD 6.8, max-prefix, IPv6: setting instances up... +Live test, OpenBGPD 6.8, max-prefix, IPv6: instances setup ... ok +Live test, OpenBGPD 6.8, max-prefix, IPv6: sessions are down ... ok +Live test, OpenBGPD 6.8, max-prefix, IPv6: clients log max-prefix notification ... ok +Live test, OpenBGPD 6.8, max-prefix, IPv6: reconfigure ... ok +Live test, OpenBGPD 6.8, max-prefix, IPv6: log contains errors ... ok +Live test, OpenBGPD 6.8, max-prefix, IPv6: dumping rs config... +Live test, OpenBGPD 6.8, max-prefix, IPv6: dumping routes... +Live test, OpenBGPD 6.8, max-prefix, IPv6: stopping instances... ---------------------------------------------------------------------- -Ran 10 tests in 445.637s +Ran 10 tests in 445.562s OK diff --git a/tests/last_results/live_path_hiding_openbgpd_latest.last b/tests/last_results/live_path_hiding_openbgpd_latest.last index 492e5fd7..4b463a57 100644 --- a/tests/last_results/live_path_hiding_openbgpd_latest.last +++ b/tests/last_results/live_path_hiding_openbgpd_latest.last @@ -1,57 +1,59 @@ -Live test, OpenBGPD 6.8, path hiding, mitigation off, IPv4: setting instances up... -Live test, OpenBGPD 6.8, path hiding, mitigation off, IPv4: instances setup ... ok -Live test, OpenBGPD 6.8, path hiding, mitigation off, IPv4: sessions are up ... ok -Live test, OpenBGPD 6.8, path hiding, mitigation off, IPv4: rs should receive prefix from both AS1 and AS2 ... ok -Live test, OpenBGPD 6.8, path hiding, mitigation off, IPv4: rs should have best toward AS1 ... ok -Live test, OpenBGPD 6.8, path hiding, mitigation off, IPv4: AS1 wants rs to not announce to AS3 and AS4 ... ok -Live test, OpenBGPD 6.8, path hiding, mitigation off, IPv4: AS3 does not receive prefix at all ... ok -Live test, OpenBGPD 6.8, path hiding, mitigation off, IPv4: AS4 receives the prefix via AS2 because of ADD-PATH ... SKIP: ADD-PATH not supported by OpenBGPD -Live test, OpenBGPD 6.8, path hiding, mitigation off, IPv4: reconfigure ... ok -Live test, OpenBGPD 6.8, path hiding, mitigation off, IPv4: log contains errors ... ok -Live test, OpenBGPD 6.8, path hiding, mitigation off, IPv4: dumping rs config... -Live test, OpenBGPD 6.8, path hiding, mitigation off, IPv4: dumping routes... -Live test, OpenBGPD 6.8, path hiding, mitigation off, IPv4: stopping instances... -Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv4: setting instances up... -Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv4: instances setup ... ok -Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv4: sessions are up ... ok -Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv4: rs should receive prefix from both AS1 and AS2 ... ok -Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv4: rs should have best toward AS1 ... ok -Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv4: AS1 wants rs to not announce to AS3 and AS4 ... ok -Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv4: AS3 and AS4 receive prefix with sub-optimal path via AS2 ... SKIP: Work in progress -Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv4: AS3 and AS4 don't receive prefix via AS1 ... ok -Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv4: reconfigure ... ok -Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv4: log contains errors ... ok -Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv4: dumping rs config... -Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv4: dumping routes... -Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv4: stopping instances... -Live test, OpenBGPD 6.8, path hiding, mitigation off, IPv6: setting instances up... -Live test, OpenBGPD 6.8, path hiding, mitigation off, IPv6: instances setup ... ok -Live test, OpenBGPD 6.8, path hiding, mitigation off, IPv6: sessions are up ... ok -Live test, OpenBGPD 6.8, path hiding, mitigation off, IPv6: rs should receive prefix from both AS1 and AS2 ... ok -Live test, OpenBGPD 6.8, path hiding, mitigation off, IPv6: rs should have best toward AS1 ... ok -Live test, OpenBGPD 6.8, path hiding, mitigation off, IPv6: AS1 wants rs to not announce to AS3 and AS4 ... ok -Live test, OpenBGPD 6.8, path hiding, mitigation off, IPv6: AS3 does not receive prefix at all ... ok -Live test, OpenBGPD 6.8, path hiding, mitigation off, IPv6: AS4 receives the prefix via AS2 because of ADD-PATH ... SKIP: ADD-PATH not supported by OpenBGPD -Live test, OpenBGPD 6.8, path hiding, mitigation off, IPv6: reconfigure ... ok -Live test, OpenBGPD 6.8, path hiding, mitigation off, IPv6: log contains errors ... ok -Live test, OpenBGPD 6.8, path hiding, mitigation off, IPv6: dumping rs config... -Live test, OpenBGPD 6.8, path hiding, mitigation off, IPv6: dumping routes... -Live test, OpenBGPD 6.8, path hiding, mitigation off, IPv6: stopping instances... -Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv6: setting instances up... -Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv6: instances setup ... ok -Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv6: sessions are up ... ok -Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv6: rs should receive prefix from both AS1 and AS2 ... ok -Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv6: rs should have best toward AS1 ... ok -Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv6: AS1 wants rs to not announce to AS3 and AS4 ... ok -Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv6: AS3 and AS4 receive prefix with sub-optimal path via AS2 ... SKIP: Work in progress -Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv6: AS3 and AS4 don't receive prefix via AS1 ... ok -Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv6: reconfigure ... ok -Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv6: log contains errors ... ok -Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv6: dumping rs config... -Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv6: dumping routes... -Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv6: stopping instances... +Live test, OpenBGPD 6.9, path hiding, mitigation off, IPv4: setting instances up... +Live test, OpenBGPD 6.9, path hiding, mitigation off, IPv4: instances setup ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation off, IPv4: sessions are up ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation off, IPv4: rs should receive prefix from both AS1 and AS2 ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation off, IPv4: rs should have best toward AS1 ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation off, IPv4: AS1 wants rs to not announce to AS3 and AS4 ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation off, IPv4: AS3 does not receive prefix at all ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation off, IPv4: AS4 receives the prefix via AS2 because of ADD-PATH ... SKIP: ADD-PATH not supported by OpenBGPD +Live test, OpenBGPD 6.9, path hiding, mitigation off, IPv4: reconfigure ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation off, IPv4: log contains errors ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation off, IPv4: dumping rs config... +Live test, OpenBGPD 6.9, path hiding, mitigation off, IPv4: dumping routes... +Live test, OpenBGPD 6.9, path hiding, mitigation off, IPv4: stopping instances... +Live test, OpenBGPD 6.9, path hiding, mitigation on, IPv4: setting instances up... +Live test, OpenBGPD 6.9, path hiding, mitigation on, IPv4: instances setup ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation on, IPv4: sessions are up ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation on, IPv4: rs should receive prefix from both AS1 and AS2 ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation on, IPv4: rs should have best toward AS1 ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation on, IPv4: AS1 wants rs to not announce to AS3 and AS4 ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation on, IPv4: AS3 and AS4 receive prefix with sub-optimal path via AS2 ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation on, IPv4: AS3 and AS4 don't receive prefix via AS1 ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation on, IPv4: 2nd best is withdrawn and AS3 should not see it anymore ... SKIP: OpenBSD version not patched +Live test, OpenBGPD 6.9, path hiding, mitigation on, IPv4: reconfigure ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation on, IPv4: log contains errors ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation on, IPv4: dumping rs config... +Live test, OpenBGPD 6.9, path hiding, mitigation on, IPv4: dumping routes... +Live test, OpenBGPD 6.9, path hiding, mitigation on, IPv4: stopping instances... +Live test, OpenBGPD 6.9, path hiding, mitigation off, IPv6: setting instances up... +Live test, OpenBGPD 6.9, path hiding, mitigation off, IPv6: instances setup ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation off, IPv6: sessions are up ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation off, IPv6: rs should receive prefix from both AS1 and AS2 ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation off, IPv6: rs should have best toward AS1 ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation off, IPv6: AS1 wants rs to not announce to AS3 and AS4 ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation off, IPv6: AS3 does not receive prefix at all ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation off, IPv6: AS4 receives the prefix via AS2 because of ADD-PATH ... SKIP: ADD-PATH not supported by OpenBGPD +Live test, OpenBGPD 6.9, path hiding, mitigation off, IPv6: reconfigure ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation off, IPv6: log contains errors ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation off, IPv6: dumping rs config... +Live test, OpenBGPD 6.9, path hiding, mitigation off, IPv6: dumping routes... +Live test, OpenBGPD 6.9, path hiding, mitigation off, IPv6: stopping instances... +Live test, OpenBGPD 6.9, path hiding, mitigation on, IPv6: setting instances up... +Live test, OpenBGPD 6.9, path hiding, mitigation on, IPv6: instances setup ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation on, IPv6: sessions are up ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation on, IPv6: rs should receive prefix from both AS1 and AS2 ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation on, IPv6: rs should have best toward AS1 ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation on, IPv6: AS1 wants rs to not announce to AS3 and AS4 ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation on, IPv6: AS3 and AS4 receive prefix with sub-optimal path via AS2 ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation on, IPv6: AS3 and AS4 don't receive prefix via AS1 ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation on, IPv6: 2nd best is withdrawn and AS3 should not see it anymore ... SKIP: OpenBSD version not patched +Live test, OpenBGPD 6.9, path hiding, mitigation on, IPv6: reconfigure ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation on, IPv6: log contains errors ... ok +Live test, OpenBGPD 6.9, path hiding, mitigation on, IPv6: dumping rs config... +Live test, OpenBGPD 6.9, path hiding, mitigation on, IPv6: dumping routes... +Live test, OpenBGPD 6.9, path hiding, mitigation on, IPv6: stopping instances... ---------------------------------------------------------------------- -Ran 36 tests in 242.400s +Ran 38 tests in 235.044s OK (SKIP=4) diff --git a/tests/last_results/live_path_hiding_openbgpd_portable.last b/tests/last_results/live_path_hiding_openbgpd_portable.last index 70e28f4b..a31e899b 100644 --- a/tests/last_results/live_path_hiding_openbgpd_portable.last +++ b/tests/last_results/live_path_hiding_openbgpd_portable.last @@ -1,57 +1,59 @@ -Live test, OpenBGPD 6.8p1, path hiding, mitigation off, IPv4: setting instances up... -Live test, OpenBGPD 6.8p1, path hiding, mitigation off, IPv4: instances setup ... ok -Live test, OpenBGPD 6.8p1, path hiding, mitigation off, IPv4: sessions are up ... ok -Live test, OpenBGPD 6.8p1, path hiding, mitigation off, IPv4: rs should receive prefix from both AS1 and AS2 ... ok -Live test, OpenBGPD 6.8p1, path hiding, mitigation off, IPv4: rs should have best toward AS1 ... ok -Live test, OpenBGPD 6.8p1, path hiding, mitigation off, IPv4: AS1 wants rs to not announce to AS3 and AS4 ... ok -Live test, OpenBGPD 6.8p1, path hiding, mitigation off, IPv4: AS3 does not receive prefix at all ... ok -Live test, OpenBGPD 6.8p1, path hiding, mitigation off, IPv4: AS4 receives the prefix via AS2 because of ADD-PATH ... SKIP: ADD-PATH not supported by OpenBGPD -Live test, OpenBGPD 6.8p1, path hiding, mitigation off, IPv4: reconfigure ... ok -Live test, OpenBGPD 6.8p1, path hiding, mitigation off, IPv4: log contains errors ... ok -Live test, OpenBGPD 6.8p1, path hiding, mitigation off, IPv4: dumping rs config... -Live test, OpenBGPD 6.8p1, path hiding, mitigation off, IPv4: dumping routes... -Live test, OpenBGPD 6.8p1, path hiding, mitigation off, IPv4: stopping instances... -Live test, OpenBGPD 6.8p1, path hiding, mitigation on, IPv4: setting instances up... -Live test, OpenBGPD 6.8p1, path hiding, mitigation on, IPv4: instances setup ... ok -Live test, OpenBGPD 6.8p1, path hiding, mitigation on, IPv4: sessions are up ... ok -Live test, OpenBGPD 6.8p1, path hiding, mitigation on, IPv4: rs should receive prefix from both AS1 and AS2 ... ok -Live test, OpenBGPD 6.8p1, path hiding, mitigation on, IPv4: rs should have best toward AS1 ... ok -Live test, OpenBGPD 6.8p1, path hiding, mitigation on, IPv4: AS1 wants rs to not announce to AS3 and AS4 ... ok -Live test, OpenBGPD 6.8p1, path hiding, mitigation on, IPv4: AS3 and AS4 receive prefix with sub-optimal path via AS2 ... SKIP: Work in progress -Live test, OpenBGPD 6.8p1, path hiding, mitigation on, IPv4: AS3 and AS4 don't receive prefix via AS1 ... ok -Live test, OpenBGPD 6.8p1, path hiding, mitigation on, IPv4: reconfigure ... ok -Live test, OpenBGPD 6.8p1, path hiding, mitigation on, IPv4: log contains errors ... ok -Live test, OpenBGPD 6.8p1, path hiding, mitigation on, IPv4: dumping rs config... -Live test, OpenBGPD 6.8p1, path hiding, mitigation on, IPv4: dumping routes... -Live test, OpenBGPD 6.8p1, path hiding, mitigation on, IPv4: stopping instances... -Live test, OpenBGPD 6.8p1, path hiding, mitigation off, IPv6: setting instances up... -Live test, OpenBGPD 6.8p1, path hiding, mitigation off, IPv6: instances setup ... ok -Live test, OpenBGPD 6.8p1, path hiding, mitigation off, IPv6: sessions are up ... ok -Live test, OpenBGPD 6.8p1, path hiding, mitigation off, IPv6: rs should receive prefix from both AS1 and AS2 ... ok -Live test, OpenBGPD 6.8p1, path hiding, mitigation off, IPv6: rs should have best toward AS1 ... ok -Live test, OpenBGPD 6.8p1, path hiding, mitigation off, IPv6: AS1 wants rs to not announce to AS3 and AS4 ... ok -Live test, OpenBGPD 6.8p1, path hiding, mitigation off, IPv6: AS3 does not receive prefix at all ... ok -Live test, OpenBGPD 6.8p1, path hiding, mitigation off, IPv6: AS4 receives the prefix via AS2 because of ADD-PATH ... SKIP: ADD-PATH not supported by OpenBGPD -Live test, OpenBGPD 6.8p1, path hiding, mitigation off, IPv6: reconfigure ... ok -Live test, OpenBGPD 6.8p1, path hiding, mitigation off, IPv6: log contains errors ... ok -Live test, OpenBGPD 6.8p1, path hiding, mitigation off, IPv6: dumping rs config... -Live test, OpenBGPD 6.8p1, path hiding, mitigation off, IPv6: dumping routes... -Live test, OpenBGPD 6.8p1, path hiding, mitigation off, IPv6: stopping instances... -Live test, OpenBGPD 6.8p1, path hiding, mitigation on, IPv6: setting instances up... -Live test, OpenBGPD 6.8p1, path hiding, mitigation on, IPv6: instances setup ... ok -Live test, OpenBGPD 6.8p1, path hiding, mitigation on, IPv6: sessions are up ... ok -Live test, OpenBGPD 6.8p1, path hiding, mitigation on, IPv6: rs should receive prefix from both AS1 and AS2 ... ok -Live test, OpenBGPD 6.8p1, path hiding, mitigation on, IPv6: rs should have best toward AS1 ... ok -Live test, OpenBGPD 6.8p1, path hiding, mitigation on, IPv6: AS1 wants rs to not announce to AS3 and AS4 ... ok -Live test, OpenBGPD 6.8p1, path hiding, mitigation on, IPv6: AS3 and AS4 receive prefix with sub-optimal path via AS2 ... SKIP: Work in progress -Live test, OpenBGPD 6.8p1, path hiding, mitigation on, IPv6: AS3 and AS4 don't receive prefix via AS1 ... ok -Live test, OpenBGPD 6.8p1, path hiding, mitigation on, IPv6: reconfigure ... ok -Live test, OpenBGPD 6.8p1, path hiding, mitigation on, IPv6: log contains errors ... ok -Live test, OpenBGPD 6.8p1, path hiding, mitigation on, IPv6: dumping rs config... -Live test, OpenBGPD 6.8p1, path hiding, mitigation on, IPv6: dumping routes... -Live test, OpenBGPD 6.8p1, path hiding, mitigation on, IPv6: stopping instances... +Live test, OpenBGPD 6.9p0, path hiding, mitigation off, IPv4: setting instances up... +Live test, OpenBGPD 6.9p0, path hiding, mitigation off, IPv4: instances setup ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation off, IPv4: sessions are up ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation off, IPv4: rs should receive prefix from both AS1 and AS2 ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation off, IPv4: rs should have best toward AS1 ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation off, IPv4: AS1 wants rs to not announce to AS3 and AS4 ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation off, IPv4: AS3 does not receive prefix at all ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation off, IPv4: AS4 receives the prefix via AS2 because of ADD-PATH ... SKIP: ADD-PATH not supported by OpenBGPD +Live test, OpenBGPD 6.9p0, path hiding, mitigation off, IPv4: reconfigure ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation off, IPv4: log contains errors ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation off, IPv4: dumping rs config... +Live test, OpenBGPD 6.9p0, path hiding, mitigation off, IPv4: dumping routes... +Live test, OpenBGPD 6.9p0, path hiding, mitigation off, IPv4: stopping instances... +Live test, OpenBGPD 6.9p0, path hiding, mitigation on, IPv4: setting instances up... +Live test, OpenBGPD 6.9p0, path hiding, mitigation on, IPv4: instances setup ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation on, IPv4: sessions are up ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation on, IPv4: rs should receive prefix from both AS1 and AS2 ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation on, IPv4: rs should have best toward AS1 ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation on, IPv4: AS1 wants rs to not announce to AS3 and AS4 ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation on, IPv4: AS3 and AS4 receive prefix with sub-optimal path via AS2 ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation on, IPv4: AS3 and AS4 don't receive prefix via AS1 ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation on, IPv4: 2nd best is withdrawn and AS3 should not see it anymore ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation on, IPv4: reconfigure ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation on, IPv4: log contains errors ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation on, IPv4: dumping rs config... +Live test, OpenBGPD 6.9p0, path hiding, mitigation on, IPv4: dumping routes... +Live test, OpenBGPD 6.9p0, path hiding, mitigation on, IPv4: stopping instances... +Live test, OpenBGPD 6.9p0, path hiding, mitigation off, IPv6: setting instances up... +Live test, OpenBGPD 6.9p0, path hiding, mitigation off, IPv6: instances setup ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation off, IPv6: sessions are up ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation off, IPv6: rs should receive prefix from both AS1 and AS2 ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation off, IPv6: rs should have best toward AS1 ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation off, IPv6: AS1 wants rs to not announce to AS3 and AS4 ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation off, IPv6: AS3 does not receive prefix at all ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation off, IPv6: AS4 receives the prefix via AS2 because of ADD-PATH ... SKIP: ADD-PATH not supported by OpenBGPD +Live test, OpenBGPD 6.9p0, path hiding, mitigation off, IPv6: reconfigure ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation off, IPv6: log contains errors ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation off, IPv6: dumping rs config... +Live test, OpenBGPD 6.9p0, path hiding, mitigation off, IPv6: dumping routes... +Live test, OpenBGPD 6.9p0, path hiding, mitigation off, IPv6: stopping instances... +Live test, OpenBGPD 6.9p0, path hiding, mitigation on, IPv6: setting instances up... +Live test, OpenBGPD 6.9p0, path hiding, mitigation on, IPv6: instances setup ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation on, IPv6: sessions are up ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation on, IPv6: rs should receive prefix from both AS1 and AS2 ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation on, IPv6: rs should have best toward AS1 ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation on, IPv6: AS1 wants rs to not announce to AS3 and AS4 ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation on, IPv6: AS3 and AS4 receive prefix with sub-optimal path via AS2 ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation on, IPv6: AS3 and AS4 don't receive prefix via AS1 ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation on, IPv6: 2nd best is withdrawn and AS3 should not see it anymore ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation on, IPv6: reconfigure ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation on, IPv6: log contains errors ... ok +Live test, OpenBGPD 6.9p0, path hiding, mitigation on, IPv6: dumping rs config... +Live test, OpenBGPD 6.9p0, path hiding, mitigation on, IPv6: dumping routes... +Live test, OpenBGPD 6.9p0, path hiding, mitigation on, IPv6: stopping instances... ---------------------------------------------------------------------- -Ran 36 tests in 166.107s +Ran 38 tests in 169.421s -OK (SKIP=4) +OK (SKIP=2) diff --git a/tests/last_results/live_path_hiding_openbgpd_previous.last b/tests/last_results/live_path_hiding_openbgpd_previous.last index dfe069a8..cd305e27 100644 --- a/tests/last_results/live_path_hiding_openbgpd_previous.last +++ b/tests/last_results/live_path_hiding_openbgpd_previous.last @@ -1,57 +1,59 @@ -Live test, OpenBGPD 6.7, path hiding, mitigation off, IPv4: setting instances up... -Live test, OpenBGPD 6.7, path hiding, mitigation off, IPv4: instances setup ... ok -Live test, OpenBGPD 6.7, path hiding, mitigation off, IPv4: sessions are up ... ok -Live test, OpenBGPD 6.7, path hiding, mitigation off, IPv4: rs should receive prefix from both AS1 and AS2 ... ok -Live test, OpenBGPD 6.7, path hiding, mitigation off, IPv4: rs should have best toward AS1 ... ok -Live test, OpenBGPD 6.7, path hiding, mitigation off, IPv4: AS1 wants rs to not announce to AS3 and AS4 ... ok -Live test, OpenBGPD 6.7, path hiding, mitigation off, IPv4: AS3 does not receive prefix at all ... ok -Live test, OpenBGPD 6.7, path hiding, mitigation off, IPv4: AS4 receives the prefix via AS2 because of ADD-PATH ... SKIP: ADD-PATH not supported by OpenBGPD -Live test, OpenBGPD 6.7, path hiding, mitigation off, IPv4: reconfigure ... ok -Live test, OpenBGPD 6.7, path hiding, mitigation off, IPv4: log contains errors ... ok -Live test, OpenBGPD 6.7, path hiding, mitigation off, IPv4: dumping rs config... -Live test, OpenBGPD 6.7, path hiding, mitigation off, IPv4: dumping routes... -Live test, OpenBGPD 6.7, path hiding, mitigation off, IPv4: stopping instances... -Live test, OpenBGPD 6.7, path hiding, mitigation on, IPv4: setting instances up... -Live test, OpenBGPD 6.7, path hiding, mitigation on, IPv4: instances setup ... ok -Live test, OpenBGPD 6.7, path hiding, mitigation on, IPv4: sessions are up ... ok -Live test, OpenBGPD 6.7, path hiding, mitigation on, IPv4: rs should receive prefix from both AS1 and AS2 ... ok -Live test, OpenBGPD 6.7, path hiding, mitigation on, IPv4: rs should have best toward AS1 ... ok -Live test, OpenBGPD 6.7, path hiding, mitigation on, IPv4: AS1 wants rs to not announce to AS3 and AS4 ... ok -Live test, OpenBGPD 6.7, path hiding, mitigation on, IPv4: AS3 and AS4 receive prefix with sub-optimal path via AS2 ... SKIP: Work in progress -Live test, OpenBGPD 6.7, path hiding, mitigation on, IPv4: AS3 and AS4 don't receive prefix via AS1 ... ok -Live test, OpenBGPD 6.7, path hiding, mitigation on, IPv4: reconfigure ... ok -Live test, OpenBGPD 6.7, path hiding, mitigation on, IPv4: log contains errors ... ok -Live test, OpenBGPD 6.7, path hiding, mitigation on, IPv4: dumping rs config... -Live test, OpenBGPD 6.7, path hiding, mitigation on, IPv4: dumping routes... -Live test, OpenBGPD 6.7, path hiding, mitigation on, IPv4: stopping instances... -Live test, OpenBGPD 6.7, path hiding, mitigation off, IPv6: setting instances up... -Live test, OpenBGPD 6.7, path hiding, mitigation off, IPv6: instances setup ... ok -Live test, OpenBGPD 6.7, path hiding, mitigation off, IPv6: sessions are up ... ok -Live test, OpenBGPD 6.7, path hiding, mitigation off, IPv6: rs should receive prefix from both AS1 and AS2 ... ok -Live test, OpenBGPD 6.7, path hiding, mitigation off, IPv6: rs should have best toward AS1 ... ok -Live test, OpenBGPD 6.7, path hiding, mitigation off, IPv6: AS1 wants rs to not announce to AS3 and AS4 ... ok -Live test, OpenBGPD 6.7, path hiding, mitigation off, IPv6: AS3 does not receive prefix at all ... ok -Live test, OpenBGPD 6.7, path hiding, mitigation off, IPv6: AS4 receives the prefix via AS2 because of ADD-PATH ... SKIP: ADD-PATH not supported by OpenBGPD -Live test, OpenBGPD 6.7, path hiding, mitigation off, IPv6: reconfigure ... ok -Live test, OpenBGPD 6.7, path hiding, mitigation off, IPv6: log contains errors ... ok -Live test, OpenBGPD 6.7, path hiding, mitigation off, IPv6: dumping rs config... -Live test, OpenBGPD 6.7, path hiding, mitigation off, IPv6: dumping routes... -Live test, OpenBGPD 6.7, path hiding, mitigation off, IPv6: stopping instances... -Live test, OpenBGPD 6.7, path hiding, mitigation on, IPv6: setting instances up... -Live test, OpenBGPD 6.7, path hiding, mitigation on, IPv6: instances setup ... ok -Live test, OpenBGPD 6.7, path hiding, mitigation on, IPv6: sessions are up ... ok -Live test, OpenBGPD 6.7, path hiding, mitigation on, IPv6: rs should receive prefix from both AS1 and AS2 ... ok -Live test, OpenBGPD 6.7, path hiding, mitigation on, IPv6: rs should have best toward AS1 ... ok -Live test, OpenBGPD 6.7, path hiding, mitigation on, IPv6: AS1 wants rs to not announce to AS3 and AS4 ... ok -Live test, OpenBGPD 6.7, path hiding, mitigation on, IPv6: AS3 and AS4 receive prefix with sub-optimal path via AS2 ... SKIP: Work in progress -Live test, OpenBGPD 6.7, path hiding, mitigation on, IPv6: AS3 and AS4 don't receive prefix via AS1 ... ok -Live test, OpenBGPD 6.7, path hiding, mitigation on, IPv6: reconfigure ... ok -Live test, OpenBGPD 6.7, path hiding, mitigation on, IPv6: log contains errors ... ok -Live test, OpenBGPD 6.7, path hiding, mitigation on, IPv6: dumping rs config... -Live test, OpenBGPD 6.7, path hiding, mitigation on, IPv6: dumping routes... -Live test, OpenBGPD 6.7, path hiding, mitigation on, IPv6: stopping instances... +Live test, OpenBGPD 6.8, path hiding, mitigation off, IPv4: setting instances up... +Live test, OpenBGPD 6.8, path hiding, mitigation off, IPv4: instances setup ... ok +Live test, OpenBGPD 6.8, path hiding, mitigation off, IPv4: sessions are up ... ok +Live test, OpenBGPD 6.8, path hiding, mitigation off, IPv4: rs should receive prefix from both AS1 and AS2 ... ok +Live test, OpenBGPD 6.8, path hiding, mitigation off, IPv4: rs should have best toward AS1 ... ok +Live test, OpenBGPD 6.8, path hiding, mitigation off, IPv4: AS1 wants rs to not announce to AS3 and AS4 ... ok +Live test, OpenBGPD 6.8, path hiding, mitigation off, IPv4: AS3 does not receive prefix at all ... ok +Live test, OpenBGPD 6.8, path hiding, mitigation off, IPv4: AS4 receives the prefix via AS2 because of ADD-PATH ... SKIP: ADD-PATH not supported by OpenBGPD +Live test, OpenBGPD 6.8, path hiding, mitigation off, IPv4: reconfigure ... ok +Live test, OpenBGPD 6.8, path hiding, mitigation off, IPv4: log contains errors ... ok +Live test, OpenBGPD 6.8, path hiding, mitigation off, IPv4: dumping rs config... +Live test, OpenBGPD 6.8, path hiding, mitigation off, IPv4: dumping routes... +Live test, OpenBGPD 6.8, path hiding, mitigation off, IPv4: stopping instances... +Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv4: setting instances up... +Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv4: instances setup ... ok +Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv4: sessions are up ... ok +Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv4: rs should receive prefix from both AS1 and AS2 ... ok +Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv4: rs should have best toward AS1 ... ok +Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv4: AS1 wants rs to not announce to AS3 and AS4 ... ok +Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv4: AS3 and AS4 receive prefix with sub-optimal path via AS2 ... SKIP: Path hiding mititaion not supported on OpenBGPD < 6.9 +Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv4: AS3 and AS4 don't receive prefix via AS1 ... ok +Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv4: 2nd best is withdrawn and AS3 should not see it anymore ... SKIP: OpenBSD version not patched +Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv4: reconfigure ... ok +Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv4: log contains errors ... ok +Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv4: dumping rs config... +Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv4: dumping routes... +Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv4: stopping instances... +Live test, OpenBGPD 6.8, path hiding, mitigation off, IPv6: setting instances up... +Live test, OpenBGPD 6.8, path hiding, mitigation off, IPv6: instances setup ... ok +Live test, OpenBGPD 6.8, path hiding, mitigation off, IPv6: sessions are up ... ok +Live test, OpenBGPD 6.8, path hiding, mitigation off, IPv6: rs should receive prefix from both AS1 and AS2 ... ok +Live test, OpenBGPD 6.8, path hiding, mitigation off, IPv6: rs should have best toward AS1 ... ok +Live test, OpenBGPD 6.8, path hiding, mitigation off, IPv6: AS1 wants rs to not announce to AS3 and AS4 ... ok +Live test, OpenBGPD 6.8, path hiding, mitigation off, IPv6: AS3 does not receive prefix at all ... ok +Live test, OpenBGPD 6.8, path hiding, mitigation off, IPv6: AS4 receives the prefix via AS2 because of ADD-PATH ... SKIP: ADD-PATH not supported by OpenBGPD +Live test, OpenBGPD 6.8, path hiding, mitigation off, IPv6: reconfigure ... ok +Live test, OpenBGPD 6.8, path hiding, mitigation off, IPv6: log contains errors ... ok +Live test, OpenBGPD 6.8, path hiding, mitigation off, IPv6: dumping rs config... +Live test, OpenBGPD 6.8, path hiding, mitigation off, IPv6: dumping routes... +Live test, OpenBGPD 6.8, path hiding, mitigation off, IPv6: stopping instances... +Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv6: setting instances up... +Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv6: instances setup ... ok +Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv6: sessions are up ... ok +Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv6: rs should receive prefix from both AS1 and AS2 ... ok +Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv6: rs should have best toward AS1 ... ok +Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv6: AS1 wants rs to not announce to AS3 and AS4 ... ok +Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv6: AS3 and AS4 receive prefix with sub-optimal path via AS2 ... SKIP: Path hiding mititaion not supported on OpenBGPD < 6.9 +Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv6: AS3 and AS4 don't receive prefix via AS1 ... ok +Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv6: 2nd best is withdrawn and AS3 should not see it anymore ... SKIP: OpenBSD version not patched +Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv6: reconfigure ... ok +Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv6: log contains errors ... ok +Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv6: dumping rs config... +Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv6: dumping routes... +Live test, OpenBGPD 6.8, path hiding, mitigation on, IPv6: stopping instances... ---------------------------------------------------------------------- -Ran 36 tests in 243.785s +Ran 38 tests in 243.467s -OK (SKIP=4) +OK (SKIP=6) diff --git a/tests/last_results/live_rich_example_openbgpd_latest.last b/tests/last_results/live_rich_example_openbgpd_latest.last index fbb029ba..a8b67706 100644 --- a/tests/last_results/live_rich_example_openbgpd_latest.last +++ b/tests/last_results/live_rich_example_openbgpd_latest.last @@ -1,17 +1,17 @@ -Live test, OpenBGPD 6.8, examples, rich config, IPv4: setting instances up... -Live test, OpenBGPD 6.8, examples, rich config, IPv4: instances setup ... ok -Live test, OpenBGPD 6.8, examples, rich config, IPv4: log contains errors ... ok -Live test, OpenBGPD 6.8, examples, rich config, IPv4: dumping rs config... -Live test, OpenBGPD 6.8, examples, rich config, IPv4: dumping routes... -Live test, OpenBGPD 6.8, examples, rich config, IPv4: stopping instances... -Live test, OpenBGPD 6.8, examples, rich config, IPv6: setting instances up... -Live test, OpenBGPD 6.8, examples, rich config, IPv6: instances setup ... ok -Live test, OpenBGPD 6.8, examples, rich config, IPv6: log contains errors ... ok -Live test, OpenBGPD 6.8, examples, rich config, IPv6: dumping rs config... -Live test, OpenBGPD 6.8, examples, rich config, IPv6: dumping routes... -Live test, OpenBGPD 6.8, examples, rich config, IPv6: stopping instances... +Live test, OpenBGPD 6.9, examples, rich config, IPv4: setting instances up... +Live test, OpenBGPD 6.9, examples, rich config, IPv4: instances setup ... ok +Live test, OpenBGPD 6.9, examples, rich config, IPv4: log contains errors ... ok +Live test, OpenBGPD 6.9, examples, rich config, IPv4: dumping rs config... +Live test, OpenBGPD 6.9, examples, rich config, IPv4: dumping routes... +Live test, OpenBGPD 6.9, examples, rich config, IPv4: stopping instances... +Live test, OpenBGPD 6.9, examples, rich config, IPv6: setting instances up... +Live test, OpenBGPD 6.9, examples, rich config, IPv6: instances setup ... ok +Live test, OpenBGPD 6.9, examples, rich config, IPv6: log contains errors ... ok +Live test, OpenBGPD 6.9, examples, rich config, IPv6: dumping rs config... +Live test, OpenBGPD 6.9, examples, rich config, IPv6: dumping routes... +Live test, OpenBGPD 6.9, examples, rich config, IPv6: stopping instances... ---------------------------------------------------------------------- -Ran 4 tests in 56.222s +Ran 4 tests in 57.033s OK diff --git a/tests/last_results/live_rich_example_openbgpd_portable.last b/tests/last_results/live_rich_example_openbgpd_portable.last index 02d162b1..228775eb 100644 --- a/tests/last_results/live_rich_example_openbgpd_portable.last +++ b/tests/last_results/live_rich_example_openbgpd_portable.last @@ -1,17 +1,17 @@ -Live test, OpenBGPD 6.8p1, examples, rich config, IPv4: setting instances up... -Live test, OpenBGPD 6.8p1, examples, rich config, IPv4: instances setup ... ok -Live test, OpenBGPD 6.8p1, examples, rich config, IPv4: log contains errors ... ok -Live test, OpenBGPD 6.8p1, examples, rich config, IPv4: dumping rs config... -Live test, OpenBGPD 6.8p1, examples, rich config, IPv4: dumping routes... -Live test, OpenBGPD 6.8p1, examples, rich config, IPv4: stopping instances... -Live test, OpenBGPD 6.8p1, examples, rich config, IPv6: setting instances up... -Live test, OpenBGPD 6.8p1, examples, rich config, IPv6: instances setup ... ok -Live test, OpenBGPD 6.8p1, examples, rich config, IPv6: log contains errors ... ok -Live test, OpenBGPD 6.8p1, examples, rich config, IPv6: dumping rs config... -Live test, OpenBGPD 6.8p1, examples, rich config, IPv6: dumping routes... -Live test, OpenBGPD 6.8p1, examples, rich config, IPv6: stopping instances... +Live test, OpenBGPD 6.9p0, examples, rich config, IPv4: setting instances up... +Live test, OpenBGPD 6.9p0, examples, rich config, IPv4: instances setup ... ok +Live test, OpenBGPD 6.9p0, examples, rich config, IPv4: log contains errors ... ok +Live test, OpenBGPD 6.9p0, examples, rich config, IPv4: dumping rs config... +Live test, OpenBGPD 6.9p0, examples, rich config, IPv4: dumping routes... +Live test, OpenBGPD 6.9p0, examples, rich config, IPv4: stopping instances... +Live test, OpenBGPD 6.9p0, examples, rich config, IPv6: setting instances up... +Live test, OpenBGPD 6.9p0, examples, rich config, IPv6: instances setup ... ok +Live test, OpenBGPD 6.9p0, examples, rich config, IPv6: log contains errors ... ok +Live test, OpenBGPD 6.9p0, examples, rich config, IPv6: dumping rs config... +Live test, OpenBGPD 6.9p0, examples, rich config, IPv6: dumping routes... +Live test, OpenBGPD 6.9p0, examples, rich config, IPv6: stopping instances... ---------------------------------------------------------------------- -Ran 4 tests in 23.839s +Ran 4 tests in 23.624s OK diff --git a/tests/last_results/live_rich_example_openbgpd_previous.last b/tests/last_results/live_rich_example_openbgpd_previous.last index 8f63b4a9..2bc9fa58 100644 --- a/tests/last_results/live_rich_example_openbgpd_previous.last +++ b/tests/last_results/live_rich_example_openbgpd_previous.last @@ -1,17 +1,17 @@ -Live test, OpenBGPD 6.7, examples, rich config, IPv4: setting instances up... -Live test, OpenBGPD 6.7, examples, rich config, IPv4: instances setup ... ok -Live test, OpenBGPD 6.7, examples, rich config, IPv4: log contains errors ... ok -Live test, OpenBGPD 6.7, examples, rich config, IPv4: dumping rs config... -Live test, OpenBGPD 6.7, examples, rich config, IPv4: dumping routes... -Live test, OpenBGPD 6.7, examples, rich config, IPv4: stopping instances... -Live test, OpenBGPD 6.7, examples, rich config, IPv6: setting instances up... -Live test, OpenBGPD 6.7, examples, rich config, IPv6: instances setup ... ok -Live test, OpenBGPD 6.7, examples, rich config, IPv6: log contains errors ... ok -Live test, OpenBGPD 6.7, examples, rich config, IPv6: dumping rs config... -Live test, OpenBGPD 6.7, examples, rich config, IPv6: dumping routes... -Live test, OpenBGPD 6.7, examples, rich config, IPv6: stopping instances... +Live test, OpenBGPD 6.8, examples, rich config, IPv4: setting instances up... +Live test, OpenBGPD 6.8, examples, rich config, IPv4: instances setup ... ok +Live test, OpenBGPD 6.8, examples, rich config, IPv4: log contains errors ... ok +Live test, OpenBGPD 6.8, examples, rich config, IPv4: dumping rs config... +Live test, OpenBGPD 6.8, examples, rich config, IPv4: dumping routes... +Live test, OpenBGPD 6.8, examples, rich config, IPv4: stopping instances... +Live test, OpenBGPD 6.8, examples, rich config, IPv6: setting instances up... +Live test, OpenBGPD 6.8, examples, rich config, IPv6: instances setup ... ok +Live test, OpenBGPD 6.8, examples, rich config, IPv6: log contains errors ... ok +Live test, OpenBGPD 6.8, examples, rich config, IPv6: dumping rs config... +Live test, OpenBGPD 6.8, examples, rich config, IPv6: dumping routes... +Live test, OpenBGPD 6.8, examples, rich config, IPv6: stopping instances... ---------------------------------------------------------------------- -Ran 4 tests in 58.525s +Ran 4 tests in 56.249s OK diff --git a/tests/last_results/live_rpki_rtr_example_bird2.last b/tests/last_results/live_rpki_rtr_example_bird2.last new file mode 100644 index 00000000..fd1bfbb0 --- /dev/null +++ b/tests/last_results/live_rpki_rtr_example_bird2.last @@ -0,0 +1,17 @@ +Live test, BIRD v2, RTR protocol: setting instances up... +Live test, BIRD v2, RTR protocol: instances setup ... ok +Live test, BIRD v2, RTR protocol: sessions are up ... ok +Live test, BIRD v2, RTR protocol: route accepted because validator not running ... ok +Live test, BIRD v2, RTR protocol: spin up the validator ... ok +Live test, BIRD v2, RTR protocol: restart the RTR protocol on BIRD to speed up session establishment ... ok +Live test, BIRD v2, RTR protocol: check the RTR session is up ... ok +Live test, BIRD v2, RTR protocol: route dropped after spinning the validator up ... ok +Live test, BIRD v2, RTR protocol: log contains errors ... ok +Live test, BIRD v2, RTR protocol: dumping rs config... +Live test, BIRD v2, RTR protocol: dumping routes... +Live test, BIRD v2, RTR protocol: stopping instances... + +---------------------------------------------------------------------- +Ran 8 tests in 38.471s + +OK diff --git a/tests/last_results/live_rpki_rtr_example_openbgpd_portable.last b/tests/last_results/live_rpki_rtr_example_openbgpd_portable.last new file mode 100644 index 00000000..d0d6d9bc --- /dev/null +++ b/tests/last_results/live_rpki_rtr_example_openbgpd_portable.last @@ -0,0 +1,17 @@ +Live test, OpenBGPD 6.9p0, RTR protocol: setting instances up... +Live test, OpenBGPD 6.9p0, RTR protocol: instances setup ... ok +Live test, OpenBGPD 6.9p0, RTR protocol: sessions are up ... ok +Live test, OpenBGPD 6.9p0, RTR protocol: route accepted because validator not running ... ok +Live test, OpenBGPD 6.9p0, RTR protocol: spin up the validator ... ok +Live test, OpenBGPD 6.9p0, RTR protocol: restart OpenBGPD to speed up RTR session establishment ... ok +Live test, OpenBGPD 6.9p0, RTR protocol: check the RTR session is up ... ok +Live test, OpenBGPD 6.9p0, RTR protocol: route dropped after spinning the validator up ... ok +Live test, OpenBGPD 6.9p0, RTR protocol: log contains errors ... ok +Live test, OpenBGPD 6.9p0, RTR protocol: dumping rs config... +Live test, OpenBGPD 6.9p0, RTR protocol: dumping routes... +Live test, OpenBGPD 6.9p0, RTR protocol: stopping instances... + +---------------------------------------------------------------------- +Ran 8 tests in 41.039s + +OK diff --git a/tests/last_results/live_tag_as_set_openbgpd_latest.last b/tests/last_results/live_tag_as_set_openbgpd_latest.last index 6286c541..b3b0637d 100644 --- a/tests/last_results/live_tag_as_set_openbgpd_latest.last +++ b/tests/last_results/live_tag_as_set_openbgpd_latest.last @@ -1,187 +1,187 @@ -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: setting instances up... -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: instances setup ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: sessions are up ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS2 no enforcement, prefix and origin not in AS-SET ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS4 origin enforcement ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS4 prefix enforcement ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS2 white list, prefix ko, origin WL ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS2 white list, prefix ok, origin WL ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS2 white list, prefix WL, origin ko ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS2 white list, prefix WL, origin ok ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS2 white list, prefix WL, origin WL ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS4 route white list, ok (exact) ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS4 route white list, reject (more spec) ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS4 route white list, ok (more spec) ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS4 route white list, reject (origin KO) ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS4 route white list, ok (origin any) ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS4 white list, prefix ko, origin WL ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS4 white list, prefix ok, origin WL ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS4 white list, prefix WL, origin ko ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS4 white list, prefix WL, origin ok ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS4 white list, prefix WL, origin WL ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS5 white list, prefix ko, origin WL ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS5 white list, prefix ok, origin WL ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS5 white list, prefix WL, origin ko ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS5 white list, prefix WL, origin ok ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS5 white list, prefix WL, origin WL ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS2 RPKI ROAs as route objects: tag only (w/o prefix_validated_via_rpki_roas) ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS6 RPKI ROAs as route objects: invalid origin ASN ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS6 RPKI ROAs as route objects: ko ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS2 ARIN Whois DB: tag only (w/o prefix_validated_via_arin_whois_db_dump) ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS6 ARIN Whois DB: ok (solely because of route white list) ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS2 prefix ok, origin ok, ARIN: tag only (w/o prefix_validated_via_arin_whois_db_dump) ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS2 prefix ok, origin ok, ROA: tag only (w/o prefix_validated_via_rpki_roas) ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS2 ROA + ARIN Whois DB: tag only (w/o comms [arin_whois_db_dump, rpki_roas]) ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS6 prefix ok, origin ok, ROA + ARIN: rejected ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS6 ROA + ARIN Whois DB: enforced (rejected) ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: reconfigure ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: log contains errors ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: dumping rs config... -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: dumping routes... -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: stopping instances... -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: setting instances up... -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: instances setup ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: sessions are up ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS2 prefix ko origin ko ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS2 prefix ko origin ok ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS2 prefix ok origin ko ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS2 prefix ok origin ok ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS4 route filtered (origin ko) ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS4 prefix ko origin ok ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS4 prefix ok origin ok ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS4 route filtered (prefix ko, origin ko) ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS5 route filtered (prefix ko, origin ko) ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS5 route filtered (prefix ko) ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS5 prefix ok origin ko ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS5 prefix ok origin ok ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS2 white list, prefix ko, origin WL ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS2 white list, prefix ok, origin WL ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS2 white list, prefix WL, origin ko ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS2 white list, prefix WL, origin ok ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS2 white list, prefix WL, origin WL ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS4 route white list, ok (exact) ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS4 route white list, reject (more spec) ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS4 route white list, ok (more spec) ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS4 route white list, reject (origin KO) ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS4 route white list, ok (origin any) ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS4 white list, prefix ko, origin WL ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS4 white list, prefix ok, origin WL ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS4 white list, prefix WL, origin ko ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS4 white list, prefix WL, origin ok ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS4 white list, prefix WL, origin WL ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS5 white list, prefix ko, origin WL ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS5 white list, prefix ok, origin WL ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS5 white list, prefix WL, origin ko ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS5 white list, prefix WL, origin ok ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS5 white list, prefix WL, origin WL ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS2 RPKI ROAs as route objects: tag only (w/ prefix_validated_via_rpki_roas) ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS6 RPKI ROAs as route objects: invalid origin ASN ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS6 RPKI ROAs as route objects: ok ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS2 ARIN Whois DB: tag only (w/ prefix_validated_via_arin_whois_db_dump) ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS6 ARIN Whois DB: ok ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS2 prefix ok, origin ok, ARIN: tag only (w/ prefix_validated_via_arin_whois_db_dump) ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS2 prefix ok, origin ok, ROA: tag only (w/ prefix_validated_via_rpki_roas) ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS2 ROA + ARIN Whois DB: tag only (w/ comms [arin_whois_db_dump, rpki_roas]) ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS6 prefix ok, origin ok, ROA + ARIN: enforce (w/ comms [arin_whois_db_dump, rpki_roas]) ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS6 ROA + ARIN Whois DB: enforce (w/ comms [arin_whois_db_dump, rpki_roas]) ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: reconfigure ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: log contains errors ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: dumping rs config... -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: dumping routes... -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: stopping instances... -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: setting instances up... -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: instances setup ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: sessions are up ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS2 no enforcement, prefix and origin not in AS-SET ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS4 origin enforcement ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS4 prefix enforcement ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS2 white list, prefix ko, origin WL ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS2 white list, prefix ok, origin WL ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS2 white list, prefix WL, origin ko ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS2 white list, prefix WL, origin ok ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS2 white list, prefix WL, origin WL ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS4 route white list, ok (exact) ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS4 route white list, reject (more spec) ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS4 route white list, ok (more spec) ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS4 route white list, reject (origin KO) ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS4 route white list, ok (origin any) ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS4 white list, prefix ko, origin WL ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS4 white list, prefix ok, origin WL ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS4 white list, prefix WL, origin ko ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS4 white list, prefix WL, origin ok ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS4 white list, prefix WL, origin WL ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS5 white list, prefix ko, origin WL ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS5 white list, prefix ok, origin WL ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS5 white list, prefix WL, origin ko ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS5 white list, prefix WL, origin ok ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS5 white list, prefix WL, origin WL ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS2 RPKI ROAs as route objects: tag only (w/o prefix_validated_via_rpki_roas) ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS6 RPKI ROAs as route objects: invalid origin ASN ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS6 RPKI ROAs as route objects: ko ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS2 ARIN Whois DB: tag only (w/o prefix_validated_via_arin_whois_db_dump) ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS6 ARIN Whois DB: ok (solely because of route white list) ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS2 prefix ok, origin ok, ARIN: tag only (w/o prefix_validated_via_arin_whois_db_dump) ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS2 prefix ok, origin ok, ROA: tag only (w/o prefix_validated_via_rpki_roas) ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS2 ROA + ARIN Whois DB: tag only (w/o comms [arin_whois_db_dump, rpki_roas]) ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS6 prefix ok, origin ok, ROA + ARIN: rejected ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS6 ROA + ARIN Whois DB: enforced (rejected) ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: reconfigure ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: log contains errors ... ok -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: dumping rs config... -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: dumping routes... -Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: stopping instances... -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: setting instances up... -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: instances setup ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: sessions are up ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS2 prefix ko origin ko ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS2 prefix ko origin ok ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS2 prefix ok origin ko ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS2 prefix ok origin ok ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS4 route filtered (origin ko) ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS4 prefix ko origin ok ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS4 prefix ok origin ok ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS4 route filtered (prefix ko, origin ko) ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS5 route filtered (prefix ko, origin ko) ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS5 route filtered (prefix ko) ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS5 prefix ok origin ko ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS5 prefix ok origin ok ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS2 white list, prefix ko, origin WL ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS2 white list, prefix ok, origin WL ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS2 white list, prefix WL, origin ko ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS2 white list, prefix WL, origin ok ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS2 white list, prefix WL, origin WL ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS4 route white list, ok (exact) ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS4 route white list, reject (more spec) ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS4 route white list, ok (more spec) ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS4 route white list, reject (origin KO) ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS4 route white list, ok (origin any) ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS4 white list, prefix ko, origin WL ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS4 white list, prefix ok, origin WL ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS4 white list, prefix WL, origin ko ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS4 white list, prefix WL, origin ok ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS4 white list, prefix WL, origin WL ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS5 white list, prefix ko, origin WL ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS5 white list, prefix ok, origin WL ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS5 white list, prefix WL, origin ko ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS5 white list, prefix WL, origin ok ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS5 white list, prefix WL, origin WL ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS2 RPKI ROAs as route objects: tag only (w/ prefix_validated_via_rpki_roas) ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS6 RPKI ROAs as route objects: invalid origin ASN ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS6 RPKI ROAs as route objects: ok ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS2 ARIN Whois DB: tag only (w/ prefix_validated_via_arin_whois_db_dump) ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS6 ARIN Whois DB: ok ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS2 prefix ok, origin ok, ARIN: tag only (w/ prefix_validated_via_arin_whois_db_dump) ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS2 prefix ok, origin ok, ROA: tag only (w/ prefix_validated_via_rpki_roas) ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS2 ROA + ARIN Whois DB: tag only (w/ comms [arin_whois_db_dump, rpki_roas]) ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS6 prefix ok, origin ok, ROA + ARIN: enforce (w/ comms [arin_whois_db_dump, rpki_roas]) ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS6 ROA + ARIN Whois DB: enforce (w/ comms [arin_whois_db_dump, rpki_roas]) ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: reconfigure ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: log contains errors ... ok -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: dumping rs config... -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: dumping routes... -Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: stopping instances... +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: setting instances up... +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: instances setup ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: sessions are up ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS2 no enforcement, prefix and origin not in AS-SET ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS4 origin enforcement ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS4 prefix enforcement ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS2 white list, prefix ko, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS2 white list, prefix ok, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS2 white list, prefix WL, origin ko ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS2 white list, prefix WL, origin ok ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS2 white list, prefix WL, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS4 route white list, ok (exact) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS4 route white list, reject (more spec) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS4 route white list, ok (more spec) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS4 route white list, reject (origin KO) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS4 route white list, ok (origin any) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS4 white list, prefix ko, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS4 white list, prefix ok, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS4 white list, prefix WL, origin ko ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS4 white list, prefix WL, origin ok ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS4 white list, prefix WL, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS5 white list, prefix ko, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS5 white list, prefix ok, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS5 white list, prefix WL, origin ko ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS5 white list, prefix WL, origin ok ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS5 white list, prefix WL, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS2 RPKI ROAs as route objects: tag only (w/o prefix_validated_via_rpki_roas) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS6 RPKI ROAs as route objects: invalid origin ASN ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS6 RPKI ROAs as route objects: ko ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS2 ARIN Whois DB: tag only (w/o prefix_validated_via_arin_whois_db_dump) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS6 ARIN Whois DB: ok (solely because of route white list) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS2 prefix ok, origin ok, ARIN: tag only (w/o prefix_validated_via_arin_whois_db_dump) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS2 prefix ok, origin ok, ROA: tag only (w/o prefix_validated_via_rpki_roas) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS2 ROA + ARIN Whois DB: tag only (w/o comms [arin_whois_db_dump, rpki_roas]) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS6 prefix ok, origin ok, ROA + ARIN: rejected ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: AS6 ROA + ARIN Whois DB: enforced (rejected) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: reconfigure ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: log contains errors ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: dumping rs config... +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: dumping routes... +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv4: stopping instances... +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: setting instances up... +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: instances setup ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: sessions are up ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS2 prefix ko origin ko ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS2 prefix ko origin ok ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS2 prefix ok origin ko ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS2 prefix ok origin ok ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS4 route filtered (origin ko) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS4 prefix ko origin ok ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS4 prefix ok origin ok ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS4 route filtered (prefix ko, origin ko) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS5 route filtered (prefix ko, origin ko) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS5 route filtered (prefix ko) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS5 prefix ok origin ko ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS5 prefix ok origin ok ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS2 white list, prefix ko, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS2 white list, prefix ok, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS2 white list, prefix WL, origin ko ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS2 white list, prefix WL, origin ok ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS2 white list, prefix WL, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS4 route white list, ok (exact) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS4 route white list, reject (more spec) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS4 route white list, ok (more spec) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS4 route white list, reject (origin KO) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS4 route white list, ok (origin any) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS4 white list, prefix ko, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS4 white list, prefix ok, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS4 white list, prefix WL, origin ko ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS4 white list, prefix WL, origin ok ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS4 white list, prefix WL, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS5 white list, prefix ko, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS5 white list, prefix ok, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS5 white list, prefix WL, origin ko ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS5 white list, prefix WL, origin ok ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS5 white list, prefix WL, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS2 RPKI ROAs as route objects: tag only (w/ prefix_validated_via_rpki_roas) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS6 RPKI ROAs as route objects: invalid origin ASN ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS6 RPKI ROAs as route objects: ok ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS2 ARIN Whois DB: tag only (w/ prefix_validated_via_arin_whois_db_dump) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS6 ARIN Whois DB: ok ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS2 prefix ok, origin ok, ARIN: tag only (w/ prefix_validated_via_arin_whois_db_dump) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS2 prefix ok, origin ok, ROA: tag only (w/ prefix_validated_via_rpki_roas) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS2 ROA + ARIN Whois DB: tag only (w/ comms [arin_whois_db_dump, rpki_roas]) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS6 prefix ok, origin ok, ROA + ARIN: enforce (w/ comms [arin_whois_db_dump, rpki_roas]) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: AS6 ROA + ARIN Whois DB: enforce (w/ comms [arin_whois_db_dump, rpki_roas]) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: reconfigure ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: log contains errors ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: dumping rs config... +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: dumping routes... +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv4: stopping instances... +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: setting instances up... +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: instances setup ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: sessions are up ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS2 no enforcement, prefix and origin not in AS-SET ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS4 origin enforcement ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS4 prefix enforcement ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS2 white list, prefix ko, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS2 white list, prefix ok, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS2 white list, prefix WL, origin ko ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS2 white list, prefix WL, origin ok ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS2 white list, prefix WL, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS4 route white list, ok (exact) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS4 route white list, reject (more spec) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS4 route white list, ok (more spec) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS4 route white list, reject (origin KO) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS4 route white list, ok (origin any) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS4 white list, prefix ko, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS4 white list, prefix ok, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS4 white list, prefix WL, origin ko ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS4 white list, prefix WL, origin ok ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS4 white list, prefix WL, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS5 white list, prefix ko, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS5 white list, prefix ok, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS5 white list, prefix WL, origin ko ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS5 white list, prefix WL, origin ok ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS5 white list, prefix WL, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS2 RPKI ROAs as route objects: tag only (w/o prefix_validated_via_rpki_roas) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS6 RPKI ROAs as route objects: invalid origin ASN ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS6 RPKI ROAs as route objects: ko ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS2 ARIN Whois DB: tag only (w/o prefix_validated_via_arin_whois_db_dump) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS6 ARIN Whois DB: ok (solely because of route white list) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS2 prefix ok, origin ok, ARIN: tag only (w/o prefix_validated_via_arin_whois_db_dump) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS2 prefix ok, origin ok, ROA: tag only (w/o prefix_validated_via_rpki_roas) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS2 ROA + ARIN Whois DB: tag only (w/o comms [arin_whois_db_dump, rpki_roas]) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS6 prefix ok, origin ok, ROA + ARIN: rejected ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: AS6 ROA + ARIN Whois DB: enforced (rejected) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: reconfigure ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: log contains errors ... ok +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: dumping rs config... +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: dumping routes... +Live test, OpenBGPD 6.9, tag prefix/origin empty AS-SET, IPv6: stopping instances... +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: setting instances up... +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: instances setup ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: sessions are up ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS2 prefix ko origin ko ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS2 prefix ko origin ok ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS2 prefix ok origin ko ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS2 prefix ok origin ok ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS4 route filtered (origin ko) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS4 prefix ko origin ok ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS4 prefix ok origin ok ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS4 route filtered (prefix ko, origin ko) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS5 route filtered (prefix ko, origin ko) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS5 route filtered (prefix ko) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS5 prefix ok origin ko ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS5 prefix ok origin ok ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS2 white list, prefix ko, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS2 white list, prefix ok, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS2 white list, prefix WL, origin ko ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS2 white list, prefix WL, origin ok ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS2 white list, prefix WL, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS4 route white list, ok (exact) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS4 route white list, reject (more spec) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS4 route white list, ok (more spec) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS4 route white list, reject (origin KO) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS4 route white list, ok (origin any) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS4 white list, prefix ko, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS4 white list, prefix ok, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS4 white list, prefix WL, origin ko ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS4 white list, prefix WL, origin ok ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS4 white list, prefix WL, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS5 white list, prefix ko, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS5 white list, prefix ok, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS5 white list, prefix WL, origin ko ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS5 white list, prefix WL, origin ok ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS5 white list, prefix WL, origin WL ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS2 RPKI ROAs as route objects: tag only (w/ prefix_validated_via_rpki_roas) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS6 RPKI ROAs as route objects: invalid origin ASN ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS6 RPKI ROAs as route objects: ok ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS2 ARIN Whois DB: tag only (w/ prefix_validated_via_arin_whois_db_dump) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS6 ARIN Whois DB: ok ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS2 prefix ok, origin ok, ARIN: tag only (w/ prefix_validated_via_arin_whois_db_dump) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS2 prefix ok, origin ok, ROA: tag only (w/ prefix_validated_via_rpki_roas) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS2 ROA + ARIN Whois DB: tag only (w/ comms [arin_whois_db_dump, rpki_roas]) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS6 prefix ok, origin ok, ROA + ARIN: enforce (w/ comms [arin_whois_db_dump, rpki_roas]) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: AS6 ROA + ARIN Whois DB: enforce (w/ comms [arin_whois_db_dump, rpki_roas]) ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: reconfigure ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: log contains errors ... ok +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: dumping rs config... +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: dumping routes... +Live test, OpenBGPD 6.9, tag prefix/origin in AS-SET, IPv6: stopping instances... ---------------------------------------------------------------------- -Ran 166 tests in 231.881s +Ran 166 tests in 234.540s OK diff --git a/tests/last_results/live_tag_as_set_openbgpd_portable.last b/tests/last_results/live_tag_as_set_openbgpd_portable.last index 485f4c6a..989be3b6 100644 --- a/tests/last_results/live_tag_as_set_openbgpd_portable.last +++ b/tests/last_results/live_tag_as_set_openbgpd_portable.last @@ -1,187 +1,187 @@ -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: setting instances up... -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: instances setup ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: sessions are up ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS2 no enforcement, prefix and origin not in AS-SET ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS4 origin enforcement ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS4 prefix enforcement ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS2 white list, prefix ko, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS2 white list, prefix ok, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS2 white list, prefix WL, origin ko ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS2 white list, prefix WL, origin ok ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS2 white list, prefix WL, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS4 route white list, ok (exact) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS4 route white list, reject (more spec) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS4 route white list, ok (more spec) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS4 route white list, reject (origin KO) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS4 route white list, ok (origin any) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS4 white list, prefix ko, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS4 white list, prefix ok, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS4 white list, prefix WL, origin ko ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS4 white list, prefix WL, origin ok ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS4 white list, prefix WL, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS5 white list, prefix ko, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS5 white list, prefix ok, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS5 white list, prefix WL, origin ko ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS5 white list, prefix WL, origin ok ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS5 white list, prefix WL, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS2 RPKI ROAs as route objects: tag only (w/o prefix_validated_via_rpki_roas) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS6 RPKI ROAs as route objects: invalid origin ASN ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS6 RPKI ROAs as route objects: ko ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS2 ARIN Whois DB: tag only (w/o prefix_validated_via_arin_whois_db_dump) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS6 ARIN Whois DB: ok (solely because of route white list) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS2 prefix ok, origin ok, ARIN: tag only (w/o prefix_validated_via_arin_whois_db_dump) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS2 prefix ok, origin ok, ROA: tag only (w/o prefix_validated_via_rpki_roas) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS2 ROA + ARIN Whois DB: tag only (w/o comms [arin_whois_db_dump, rpki_roas]) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS6 prefix ok, origin ok, ROA + ARIN: rejected ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: AS6 ROA + ARIN Whois DB: enforced (rejected) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: reconfigure ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: log contains errors ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: dumping rs config... -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: dumping routes... -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv4: stopping instances... -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: setting instances up... -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: instances setup ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: sessions are up ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS2 prefix ko origin ko ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS2 prefix ko origin ok ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS2 prefix ok origin ko ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS2 prefix ok origin ok ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS4 route filtered (origin ko) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS4 prefix ko origin ok ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS4 prefix ok origin ok ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS4 route filtered (prefix ko, origin ko) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS5 route filtered (prefix ko, origin ko) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS5 route filtered (prefix ko) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS5 prefix ok origin ko ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS5 prefix ok origin ok ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS2 white list, prefix ko, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS2 white list, prefix ok, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS2 white list, prefix WL, origin ko ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS2 white list, prefix WL, origin ok ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS2 white list, prefix WL, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS4 route white list, ok (exact) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS4 route white list, reject (more spec) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS4 route white list, ok (more spec) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS4 route white list, reject (origin KO) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS4 route white list, ok (origin any) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS4 white list, prefix ko, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS4 white list, prefix ok, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS4 white list, prefix WL, origin ko ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS4 white list, prefix WL, origin ok ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS4 white list, prefix WL, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS5 white list, prefix ko, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS5 white list, prefix ok, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS5 white list, prefix WL, origin ko ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS5 white list, prefix WL, origin ok ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS5 white list, prefix WL, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS2 RPKI ROAs as route objects: tag only (w/ prefix_validated_via_rpki_roas) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS6 RPKI ROAs as route objects: invalid origin ASN ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS6 RPKI ROAs as route objects: ok ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS2 ARIN Whois DB: tag only (w/ prefix_validated_via_arin_whois_db_dump) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS6 ARIN Whois DB: ok ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS2 prefix ok, origin ok, ARIN: tag only (w/ prefix_validated_via_arin_whois_db_dump) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS2 prefix ok, origin ok, ROA: tag only (w/ prefix_validated_via_rpki_roas) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS2 ROA + ARIN Whois DB: tag only (w/ comms [arin_whois_db_dump, rpki_roas]) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS6 prefix ok, origin ok, ROA + ARIN: enforce (w/ comms [arin_whois_db_dump, rpki_roas]) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: AS6 ROA + ARIN Whois DB: enforce (w/ comms [arin_whois_db_dump, rpki_roas]) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: reconfigure ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: log contains errors ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: dumping rs config... -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: dumping routes... -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv4: stopping instances... -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: setting instances up... -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: instances setup ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: sessions are up ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS2 no enforcement, prefix and origin not in AS-SET ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS4 origin enforcement ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS4 prefix enforcement ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS2 white list, prefix ko, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS2 white list, prefix ok, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS2 white list, prefix WL, origin ko ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS2 white list, prefix WL, origin ok ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS2 white list, prefix WL, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS4 route white list, ok (exact) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS4 route white list, reject (more spec) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS4 route white list, ok (more spec) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS4 route white list, reject (origin KO) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS4 route white list, ok (origin any) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS4 white list, prefix ko, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS4 white list, prefix ok, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS4 white list, prefix WL, origin ko ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS4 white list, prefix WL, origin ok ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS4 white list, prefix WL, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS5 white list, prefix ko, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS5 white list, prefix ok, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS5 white list, prefix WL, origin ko ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS5 white list, prefix WL, origin ok ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS5 white list, prefix WL, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS2 RPKI ROAs as route objects: tag only (w/o prefix_validated_via_rpki_roas) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS6 RPKI ROAs as route objects: invalid origin ASN ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS6 RPKI ROAs as route objects: ko ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS2 ARIN Whois DB: tag only (w/o prefix_validated_via_arin_whois_db_dump) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS6 ARIN Whois DB: ok (solely because of route white list) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS2 prefix ok, origin ok, ARIN: tag only (w/o prefix_validated_via_arin_whois_db_dump) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS2 prefix ok, origin ok, ROA: tag only (w/o prefix_validated_via_rpki_roas) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS2 ROA + ARIN Whois DB: tag only (w/o comms [arin_whois_db_dump, rpki_roas]) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS6 prefix ok, origin ok, ROA + ARIN: rejected ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: AS6 ROA + ARIN Whois DB: enforced (rejected) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: reconfigure ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: log contains errors ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: dumping rs config... -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: dumping routes... -Live test, OpenBGPD 6.8p1, tag prefix/origin empty AS-SET, IPv6: stopping instances... -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: setting instances up... -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: instances setup ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: sessions are up ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS2 prefix ko origin ko ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS2 prefix ko origin ok ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS2 prefix ok origin ko ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS2 prefix ok origin ok ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS4 route filtered (origin ko) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS4 prefix ko origin ok ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS4 prefix ok origin ok ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS4 route filtered (prefix ko, origin ko) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS5 route filtered (prefix ko, origin ko) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS5 route filtered (prefix ko) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS5 prefix ok origin ko ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS5 prefix ok origin ok ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS2 white list, prefix ko, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS2 white list, prefix ok, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS2 white list, prefix WL, origin ko ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS2 white list, prefix WL, origin ok ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS2 white list, prefix WL, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS4 route white list, ok (exact) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS4 route white list, reject (more spec) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS4 route white list, ok (more spec) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS4 route white list, reject (origin KO) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS4 route white list, ok (origin any) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS4 white list, prefix ko, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS4 white list, prefix ok, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS4 white list, prefix WL, origin ko ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS4 white list, prefix WL, origin ok ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS4 white list, prefix WL, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS5 white list, prefix ko, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS5 white list, prefix ok, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS5 white list, prefix WL, origin ko ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS5 white list, prefix WL, origin ok ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS5 white list, prefix WL, origin WL ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS2 RPKI ROAs as route objects: tag only (w/ prefix_validated_via_rpki_roas) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS6 RPKI ROAs as route objects: invalid origin ASN ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS6 RPKI ROAs as route objects: ok ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS2 ARIN Whois DB: tag only (w/ prefix_validated_via_arin_whois_db_dump) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS6 ARIN Whois DB: ok ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS2 prefix ok, origin ok, ARIN: tag only (w/ prefix_validated_via_arin_whois_db_dump) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS2 prefix ok, origin ok, ROA: tag only (w/ prefix_validated_via_rpki_roas) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS2 ROA + ARIN Whois DB: tag only (w/ comms [arin_whois_db_dump, rpki_roas]) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS6 prefix ok, origin ok, ROA + ARIN: enforce (w/ comms [arin_whois_db_dump, rpki_roas]) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: AS6 ROA + ARIN Whois DB: enforce (w/ comms [arin_whois_db_dump, rpki_roas]) ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: reconfigure ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: log contains errors ... ok -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: dumping rs config... -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: dumping routes... -Live test, OpenBGPD 6.8p1, tag prefix/origin in AS-SET, IPv6: stopping instances... +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: setting instances up... +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: instances setup ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: sessions are up ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS2 no enforcement, prefix and origin not in AS-SET ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS4 origin enforcement ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS4 prefix enforcement ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS2 white list, prefix ko, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS2 white list, prefix ok, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS2 white list, prefix WL, origin ko ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS2 white list, prefix WL, origin ok ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS2 white list, prefix WL, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS4 route white list, ok (exact) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS4 route white list, reject (more spec) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS4 route white list, ok (more spec) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS4 route white list, reject (origin KO) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS4 route white list, ok (origin any) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS4 white list, prefix ko, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS4 white list, prefix ok, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS4 white list, prefix WL, origin ko ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS4 white list, prefix WL, origin ok ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS4 white list, prefix WL, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS5 white list, prefix ko, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS5 white list, prefix ok, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS5 white list, prefix WL, origin ko ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS5 white list, prefix WL, origin ok ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS5 white list, prefix WL, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS2 RPKI ROAs as route objects: tag only (w/o prefix_validated_via_rpki_roas) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS6 RPKI ROAs as route objects: invalid origin ASN ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS6 RPKI ROAs as route objects: ko ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS2 ARIN Whois DB: tag only (w/o prefix_validated_via_arin_whois_db_dump) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS6 ARIN Whois DB: ok (solely because of route white list) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS2 prefix ok, origin ok, ARIN: tag only (w/o prefix_validated_via_arin_whois_db_dump) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS2 prefix ok, origin ok, ROA: tag only (w/o prefix_validated_via_rpki_roas) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS2 ROA + ARIN Whois DB: tag only (w/o comms [arin_whois_db_dump, rpki_roas]) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS6 prefix ok, origin ok, ROA + ARIN: rejected ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: AS6 ROA + ARIN Whois DB: enforced (rejected) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: reconfigure ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: log contains errors ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: dumping rs config... +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: dumping routes... +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv4: stopping instances... +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: setting instances up... +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: instances setup ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: sessions are up ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS2 prefix ko origin ko ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS2 prefix ko origin ok ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS2 prefix ok origin ko ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS2 prefix ok origin ok ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS4 route filtered (origin ko) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS4 prefix ko origin ok ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS4 prefix ok origin ok ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS4 route filtered (prefix ko, origin ko) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS5 route filtered (prefix ko, origin ko) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS5 route filtered (prefix ko) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS5 prefix ok origin ko ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS5 prefix ok origin ok ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS2 white list, prefix ko, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS2 white list, prefix ok, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS2 white list, prefix WL, origin ko ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS2 white list, prefix WL, origin ok ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS2 white list, prefix WL, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS4 route white list, ok (exact) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS4 route white list, reject (more spec) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS4 route white list, ok (more spec) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS4 route white list, reject (origin KO) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS4 route white list, ok (origin any) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS4 white list, prefix ko, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS4 white list, prefix ok, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS4 white list, prefix WL, origin ko ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS4 white list, prefix WL, origin ok ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS4 white list, prefix WL, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS5 white list, prefix ko, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS5 white list, prefix ok, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS5 white list, prefix WL, origin ko ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS5 white list, prefix WL, origin ok ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS5 white list, prefix WL, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS2 RPKI ROAs as route objects: tag only (w/ prefix_validated_via_rpki_roas) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS6 RPKI ROAs as route objects: invalid origin ASN ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS6 RPKI ROAs as route objects: ok ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS2 ARIN Whois DB: tag only (w/ prefix_validated_via_arin_whois_db_dump) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS6 ARIN Whois DB: ok ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS2 prefix ok, origin ok, ARIN: tag only (w/ prefix_validated_via_arin_whois_db_dump) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS2 prefix ok, origin ok, ROA: tag only (w/ prefix_validated_via_rpki_roas) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS2 ROA + ARIN Whois DB: tag only (w/ comms [arin_whois_db_dump, rpki_roas]) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS6 prefix ok, origin ok, ROA + ARIN: enforce (w/ comms [arin_whois_db_dump, rpki_roas]) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: AS6 ROA + ARIN Whois DB: enforce (w/ comms [arin_whois_db_dump, rpki_roas]) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: reconfigure ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: log contains errors ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: dumping rs config... +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: dumping routes... +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv4: stopping instances... +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: setting instances up... +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: instances setup ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: sessions are up ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS2 no enforcement, prefix and origin not in AS-SET ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS4 origin enforcement ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS4 prefix enforcement ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS2 white list, prefix ko, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS2 white list, prefix ok, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS2 white list, prefix WL, origin ko ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS2 white list, prefix WL, origin ok ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS2 white list, prefix WL, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS4 route white list, ok (exact) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS4 route white list, reject (more spec) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS4 route white list, ok (more spec) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS4 route white list, reject (origin KO) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS4 route white list, ok (origin any) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS4 white list, prefix ko, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS4 white list, prefix ok, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS4 white list, prefix WL, origin ko ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS4 white list, prefix WL, origin ok ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS4 white list, prefix WL, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS5 white list, prefix ko, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS5 white list, prefix ok, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS5 white list, prefix WL, origin ko ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS5 white list, prefix WL, origin ok ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS5 white list, prefix WL, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS2 RPKI ROAs as route objects: tag only (w/o prefix_validated_via_rpki_roas) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS6 RPKI ROAs as route objects: invalid origin ASN ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS6 RPKI ROAs as route objects: ko ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS2 ARIN Whois DB: tag only (w/o prefix_validated_via_arin_whois_db_dump) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS6 ARIN Whois DB: ok (solely because of route white list) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS2 prefix ok, origin ok, ARIN: tag only (w/o prefix_validated_via_arin_whois_db_dump) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS2 prefix ok, origin ok, ROA: tag only (w/o prefix_validated_via_rpki_roas) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS2 ROA + ARIN Whois DB: tag only (w/o comms [arin_whois_db_dump, rpki_roas]) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS6 prefix ok, origin ok, ROA + ARIN: rejected ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: AS6 ROA + ARIN Whois DB: enforced (rejected) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: reconfigure ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: log contains errors ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: dumping rs config... +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: dumping routes... +Live test, OpenBGPD 6.9p0, tag prefix/origin empty AS-SET, IPv6: stopping instances... +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: setting instances up... +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: instances setup ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: sessions are up ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS2 prefix ko origin ko ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS2 prefix ko origin ok ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS2 prefix ok origin ko ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS2 prefix ok origin ok ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS4 route filtered (origin ko) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS4 prefix ko origin ok ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS4 prefix ok origin ok ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS4 route filtered (prefix ko, origin ko) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS5 route filtered (prefix ko, origin ko) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS5 route filtered (prefix ko) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS5 prefix ok origin ko ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS5 prefix ok origin ok ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS2 white list, prefix ko, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS2 white list, prefix ok, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS2 white list, prefix WL, origin ko ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS2 white list, prefix WL, origin ok ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS2 white list, prefix WL, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS4 route white list, ok (exact) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS4 route white list, reject (more spec) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS4 route white list, ok (more spec) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS4 route white list, reject (origin KO) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS4 route white list, ok (origin any) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS4 white list, prefix ko, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS4 white list, prefix ok, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS4 white list, prefix WL, origin ko ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS4 white list, prefix WL, origin ok ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS4 white list, prefix WL, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS5 white list, prefix ko, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS5 white list, prefix ok, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS5 white list, prefix WL, origin ko ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS5 white list, prefix WL, origin ok ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS5 white list, prefix WL, origin WL ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS2 RPKI ROAs as route objects: tag only (w/ prefix_validated_via_rpki_roas) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS6 RPKI ROAs as route objects: invalid origin ASN ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS6 RPKI ROAs as route objects: ok ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS2 ARIN Whois DB: tag only (w/ prefix_validated_via_arin_whois_db_dump) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS6 ARIN Whois DB: ok ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS2 prefix ok, origin ok, ARIN: tag only (w/ prefix_validated_via_arin_whois_db_dump) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS2 prefix ok, origin ok, ROA: tag only (w/ prefix_validated_via_rpki_roas) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS2 ROA + ARIN Whois DB: tag only (w/ comms [arin_whois_db_dump, rpki_roas]) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS6 prefix ok, origin ok, ROA + ARIN: enforce (w/ comms [arin_whois_db_dump, rpki_roas]) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: AS6 ROA + ARIN Whois DB: enforce (w/ comms [arin_whois_db_dump, rpki_roas]) ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: reconfigure ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: log contains errors ... ok +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: dumping rs config... +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: dumping routes... +Live test, OpenBGPD 6.9p0, tag prefix/origin in AS-SET, IPv6: stopping instances... ---------------------------------------------------------------------- -Ran 166 tests in 162.383s +Ran 166 tests in 158.950s OK diff --git a/tests/last_results/live_tag_as_set_openbgpd_previous.last b/tests/last_results/live_tag_as_set_openbgpd_previous.last index 60a263f2..a0fe30d8 100644 --- a/tests/last_results/live_tag_as_set_openbgpd_previous.last +++ b/tests/last_results/live_tag_as_set_openbgpd_previous.last @@ -1,187 +1,187 @@ -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: setting instances up... -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: instances setup ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: sessions are up ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS2 no enforcement, prefix and origin not in AS-SET ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS4 origin enforcement ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS4 prefix enforcement ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS2 white list, prefix ko, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS2 white list, prefix ok, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS2 white list, prefix WL, origin ko ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS2 white list, prefix WL, origin ok ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS2 white list, prefix WL, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS4 route white list, ok (exact) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS4 route white list, reject (more spec) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS4 route white list, ok (more spec) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS4 route white list, reject (origin KO) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS4 route white list, ok (origin any) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS4 white list, prefix ko, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS4 white list, prefix ok, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS4 white list, prefix WL, origin ko ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS4 white list, prefix WL, origin ok ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS4 white list, prefix WL, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS5 white list, prefix ko, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS5 white list, prefix ok, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS5 white list, prefix WL, origin ko ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS5 white list, prefix WL, origin ok ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS5 white list, prefix WL, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS2 RPKI ROAs as route objects: tag only (w/o prefix_validated_via_rpki_roas) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS6 RPKI ROAs as route objects: invalid origin ASN ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS6 RPKI ROAs as route objects: ko ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS2 ARIN Whois DB: tag only (w/o prefix_validated_via_arin_whois_db_dump) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS6 ARIN Whois DB: ok (solely because of route white list) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS2 prefix ok, origin ok, ARIN: tag only (w/o prefix_validated_via_arin_whois_db_dump) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS2 prefix ok, origin ok, ROA: tag only (w/o prefix_validated_via_rpki_roas) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS2 ROA + ARIN Whois DB: tag only (w/o comms [arin_whois_db_dump, rpki_roas]) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS6 prefix ok, origin ok, ROA + ARIN: rejected ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: AS6 ROA + ARIN Whois DB: enforced (rejected) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: reconfigure ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: log contains errors ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: dumping rs config... -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: dumping routes... -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv4: stopping instances... -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: setting instances up... -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: instances setup ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: sessions are up ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS2 prefix ko origin ko ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS2 prefix ko origin ok ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS2 prefix ok origin ko ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS2 prefix ok origin ok ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS4 route filtered (origin ko) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS4 prefix ko origin ok ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS4 prefix ok origin ok ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS4 route filtered (prefix ko, origin ko) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS5 route filtered (prefix ko, origin ko) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS5 route filtered (prefix ko) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS5 prefix ok origin ko ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS5 prefix ok origin ok ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS2 white list, prefix ko, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS2 white list, prefix ok, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS2 white list, prefix WL, origin ko ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS2 white list, prefix WL, origin ok ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS2 white list, prefix WL, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS4 route white list, ok (exact) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS4 route white list, reject (more spec) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS4 route white list, ok (more spec) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS4 route white list, reject (origin KO) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS4 route white list, ok (origin any) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS4 white list, prefix ko, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS4 white list, prefix ok, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS4 white list, prefix WL, origin ko ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS4 white list, prefix WL, origin ok ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS4 white list, prefix WL, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS5 white list, prefix ko, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS5 white list, prefix ok, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS5 white list, prefix WL, origin ko ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS5 white list, prefix WL, origin ok ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS5 white list, prefix WL, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS2 RPKI ROAs as route objects: tag only (w/ prefix_validated_via_rpki_roas) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS6 RPKI ROAs as route objects: invalid origin ASN ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS6 RPKI ROAs as route objects: ok ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS2 ARIN Whois DB: tag only (w/ prefix_validated_via_arin_whois_db_dump) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS6 ARIN Whois DB: ok ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS2 prefix ok, origin ok, ARIN: tag only (w/ prefix_validated_via_arin_whois_db_dump) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS2 prefix ok, origin ok, ROA: tag only (w/ prefix_validated_via_rpki_roas) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS2 ROA + ARIN Whois DB: tag only (w/ comms [arin_whois_db_dump, rpki_roas]) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS6 prefix ok, origin ok, ROA + ARIN: enforce (w/ comms [arin_whois_db_dump, rpki_roas]) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: AS6 ROA + ARIN Whois DB: enforce (w/ comms [arin_whois_db_dump, rpki_roas]) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: reconfigure ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: log contains errors ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: dumping rs config... -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: dumping routes... -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv4: stopping instances... -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: setting instances up... -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: instances setup ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: sessions are up ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS2 no enforcement, prefix and origin not in AS-SET ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS4 origin enforcement ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS4 prefix enforcement ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS2 white list, prefix ko, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS2 white list, prefix ok, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS2 white list, prefix WL, origin ko ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS2 white list, prefix WL, origin ok ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS2 white list, prefix WL, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS4 route white list, ok (exact) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS4 route white list, reject (more spec) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS4 route white list, ok (more spec) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS4 route white list, reject (origin KO) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS4 route white list, ok (origin any) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS4 white list, prefix ko, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS4 white list, prefix ok, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS4 white list, prefix WL, origin ko ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS4 white list, prefix WL, origin ok ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS4 white list, prefix WL, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS5 white list, prefix ko, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS5 white list, prefix ok, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS5 white list, prefix WL, origin ko ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS5 white list, prefix WL, origin ok ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS5 white list, prefix WL, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS2 RPKI ROAs as route objects: tag only (w/o prefix_validated_via_rpki_roas) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS6 RPKI ROAs as route objects: invalid origin ASN ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS6 RPKI ROAs as route objects: ko ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS2 ARIN Whois DB: tag only (w/o prefix_validated_via_arin_whois_db_dump) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS6 ARIN Whois DB: ok (solely because of route white list) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS2 prefix ok, origin ok, ARIN: tag only (w/o prefix_validated_via_arin_whois_db_dump) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS2 prefix ok, origin ok, ROA: tag only (w/o prefix_validated_via_rpki_roas) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS2 ROA + ARIN Whois DB: tag only (w/o comms [arin_whois_db_dump, rpki_roas]) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS6 prefix ok, origin ok, ROA + ARIN: rejected ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: AS6 ROA + ARIN Whois DB: enforced (rejected) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: reconfigure ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: log contains errors ... ok -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: dumping rs config... -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: dumping routes... -Live test, OpenBGPD 6.7, tag prefix/origin empty AS-SET, IPv6: stopping instances... -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: setting instances up... -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: instances setup ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: sessions are up ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS2 prefix ko origin ko ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS2 prefix ko origin ok ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS2 prefix ok origin ko ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS2 prefix ok origin ok ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS4 route filtered (origin ko) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS4 prefix ko origin ok ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS4 prefix ok origin ok ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS4 route filtered (prefix ko, origin ko) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS5 route filtered (prefix ko, origin ko) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS5 route filtered (prefix ko) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS5 prefix ok origin ko ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS5 prefix ok origin ok ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS2 white list, prefix ko, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS2 white list, prefix ok, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS2 white list, prefix WL, origin ko ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS2 white list, prefix WL, origin ok ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS2 white list, prefix WL, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS4 route white list, ok (exact) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS4 route white list, reject (more spec) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS4 route white list, ok (more spec) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS4 route white list, reject (origin KO) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS4 route white list, ok (origin any) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS4 white list, prefix ko, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS4 white list, prefix ok, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS4 white list, prefix WL, origin ko ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS4 white list, prefix WL, origin ok ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS4 white list, prefix WL, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS5 white list, prefix ko, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS5 white list, prefix ok, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS5 white list, prefix WL, origin ko ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS5 white list, prefix WL, origin ok ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS5 white list, prefix WL, origin WL ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS2 RPKI ROAs as route objects: tag only (w/ prefix_validated_via_rpki_roas) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS6 RPKI ROAs as route objects: invalid origin ASN ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS6 RPKI ROAs as route objects: ok ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS2 ARIN Whois DB: tag only (w/ prefix_validated_via_arin_whois_db_dump) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS6 ARIN Whois DB: ok ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS2 prefix ok, origin ok, ARIN: tag only (w/ prefix_validated_via_arin_whois_db_dump) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS2 prefix ok, origin ok, ROA: tag only (w/ prefix_validated_via_rpki_roas) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS2 ROA + ARIN Whois DB: tag only (w/ comms [arin_whois_db_dump, rpki_roas]) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS6 prefix ok, origin ok, ROA + ARIN: enforce (w/ comms [arin_whois_db_dump, rpki_roas]) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: AS6 ROA + ARIN Whois DB: enforce (w/ comms [arin_whois_db_dump, rpki_roas]) ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: reconfigure ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: log contains errors ... ok -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: dumping rs config... -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: dumping routes... -Live test, OpenBGPD 6.7, tag prefix/origin in AS-SET, IPv6: stopping instances... +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: setting instances up... +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: instances setup ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: sessions are up ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS2 no enforcement, prefix and origin not in AS-SET ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS4 origin enforcement ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS4 prefix enforcement ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS2 white list, prefix ko, origin WL ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS2 white list, prefix ok, origin WL ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS2 white list, prefix WL, origin ko ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS2 white list, prefix WL, origin ok ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS2 white list, prefix WL, origin WL ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS4 route white list, ok (exact) ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS4 route white list, reject (more spec) ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS4 route white list, ok (more spec) ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS4 route white list, reject (origin KO) ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS4 route white list, ok (origin any) ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS4 white list, prefix ko, origin WL ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS4 white list, prefix ok, origin WL ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS4 white list, prefix WL, origin ko ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS4 white list, prefix WL, origin ok ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS4 white list, prefix WL, origin WL ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS5 white list, prefix ko, origin WL ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS5 white list, prefix ok, origin WL ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS5 white list, prefix WL, origin ko ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS5 white list, prefix WL, origin ok ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS5 white list, prefix WL, origin WL ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS2 RPKI ROAs as route objects: tag only (w/o prefix_validated_via_rpki_roas) ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS6 RPKI ROAs as route objects: invalid origin ASN ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS6 RPKI ROAs as route objects: ko ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS2 ARIN Whois DB: tag only (w/o prefix_validated_via_arin_whois_db_dump) ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS6 ARIN Whois DB: ok (solely because of route white list) ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS2 prefix ok, origin ok, ARIN: tag only (w/o prefix_validated_via_arin_whois_db_dump) ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS2 prefix ok, origin ok, ROA: tag only (w/o prefix_validated_via_rpki_roas) ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS2 ROA + ARIN Whois DB: tag only (w/o comms [arin_whois_db_dump, rpki_roas]) ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS6 prefix ok, origin ok, ROA + ARIN: rejected ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: AS6 ROA + ARIN Whois DB: enforced (rejected) ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: reconfigure ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: log contains errors ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: dumping rs config... +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: dumping routes... +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv4: stopping instances... +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: setting instances up... +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: instances setup ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: sessions are up ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS2 prefix ko origin ko ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS2 prefix ko origin ok ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS2 prefix ok origin ko ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS2 prefix ok origin ok ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS4 route filtered (origin ko) ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS4 prefix ko origin ok ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS4 prefix ok origin ok ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS4 route filtered (prefix ko, origin ko) ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS5 route filtered (prefix ko, origin ko) ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS5 route filtered (prefix ko) ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS5 prefix ok origin ko ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS5 prefix ok origin ok ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS2 white list, prefix ko, origin WL ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS2 white list, prefix ok, origin WL ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS2 white list, prefix WL, origin ko ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS2 white list, prefix WL, origin ok ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS2 white list, prefix WL, origin WL ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS4 route white list, ok (exact) ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS4 route white list, reject (more spec) ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS4 route white list, ok (more spec) ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS4 route white list, reject (origin KO) ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS4 route white list, ok (origin any) ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS4 white list, prefix ko, origin WL ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS4 white list, prefix ok, origin WL ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS4 white list, prefix WL, origin ko ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS4 white list, prefix WL, origin ok ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS4 white list, prefix WL, origin WL ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS5 white list, prefix ko, origin WL ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS5 white list, prefix ok, origin WL ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS5 white list, prefix WL, origin ko ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS5 white list, prefix WL, origin ok ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS5 white list, prefix WL, origin WL ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS2 RPKI ROAs as route objects: tag only (w/ prefix_validated_via_rpki_roas) ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS6 RPKI ROAs as route objects: invalid origin ASN ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS6 RPKI ROAs as route objects: ok ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS2 ARIN Whois DB: tag only (w/ prefix_validated_via_arin_whois_db_dump) ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS6 ARIN Whois DB: ok ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS2 prefix ok, origin ok, ARIN: tag only (w/ prefix_validated_via_arin_whois_db_dump) ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS2 prefix ok, origin ok, ROA: tag only (w/ prefix_validated_via_rpki_roas) ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS2 ROA + ARIN Whois DB: tag only (w/ comms [arin_whois_db_dump, rpki_roas]) ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS6 prefix ok, origin ok, ROA + ARIN: enforce (w/ comms [arin_whois_db_dump, rpki_roas]) ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: AS6 ROA + ARIN Whois DB: enforce (w/ comms [arin_whois_db_dump, rpki_roas]) ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: reconfigure ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: log contains errors ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: dumping rs config... +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: dumping routes... +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv4: stopping instances... +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: setting instances up... +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: instances setup ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: sessions are up ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS2 no enforcement, prefix and origin not in AS-SET ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS4 origin enforcement ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS4 prefix enforcement ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS2 white list, prefix ko, origin WL ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS2 white list, prefix ok, origin WL ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS2 white list, prefix WL, origin ko ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS2 white list, prefix WL, origin ok ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS2 white list, prefix WL, origin WL ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS4 route white list, ok (exact) ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS4 route white list, reject (more spec) ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS4 route white list, ok (more spec) ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS4 route white list, reject (origin KO) ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS4 route white list, ok (origin any) ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS4 white list, prefix ko, origin WL ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS4 white list, prefix ok, origin WL ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS4 white list, prefix WL, origin ko ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS4 white list, prefix WL, origin ok ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS4 white list, prefix WL, origin WL ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS5 white list, prefix ko, origin WL ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS5 white list, prefix ok, origin WL ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS5 white list, prefix WL, origin ko ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS5 white list, prefix WL, origin ok ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS5 white list, prefix WL, origin WL ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS2 RPKI ROAs as route objects: tag only (w/o prefix_validated_via_rpki_roas) ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS6 RPKI ROAs as route objects: invalid origin ASN ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS6 RPKI ROAs as route objects: ko ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS2 ARIN Whois DB: tag only (w/o prefix_validated_via_arin_whois_db_dump) ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS6 ARIN Whois DB: ok (solely because of route white list) ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS2 prefix ok, origin ok, ARIN: tag only (w/o prefix_validated_via_arin_whois_db_dump) ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS2 prefix ok, origin ok, ROA: tag only (w/o prefix_validated_via_rpki_roas) ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS2 ROA + ARIN Whois DB: tag only (w/o comms [arin_whois_db_dump, rpki_roas]) ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS6 prefix ok, origin ok, ROA + ARIN: rejected ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: AS6 ROA + ARIN Whois DB: enforced (rejected) ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: reconfigure ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: log contains errors ... ok +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: dumping rs config... +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: dumping routes... +Live test, OpenBGPD 6.8, tag prefix/origin empty AS-SET, IPv6: stopping instances... +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: setting instances up... +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: instances setup ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: sessions are up ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS2 prefix ko origin ko ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS2 prefix ko origin ok ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS2 prefix ok origin ko ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS2 prefix ok origin ok ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS4 route filtered (origin ko) ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS4 prefix ko origin ok ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS4 prefix ok origin ok ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS4 route filtered (prefix ko, origin ko) ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS5 route filtered (prefix ko, origin ko) ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS5 route filtered (prefix ko) ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS5 prefix ok origin ko ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS5 prefix ok origin ok ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS2 white list, prefix ko, origin WL ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS2 white list, prefix ok, origin WL ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS2 white list, prefix WL, origin ko ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS2 white list, prefix WL, origin ok ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS2 white list, prefix WL, origin WL ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS4 route white list, ok (exact) ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS4 route white list, reject (more spec) ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS4 route white list, ok (more spec) ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS4 route white list, reject (origin KO) ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS4 route white list, ok (origin any) ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS4 white list, prefix ko, origin WL ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS4 white list, prefix ok, origin WL ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS4 white list, prefix WL, origin ko ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS4 white list, prefix WL, origin ok ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS4 white list, prefix WL, origin WL ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS5 white list, prefix ko, origin WL ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS5 white list, prefix ok, origin WL ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS5 white list, prefix WL, origin ko ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS5 white list, prefix WL, origin ok ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS5 white list, prefix WL, origin WL ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS2 RPKI ROAs as route objects: tag only (w/ prefix_validated_via_rpki_roas) ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS6 RPKI ROAs as route objects: invalid origin ASN ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS6 RPKI ROAs as route objects: ok ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS2 ARIN Whois DB: tag only (w/ prefix_validated_via_arin_whois_db_dump) ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS6 ARIN Whois DB: ok ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS2 prefix ok, origin ok, ARIN: tag only (w/ prefix_validated_via_arin_whois_db_dump) ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS2 prefix ok, origin ok, ROA: tag only (w/ prefix_validated_via_rpki_roas) ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS2 ROA + ARIN Whois DB: tag only (w/ comms [arin_whois_db_dump, rpki_roas]) ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS6 prefix ok, origin ok, ROA + ARIN: enforce (w/ comms [arin_whois_db_dump, rpki_roas]) ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: AS6 ROA + ARIN Whois DB: enforce (w/ comms [arin_whois_db_dump, rpki_roas]) ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: reconfigure ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: log contains errors ... ok +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: dumping rs config... +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: dumping routes... +Live test, OpenBGPD 6.8, tag prefix/origin in AS-SET, IPv6: stopping instances... ---------------------------------------------------------------------- -Ran 166 tests in 235.172s +Ran 166 tests in 233.864s OK diff --git a/tests/last_results/live_tag_reject_policy_openbgpd_latest.last b/tests/last_results/live_tag_reject_policy_openbgpd_latest.last index 8a064ac9..3fd6d3c9 100644 --- a/tests/last_results/live_tag_reject_policy_openbgpd_latest.last +++ b/tests/last_results/live_tag_reject_policy_openbgpd_latest.last @@ -1,57 +1,57 @@ -Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv4: setting instances up... -Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv4: instances setup ... ok -Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv4: sessions are up ... ok -Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv4: AS_PATH too long ... ok -Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv4: bogon prefix ... ok -Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv4: bogon prefix, wrong announcing ASN ... ok -Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv4: prefix in client's blacklist ... ok -Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv4: invalid ASN in AS_PATH ... ok -Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv4: invalid NEXT_HOP ... ok -Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv4: local black list ... ok -Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv4: prefix is not in IPv6 global unicast space ... SKIP: IPv6 only test -Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv4: origin not in as-macro ... ok -Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv4: invalid left-most ASN ... ok -Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv4: prefix length ... ok -Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv4: prefix not in as-macro ... ok -Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv4: RPKI INVALID route ... SKIP: RPKI not supported by OpenBGPD -Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv4: transit-free ASN in AS_PATH ... ok -Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv4: good routes not received ... ok -Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv4: prefixes received by clients: AS1_1 ... ok -Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv4: prefixes received by clients: AS1_2 ... ok -Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv4: prefixes received by clients: AS2 ... ok -Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv4: reconfigure ... ok -Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv4: log contains errors ... ok -Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv4: dumping rs config... -Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv4: dumping routes... -Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv4: stopping instances... -Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv6: setting instances up... -Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv6: instances setup ... ok -Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv6: sessions are up ... ok -Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv6: AS_PATH too long ... ok -Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv6: bogon prefix ... ok -Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv6: bogon prefix, wrong announcing ASN ... ok -Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv6: prefix in client's blacklist ... ok -Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv6: invalid ASN in AS_PATH ... ok -Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv6: invalid NEXT_HOP ... ok -Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv6: local black list ... ok -Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv6: prefix is not in IPv6 global unicast space ... ok -Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv6: origin not in as-macro ... ok -Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv6: invalid left-most ASN ... ok -Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv6: prefix length ... ok -Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv6: prefix not in as-macro ... ok -Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv6: RPKI INVALID route ... SKIP: RPKI not supported by OpenBGPD -Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv6: transit-free ASN in AS_PATH ... ok -Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv6: good routes not received ... ok -Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv6: prefixes received by clients: AS1_1 ... ok -Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv6: prefixes received by clients: AS1_2 ... ok -Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv6: prefixes received by clients: AS2 ... ok -Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv6: reconfigure ... ok -Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv6: log contains errors ... ok -Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv6: dumping rs config... -Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv6: dumping routes... -Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv6: stopping instances... +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv4: setting instances up... +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv4: instances setup ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv4: sessions are up ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv4: AS_PATH too long ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv4: bogon prefix ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv4: bogon prefix, wrong announcing ASN ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv4: prefix in client's blacklist ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv4: invalid ASN in AS_PATH ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv4: invalid NEXT_HOP ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv4: local black list ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv4: prefix is not in IPv6 global unicast space ... SKIP: IPv6 only test +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv4: origin not in as-macro ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv4: invalid left-most ASN ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv4: prefix length ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv4: prefix not in as-macro ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv4: RPKI INVALID route ... SKIP: RPKI not supported by OpenBGPD +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv4: transit-free ASN in AS_PATH ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv4: good routes not received ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv4: prefixes received by clients: AS1_1 ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv4: prefixes received by clients: AS1_2 ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv4: prefixes received by clients: AS2 ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv4: reconfigure ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv4: log contains errors ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv4: dumping rs config... +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv4: dumping routes... +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv4: stopping instances... +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv6: setting instances up... +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv6: instances setup ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv6: sessions are up ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv6: AS_PATH too long ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv6: bogon prefix ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv6: bogon prefix, wrong announcing ASN ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv6: prefix in client's blacklist ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv6: invalid ASN in AS_PATH ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv6: invalid NEXT_HOP ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv6: local black list ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv6: prefix is not in IPv6 global unicast space ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv6: origin not in as-macro ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv6: invalid left-most ASN ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv6: prefix length ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv6: prefix not in as-macro ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv6: RPKI INVALID route ... SKIP: RPKI not supported by OpenBGPD +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv6: transit-free ASN in AS_PATH ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv6: good routes not received ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv6: prefixes received by clients: AS1_1 ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv6: prefixes received by clients: AS1_2 ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv6: prefixes received by clients: AS2 ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv6: reconfigure ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv6: log contains errors ... ok +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv6: dumping rs config... +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv6: dumping routes... +Live test, OpenBGPD 6.9, 'tag' reject policy scenario, IPv6: stopping instances... ---------------------------------------------------------------------- -Ran 44 tests in 169.753s +Ran 44 tests in 166.424s OK (SKIP=3) diff --git a/tests/last_results/live_tag_reject_policy_openbgpd_portable.last b/tests/last_results/live_tag_reject_policy_openbgpd_portable.last index 0551fe1e..92a289e7 100644 --- a/tests/last_results/live_tag_reject_policy_openbgpd_portable.last +++ b/tests/last_results/live_tag_reject_policy_openbgpd_portable.last @@ -1,57 +1,57 @@ -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv4: setting instances up... -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv4: instances setup ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv4: sessions are up ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv4: AS_PATH too long ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv4: bogon prefix ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv4: bogon prefix, wrong announcing ASN ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv4: prefix in client's blacklist ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv4: invalid ASN in AS_PATH ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv4: invalid NEXT_HOP ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv4: local black list ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv4: prefix is not in IPv6 global unicast space ... SKIP: IPv6 only test -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv4: origin not in as-macro ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv4: invalid left-most ASN ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv4: prefix length ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv4: prefix not in as-macro ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv4: RPKI INVALID route ... SKIP: RPKI not supported by OpenBGPD -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv4: transit-free ASN in AS_PATH ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv4: good routes not received ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv4: prefixes received by clients: AS1_1 ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv4: prefixes received by clients: AS1_2 ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv4: prefixes received by clients: AS2 ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv4: reconfigure ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv4: log contains errors ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv4: dumping rs config... -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv4: dumping routes... -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv4: stopping instances... -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv6: setting instances up... -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv6: instances setup ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv6: sessions are up ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv6: AS_PATH too long ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv6: bogon prefix ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv6: bogon prefix, wrong announcing ASN ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv6: prefix in client's blacklist ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv6: invalid ASN in AS_PATH ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv6: invalid NEXT_HOP ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv6: local black list ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv6: prefix is not in IPv6 global unicast space ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv6: origin not in as-macro ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv6: invalid left-most ASN ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv6: prefix length ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv6: prefix not in as-macro ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv6: RPKI INVALID route ... SKIP: RPKI not supported by OpenBGPD -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv6: transit-free ASN in AS_PATH ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv6: good routes not received ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv6: prefixes received by clients: AS1_1 ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv6: prefixes received by clients: AS1_2 ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv6: prefixes received by clients: AS2 ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv6: reconfigure ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv6: log contains errors ... ok -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv6: dumping rs config... -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv6: dumping routes... -Live test, OpenBGPD 6.8p1, 'tag' reject policy scenario, IPv6: stopping instances... +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv4: setting instances up... +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv4: instances setup ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv4: sessions are up ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv4: AS_PATH too long ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv4: bogon prefix ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv4: bogon prefix, wrong announcing ASN ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv4: prefix in client's blacklist ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv4: invalid ASN in AS_PATH ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv4: invalid NEXT_HOP ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv4: local black list ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv4: prefix is not in IPv6 global unicast space ... SKIP: IPv6 only test +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv4: origin not in as-macro ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv4: invalid left-most ASN ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv4: prefix length ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv4: prefix not in as-macro ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv4: RPKI INVALID route ... SKIP: RPKI not supported by OpenBGPD +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv4: transit-free ASN in AS_PATH ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv4: good routes not received ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv4: prefixes received by clients: AS1_1 ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv4: prefixes received by clients: AS1_2 ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv4: prefixes received by clients: AS2 ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv4: reconfigure ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv4: log contains errors ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv4: dumping rs config... +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv4: dumping routes... +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv4: stopping instances... +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv6: setting instances up... +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv6: instances setup ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv6: sessions are up ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv6: AS_PATH too long ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv6: bogon prefix ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv6: bogon prefix, wrong announcing ASN ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv6: prefix in client's blacklist ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv6: invalid ASN in AS_PATH ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv6: invalid NEXT_HOP ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv6: local black list ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv6: prefix is not in IPv6 global unicast space ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv6: origin not in as-macro ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv6: invalid left-most ASN ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv6: prefix length ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv6: prefix not in as-macro ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv6: RPKI INVALID route ... SKIP: RPKI not supported by OpenBGPD +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv6: transit-free ASN in AS_PATH ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv6: good routes not received ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv6: prefixes received by clients: AS1_1 ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv6: prefixes received by clients: AS1_2 ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv6: prefixes received by clients: AS2 ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv6: reconfigure ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv6: log contains errors ... ok +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv6: dumping rs config... +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv6: dumping routes... +Live test, OpenBGPD 6.9p0, 'tag' reject policy scenario, IPv6: stopping instances... ---------------------------------------------------------------------- -Ran 44 tests in 114.237s +Ran 44 tests in 109.254s OK (SKIP=3) diff --git a/tests/last_results/live_tag_reject_policy_openbgpd_previous.last b/tests/last_results/live_tag_reject_policy_openbgpd_previous.last index c01867b9..333e8f13 100644 --- a/tests/last_results/live_tag_reject_policy_openbgpd_previous.last +++ b/tests/last_results/live_tag_reject_policy_openbgpd_previous.last @@ -1,57 +1,57 @@ -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv4: setting instances up... -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv4: instances setup ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv4: sessions are up ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv4: AS_PATH too long ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv4: bogon prefix ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv4: bogon prefix, wrong announcing ASN ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv4: prefix in client's blacklist ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv4: invalid ASN in AS_PATH ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv4: invalid NEXT_HOP ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv4: local black list ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv4: prefix is not in IPv6 global unicast space ... SKIP: IPv6 only test -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv4: origin not in as-macro ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv4: invalid left-most ASN ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv4: prefix length ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv4: prefix not in as-macro ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv4: RPKI INVALID route ... SKIP: RPKI not supported by OpenBGPD -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv4: transit-free ASN in AS_PATH ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv4: good routes not received ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv4: prefixes received by clients: AS1_1 ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv4: prefixes received by clients: AS1_2 ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv4: prefixes received by clients: AS2 ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv4: reconfigure ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv4: log contains errors ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv4: dumping rs config... -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv4: dumping routes... -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv4: stopping instances... -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv6: setting instances up... -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv6: instances setup ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv6: sessions are up ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv6: AS_PATH too long ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv6: bogon prefix ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv6: bogon prefix, wrong announcing ASN ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv6: prefix in client's blacklist ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv6: invalid ASN in AS_PATH ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv6: invalid NEXT_HOP ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv6: local black list ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv6: prefix is not in IPv6 global unicast space ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv6: origin not in as-macro ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv6: invalid left-most ASN ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv6: prefix length ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv6: prefix not in as-macro ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv6: RPKI INVALID route ... SKIP: RPKI not supported by OpenBGPD -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv6: transit-free ASN in AS_PATH ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv6: good routes not received ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv6: prefixes received by clients: AS1_1 ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv6: prefixes received by clients: AS1_2 ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv6: prefixes received by clients: AS2 ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv6: reconfigure ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv6: log contains errors ... ok -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv6: dumping rs config... -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv6: dumping routes... -Live test, OpenBGPD 6.7, 'tag' reject policy scenario, IPv6: stopping instances... +Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv4: setting instances up... +Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv4: instances setup ... ok +Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv4: sessions are up ... ok +Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv4: AS_PATH too long ... ok +Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv4: bogon prefix ... ok +Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv4: bogon prefix, wrong announcing ASN ... ok +Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv4: prefix in client's blacklist ... ok +Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv4: invalid ASN in AS_PATH ... ok +Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv4: invalid NEXT_HOP ... ok +Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv4: local black list ... ok +Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv4: prefix is not in IPv6 global unicast space ... SKIP: IPv6 only test +Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv4: origin not in as-macro ... ok +Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv4: invalid left-most ASN ... ok +Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv4: prefix length ... ok +Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv4: prefix not in as-macro ... ok +Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv4: RPKI INVALID route ... SKIP: RPKI not supported by OpenBGPD +Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv4: transit-free ASN in AS_PATH ... ok +Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv4: good routes not received ... ok +Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv4: prefixes received by clients: AS1_1 ... ok +Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv4: prefixes received by clients: AS1_2 ... ok +Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv4: prefixes received by clients: AS2 ... ok +Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv4: reconfigure ... ok +Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv4: log contains errors ... ok +Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv4: dumping rs config... +Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv4: dumping routes... +Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv4: stopping instances... +Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv6: setting instances up... +Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv6: instances setup ... ok +Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv6: sessions are up ... ok +Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv6: AS_PATH too long ... ok +Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv6: bogon prefix ... ok +Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv6: bogon prefix, wrong announcing ASN ... ok +Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv6: prefix in client's blacklist ... ok +Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv6: invalid ASN in AS_PATH ... ok +Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv6: invalid NEXT_HOP ... ok +Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv6: local black list ... ok +Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv6: prefix is not in IPv6 global unicast space ... ok +Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv6: origin not in as-macro ... ok +Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv6: invalid left-most ASN ... ok +Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv6: prefix length ... ok +Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv6: prefix not in as-macro ... ok +Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv6: RPKI INVALID route ... SKIP: RPKI not supported by OpenBGPD +Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv6: transit-free ASN in AS_PATH ... ok +Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv6: good routes not received ... ok +Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv6: prefixes received by clients: AS1_1 ... ok +Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv6: prefixes received by clients: AS1_2 ... ok +Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv6: prefixes received by clients: AS2 ... ok +Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv6: reconfigure ... ok +Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv6: log contains errors ... ok +Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv6: dumping rs config... +Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv6: dumping routes... +Live test, OpenBGPD 6.8, 'tag' reject policy scenario, IPv6: stopping instances... ---------------------------------------------------------------------- -Ran 44 tests in 168.145s +Ran 44 tests in 168.207s OK (SKIP=3) diff --git a/tests/live_tests/scenarios/bird2_rpki_rtr_example/clients.yml b/tests/live_tests/scenarios/bird2_rpki_rtr_example/clients.yml deleted file mode 120000 index 4d9c5dac..00000000 --- a/tests/live_tests/scenarios/bird2_rpki_rtr_example/clients.yml +++ /dev/null @@ -1 +0,0 @@ -../../../../examples/bird2_rpki_rtr/clients.yml \ No newline at end of file diff --git a/tests/live_tests/scenarios/bird2_rpki_rtr_example/general.yml b/tests/live_tests/scenarios/bird2_rpki_rtr_example/general.yml deleted file mode 120000 index 13b586a4..00000000 --- a/tests/live_tests/scenarios/bird2_rpki_rtr_example/general.yml +++ /dev/null @@ -1 +0,0 @@ -../../../../examples/bird2_rpki_rtr/general.yml \ No newline at end of file diff --git a/tests/live_tests/scenarios/bird2_rpki_rtr_example/rpki_rtr_config.local b/tests/live_tests/scenarios/bird2_rpki_rtr_example/rpki_rtr_config.local deleted file mode 120000 index 60f9ee96..00000000 --- a/tests/live_tests/scenarios/bird2_rpki_rtr_example/rpki_rtr_config.local +++ /dev/null @@ -1 +0,0 @@ -../../../../examples/bird2_rpki_rtr/rpki_rtr_config.local \ No newline at end of file diff --git a/tests/live_tests/scenarios/communities/configs/BGPCommunitiesScenario_OpenBGPDIPv4/openbgpd68.conf b/tests/live_tests/scenarios/communities/configs/BGPCommunitiesScenario_OpenBGPDIPv4/openbgpd68.conf index 1d41cf73..6422a53c 100644 --- a/tests/live_tests/scenarios/communities/configs/BGPCommunitiesScenario_OpenBGPDIPv4/openbgpd68.conf +++ b/tests/live_tests/scenarios/communities/configs/BGPCommunitiesScenario_OpenBGPDIPv4/openbgpd68.conf @@ -7,6 +7,7 @@ log updates nexthop qualify via default + INTCOMM_PREF_OK_ROA="soo 65535:1" INTCOMM_ROUTE_OK_WL="soo 65535:2" INTCOMM_PREF_OK_ARINDB="soo 65535:3" @@ -39,6 +40,7 @@ group "clients" { neighbor 192.0.2.33 { remote-as 131073 + passive ttl-security no transparent-as yes @@ -54,6 +56,7 @@ group "clients" { neighbor 2001:db8:1:1::33 { remote-as 131073 + passive ttl-security no transparent-as yes @@ -69,6 +72,7 @@ group "clients" { neighbor 192.0.2.11 { remote-as 1 + passive ttl-security no transparent-as yes @@ -84,6 +88,7 @@ group "clients" { neighbor 2001:db8:1:1::11 { remote-as 1 + passive ttl-security no transparent-as yes @@ -99,6 +104,7 @@ group "clients" { neighbor 192.0.2.22 { remote-as 2 + passive ttl-security no transparent-as yes @@ -114,6 +120,7 @@ group "clients" { neighbor 2001:db8:1:1::22 { remote-as 2 + passive ttl-security no transparent-as yes @@ -231,6 +238,7 @@ match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ + # Set the 'rejected_route_announced_by' community for all the clients. # It will be removed later if the route is not invalid match from 192.0.2.33 set ext-community rt 65520:131073 diff --git a/tests/live_tests/scenarios/communities/configs/BGPCommunitiesScenario_OpenBGPDIPv4/openbgpd69.conf b/tests/live_tests/scenarios/communities/configs/BGPCommunitiesScenario_OpenBGPDIPv4/openbgpd69.conf new file mode 100644 index 00000000..6031c832 --- /dev/null +++ b/tests/live_tests/scenarios/communities/configs/BGPCommunitiesScenario_OpenBGPDIPv4/openbgpd69.conf @@ -0,0 +1,887 @@ +# built by ARouteServer +AS 999 +router-id 192.0.2.2 + +fib-update no +log updates + +nexthop qualify via default + +rde evaluate all + +INTCOMM_PREF_OK_ROA="soo 65535:1" +INTCOMM_ROUTE_OK_WL="soo 65535:2" +INTCOMM_PREF_OK_ARINDB="soo 65535:3" +INTCOMM_PREF_OK_REGISTROBRDB="soo 65535:12" + +INTCOMM_ORIGIN_OK="soo 65535:4" +INTCOMM_ORIGIN_KO="soo 65535:5" +INTCOMM_PREFIX_OK="soo 65535:6" +INTCOMM_PREFIX_KO="soo 65535:7" +INTCOMM_IRR_REJECT="soo 65535:8" + +INTCOMM_RPKI_UNKNOWN="soo 65535:9" +INTCOMM_RPKI_INVALID="soo 65535:10" +INTCOMM_RPKI_VALID="soo 65535:11" + +INTCOMM_NO_EXPORT="soo 65535:65281" +INTCOMM_NO_ADVERTISE="soo 65535:65282" + +# --------------------------------------------------------- +# IRRDB + + + + +# --------------------------------------------------------- +# MEMBERS + +group "clients" { + + neighbor 192.0.2.33 { + remote-as 131073 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::33 { + remote-as 131073 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.11 { + remote-as 1 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::11 { + remote-as 1 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.22 { + remote-as 2 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::22 { + remote-as 2 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } +} + + + +# --------------------------------------------------------- +# FILTERS + +# NO_ADVERTISE usage notes. +# The NO_ADVERTISE well-know community is used here to handle +# filters that span over multiple steps. At first it is added +# to any route, then it is removed as filters conditions are +# satisfied. Finally, if it is still present, it means that +# the route should be discarded. + + + + + +prefix-set "bogons" { + 0.0.0.0/0 + 0.0.0.0/8 prefixlen 8 - 32 + 10.0.0.0/8 prefixlen 8 - 32 + 127.0.0.0/8 prefixlen 8 - 32 + 169.254.0.0/16 prefixlen 16 - 32 + 172.16.0.0/12 prefixlen 12 - 32 + 192.0.2.0/24 prefixlen 24 - 32 + 192.88.99.0/24 prefixlen 24 - 32 + 192.168.0.0/16 prefixlen 16 - 32 + 198.18.0.0/15 prefixlen 15 - 32 + 198.51.100.0/24 prefixlen 24 - 32 + 203.0.113.0/24 prefixlen 24 - 32 + 224.0.0.0/3 prefixlen 3 - 32 + 100.64.0.0/10 prefixlen 10 - 32 + ::/0 + ::/8 prefixlen 8 - 128 + 64:ff9b::/96 prefixlen 96 - 128 + 100::/8 prefixlen 8 - 128 + 200::/7 prefixlen 7 - 128 + 400::/6 prefixlen 6 - 128 + 800::/5 prefixlen 5 - 128 + 1000::/4 prefixlen 4 - 128 + 2001::/33 prefixlen 33 - 128 + 2001:0:8000::/33 prefixlen 33 - 128 + 2001:2::/48 prefixlen 48 - 128 + 2001:3::/32 prefixlen 32 - 128 + 2001:10::/28 prefixlen 28 - 128 + 2001:20::/28 prefixlen 28 - 128 + 2001:db8::/32 prefixlen 32 - 128 + 2002::/16 prefixlen 16 - 128 + 3ffe::/16 prefixlen 16 - 128 + 4000::/3 prefixlen 3 - 128 + 5f00::/8 prefixlen 8 - 128 + 6000::/3 prefixlen 3 - 128 + 8000::/3 prefixlen 3 - 128 + a000::/3 prefixlen 3 - 128 + c000::/3 prefixlen 3 - 128 + e000::/4 prefixlen 4 - 128 + f000::/5 prefixlen 5 - 128 + f800::/6 prefixlen 6 - 128 + fc00::/7 prefixlen 7 - 128 + fe80::/10 prefixlen 10 - 128 + fec0::/10 prefixlen 10 - 128 + ff00::/8 prefixlen 8 - 128 + +} + +# ===================================================================================== +# Global rules. + +# This part of configuration is processed at the beginning of the filters. +# The rules defined in this part are applied to all the clients, and not on a +# client-by-client basis (see the 'match from group clients'), so only global policies +# can be implemented here, that is no client-level configuration are allowed. + + + +# Scrub communities from inbound routes +# cust_comm1 +match from group clients set community delete 65501:65501 +match from group clients set ext-community delete rt 65501:65501 +match from group clients set large-community delete 999:65501:65501 + + +# Scrub internal communities from inbound routes +match from group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + + +# The main goal of this block is to enrich routes received from clients by attaching to them +# internal informational communities which are used later by the rest of the filter rules. + +# Internal communities used for RFC1997 well-known communities handling + +# Transform NO_EXPORT into $INTCOMM_NO_EXPORT +match from group clients community NO_EXPORT set { ext-community $INTCOMM_NO_EXPORT community delete NO_EXPORT } + +# Transform NO_ADVERTISE into $INTCOMM_NO_ADVERTISE +match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ADVERTISE community delete NO_ADVERTISE } + + + + + + + + + +# Set the 'rejected_route_announced_by' community for all the clients. +# It will be removed later if the route is not invalid +match from 192.0.2.33 set ext-community rt 65520:131073 + +match from 2001:db8:1:1::33 set ext-community rt 65520:131073 + +match from 192.0.2.11 set ext-community rt 65520:1 + +match from 2001:db8:1:1::11 set ext-community rt 65520:1 + +match from 192.0.2.22 set ext-community rt 65520:2 + +match from 2001:db8:1:1::22 set ext-community rt 65520:2 + + + + +# AS_PATH: length +# Reject inbound routes when 'from group clients max-as-len 32' - reject code: 1 +allow quick from group clients max-as-len 32 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:1} + + + +# Prefix: only IPv6 Global Unicast space allowed +match from group clients inet6 set community NO_ADVERTISE +match from group clients prefix 2000::/3 or-longer set community delete NO_ADVERTISE +# Reject inbound routes when 'from group clients community NO_ADVERTISE' - reject code: 10 +allow quick from group clients community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:10} + + +# Prefix: bogon +# Reject inbound routes when 'from group clients prefix-set bogons' - reject code: 2 +allow quick from group clients prefix-set bogons set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:2} + + + + +# ===================================================================================== +# Per client rules. + + +# --------------------------------------------- +# client AS131073_1, inbound + + + +# NEXT_HOP +match from 192.0.2.33 set community NO_ADVERTISE +match from 192.0.2.33 nexthop 192.0.2.33 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.33 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.33 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.33 peer-as != 131073' - reject code: 6 +allow quick from 192.0.2.33 peer-as != 131073 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.33 AS 23456' - reject code: 7 +allow quick from 192.0.2.33 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.33 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.33 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.33 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.33 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.33 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.33 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.33 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.33 set ext-community delete rt 65520:131073 + + + +allow quick from 192.0.2.33 + + + +# --------------------------------------------- +# client AS131073_1, outbound + +deny quick to 192.0.2.33 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.33 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.33 + +# do_not_announce_to_any +deny to 192.0.2.33 community 0:999 +deny to 192.0.2.33 ext-community rt 0:999 +deny to 192.0.2.33 large-community 999:0:999 + +# do_not_announce_to_peer +# Warning: must skip 0:peer_as because peer_as > 65535 (131073) +deny quick to 192.0.2.33 ext-community rt 0:131073 +deny quick to 192.0.2.33 large-community 999:0:131073 + +# announce_to_peer +# Warning: must skip 999:peer_as because peer_as > 65535 (131073) +allow to 192.0.2.33 ext-community rt 999:131073 +allow to 192.0.2.33 large-community 999:999:131073 + + + + + + +# --------------------------------------------- +# client AS131073_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::33 set community NO_ADVERTISE +match from 2001:db8:1:1::33 nexthop 2001:db8:1:1::33 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::33 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::33 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::33 peer-as != 131073' - reject code: 6 +allow quick from 2001:db8:1:1::33 peer-as != 131073 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::33 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::33 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::33 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::33 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::33 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::33 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::33 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::33 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::33 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::33 set ext-community delete rt 65520:131073 + + + +allow quick from 2001:db8:1:1::33 + + + +# --------------------------------------------- +# client AS131073_2, outbound + +deny quick to 2001:db8:1:1::33 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::33 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::33 + +# do_not_announce_to_any +deny to 2001:db8:1:1::33 community 0:999 +deny to 2001:db8:1:1::33 ext-community rt 0:999 +deny to 2001:db8:1:1::33 large-community 999:0:999 + +# do_not_announce_to_peer +# Warning: must skip 0:peer_as because peer_as > 65535 (131073) +deny quick to 2001:db8:1:1::33 ext-community rt 0:131073 +deny quick to 2001:db8:1:1::33 large-community 999:0:131073 + +# announce_to_peer +# Warning: must skip 999:peer_as because peer_as > 65535 (131073) +allow to 2001:db8:1:1::33 ext-community rt 999:131073 +allow to 2001:db8:1:1::33 large-community 999:999:131073 + + + + + + +# --------------------------------------------- +# client AS1_1, inbound + + +# Attach custom BGP communities +# cust_comm1 +match from 192.0.2.11 set community 65501:65501 +match from 192.0.2.11 set ext-community rt 65501:65501 +match from 192.0.2.11 set large-community 999:65501:65501 + +# NEXT_HOP +match from 192.0.2.11 set community NO_ADVERTISE +match from 192.0.2.11 nexthop 192.0.2.11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.11 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.11 peer-as != 1' - reject code: 6 +allow quick from 192.0.2.11 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.11 AS 23456' - reject code: 7 +allow quick from 192.0.2.11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.11 set ext-community delete rt 65520:1 + + + +allow quick from 192.0.2.11 + + + +# --------------------------------------------- +# client AS1_1, outbound + +deny quick to 192.0.2.11 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.11 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.11 + +# do_not_announce_to_any +deny to 192.0.2.11 community 0:999 +deny to 192.0.2.11 ext-community rt 0:999 +deny to 192.0.2.11 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 192.0.2.11 community 0:1 +deny quick to 192.0.2.11 ext-community rt 0:1 +deny quick to 192.0.2.11 large-community 999:0:1 + +# announce_to_peer +allow to 192.0.2.11 community 999:1 +allow to 192.0.2.11 ext-community rt 999:1 +allow to 192.0.2.11 large-community 999:999:1 + + + + + + +# --------------------------------------------- +# client AS1_2, inbound + + +# Attach custom BGP communities +# cust_comm1 +match from 2001:db8:1:1::11 set community 65501:65501 +match from 2001:db8:1:1::11 set ext-community rt 65501:65501 +match from 2001:db8:1:1::11 set large-community 999:65501:65501 + +# NEXT_HOP +match from 2001:db8:1:1::11 set community NO_ADVERTISE +match from 2001:db8:1:1::11 nexthop 2001:db8:1:1::11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::11 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::11 peer-as != 1' - reject code: 6 +allow quick from 2001:db8:1:1::11 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::11 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::11 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::11 set ext-community delete rt 65520:1 + + + +allow quick from 2001:db8:1:1::11 + + + +# --------------------------------------------- +# client AS1_2, outbound + +deny quick to 2001:db8:1:1::11 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::11 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::11 + +# do_not_announce_to_any +deny to 2001:db8:1:1::11 community 0:999 +deny to 2001:db8:1:1::11 ext-community rt 0:999 +deny to 2001:db8:1:1::11 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::11 community 0:1 +deny quick to 2001:db8:1:1::11 ext-community rt 0:1 +deny quick to 2001:db8:1:1::11 large-community 999:0:1 + +# announce_to_peer +allow to 2001:db8:1:1::11 community 999:1 +allow to 2001:db8:1:1::11 ext-community rt 999:1 +allow to 2001:db8:1:1::11 large-community 999:999:1 + + + + + + +# --------------------------------------------- +# client AS2_1, inbound + + + +# NEXT_HOP +match from 192.0.2.22 set community NO_ADVERTISE +match from 192.0.2.22 nexthop 192.0.2.22 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.22 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.22 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.22 peer-as != 2' - reject code: 6 +allow quick from 192.0.2.22 peer-as != 2 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.22 AS 23456' - reject code: 7 +allow quick from 192.0.2.22 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.22 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.22 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.22 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.22 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.22 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.22 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.22 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.22 set ext-community delete rt 65520:2 + + + +allow quick from 192.0.2.22 + + + +# --------------------------------------------- +# client AS2_1, outbound + +deny quick to 192.0.2.22 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.22 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.22 + +# do_not_announce_to_any +deny to 192.0.2.22 community 0:999 +deny to 192.0.2.22 ext-community rt 0:999 +deny to 192.0.2.22 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 192.0.2.22 community 0:2 +deny quick to 192.0.2.22 ext-community rt 0:2 +deny quick to 192.0.2.22 large-community 999:0:2 + +# announce_to_peer +allow to 192.0.2.22 community 999:2 +allow to 192.0.2.22 ext-community rt 999:2 +allow to 192.0.2.22 large-community 999:999:2 + + + + + + +# --------------------------------------------- +# client AS2_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::22 set community NO_ADVERTISE +match from 2001:db8:1:1::22 nexthop 2001:db8:1:1::22 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::22 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::22 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::22 peer-as != 2' - reject code: 6 +allow quick from 2001:db8:1:1::22 peer-as != 2 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::22 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::22 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::22 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::22 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::22 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::22 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::22 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::22 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::22 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::22 set ext-community delete rt 65520:2 + + + +allow quick from 2001:db8:1:1::22 + + + +# --------------------------------------------- +# client AS2_2, outbound + +deny quick to 2001:db8:1:1::22 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::22 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::22 + +# do_not_announce_to_any +deny to 2001:db8:1:1::22 community 0:999 +deny to 2001:db8:1:1::22 ext-community rt 0:999 +deny to 2001:db8:1:1::22 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::22 community 0:2 +deny quick to 2001:db8:1:1::22 ext-community rt 0:2 +deny quick to 2001:db8:1:1::22 large-community 999:0:2 + +# announce_to_peer +allow to 2001:db8:1:1::22 community 999:2 +allow to 2001:db8:1:1::22 ext-community rt 999:2 +allow to 2001:db8:1:1::22 large-community 999:999:2 + + + + + + + + +# Scrub communities from outbound routes +# announce_to_peer +match to group clients set community delete 999:* +# Warning: rt:999:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:999:* + +# do_not_announce_to_any +match to group clients set community delete 0:999 +match to group clients set ext-community delete rt 0:999 +match to group clients set large-community delete 999:0:999 + +# do_not_announce_to_peer +match to group clients set community delete 0:* +# Warning: rt:0:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:0:* + + +# Scrub prepending communities + + +# RFC1997 NO_EXPORT/NO_ADVERTISE received from clients and propagated because of pass-through policy +match to group clients ext-community $INTCOMM_NO_EXPORT set community NO_EXPORT +match to group clients ext-community $INTCOMM_NO_ADVERTISE set community NO_ADVERTISE + +# Remove internal communities before announcing the route +match to group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + diff --git a/tests/live_tests/scenarios/communities/configs/BGPCommunitiesScenario_OpenBGPDIPv4/openbgpd69p.conf b/tests/live_tests/scenarios/communities/configs/BGPCommunitiesScenario_OpenBGPDIPv4/openbgpd69p.conf new file mode 100644 index 00000000..6031c832 --- /dev/null +++ b/tests/live_tests/scenarios/communities/configs/BGPCommunitiesScenario_OpenBGPDIPv4/openbgpd69p.conf @@ -0,0 +1,887 @@ +# built by ARouteServer +AS 999 +router-id 192.0.2.2 + +fib-update no +log updates + +nexthop qualify via default + +rde evaluate all + +INTCOMM_PREF_OK_ROA="soo 65535:1" +INTCOMM_ROUTE_OK_WL="soo 65535:2" +INTCOMM_PREF_OK_ARINDB="soo 65535:3" +INTCOMM_PREF_OK_REGISTROBRDB="soo 65535:12" + +INTCOMM_ORIGIN_OK="soo 65535:4" +INTCOMM_ORIGIN_KO="soo 65535:5" +INTCOMM_PREFIX_OK="soo 65535:6" +INTCOMM_PREFIX_KO="soo 65535:7" +INTCOMM_IRR_REJECT="soo 65535:8" + +INTCOMM_RPKI_UNKNOWN="soo 65535:9" +INTCOMM_RPKI_INVALID="soo 65535:10" +INTCOMM_RPKI_VALID="soo 65535:11" + +INTCOMM_NO_EXPORT="soo 65535:65281" +INTCOMM_NO_ADVERTISE="soo 65535:65282" + +# --------------------------------------------------------- +# IRRDB + + + + +# --------------------------------------------------------- +# MEMBERS + +group "clients" { + + neighbor 192.0.2.33 { + remote-as 131073 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::33 { + remote-as 131073 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.11 { + remote-as 1 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::11 { + remote-as 1 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.22 { + remote-as 2 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::22 { + remote-as 2 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } +} + + + +# --------------------------------------------------------- +# FILTERS + +# NO_ADVERTISE usage notes. +# The NO_ADVERTISE well-know community is used here to handle +# filters that span over multiple steps. At first it is added +# to any route, then it is removed as filters conditions are +# satisfied. Finally, if it is still present, it means that +# the route should be discarded. + + + + + +prefix-set "bogons" { + 0.0.0.0/0 + 0.0.0.0/8 prefixlen 8 - 32 + 10.0.0.0/8 prefixlen 8 - 32 + 127.0.0.0/8 prefixlen 8 - 32 + 169.254.0.0/16 prefixlen 16 - 32 + 172.16.0.0/12 prefixlen 12 - 32 + 192.0.2.0/24 prefixlen 24 - 32 + 192.88.99.0/24 prefixlen 24 - 32 + 192.168.0.0/16 prefixlen 16 - 32 + 198.18.0.0/15 prefixlen 15 - 32 + 198.51.100.0/24 prefixlen 24 - 32 + 203.0.113.0/24 prefixlen 24 - 32 + 224.0.0.0/3 prefixlen 3 - 32 + 100.64.0.0/10 prefixlen 10 - 32 + ::/0 + ::/8 prefixlen 8 - 128 + 64:ff9b::/96 prefixlen 96 - 128 + 100::/8 prefixlen 8 - 128 + 200::/7 prefixlen 7 - 128 + 400::/6 prefixlen 6 - 128 + 800::/5 prefixlen 5 - 128 + 1000::/4 prefixlen 4 - 128 + 2001::/33 prefixlen 33 - 128 + 2001:0:8000::/33 prefixlen 33 - 128 + 2001:2::/48 prefixlen 48 - 128 + 2001:3::/32 prefixlen 32 - 128 + 2001:10::/28 prefixlen 28 - 128 + 2001:20::/28 prefixlen 28 - 128 + 2001:db8::/32 prefixlen 32 - 128 + 2002::/16 prefixlen 16 - 128 + 3ffe::/16 prefixlen 16 - 128 + 4000::/3 prefixlen 3 - 128 + 5f00::/8 prefixlen 8 - 128 + 6000::/3 prefixlen 3 - 128 + 8000::/3 prefixlen 3 - 128 + a000::/3 prefixlen 3 - 128 + c000::/3 prefixlen 3 - 128 + e000::/4 prefixlen 4 - 128 + f000::/5 prefixlen 5 - 128 + f800::/6 prefixlen 6 - 128 + fc00::/7 prefixlen 7 - 128 + fe80::/10 prefixlen 10 - 128 + fec0::/10 prefixlen 10 - 128 + ff00::/8 prefixlen 8 - 128 + +} + +# ===================================================================================== +# Global rules. + +# This part of configuration is processed at the beginning of the filters. +# The rules defined in this part are applied to all the clients, and not on a +# client-by-client basis (see the 'match from group clients'), so only global policies +# can be implemented here, that is no client-level configuration are allowed. + + + +# Scrub communities from inbound routes +# cust_comm1 +match from group clients set community delete 65501:65501 +match from group clients set ext-community delete rt 65501:65501 +match from group clients set large-community delete 999:65501:65501 + + +# Scrub internal communities from inbound routes +match from group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + + +# The main goal of this block is to enrich routes received from clients by attaching to them +# internal informational communities which are used later by the rest of the filter rules. + +# Internal communities used for RFC1997 well-known communities handling + +# Transform NO_EXPORT into $INTCOMM_NO_EXPORT +match from group clients community NO_EXPORT set { ext-community $INTCOMM_NO_EXPORT community delete NO_EXPORT } + +# Transform NO_ADVERTISE into $INTCOMM_NO_ADVERTISE +match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ADVERTISE community delete NO_ADVERTISE } + + + + + + + + + +# Set the 'rejected_route_announced_by' community for all the clients. +# It will be removed later if the route is not invalid +match from 192.0.2.33 set ext-community rt 65520:131073 + +match from 2001:db8:1:1::33 set ext-community rt 65520:131073 + +match from 192.0.2.11 set ext-community rt 65520:1 + +match from 2001:db8:1:1::11 set ext-community rt 65520:1 + +match from 192.0.2.22 set ext-community rt 65520:2 + +match from 2001:db8:1:1::22 set ext-community rt 65520:2 + + + + +# AS_PATH: length +# Reject inbound routes when 'from group clients max-as-len 32' - reject code: 1 +allow quick from group clients max-as-len 32 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:1} + + + +# Prefix: only IPv6 Global Unicast space allowed +match from group clients inet6 set community NO_ADVERTISE +match from group clients prefix 2000::/3 or-longer set community delete NO_ADVERTISE +# Reject inbound routes when 'from group clients community NO_ADVERTISE' - reject code: 10 +allow quick from group clients community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:10} + + +# Prefix: bogon +# Reject inbound routes when 'from group clients prefix-set bogons' - reject code: 2 +allow quick from group clients prefix-set bogons set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:2} + + + + +# ===================================================================================== +# Per client rules. + + +# --------------------------------------------- +# client AS131073_1, inbound + + + +# NEXT_HOP +match from 192.0.2.33 set community NO_ADVERTISE +match from 192.0.2.33 nexthop 192.0.2.33 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.33 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.33 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.33 peer-as != 131073' - reject code: 6 +allow quick from 192.0.2.33 peer-as != 131073 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.33 AS 23456' - reject code: 7 +allow quick from 192.0.2.33 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.33 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.33 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.33 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.33 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.33 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.33 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.33 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.33 set ext-community delete rt 65520:131073 + + + +allow quick from 192.0.2.33 + + + +# --------------------------------------------- +# client AS131073_1, outbound + +deny quick to 192.0.2.33 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.33 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.33 + +# do_not_announce_to_any +deny to 192.0.2.33 community 0:999 +deny to 192.0.2.33 ext-community rt 0:999 +deny to 192.0.2.33 large-community 999:0:999 + +# do_not_announce_to_peer +# Warning: must skip 0:peer_as because peer_as > 65535 (131073) +deny quick to 192.0.2.33 ext-community rt 0:131073 +deny quick to 192.0.2.33 large-community 999:0:131073 + +# announce_to_peer +# Warning: must skip 999:peer_as because peer_as > 65535 (131073) +allow to 192.0.2.33 ext-community rt 999:131073 +allow to 192.0.2.33 large-community 999:999:131073 + + + + + + +# --------------------------------------------- +# client AS131073_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::33 set community NO_ADVERTISE +match from 2001:db8:1:1::33 nexthop 2001:db8:1:1::33 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::33 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::33 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::33 peer-as != 131073' - reject code: 6 +allow quick from 2001:db8:1:1::33 peer-as != 131073 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::33 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::33 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::33 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::33 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::33 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::33 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::33 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::33 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::33 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::33 set ext-community delete rt 65520:131073 + + + +allow quick from 2001:db8:1:1::33 + + + +# --------------------------------------------- +# client AS131073_2, outbound + +deny quick to 2001:db8:1:1::33 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::33 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::33 + +# do_not_announce_to_any +deny to 2001:db8:1:1::33 community 0:999 +deny to 2001:db8:1:1::33 ext-community rt 0:999 +deny to 2001:db8:1:1::33 large-community 999:0:999 + +# do_not_announce_to_peer +# Warning: must skip 0:peer_as because peer_as > 65535 (131073) +deny quick to 2001:db8:1:1::33 ext-community rt 0:131073 +deny quick to 2001:db8:1:1::33 large-community 999:0:131073 + +# announce_to_peer +# Warning: must skip 999:peer_as because peer_as > 65535 (131073) +allow to 2001:db8:1:1::33 ext-community rt 999:131073 +allow to 2001:db8:1:1::33 large-community 999:999:131073 + + + + + + +# --------------------------------------------- +# client AS1_1, inbound + + +# Attach custom BGP communities +# cust_comm1 +match from 192.0.2.11 set community 65501:65501 +match from 192.0.2.11 set ext-community rt 65501:65501 +match from 192.0.2.11 set large-community 999:65501:65501 + +# NEXT_HOP +match from 192.0.2.11 set community NO_ADVERTISE +match from 192.0.2.11 nexthop 192.0.2.11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.11 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.11 peer-as != 1' - reject code: 6 +allow quick from 192.0.2.11 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.11 AS 23456' - reject code: 7 +allow quick from 192.0.2.11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.11 set ext-community delete rt 65520:1 + + + +allow quick from 192.0.2.11 + + + +# --------------------------------------------- +# client AS1_1, outbound + +deny quick to 192.0.2.11 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.11 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.11 + +# do_not_announce_to_any +deny to 192.0.2.11 community 0:999 +deny to 192.0.2.11 ext-community rt 0:999 +deny to 192.0.2.11 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 192.0.2.11 community 0:1 +deny quick to 192.0.2.11 ext-community rt 0:1 +deny quick to 192.0.2.11 large-community 999:0:1 + +# announce_to_peer +allow to 192.0.2.11 community 999:1 +allow to 192.0.2.11 ext-community rt 999:1 +allow to 192.0.2.11 large-community 999:999:1 + + + + + + +# --------------------------------------------- +# client AS1_2, inbound + + +# Attach custom BGP communities +# cust_comm1 +match from 2001:db8:1:1::11 set community 65501:65501 +match from 2001:db8:1:1::11 set ext-community rt 65501:65501 +match from 2001:db8:1:1::11 set large-community 999:65501:65501 + +# NEXT_HOP +match from 2001:db8:1:1::11 set community NO_ADVERTISE +match from 2001:db8:1:1::11 nexthop 2001:db8:1:1::11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::11 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::11 peer-as != 1' - reject code: 6 +allow quick from 2001:db8:1:1::11 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::11 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::11 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::11 set ext-community delete rt 65520:1 + + + +allow quick from 2001:db8:1:1::11 + + + +# --------------------------------------------- +# client AS1_2, outbound + +deny quick to 2001:db8:1:1::11 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::11 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::11 + +# do_not_announce_to_any +deny to 2001:db8:1:1::11 community 0:999 +deny to 2001:db8:1:1::11 ext-community rt 0:999 +deny to 2001:db8:1:1::11 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::11 community 0:1 +deny quick to 2001:db8:1:1::11 ext-community rt 0:1 +deny quick to 2001:db8:1:1::11 large-community 999:0:1 + +# announce_to_peer +allow to 2001:db8:1:1::11 community 999:1 +allow to 2001:db8:1:1::11 ext-community rt 999:1 +allow to 2001:db8:1:1::11 large-community 999:999:1 + + + + + + +# --------------------------------------------- +# client AS2_1, inbound + + + +# NEXT_HOP +match from 192.0.2.22 set community NO_ADVERTISE +match from 192.0.2.22 nexthop 192.0.2.22 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.22 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.22 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.22 peer-as != 2' - reject code: 6 +allow quick from 192.0.2.22 peer-as != 2 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.22 AS 23456' - reject code: 7 +allow quick from 192.0.2.22 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.22 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.22 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.22 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.22 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.22 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.22 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.22 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.22 set ext-community delete rt 65520:2 + + + +allow quick from 192.0.2.22 + + + +# --------------------------------------------- +# client AS2_1, outbound + +deny quick to 192.0.2.22 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.22 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.22 + +# do_not_announce_to_any +deny to 192.0.2.22 community 0:999 +deny to 192.0.2.22 ext-community rt 0:999 +deny to 192.0.2.22 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 192.0.2.22 community 0:2 +deny quick to 192.0.2.22 ext-community rt 0:2 +deny quick to 192.0.2.22 large-community 999:0:2 + +# announce_to_peer +allow to 192.0.2.22 community 999:2 +allow to 192.0.2.22 ext-community rt 999:2 +allow to 192.0.2.22 large-community 999:999:2 + + + + + + +# --------------------------------------------- +# client AS2_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::22 set community NO_ADVERTISE +match from 2001:db8:1:1::22 nexthop 2001:db8:1:1::22 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::22 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::22 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::22 peer-as != 2' - reject code: 6 +allow quick from 2001:db8:1:1::22 peer-as != 2 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::22 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::22 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::22 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::22 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::22 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::22 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::22 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::22 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::22 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::22 set ext-community delete rt 65520:2 + + + +allow quick from 2001:db8:1:1::22 + + + +# --------------------------------------------- +# client AS2_2, outbound + +deny quick to 2001:db8:1:1::22 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::22 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::22 + +# do_not_announce_to_any +deny to 2001:db8:1:1::22 community 0:999 +deny to 2001:db8:1:1::22 ext-community rt 0:999 +deny to 2001:db8:1:1::22 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::22 community 0:2 +deny quick to 2001:db8:1:1::22 ext-community rt 0:2 +deny quick to 2001:db8:1:1::22 large-community 999:0:2 + +# announce_to_peer +allow to 2001:db8:1:1::22 community 999:2 +allow to 2001:db8:1:1::22 ext-community rt 999:2 +allow to 2001:db8:1:1::22 large-community 999:999:2 + + + + + + + + +# Scrub communities from outbound routes +# announce_to_peer +match to group clients set community delete 999:* +# Warning: rt:999:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:999:* + +# do_not_announce_to_any +match to group clients set community delete 0:999 +match to group clients set ext-community delete rt 0:999 +match to group clients set large-community delete 999:0:999 + +# do_not_announce_to_peer +match to group clients set community delete 0:* +# Warning: rt:0:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:0:* + + +# Scrub prepending communities + + +# RFC1997 NO_EXPORT/NO_ADVERTISE received from clients and propagated because of pass-through policy +match to group clients ext-community $INTCOMM_NO_EXPORT set community NO_EXPORT +match to group clients ext-community $INTCOMM_NO_ADVERTISE set community NO_ADVERTISE + +# Remove internal communities before announcing the route +match to group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + diff --git a/tests/live_tests/scenarios/communities/configs/BGPCommunitiesScenario_OpenBGPDIPv6/openbgpd68.conf b/tests/live_tests/scenarios/communities/configs/BGPCommunitiesScenario_OpenBGPDIPv6/openbgpd68.conf index 1d41cf73..6422a53c 100644 --- a/tests/live_tests/scenarios/communities/configs/BGPCommunitiesScenario_OpenBGPDIPv6/openbgpd68.conf +++ b/tests/live_tests/scenarios/communities/configs/BGPCommunitiesScenario_OpenBGPDIPv6/openbgpd68.conf @@ -7,6 +7,7 @@ log updates nexthop qualify via default + INTCOMM_PREF_OK_ROA="soo 65535:1" INTCOMM_ROUTE_OK_WL="soo 65535:2" INTCOMM_PREF_OK_ARINDB="soo 65535:3" @@ -39,6 +40,7 @@ group "clients" { neighbor 192.0.2.33 { remote-as 131073 + passive ttl-security no transparent-as yes @@ -54,6 +56,7 @@ group "clients" { neighbor 2001:db8:1:1::33 { remote-as 131073 + passive ttl-security no transparent-as yes @@ -69,6 +72,7 @@ group "clients" { neighbor 192.0.2.11 { remote-as 1 + passive ttl-security no transparent-as yes @@ -84,6 +88,7 @@ group "clients" { neighbor 2001:db8:1:1::11 { remote-as 1 + passive ttl-security no transparent-as yes @@ -99,6 +104,7 @@ group "clients" { neighbor 192.0.2.22 { remote-as 2 + passive ttl-security no transparent-as yes @@ -114,6 +120,7 @@ group "clients" { neighbor 2001:db8:1:1::22 { remote-as 2 + passive ttl-security no transparent-as yes @@ -231,6 +238,7 @@ match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ + # Set the 'rejected_route_announced_by' community for all the clients. # It will be removed later if the route is not invalid match from 192.0.2.33 set ext-community rt 65520:131073 diff --git a/tests/live_tests/scenarios/communities/configs/BGPCommunitiesScenario_OpenBGPDIPv6/openbgpd69.conf b/tests/live_tests/scenarios/communities/configs/BGPCommunitiesScenario_OpenBGPDIPv6/openbgpd69.conf new file mode 100644 index 00000000..6031c832 --- /dev/null +++ b/tests/live_tests/scenarios/communities/configs/BGPCommunitiesScenario_OpenBGPDIPv6/openbgpd69.conf @@ -0,0 +1,887 @@ +# built by ARouteServer +AS 999 +router-id 192.0.2.2 + +fib-update no +log updates + +nexthop qualify via default + +rde evaluate all + +INTCOMM_PREF_OK_ROA="soo 65535:1" +INTCOMM_ROUTE_OK_WL="soo 65535:2" +INTCOMM_PREF_OK_ARINDB="soo 65535:3" +INTCOMM_PREF_OK_REGISTROBRDB="soo 65535:12" + +INTCOMM_ORIGIN_OK="soo 65535:4" +INTCOMM_ORIGIN_KO="soo 65535:5" +INTCOMM_PREFIX_OK="soo 65535:6" +INTCOMM_PREFIX_KO="soo 65535:7" +INTCOMM_IRR_REJECT="soo 65535:8" + +INTCOMM_RPKI_UNKNOWN="soo 65535:9" +INTCOMM_RPKI_INVALID="soo 65535:10" +INTCOMM_RPKI_VALID="soo 65535:11" + +INTCOMM_NO_EXPORT="soo 65535:65281" +INTCOMM_NO_ADVERTISE="soo 65535:65282" + +# --------------------------------------------------------- +# IRRDB + + + + +# --------------------------------------------------------- +# MEMBERS + +group "clients" { + + neighbor 192.0.2.33 { + remote-as 131073 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::33 { + remote-as 131073 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.11 { + remote-as 1 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::11 { + remote-as 1 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.22 { + remote-as 2 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::22 { + remote-as 2 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } +} + + + +# --------------------------------------------------------- +# FILTERS + +# NO_ADVERTISE usage notes. +# The NO_ADVERTISE well-know community is used here to handle +# filters that span over multiple steps. At first it is added +# to any route, then it is removed as filters conditions are +# satisfied. Finally, if it is still present, it means that +# the route should be discarded. + + + + + +prefix-set "bogons" { + 0.0.0.0/0 + 0.0.0.0/8 prefixlen 8 - 32 + 10.0.0.0/8 prefixlen 8 - 32 + 127.0.0.0/8 prefixlen 8 - 32 + 169.254.0.0/16 prefixlen 16 - 32 + 172.16.0.0/12 prefixlen 12 - 32 + 192.0.2.0/24 prefixlen 24 - 32 + 192.88.99.0/24 prefixlen 24 - 32 + 192.168.0.0/16 prefixlen 16 - 32 + 198.18.0.0/15 prefixlen 15 - 32 + 198.51.100.0/24 prefixlen 24 - 32 + 203.0.113.0/24 prefixlen 24 - 32 + 224.0.0.0/3 prefixlen 3 - 32 + 100.64.0.0/10 prefixlen 10 - 32 + ::/0 + ::/8 prefixlen 8 - 128 + 64:ff9b::/96 prefixlen 96 - 128 + 100::/8 prefixlen 8 - 128 + 200::/7 prefixlen 7 - 128 + 400::/6 prefixlen 6 - 128 + 800::/5 prefixlen 5 - 128 + 1000::/4 prefixlen 4 - 128 + 2001::/33 prefixlen 33 - 128 + 2001:0:8000::/33 prefixlen 33 - 128 + 2001:2::/48 prefixlen 48 - 128 + 2001:3::/32 prefixlen 32 - 128 + 2001:10::/28 prefixlen 28 - 128 + 2001:20::/28 prefixlen 28 - 128 + 2001:db8::/32 prefixlen 32 - 128 + 2002::/16 prefixlen 16 - 128 + 3ffe::/16 prefixlen 16 - 128 + 4000::/3 prefixlen 3 - 128 + 5f00::/8 prefixlen 8 - 128 + 6000::/3 prefixlen 3 - 128 + 8000::/3 prefixlen 3 - 128 + a000::/3 prefixlen 3 - 128 + c000::/3 prefixlen 3 - 128 + e000::/4 prefixlen 4 - 128 + f000::/5 prefixlen 5 - 128 + f800::/6 prefixlen 6 - 128 + fc00::/7 prefixlen 7 - 128 + fe80::/10 prefixlen 10 - 128 + fec0::/10 prefixlen 10 - 128 + ff00::/8 prefixlen 8 - 128 + +} + +# ===================================================================================== +# Global rules. + +# This part of configuration is processed at the beginning of the filters. +# The rules defined in this part are applied to all the clients, and not on a +# client-by-client basis (see the 'match from group clients'), so only global policies +# can be implemented here, that is no client-level configuration are allowed. + + + +# Scrub communities from inbound routes +# cust_comm1 +match from group clients set community delete 65501:65501 +match from group clients set ext-community delete rt 65501:65501 +match from group clients set large-community delete 999:65501:65501 + + +# Scrub internal communities from inbound routes +match from group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + + +# The main goal of this block is to enrich routes received from clients by attaching to them +# internal informational communities which are used later by the rest of the filter rules. + +# Internal communities used for RFC1997 well-known communities handling + +# Transform NO_EXPORT into $INTCOMM_NO_EXPORT +match from group clients community NO_EXPORT set { ext-community $INTCOMM_NO_EXPORT community delete NO_EXPORT } + +# Transform NO_ADVERTISE into $INTCOMM_NO_ADVERTISE +match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ADVERTISE community delete NO_ADVERTISE } + + + + + + + + + +# Set the 'rejected_route_announced_by' community for all the clients. +# It will be removed later if the route is not invalid +match from 192.0.2.33 set ext-community rt 65520:131073 + +match from 2001:db8:1:1::33 set ext-community rt 65520:131073 + +match from 192.0.2.11 set ext-community rt 65520:1 + +match from 2001:db8:1:1::11 set ext-community rt 65520:1 + +match from 192.0.2.22 set ext-community rt 65520:2 + +match from 2001:db8:1:1::22 set ext-community rt 65520:2 + + + + +# AS_PATH: length +# Reject inbound routes when 'from group clients max-as-len 32' - reject code: 1 +allow quick from group clients max-as-len 32 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:1} + + + +# Prefix: only IPv6 Global Unicast space allowed +match from group clients inet6 set community NO_ADVERTISE +match from group clients prefix 2000::/3 or-longer set community delete NO_ADVERTISE +# Reject inbound routes when 'from group clients community NO_ADVERTISE' - reject code: 10 +allow quick from group clients community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:10} + + +# Prefix: bogon +# Reject inbound routes when 'from group clients prefix-set bogons' - reject code: 2 +allow quick from group clients prefix-set bogons set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:2} + + + + +# ===================================================================================== +# Per client rules. + + +# --------------------------------------------- +# client AS131073_1, inbound + + + +# NEXT_HOP +match from 192.0.2.33 set community NO_ADVERTISE +match from 192.0.2.33 nexthop 192.0.2.33 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.33 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.33 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.33 peer-as != 131073' - reject code: 6 +allow quick from 192.0.2.33 peer-as != 131073 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.33 AS 23456' - reject code: 7 +allow quick from 192.0.2.33 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.33 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.33 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.33 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.33 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.33 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.33 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.33 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.33 set ext-community delete rt 65520:131073 + + + +allow quick from 192.0.2.33 + + + +# --------------------------------------------- +# client AS131073_1, outbound + +deny quick to 192.0.2.33 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.33 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.33 + +# do_not_announce_to_any +deny to 192.0.2.33 community 0:999 +deny to 192.0.2.33 ext-community rt 0:999 +deny to 192.0.2.33 large-community 999:0:999 + +# do_not_announce_to_peer +# Warning: must skip 0:peer_as because peer_as > 65535 (131073) +deny quick to 192.0.2.33 ext-community rt 0:131073 +deny quick to 192.0.2.33 large-community 999:0:131073 + +# announce_to_peer +# Warning: must skip 999:peer_as because peer_as > 65535 (131073) +allow to 192.0.2.33 ext-community rt 999:131073 +allow to 192.0.2.33 large-community 999:999:131073 + + + + + + +# --------------------------------------------- +# client AS131073_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::33 set community NO_ADVERTISE +match from 2001:db8:1:1::33 nexthop 2001:db8:1:1::33 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::33 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::33 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::33 peer-as != 131073' - reject code: 6 +allow quick from 2001:db8:1:1::33 peer-as != 131073 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::33 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::33 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::33 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::33 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::33 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::33 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::33 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::33 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::33 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::33 set ext-community delete rt 65520:131073 + + + +allow quick from 2001:db8:1:1::33 + + + +# --------------------------------------------- +# client AS131073_2, outbound + +deny quick to 2001:db8:1:1::33 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::33 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::33 + +# do_not_announce_to_any +deny to 2001:db8:1:1::33 community 0:999 +deny to 2001:db8:1:1::33 ext-community rt 0:999 +deny to 2001:db8:1:1::33 large-community 999:0:999 + +# do_not_announce_to_peer +# Warning: must skip 0:peer_as because peer_as > 65535 (131073) +deny quick to 2001:db8:1:1::33 ext-community rt 0:131073 +deny quick to 2001:db8:1:1::33 large-community 999:0:131073 + +# announce_to_peer +# Warning: must skip 999:peer_as because peer_as > 65535 (131073) +allow to 2001:db8:1:1::33 ext-community rt 999:131073 +allow to 2001:db8:1:1::33 large-community 999:999:131073 + + + + + + +# --------------------------------------------- +# client AS1_1, inbound + + +# Attach custom BGP communities +# cust_comm1 +match from 192.0.2.11 set community 65501:65501 +match from 192.0.2.11 set ext-community rt 65501:65501 +match from 192.0.2.11 set large-community 999:65501:65501 + +# NEXT_HOP +match from 192.0.2.11 set community NO_ADVERTISE +match from 192.0.2.11 nexthop 192.0.2.11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.11 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.11 peer-as != 1' - reject code: 6 +allow quick from 192.0.2.11 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.11 AS 23456' - reject code: 7 +allow quick from 192.0.2.11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.11 set ext-community delete rt 65520:1 + + + +allow quick from 192.0.2.11 + + + +# --------------------------------------------- +# client AS1_1, outbound + +deny quick to 192.0.2.11 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.11 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.11 + +# do_not_announce_to_any +deny to 192.0.2.11 community 0:999 +deny to 192.0.2.11 ext-community rt 0:999 +deny to 192.0.2.11 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 192.0.2.11 community 0:1 +deny quick to 192.0.2.11 ext-community rt 0:1 +deny quick to 192.0.2.11 large-community 999:0:1 + +# announce_to_peer +allow to 192.0.2.11 community 999:1 +allow to 192.0.2.11 ext-community rt 999:1 +allow to 192.0.2.11 large-community 999:999:1 + + + + + + +# --------------------------------------------- +# client AS1_2, inbound + + +# Attach custom BGP communities +# cust_comm1 +match from 2001:db8:1:1::11 set community 65501:65501 +match from 2001:db8:1:1::11 set ext-community rt 65501:65501 +match from 2001:db8:1:1::11 set large-community 999:65501:65501 + +# NEXT_HOP +match from 2001:db8:1:1::11 set community NO_ADVERTISE +match from 2001:db8:1:1::11 nexthop 2001:db8:1:1::11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::11 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::11 peer-as != 1' - reject code: 6 +allow quick from 2001:db8:1:1::11 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::11 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::11 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::11 set ext-community delete rt 65520:1 + + + +allow quick from 2001:db8:1:1::11 + + + +# --------------------------------------------- +# client AS1_2, outbound + +deny quick to 2001:db8:1:1::11 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::11 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::11 + +# do_not_announce_to_any +deny to 2001:db8:1:1::11 community 0:999 +deny to 2001:db8:1:1::11 ext-community rt 0:999 +deny to 2001:db8:1:1::11 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::11 community 0:1 +deny quick to 2001:db8:1:1::11 ext-community rt 0:1 +deny quick to 2001:db8:1:1::11 large-community 999:0:1 + +# announce_to_peer +allow to 2001:db8:1:1::11 community 999:1 +allow to 2001:db8:1:1::11 ext-community rt 999:1 +allow to 2001:db8:1:1::11 large-community 999:999:1 + + + + + + +# --------------------------------------------- +# client AS2_1, inbound + + + +# NEXT_HOP +match from 192.0.2.22 set community NO_ADVERTISE +match from 192.0.2.22 nexthop 192.0.2.22 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.22 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.22 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.22 peer-as != 2' - reject code: 6 +allow quick from 192.0.2.22 peer-as != 2 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.22 AS 23456' - reject code: 7 +allow quick from 192.0.2.22 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.22 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.22 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.22 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.22 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.22 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.22 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.22 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.22 set ext-community delete rt 65520:2 + + + +allow quick from 192.0.2.22 + + + +# --------------------------------------------- +# client AS2_1, outbound + +deny quick to 192.0.2.22 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.22 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.22 + +# do_not_announce_to_any +deny to 192.0.2.22 community 0:999 +deny to 192.0.2.22 ext-community rt 0:999 +deny to 192.0.2.22 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 192.0.2.22 community 0:2 +deny quick to 192.0.2.22 ext-community rt 0:2 +deny quick to 192.0.2.22 large-community 999:0:2 + +# announce_to_peer +allow to 192.0.2.22 community 999:2 +allow to 192.0.2.22 ext-community rt 999:2 +allow to 192.0.2.22 large-community 999:999:2 + + + + + + +# --------------------------------------------- +# client AS2_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::22 set community NO_ADVERTISE +match from 2001:db8:1:1::22 nexthop 2001:db8:1:1::22 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::22 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::22 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::22 peer-as != 2' - reject code: 6 +allow quick from 2001:db8:1:1::22 peer-as != 2 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::22 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::22 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::22 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::22 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::22 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::22 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::22 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::22 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::22 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::22 set ext-community delete rt 65520:2 + + + +allow quick from 2001:db8:1:1::22 + + + +# --------------------------------------------- +# client AS2_2, outbound + +deny quick to 2001:db8:1:1::22 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::22 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::22 + +# do_not_announce_to_any +deny to 2001:db8:1:1::22 community 0:999 +deny to 2001:db8:1:1::22 ext-community rt 0:999 +deny to 2001:db8:1:1::22 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::22 community 0:2 +deny quick to 2001:db8:1:1::22 ext-community rt 0:2 +deny quick to 2001:db8:1:1::22 large-community 999:0:2 + +# announce_to_peer +allow to 2001:db8:1:1::22 community 999:2 +allow to 2001:db8:1:1::22 ext-community rt 999:2 +allow to 2001:db8:1:1::22 large-community 999:999:2 + + + + + + + + +# Scrub communities from outbound routes +# announce_to_peer +match to group clients set community delete 999:* +# Warning: rt:999:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:999:* + +# do_not_announce_to_any +match to group clients set community delete 0:999 +match to group clients set ext-community delete rt 0:999 +match to group clients set large-community delete 999:0:999 + +# do_not_announce_to_peer +match to group clients set community delete 0:* +# Warning: rt:0:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:0:* + + +# Scrub prepending communities + + +# RFC1997 NO_EXPORT/NO_ADVERTISE received from clients and propagated because of pass-through policy +match to group clients ext-community $INTCOMM_NO_EXPORT set community NO_EXPORT +match to group clients ext-community $INTCOMM_NO_ADVERTISE set community NO_ADVERTISE + +# Remove internal communities before announcing the route +match to group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + diff --git a/tests/live_tests/scenarios/communities/configs/BGPCommunitiesScenario_OpenBGPDIPv6/openbgpd69p.conf b/tests/live_tests/scenarios/communities/configs/BGPCommunitiesScenario_OpenBGPDIPv6/openbgpd69p.conf new file mode 100644 index 00000000..6031c832 --- /dev/null +++ b/tests/live_tests/scenarios/communities/configs/BGPCommunitiesScenario_OpenBGPDIPv6/openbgpd69p.conf @@ -0,0 +1,887 @@ +# built by ARouteServer +AS 999 +router-id 192.0.2.2 + +fib-update no +log updates + +nexthop qualify via default + +rde evaluate all + +INTCOMM_PREF_OK_ROA="soo 65535:1" +INTCOMM_ROUTE_OK_WL="soo 65535:2" +INTCOMM_PREF_OK_ARINDB="soo 65535:3" +INTCOMM_PREF_OK_REGISTROBRDB="soo 65535:12" + +INTCOMM_ORIGIN_OK="soo 65535:4" +INTCOMM_ORIGIN_KO="soo 65535:5" +INTCOMM_PREFIX_OK="soo 65535:6" +INTCOMM_PREFIX_KO="soo 65535:7" +INTCOMM_IRR_REJECT="soo 65535:8" + +INTCOMM_RPKI_UNKNOWN="soo 65535:9" +INTCOMM_RPKI_INVALID="soo 65535:10" +INTCOMM_RPKI_VALID="soo 65535:11" + +INTCOMM_NO_EXPORT="soo 65535:65281" +INTCOMM_NO_ADVERTISE="soo 65535:65282" + +# --------------------------------------------------------- +# IRRDB + + + + +# --------------------------------------------------------- +# MEMBERS + +group "clients" { + + neighbor 192.0.2.33 { + remote-as 131073 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::33 { + remote-as 131073 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.11 { + remote-as 1 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::11 { + remote-as 1 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.22 { + remote-as 2 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::22 { + remote-as 2 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } +} + + + +# --------------------------------------------------------- +# FILTERS + +# NO_ADVERTISE usage notes. +# The NO_ADVERTISE well-know community is used here to handle +# filters that span over multiple steps. At first it is added +# to any route, then it is removed as filters conditions are +# satisfied. Finally, if it is still present, it means that +# the route should be discarded. + + + + + +prefix-set "bogons" { + 0.0.0.0/0 + 0.0.0.0/8 prefixlen 8 - 32 + 10.0.0.0/8 prefixlen 8 - 32 + 127.0.0.0/8 prefixlen 8 - 32 + 169.254.0.0/16 prefixlen 16 - 32 + 172.16.0.0/12 prefixlen 12 - 32 + 192.0.2.0/24 prefixlen 24 - 32 + 192.88.99.0/24 prefixlen 24 - 32 + 192.168.0.0/16 prefixlen 16 - 32 + 198.18.0.0/15 prefixlen 15 - 32 + 198.51.100.0/24 prefixlen 24 - 32 + 203.0.113.0/24 prefixlen 24 - 32 + 224.0.0.0/3 prefixlen 3 - 32 + 100.64.0.0/10 prefixlen 10 - 32 + ::/0 + ::/8 prefixlen 8 - 128 + 64:ff9b::/96 prefixlen 96 - 128 + 100::/8 prefixlen 8 - 128 + 200::/7 prefixlen 7 - 128 + 400::/6 prefixlen 6 - 128 + 800::/5 prefixlen 5 - 128 + 1000::/4 prefixlen 4 - 128 + 2001::/33 prefixlen 33 - 128 + 2001:0:8000::/33 prefixlen 33 - 128 + 2001:2::/48 prefixlen 48 - 128 + 2001:3::/32 prefixlen 32 - 128 + 2001:10::/28 prefixlen 28 - 128 + 2001:20::/28 prefixlen 28 - 128 + 2001:db8::/32 prefixlen 32 - 128 + 2002::/16 prefixlen 16 - 128 + 3ffe::/16 prefixlen 16 - 128 + 4000::/3 prefixlen 3 - 128 + 5f00::/8 prefixlen 8 - 128 + 6000::/3 prefixlen 3 - 128 + 8000::/3 prefixlen 3 - 128 + a000::/3 prefixlen 3 - 128 + c000::/3 prefixlen 3 - 128 + e000::/4 prefixlen 4 - 128 + f000::/5 prefixlen 5 - 128 + f800::/6 prefixlen 6 - 128 + fc00::/7 prefixlen 7 - 128 + fe80::/10 prefixlen 10 - 128 + fec0::/10 prefixlen 10 - 128 + ff00::/8 prefixlen 8 - 128 + +} + +# ===================================================================================== +# Global rules. + +# This part of configuration is processed at the beginning of the filters. +# The rules defined in this part are applied to all the clients, and not on a +# client-by-client basis (see the 'match from group clients'), so only global policies +# can be implemented here, that is no client-level configuration are allowed. + + + +# Scrub communities from inbound routes +# cust_comm1 +match from group clients set community delete 65501:65501 +match from group clients set ext-community delete rt 65501:65501 +match from group clients set large-community delete 999:65501:65501 + + +# Scrub internal communities from inbound routes +match from group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + + +# The main goal of this block is to enrich routes received from clients by attaching to them +# internal informational communities which are used later by the rest of the filter rules. + +# Internal communities used for RFC1997 well-known communities handling + +# Transform NO_EXPORT into $INTCOMM_NO_EXPORT +match from group clients community NO_EXPORT set { ext-community $INTCOMM_NO_EXPORT community delete NO_EXPORT } + +# Transform NO_ADVERTISE into $INTCOMM_NO_ADVERTISE +match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ADVERTISE community delete NO_ADVERTISE } + + + + + + + + + +# Set the 'rejected_route_announced_by' community for all the clients. +# It will be removed later if the route is not invalid +match from 192.0.2.33 set ext-community rt 65520:131073 + +match from 2001:db8:1:1::33 set ext-community rt 65520:131073 + +match from 192.0.2.11 set ext-community rt 65520:1 + +match from 2001:db8:1:1::11 set ext-community rt 65520:1 + +match from 192.0.2.22 set ext-community rt 65520:2 + +match from 2001:db8:1:1::22 set ext-community rt 65520:2 + + + + +# AS_PATH: length +# Reject inbound routes when 'from group clients max-as-len 32' - reject code: 1 +allow quick from group clients max-as-len 32 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:1} + + + +# Prefix: only IPv6 Global Unicast space allowed +match from group clients inet6 set community NO_ADVERTISE +match from group clients prefix 2000::/3 or-longer set community delete NO_ADVERTISE +# Reject inbound routes when 'from group clients community NO_ADVERTISE' - reject code: 10 +allow quick from group clients community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:10} + + +# Prefix: bogon +# Reject inbound routes when 'from group clients prefix-set bogons' - reject code: 2 +allow quick from group clients prefix-set bogons set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:2} + + + + +# ===================================================================================== +# Per client rules. + + +# --------------------------------------------- +# client AS131073_1, inbound + + + +# NEXT_HOP +match from 192.0.2.33 set community NO_ADVERTISE +match from 192.0.2.33 nexthop 192.0.2.33 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.33 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.33 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.33 peer-as != 131073' - reject code: 6 +allow quick from 192.0.2.33 peer-as != 131073 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.33 AS 23456' - reject code: 7 +allow quick from 192.0.2.33 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.33 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.33 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.33 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.33 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.33 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.33 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.33 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.33 set ext-community delete rt 65520:131073 + + + +allow quick from 192.0.2.33 + + + +# --------------------------------------------- +# client AS131073_1, outbound + +deny quick to 192.0.2.33 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.33 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.33 + +# do_not_announce_to_any +deny to 192.0.2.33 community 0:999 +deny to 192.0.2.33 ext-community rt 0:999 +deny to 192.0.2.33 large-community 999:0:999 + +# do_not_announce_to_peer +# Warning: must skip 0:peer_as because peer_as > 65535 (131073) +deny quick to 192.0.2.33 ext-community rt 0:131073 +deny quick to 192.0.2.33 large-community 999:0:131073 + +# announce_to_peer +# Warning: must skip 999:peer_as because peer_as > 65535 (131073) +allow to 192.0.2.33 ext-community rt 999:131073 +allow to 192.0.2.33 large-community 999:999:131073 + + + + + + +# --------------------------------------------- +# client AS131073_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::33 set community NO_ADVERTISE +match from 2001:db8:1:1::33 nexthop 2001:db8:1:1::33 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::33 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::33 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::33 peer-as != 131073' - reject code: 6 +allow quick from 2001:db8:1:1::33 peer-as != 131073 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::33 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::33 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::33 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::33 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::33 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::33 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::33 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::33 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::33 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::33 set ext-community delete rt 65520:131073 + + + +allow quick from 2001:db8:1:1::33 + + + +# --------------------------------------------- +# client AS131073_2, outbound + +deny quick to 2001:db8:1:1::33 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::33 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::33 + +# do_not_announce_to_any +deny to 2001:db8:1:1::33 community 0:999 +deny to 2001:db8:1:1::33 ext-community rt 0:999 +deny to 2001:db8:1:1::33 large-community 999:0:999 + +# do_not_announce_to_peer +# Warning: must skip 0:peer_as because peer_as > 65535 (131073) +deny quick to 2001:db8:1:1::33 ext-community rt 0:131073 +deny quick to 2001:db8:1:1::33 large-community 999:0:131073 + +# announce_to_peer +# Warning: must skip 999:peer_as because peer_as > 65535 (131073) +allow to 2001:db8:1:1::33 ext-community rt 999:131073 +allow to 2001:db8:1:1::33 large-community 999:999:131073 + + + + + + +# --------------------------------------------- +# client AS1_1, inbound + + +# Attach custom BGP communities +# cust_comm1 +match from 192.0.2.11 set community 65501:65501 +match from 192.0.2.11 set ext-community rt 65501:65501 +match from 192.0.2.11 set large-community 999:65501:65501 + +# NEXT_HOP +match from 192.0.2.11 set community NO_ADVERTISE +match from 192.0.2.11 nexthop 192.0.2.11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.11 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.11 peer-as != 1' - reject code: 6 +allow quick from 192.0.2.11 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.11 AS 23456' - reject code: 7 +allow quick from 192.0.2.11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.11 set ext-community delete rt 65520:1 + + + +allow quick from 192.0.2.11 + + + +# --------------------------------------------- +# client AS1_1, outbound + +deny quick to 192.0.2.11 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.11 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.11 + +# do_not_announce_to_any +deny to 192.0.2.11 community 0:999 +deny to 192.0.2.11 ext-community rt 0:999 +deny to 192.0.2.11 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 192.0.2.11 community 0:1 +deny quick to 192.0.2.11 ext-community rt 0:1 +deny quick to 192.0.2.11 large-community 999:0:1 + +# announce_to_peer +allow to 192.0.2.11 community 999:1 +allow to 192.0.2.11 ext-community rt 999:1 +allow to 192.0.2.11 large-community 999:999:1 + + + + + + +# --------------------------------------------- +# client AS1_2, inbound + + +# Attach custom BGP communities +# cust_comm1 +match from 2001:db8:1:1::11 set community 65501:65501 +match from 2001:db8:1:1::11 set ext-community rt 65501:65501 +match from 2001:db8:1:1::11 set large-community 999:65501:65501 + +# NEXT_HOP +match from 2001:db8:1:1::11 set community NO_ADVERTISE +match from 2001:db8:1:1::11 nexthop 2001:db8:1:1::11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::11 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::11 peer-as != 1' - reject code: 6 +allow quick from 2001:db8:1:1::11 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::11 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::11 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::11 set ext-community delete rt 65520:1 + + + +allow quick from 2001:db8:1:1::11 + + + +# --------------------------------------------- +# client AS1_2, outbound + +deny quick to 2001:db8:1:1::11 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::11 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::11 + +# do_not_announce_to_any +deny to 2001:db8:1:1::11 community 0:999 +deny to 2001:db8:1:1::11 ext-community rt 0:999 +deny to 2001:db8:1:1::11 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::11 community 0:1 +deny quick to 2001:db8:1:1::11 ext-community rt 0:1 +deny quick to 2001:db8:1:1::11 large-community 999:0:1 + +# announce_to_peer +allow to 2001:db8:1:1::11 community 999:1 +allow to 2001:db8:1:1::11 ext-community rt 999:1 +allow to 2001:db8:1:1::11 large-community 999:999:1 + + + + + + +# --------------------------------------------- +# client AS2_1, inbound + + + +# NEXT_HOP +match from 192.0.2.22 set community NO_ADVERTISE +match from 192.0.2.22 nexthop 192.0.2.22 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.22 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.22 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.22 peer-as != 2' - reject code: 6 +allow quick from 192.0.2.22 peer-as != 2 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.22 AS 23456' - reject code: 7 +allow quick from 192.0.2.22 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.22 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.22 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.22 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.22 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.22 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.22 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.22 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.22 set ext-community delete rt 65520:2 + + + +allow quick from 192.0.2.22 + + + +# --------------------------------------------- +# client AS2_1, outbound + +deny quick to 192.0.2.22 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.22 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.22 + +# do_not_announce_to_any +deny to 192.0.2.22 community 0:999 +deny to 192.0.2.22 ext-community rt 0:999 +deny to 192.0.2.22 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 192.0.2.22 community 0:2 +deny quick to 192.0.2.22 ext-community rt 0:2 +deny quick to 192.0.2.22 large-community 999:0:2 + +# announce_to_peer +allow to 192.0.2.22 community 999:2 +allow to 192.0.2.22 ext-community rt 999:2 +allow to 192.0.2.22 large-community 999:999:2 + + + + + + +# --------------------------------------------- +# client AS2_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::22 set community NO_ADVERTISE +match from 2001:db8:1:1::22 nexthop 2001:db8:1:1::22 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::22 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::22 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::22 peer-as != 2' - reject code: 6 +allow quick from 2001:db8:1:1::22 peer-as != 2 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::22 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::22 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::22 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::22 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::22 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::22 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::22 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::22 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::22 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::22 set ext-community delete rt 65520:2 + + + +allow quick from 2001:db8:1:1::22 + + + +# --------------------------------------------- +# client AS2_2, outbound + +deny quick to 2001:db8:1:1::22 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::22 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::22 + +# do_not_announce_to_any +deny to 2001:db8:1:1::22 community 0:999 +deny to 2001:db8:1:1::22 ext-community rt 0:999 +deny to 2001:db8:1:1::22 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::22 community 0:2 +deny quick to 2001:db8:1:1::22 ext-community rt 0:2 +deny quick to 2001:db8:1:1::22 large-community 999:0:2 + +# announce_to_peer +allow to 2001:db8:1:1::22 community 999:2 +allow to 2001:db8:1:1::22 ext-community rt 999:2 +allow to 2001:db8:1:1::22 large-community 999:999:2 + + + + + + + + +# Scrub communities from outbound routes +# announce_to_peer +match to group clients set community delete 999:* +# Warning: rt:999:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:999:* + +# do_not_announce_to_any +match to group clients set community delete 0:999 +match to group clients set ext-community delete rt 0:999 +match to group clients set large-community delete 999:0:999 + +# do_not_announce_to_peer +match to group clients set community delete 0:* +# Warning: rt:0:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:0:* + + +# Scrub prepending communities + + +# RFC1997 NO_EXPORT/NO_ADVERTISE received from clients and propagated because of pass-through policy +match to group clients ext-community $INTCOMM_NO_EXPORT set community NO_EXPORT +match to group clients ext-community $INTCOMM_NO_ADVERTISE set community NO_ADVERTISE + +# Remove internal communities before announcing the route +match to group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + diff --git a/tests/live_tests/scenarios/communities/routes/BGPCommunitiesScenario_OpenBGPDIPv4/openbgpd69/AS1.txt b/tests/live_tests/scenarios/communities/routes/BGPCommunitiesScenario_OpenBGPDIPv4/openbgpd69/AS1.txt new file mode 100644 index 00000000..e5118a7b --- /dev/null +++ b/tests/live_tests/scenarios/communities/routes/BGPCommunitiesScenario_OpenBGPDIPv4/openbgpd69/AS1.txt @@ -0,0 +1,28 @@ +2.0.1.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.22, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.2.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.22, via 192.0.2.2 + std comms: + ext comms: rt:999:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.22, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.6.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.22, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/communities/routes/BGPCommunitiesScenario_OpenBGPDIPv4/openbgpd69/AS131073.txt b/tests/live_tests/scenarios/communities/routes/BGPCommunitiesScenario_OpenBGPDIPv4/openbgpd69/AS131073.txt new file mode 100644 index 00000000..7269bad9 --- /dev/null +++ b/tests/live_tests/scenarios/communities/routes/BGPCommunitiesScenario_OpenBGPDIPv4/openbgpd69/AS131073.txt @@ -0,0 +1,28 @@ +1.0.1.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: 65501:65501 + ext comms: rt:65501:65501 + lrg comms: 999:65501:65501 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.4.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.22, via 192.0.2.2 + std comms: + ext comms: rt:999:131073 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.5.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.22, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.6.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.22, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/communities/routes/BGPCommunitiesScenario_OpenBGPDIPv4/openbgpd69/AS2.txt b/tests/live_tests/scenarios/communities/routes/BGPCommunitiesScenario_OpenBGPDIPv4/openbgpd69/AS2.txt new file mode 100644 index 00000000..0cb7d282 --- /dev/null +++ b/tests/live_tests/scenarios/communities/routes/BGPCommunitiesScenario_OpenBGPDIPv4/openbgpd69/AS2.txt @@ -0,0 +1,7 @@ +1.0.1.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: 65501:65501 + ext comms: rt:65501:65501 + lrg comms: 999:65501:65501 + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/communities/routes/BGPCommunitiesScenario_OpenBGPDIPv4/openbgpd69/rs.txt b/tests/live_tests/scenarios/communities/routes/BGPCommunitiesScenario_OpenBGPDIPv4/openbgpd69/rs.txt new file mode 100644 index 00000000..d7d39207 --- /dev/null +++ b/tests/live_tests/scenarios/communities/routes/BGPCommunitiesScenario_OpenBGPDIPv4/openbgpd69/rs.txt @@ -0,0 +1,49 @@ +1.0.1.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: 65501:65501 + ext comms: rt:65501:65501 + lrg comms: 999:65501:65501 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.1.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.22, via 192.0.2.22 + std comms: 0:999, 999:1 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.2.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.22, via 192.0.2.22 + std comms: + ext comms: rt:0:999, rt:999:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.22, via 192.0.2.22 + std comms: + ext comms: + lrg comms: 999:0:999, 999:999:1 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.4.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.22, via 192.0.2.22 + std comms: 0:999 + ext comms: rt:999:131073 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.5.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.22, via 192.0.2.22 + std comms: + ext comms: + lrg comms: 999:0:999, 999:999:131073 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.6.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.22, via 192.0.2.22 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/communities/routes/BGPCommunitiesScenario_OpenBGPDIPv4/openbgpd69p/AS1.txt b/tests/live_tests/scenarios/communities/routes/BGPCommunitiesScenario_OpenBGPDIPv4/openbgpd69p/AS1.txt new file mode 100644 index 00000000..e5118a7b --- /dev/null +++ b/tests/live_tests/scenarios/communities/routes/BGPCommunitiesScenario_OpenBGPDIPv4/openbgpd69p/AS1.txt @@ -0,0 +1,28 @@ +2.0.1.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.22, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.2.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.22, via 192.0.2.2 + std comms: + ext comms: rt:999:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.22, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.6.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.22, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/communities/routes/BGPCommunitiesScenario_OpenBGPDIPv4/openbgpd69p/AS131073.txt b/tests/live_tests/scenarios/communities/routes/BGPCommunitiesScenario_OpenBGPDIPv4/openbgpd69p/AS131073.txt new file mode 100644 index 00000000..7269bad9 --- /dev/null +++ b/tests/live_tests/scenarios/communities/routes/BGPCommunitiesScenario_OpenBGPDIPv4/openbgpd69p/AS131073.txt @@ -0,0 +1,28 @@ +1.0.1.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: 65501:65501 + ext comms: rt:65501:65501 + lrg comms: 999:65501:65501 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.4.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.22, via 192.0.2.2 + std comms: + ext comms: rt:999:131073 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.5.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.22, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.6.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.22, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/communities/routes/BGPCommunitiesScenario_OpenBGPDIPv4/openbgpd69p/AS2.txt b/tests/live_tests/scenarios/communities/routes/BGPCommunitiesScenario_OpenBGPDIPv4/openbgpd69p/AS2.txt new file mode 100644 index 00000000..0cb7d282 --- /dev/null +++ b/tests/live_tests/scenarios/communities/routes/BGPCommunitiesScenario_OpenBGPDIPv4/openbgpd69p/AS2.txt @@ -0,0 +1,7 @@ +1.0.1.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: 65501:65501 + ext comms: rt:65501:65501 + lrg comms: 999:65501:65501 + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/communities/routes/BGPCommunitiesScenario_OpenBGPDIPv4/openbgpd69p/rs.txt b/tests/live_tests/scenarios/communities/routes/BGPCommunitiesScenario_OpenBGPDIPv4/openbgpd69p/rs.txt new file mode 100644 index 00000000..d7d39207 --- /dev/null +++ b/tests/live_tests/scenarios/communities/routes/BGPCommunitiesScenario_OpenBGPDIPv4/openbgpd69p/rs.txt @@ -0,0 +1,49 @@ +1.0.1.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: 65501:65501 + ext comms: rt:65501:65501 + lrg comms: 999:65501:65501 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.1.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.22, via 192.0.2.22 + std comms: 0:999, 999:1 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.2.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.22, via 192.0.2.22 + std comms: + ext comms: rt:0:999, rt:999:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.22, via 192.0.2.22 + std comms: + ext comms: + lrg comms: 999:0:999, 999:999:1 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.4.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.22, via 192.0.2.22 + std comms: 0:999 + ext comms: rt:999:131073 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.5.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.22, via 192.0.2.22 + std comms: + ext comms: + lrg comms: 999:0:999, 999:999:131073 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.6.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.22, via 192.0.2.22 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/communities/routes/BGPCommunitiesScenario_OpenBGPDIPv6/openbgpd69/AS1.txt b/tests/live_tests/scenarios/communities/routes/BGPCommunitiesScenario_OpenBGPDIPv6/openbgpd69/AS1.txt new file mode 100644 index 00000000..5af3b7f2 --- /dev/null +++ b/tests/live_tests/scenarios/communities/routes/BGPCommunitiesScenario_OpenBGPDIPv6/openbgpd69/AS1.txt @@ -0,0 +1,28 @@ +2a00:1::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::22, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a00:2::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::22, via 2001:db8:1:1::2 + std comms: + ext comms: rt:999:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a00:3::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::22, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a00:6::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::22, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/communities/routes/BGPCommunitiesScenario_OpenBGPDIPv6/openbgpd69/AS131073.txt b/tests/live_tests/scenarios/communities/routes/BGPCommunitiesScenario_OpenBGPDIPv6/openbgpd69/AS131073.txt new file mode 100644 index 00000000..6d37f4e1 --- /dev/null +++ b/tests/live_tests/scenarios/communities/routes/BGPCommunitiesScenario_OpenBGPDIPv6/openbgpd69/AS131073.txt @@ -0,0 +1,28 @@ +2a00:4::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::22, via 2001:db8:1:1::2 + std comms: + ext comms: rt:999:131073 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a00:5::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::22, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a00:6::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::22, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a01:1::/32, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 65501:65501 + ext comms: rt:65501:65501 + lrg comms: 999:65501:65501 + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/communities/routes/BGPCommunitiesScenario_OpenBGPDIPv6/openbgpd69/AS2.txt b/tests/live_tests/scenarios/communities/routes/BGPCommunitiesScenario_OpenBGPDIPv6/openbgpd69/AS2.txt new file mode 100644 index 00000000..6f4f0803 --- /dev/null +++ b/tests/live_tests/scenarios/communities/routes/BGPCommunitiesScenario_OpenBGPDIPv6/openbgpd69/AS2.txt @@ -0,0 +1,7 @@ +2a01:1::/32, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 65501:65501 + ext comms: rt:65501:65501 + lrg comms: 999:65501:65501 + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/communities/routes/BGPCommunitiesScenario_OpenBGPDIPv6/openbgpd69/rs.txt b/tests/live_tests/scenarios/communities/routes/BGPCommunitiesScenario_OpenBGPDIPv6/openbgpd69/rs.txt new file mode 100644 index 00000000..fff34e4e --- /dev/null +++ b/tests/live_tests/scenarios/communities/routes/BGPCommunitiesScenario_OpenBGPDIPv6/openbgpd69/rs.txt @@ -0,0 +1,49 @@ +2a00:1::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::22, via 2001:db8:1:1::22 + std comms: 0:999, 999:1 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a00:2::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::22, via 2001:db8:1:1::22 + std comms: + ext comms: rt:0:999, rt:999:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a00:3::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::22, via 2001:db8:1:1::22 + std comms: + ext comms: + lrg comms: 999:0:999, 999:999:1 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a00:4::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::22, via 2001:db8:1:1::22 + std comms: 0:999 + ext comms: rt:999:131073 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a00:5::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::22, via 2001:db8:1:1::22 + std comms: + ext comms: + lrg comms: 999:0:999, 999:999:131073 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a00:6::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::22, via 2001:db8:1:1::22 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a01:1::/32, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 65501:65501 + ext comms: rt:65501:65501 + lrg comms: 999:65501:65501 + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/communities/routes/BGPCommunitiesScenario_OpenBGPDIPv6/openbgpd69p/AS1.txt b/tests/live_tests/scenarios/communities/routes/BGPCommunitiesScenario_OpenBGPDIPv6/openbgpd69p/AS1.txt new file mode 100644 index 00000000..5af3b7f2 --- /dev/null +++ b/tests/live_tests/scenarios/communities/routes/BGPCommunitiesScenario_OpenBGPDIPv6/openbgpd69p/AS1.txt @@ -0,0 +1,28 @@ +2a00:1::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::22, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a00:2::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::22, via 2001:db8:1:1::2 + std comms: + ext comms: rt:999:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a00:3::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::22, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a00:6::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::22, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/communities/routes/BGPCommunitiesScenario_OpenBGPDIPv6/openbgpd69p/AS131073.txt b/tests/live_tests/scenarios/communities/routes/BGPCommunitiesScenario_OpenBGPDIPv6/openbgpd69p/AS131073.txt new file mode 100644 index 00000000..6d37f4e1 --- /dev/null +++ b/tests/live_tests/scenarios/communities/routes/BGPCommunitiesScenario_OpenBGPDIPv6/openbgpd69p/AS131073.txt @@ -0,0 +1,28 @@ +2a00:4::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::22, via 2001:db8:1:1::2 + std comms: + ext comms: rt:999:131073 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a00:5::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::22, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a00:6::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::22, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a01:1::/32, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 65501:65501 + ext comms: rt:65501:65501 + lrg comms: 999:65501:65501 + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/communities/routes/BGPCommunitiesScenario_OpenBGPDIPv6/openbgpd69p/AS2.txt b/tests/live_tests/scenarios/communities/routes/BGPCommunitiesScenario_OpenBGPDIPv6/openbgpd69p/AS2.txt new file mode 100644 index 00000000..6f4f0803 --- /dev/null +++ b/tests/live_tests/scenarios/communities/routes/BGPCommunitiesScenario_OpenBGPDIPv6/openbgpd69p/AS2.txt @@ -0,0 +1,7 @@ +2a01:1::/32, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 65501:65501 + ext comms: rt:65501:65501 + lrg comms: 999:65501:65501 + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/communities/routes/BGPCommunitiesScenario_OpenBGPDIPv6/openbgpd69p/rs.txt b/tests/live_tests/scenarios/communities/routes/BGPCommunitiesScenario_OpenBGPDIPv6/openbgpd69p/rs.txt new file mode 100644 index 00000000..fff34e4e --- /dev/null +++ b/tests/live_tests/scenarios/communities/routes/BGPCommunitiesScenario_OpenBGPDIPv6/openbgpd69p/rs.txt @@ -0,0 +1,49 @@ +2a00:1::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::22, via 2001:db8:1:1::22 + std comms: 0:999, 999:1 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a00:2::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::22, via 2001:db8:1:1::22 + std comms: + ext comms: rt:0:999, rt:999:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a00:3::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::22, via 2001:db8:1:1::22 + std comms: + ext comms: + lrg comms: 999:0:999, 999:999:1 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a00:4::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::22, via 2001:db8:1:1::22 + std comms: 0:999 + ext comms: rt:999:131073 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a00:5::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::22, via 2001:db8:1:1::22 + std comms: + ext comms: + lrg comms: 999:0:999, 999:999:131073 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a00:6::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::22, via 2001:db8:1:1::22 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a01:1::/32, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 65501:65501 + ext comms: rt:65501:65501 + lrg comms: 999:65501:65501 + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/default/configs/DefaultConfigScenarioOpenBGPD_IPv4/openbgpd68.conf b/tests/live_tests/scenarios/default/configs/DefaultConfigScenarioOpenBGPD_IPv4/openbgpd68.conf index 28c8e19f..b485c47d 100644 --- a/tests/live_tests/scenarios/default/configs/DefaultConfigScenarioOpenBGPD_IPv4/openbgpd68.conf +++ b/tests/live_tests/scenarios/default/configs/DefaultConfigScenarioOpenBGPD_IPv4/openbgpd68.conf @@ -7,6 +7,7 @@ log updates nexthop qualify via default + INTCOMM_PREF_OK_ROA="soo 65535:1" INTCOMM_ROUTE_OK_WL="soo 65535:2" INTCOMM_PREF_OK_ARINDB="soo 65535:3" @@ -55,6 +56,7 @@ group "clients" { neighbor 192.0.2.22 { remote-as 10745 + passive ttl-security no transparent-as yes @@ -70,6 +72,7 @@ group "clients" { neighbor 2001:db:1:1::22 { remote-as 10745 + passive ttl-security no transparent-as yes @@ -85,6 +88,7 @@ group "clients" { neighbor 192.0.2.11 { remote-as 3333 + passive ttl-security no transparent-as yes @@ -197,6 +201,7 @@ match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ + # Set the 'rejected_route_announced_by' community for all the clients. # It will be removed later if the route is not invalid match from 192.0.2.22 set ext-community rt 65520:10745 diff --git a/tests/live_tests/scenarios/default/configs/DefaultConfigScenarioOpenBGPD_IPv4/openbgpd69.conf b/tests/live_tests/scenarios/default/configs/DefaultConfigScenarioOpenBGPD_IPv4/openbgpd69.conf new file mode 100644 index 00000000..5c707a11 --- /dev/null +++ b/tests/live_tests/scenarios/default/configs/DefaultConfigScenarioOpenBGPD_IPv4/openbgpd69.conf @@ -0,0 +1,570 @@ +# built by ARouteServer +AS 999 +router-id 192.0.2.2 + +fib-update no +log updates + +nexthop qualify via default + +rde evaluate all + +INTCOMM_PREF_OK_ROA="soo 65535:1" +INTCOMM_ROUTE_OK_WL="soo 65535:2" +INTCOMM_PREF_OK_ARINDB="soo 65535:3" +INTCOMM_PREF_OK_REGISTROBRDB="soo 65535:12" + +INTCOMM_ORIGIN_OK="soo 65535:4" +INTCOMM_ORIGIN_KO="soo 65535:5" +INTCOMM_PREFIX_OK="soo 65535:6" +INTCOMM_PREFIX_KO="soo 65535:7" +INTCOMM_IRR_REJECT="soo 65535:8" + +INTCOMM_RPKI_UNKNOWN="soo 65535:9" +INTCOMM_RPKI_INVALID="soo 65535:10" +INTCOMM_RPKI_VALID="soo 65535:11" + +INTCOMM_NO_EXPORT="soo 65535:65281" +INTCOMM_NO_ADVERTISE="soo 65535:65282" + +# --------------------------------------------------------- +# IRRDB + +# AS3333, used by client AS3333_1 +as-set "AS_SET_AS3333_asns" { + 3333 +} +prefix-set "AS_SET_AS3333_prefixes" { + 193.0.0.0/21 +} + +# AS10745, used by client AS10745_1, client AS10745_2 +as-set "AS_SET_AS10745_asns" { + 10745 +} +prefix-set "AS_SET_AS10745_prefixes" { + 199.43.0.0/24 +} + + + + +# --------------------------------------------------------- +# MEMBERS + +group "clients" { + + neighbor 192.0.2.22 { + remote-as 10745 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db:1:1::22 { + remote-as 10745 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.11 { + remote-as 3333 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } +} + + + +# --------------------------------------------------------- +# FILTERS + +# NO_ADVERTISE usage notes. +# The NO_ADVERTISE well-know community is used here to handle +# filters that span over multiple steps. At first it is added +# to any route, then it is removed as filters conditions are +# satisfied. Finally, if it is still present, it means that +# the route should be discarded. + + + + + +prefix-set "bogons" { + 0.0.0.0/0 + 0.0.0.0/8 prefixlen 8 - 32 + 10.0.0.0/8 prefixlen 8 - 32 + 127.0.0.0/8 prefixlen 8 - 32 + 169.254.0.0/16 prefixlen 16 - 32 + 172.16.0.0/12 prefixlen 12 - 32 + 192.0.2.0/24 prefixlen 24 - 32 + 192.88.99.0/24 prefixlen 24 - 32 + 192.168.0.0/16 prefixlen 16 - 32 + 198.18.0.0/15 prefixlen 15 - 32 + 198.51.100.0/24 prefixlen 24 - 32 + 203.0.113.0/24 prefixlen 24 - 32 + 224.0.0.0/3 prefixlen 3 - 32 + 100.64.0.0/10 prefixlen 10 - 32 + ::/0 + ::/8 prefixlen 8 - 128 + 64:ff9b::/96 prefixlen 96 - 128 + 100::/8 prefixlen 8 - 128 + 200::/7 prefixlen 7 - 128 + 400::/6 prefixlen 6 - 128 + 800::/5 prefixlen 5 - 128 + 1000::/4 prefixlen 4 - 128 + 2001::/33 prefixlen 33 - 128 + 2001:0:8000::/33 prefixlen 33 - 128 + 2001:2::/48 prefixlen 48 - 128 + 2001:3::/32 prefixlen 32 - 128 + 2001:10::/28 prefixlen 28 - 128 + 2001:20::/28 prefixlen 28 - 128 + 2001:db8::/32 prefixlen 32 - 128 + 2002::/16 prefixlen 16 - 128 + 3ffe::/16 prefixlen 16 - 128 + 4000::/3 prefixlen 3 - 128 + 5f00::/8 prefixlen 8 - 128 + 6000::/3 prefixlen 3 - 128 + 8000::/3 prefixlen 3 - 128 + a000::/3 prefixlen 3 - 128 + c000::/3 prefixlen 3 - 128 + e000::/4 prefixlen 4 - 128 + f000::/5 prefixlen 5 - 128 + f800::/6 prefixlen 6 - 128 + fc00::/7 prefixlen 7 - 128 + fe80::/10 prefixlen 10 - 128 + fec0::/10 prefixlen 10 - 128 + ff00::/8 prefixlen 8 - 128 + +} + +# ===================================================================================== +# Global rules. + +# This part of configuration is processed at the beginning of the filters. +# The rules defined in this part are applied to all the clients, and not on a +# client-by-client basis (see the 'match from group clients'), so only global policies +# can be implemented here, that is no client-level configuration are allowed. + + + +# Scrub communities from inbound routes + +# Scrub internal communities from inbound routes +match from group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + + +# The main goal of this block is to enrich routes received from clients by attaching to them +# internal informational communities which are used later by the rest of the filter rules. + +# Internal communities used for RFC1997 well-known communities handling + +# Transform NO_EXPORT into $INTCOMM_NO_EXPORT +match from group clients community NO_EXPORT set { ext-community $INTCOMM_NO_EXPORT community delete NO_EXPORT } + +# Transform NO_ADVERTISE into $INTCOMM_NO_ADVERTISE +match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ADVERTISE community delete NO_ADVERTISE } + + + + + + + + + +# Set the 'rejected_route_announced_by' community for all the clients. +# It will be removed later if the route is not invalid +match from 192.0.2.22 set ext-community rt 65520:10745 + +match from 2001:db:1:1::22 set ext-community rt 65520:10745 + +match from 192.0.2.11 set ext-community rt 65520:3333 + + + + +# AS_PATH: length +# Reject inbound routes when 'from group clients max-as-len 32' - reject code: 1 +allow quick from group clients max-as-len 32 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:1} + + + +# Prefix: only IPv6 Global Unicast space allowed +match from group clients inet6 set community NO_ADVERTISE +match from group clients prefix 2000::/3 or-longer set community delete NO_ADVERTISE +# Reject inbound routes when 'from group clients community NO_ADVERTISE' - reject code: 10 +allow quick from group clients community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:10} + + +# Prefix: bogon +# Reject inbound routes when 'from group clients prefix-set bogons' - reject code: 2 +allow quick from group clients prefix-set bogons set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:2} + + + + +# ===================================================================================== +# Per client rules. + + +# --------------------------------------------- +# client AS10745_1, inbound + + + +# NEXT_HOP +match from 192.0.2.22 set community NO_ADVERTISE +match from 192.0.2.22 nexthop 192.0.2.22 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.22 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.22 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.22 peer-as != 10745' - reject code: 6 +allow quick from 192.0.2.22 peer-as != 10745 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.22 AS 23456' - reject code: 7 +allow quick from 192.0.2.22 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.22 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.22 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.22 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.22 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + +match from 192.0.2.22 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS10745_1, AS10745: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.22 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.22 source-as as-set AS_SET_AS10745_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS10745 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS10745_1, AS10745: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.22 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.22 prefix-set AS_SET_AS10745_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS10745 + + + + + + +# enforcing: origin ASN +# Reject inbound routes when 'from 192.0.2.22 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 192.0.2.22 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 192.0.2.22 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 192.0.2.22 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.22 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.22 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.22 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.22 set ext-community delete rt 65520:10745 + + + +allow quick from 192.0.2.22 + + + +# --------------------------------------------- +# client AS10745_1, outbound + +deny quick to 192.0.2.22 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.22 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.22 + + + + + + +# --------------------------------------------- +# client AS10745_2, inbound + + + +# NEXT_HOP +match from 2001:db:1:1::22 set community NO_ADVERTISE +match from 2001:db:1:1::22 nexthop 2001:db:1:1::22 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db:1:1::22 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db:1:1::22 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db:1:1::22 peer-as != 10745' - reject code: 6 +allow quick from 2001:db:1:1::22 peer-as != 10745 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db:1:1::22 AS 23456' - reject code: 7 +allow quick from 2001:db:1:1::22 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db:1:1::22 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db:1:1::22 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db:1:1::22 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db:1:1::22 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + +match from 2001:db:1:1::22 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS10745_2, AS10745: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db:1:1::22 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 2001:db:1:1::22 source-as as-set AS_SET_AS10745_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS10745 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS10745_2, AS10745: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db:1:1::22 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 2001:db:1:1::22 prefix-set AS_SET_AS10745_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS10745 + + + + + + +# enforcing: origin ASN +# Reject inbound routes when 'from 2001:db:1:1::22 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 2001:db:1:1::22 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 2001:db:1:1::22 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 2001:db:1:1::22 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db:1:1::22 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db:1:1::22 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db:1:1::22 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db:1:1::22 set ext-community delete rt 65520:10745 + + + +allow quick from 2001:db:1:1::22 + + + +# --------------------------------------------- +# client AS10745_2, outbound + +deny quick to 2001:db:1:1::22 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db:1:1::22 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db:1:1::22 + + + + + + +# --------------------------------------------- +# client AS3333_1, inbound + + + +# NEXT_HOP +match from 192.0.2.11 set community NO_ADVERTISE +match from 192.0.2.11 nexthop 192.0.2.11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.11 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.11 peer-as != 3333' - reject code: 6 +allow quick from 192.0.2.11 peer-as != 3333 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.11 AS 23456' - reject code: 7 +allow quick from 192.0.2.11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + +match from 192.0.2.11 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS3333_1, AS3333: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.11 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.11 source-as as-set AS_SET_AS3333_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS3333 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS3333_1, AS3333: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.11 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.11 prefix-set AS_SET_AS3333_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS3333 + + + + + + +# enforcing: origin ASN +# Reject inbound routes when 'from 192.0.2.11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 192.0.2.11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 192.0.2.11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 192.0.2.11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.11 set ext-community delete rt 65520:3333 + + + +allow quick from 192.0.2.11 + + + +# --------------------------------------------- +# client AS3333_1, outbound + +deny quick to 192.0.2.11 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.11 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.11 + + + + + + + + +# Scrub communities from outbound routes + +# Scrub prepending communities + + +# RFC1997 NO_EXPORT/NO_ADVERTISE received from clients and propagated because of pass-through policy +match to group clients ext-community $INTCOMM_NO_EXPORT set community NO_EXPORT +match to group clients ext-community $INTCOMM_NO_ADVERTISE set community NO_ADVERTISE + +# Remove internal communities before announcing the route +match to group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + diff --git a/tests/live_tests/scenarios/default/configs/DefaultConfigScenarioOpenBGPD_IPv4/openbgpd69p.conf b/tests/live_tests/scenarios/default/configs/DefaultConfigScenarioOpenBGPD_IPv4/openbgpd69p.conf new file mode 100644 index 00000000..5c707a11 --- /dev/null +++ b/tests/live_tests/scenarios/default/configs/DefaultConfigScenarioOpenBGPD_IPv4/openbgpd69p.conf @@ -0,0 +1,570 @@ +# built by ARouteServer +AS 999 +router-id 192.0.2.2 + +fib-update no +log updates + +nexthop qualify via default + +rde evaluate all + +INTCOMM_PREF_OK_ROA="soo 65535:1" +INTCOMM_ROUTE_OK_WL="soo 65535:2" +INTCOMM_PREF_OK_ARINDB="soo 65535:3" +INTCOMM_PREF_OK_REGISTROBRDB="soo 65535:12" + +INTCOMM_ORIGIN_OK="soo 65535:4" +INTCOMM_ORIGIN_KO="soo 65535:5" +INTCOMM_PREFIX_OK="soo 65535:6" +INTCOMM_PREFIX_KO="soo 65535:7" +INTCOMM_IRR_REJECT="soo 65535:8" + +INTCOMM_RPKI_UNKNOWN="soo 65535:9" +INTCOMM_RPKI_INVALID="soo 65535:10" +INTCOMM_RPKI_VALID="soo 65535:11" + +INTCOMM_NO_EXPORT="soo 65535:65281" +INTCOMM_NO_ADVERTISE="soo 65535:65282" + +# --------------------------------------------------------- +# IRRDB + +# AS3333, used by client AS3333_1 +as-set "AS_SET_AS3333_asns" { + 3333 +} +prefix-set "AS_SET_AS3333_prefixes" { + 193.0.0.0/21 +} + +# AS10745, used by client AS10745_1, client AS10745_2 +as-set "AS_SET_AS10745_asns" { + 10745 +} +prefix-set "AS_SET_AS10745_prefixes" { + 199.43.0.0/24 +} + + + + +# --------------------------------------------------------- +# MEMBERS + +group "clients" { + + neighbor 192.0.2.22 { + remote-as 10745 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db:1:1::22 { + remote-as 10745 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.11 { + remote-as 3333 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } +} + + + +# --------------------------------------------------------- +# FILTERS + +# NO_ADVERTISE usage notes. +# The NO_ADVERTISE well-know community is used here to handle +# filters that span over multiple steps. At first it is added +# to any route, then it is removed as filters conditions are +# satisfied. Finally, if it is still present, it means that +# the route should be discarded. + + + + + +prefix-set "bogons" { + 0.0.0.0/0 + 0.0.0.0/8 prefixlen 8 - 32 + 10.0.0.0/8 prefixlen 8 - 32 + 127.0.0.0/8 prefixlen 8 - 32 + 169.254.0.0/16 prefixlen 16 - 32 + 172.16.0.0/12 prefixlen 12 - 32 + 192.0.2.0/24 prefixlen 24 - 32 + 192.88.99.0/24 prefixlen 24 - 32 + 192.168.0.0/16 prefixlen 16 - 32 + 198.18.0.0/15 prefixlen 15 - 32 + 198.51.100.0/24 prefixlen 24 - 32 + 203.0.113.0/24 prefixlen 24 - 32 + 224.0.0.0/3 prefixlen 3 - 32 + 100.64.0.0/10 prefixlen 10 - 32 + ::/0 + ::/8 prefixlen 8 - 128 + 64:ff9b::/96 prefixlen 96 - 128 + 100::/8 prefixlen 8 - 128 + 200::/7 prefixlen 7 - 128 + 400::/6 prefixlen 6 - 128 + 800::/5 prefixlen 5 - 128 + 1000::/4 prefixlen 4 - 128 + 2001::/33 prefixlen 33 - 128 + 2001:0:8000::/33 prefixlen 33 - 128 + 2001:2::/48 prefixlen 48 - 128 + 2001:3::/32 prefixlen 32 - 128 + 2001:10::/28 prefixlen 28 - 128 + 2001:20::/28 prefixlen 28 - 128 + 2001:db8::/32 prefixlen 32 - 128 + 2002::/16 prefixlen 16 - 128 + 3ffe::/16 prefixlen 16 - 128 + 4000::/3 prefixlen 3 - 128 + 5f00::/8 prefixlen 8 - 128 + 6000::/3 prefixlen 3 - 128 + 8000::/3 prefixlen 3 - 128 + a000::/3 prefixlen 3 - 128 + c000::/3 prefixlen 3 - 128 + e000::/4 prefixlen 4 - 128 + f000::/5 prefixlen 5 - 128 + f800::/6 prefixlen 6 - 128 + fc00::/7 prefixlen 7 - 128 + fe80::/10 prefixlen 10 - 128 + fec0::/10 prefixlen 10 - 128 + ff00::/8 prefixlen 8 - 128 + +} + +# ===================================================================================== +# Global rules. + +# This part of configuration is processed at the beginning of the filters. +# The rules defined in this part are applied to all the clients, and not on a +# client-by-client basis (see the 'match from group clients'), so only global policies +# can be implemented here, that is no client-level configuration are allowed. + + + +# Scrub communities from inbound routes + +# Scrub internal communities from inbound routes +match from group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + + +# The main goal of this block is to enrich routes received from clients by attaching to them +# internal informational communities which are used later by the rest of the filter rules. + +# Internal communities used for RFC1997 well-known communities handling + +# Transform NO_EXPORT into $INTCOMM_NO_EXPORT +match from group clients community NO_EXPORT set { ext-community $INTCOMM_NO_EXPORT community delete NO_EXPORT } + +# Transform NO_ADVERTISE into $INTCOMM_NO_ADVERTISE +match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ADVERTISE community delete NO_ADVERTISE } + + + + + + + + + +# Set the 'rejected_route_announced_by' community for all the clients. +# It will be removed later if the route is not invalid +match from 192.0.2.22 set ext-community rt 65520:10745 + +match from 2001:db:1:1::22 set ext-community rt 65520:10745 + +match from 192.0.2.11 set ext-community rt 65520:3333 + + + + +# AS_PATH: length +# Reject inbound routes when 'from group clients max-as-len 32' - reject code: 1 +allow quick from group clients max-as-len 32 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:1} + + + +# Prefix: only IPv6 Global Unicast space allowed +match from group clients inet6 set community NO_ADVERTISE +match from group clients prefix 2000::/3 or-longer set community delete NO_ADVERTISE +# Reject inbound routes when 'from group clients community NO_ADVERTISE' - reject code: 10 +allow quick from group clients community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:10} + + +# Prefix: bogon +# Reject inbound routes when 'from group clients prefix-set bogons' - reject code: 2 +allow quick from group clients prefix-set bogons set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:2} + + + + +# ===================================================================================== +# Per client rules. + + +# --------------------------------------------- +# client AS10745_1, inbound + + + +# NEXT_HOP +match from 192.0.2.22 set community NO_ADVERTISE +match from 192.0.2.22 nexthop 192.0.2.22 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.22 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.22 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.22 peer-as != 10745' - reject code: 6 +allow quick from 192.0.2.22 peer-as != 10745 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.22 AS 23456' - reject code: 7 +allow quick from 192.0.2.22 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.22 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.22 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.22 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.22 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + +match from 192.0.2.22 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS10745_1, AS10745: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.22 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.22 source-as as-set AS_SET_AS10745_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS10745 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS10745_1, AS10745: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.22 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.22 prefix-set AS_SET_AS10745_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS10745 + + + + + + +# enforcing: origin ASN +# Reject inbound routes when 'from 192.0.2.22 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 192.0.2.22 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 192.0.2.22 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 192.0.2.22 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.22 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.22 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.22 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.22 set ext-community delete rt 65520:10745 + + + +allow quick from 192.0.2.22 + + + +# --------------------------------------------- +# client AS10745_1, outbound + +deny quick to 192.0.2.22 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.22 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.22 + + + + + + +# --------------------------------------------- +# client AS10745_2, inbound + + + +# NEXT_HOP +match from 2001:db:1:1::22 set community NO_ADVERTISE +match from 2001:db:1:1::22 nexthop 2001:db:1:1::22 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db:1:1::22 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db:1:1::22 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db:1:1::22 peer-as != 10745' - reject code: 6 +allow quick from 2001:db:1:1::22 peer-as != 10745 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db:1:1::22 AS 23456' - reject code: 7 +allow quick from 2001:db:1:1::22 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db:1:1::22 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db:1:1::22 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db:1:1::22 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db:1:1::22 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + +match from 2001:db:1:1::22 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS10745_2, AS10745: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db:1:1::22 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 2001:db:1:1::22 source-as as-set AS_SET_AS10745_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS10745 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS10745_2, AS10745: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db:1:1::22 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 2001:db:1:1::22 prefix-set AS_SET_AS10745_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS10745 + + + + + + +# enforcing: origin ASN +# Reject inbound routes when 'from 2001:db:1:1::22 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 2001:db:1:1::22 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 2001:db:1:1::22 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 2001:db:1:1::22 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db:1:1::22 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db:1:1::22 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db:1:1::22 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db:1:1::22 set ext-community delete rt 65520:10745 + + + +allow quick from 2001:db:1:1::22 + + + +# --------------------------------------------- +# client AS10745_2, outbound + +deny quick to 2001:db:1:1::22 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db:1:1::22 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db:1:1::22 + + + + + + +# --------------------------------------------- +# client AS3333_1, inbound + + + +# NEXT_HOP +match from 192.0.2.11 set community NO_ADVERTISE +match from 192.0.2.11 nexthop 192.0.2.11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.11 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.11 peer-as != 3333' - reject code: 6 +allow quick from 192.0.2.11 peer-as != 3333 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.11 AS 23456' - reject code: 7 +allow quick from 192.0.2.11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + +match from 192.0.2.11 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS3333_1, AS3333: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.11 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.11 source-as as-set AS_SET_AS3333_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS3333 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS3333_1, AS3333: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.11 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.11 prefix-set AS_SET_AS3333_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS3333 + + + + + + +# enforcing: origin ASN +# Reject inbound routes when 'from 192.0.2.11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 192.0.2.11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 192.0.2.11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 192.0.2.11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.11 set ext-community delete rt 65520:3333 + + + +allow quick from 192.0.2.11 + + + +# --------------------------------------------- +# client AS3333_1, outbound + +deny quick to 192.0.2.11 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.11 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.11 + + + + + + + + +# Scrub communities from outbound routes + +# Scrub prepending communities + + +# RFC1997 NO_EXPORT/NO_ADVERTISE received from clients and propagated because of pass-through policy +match to group clients ext-community $INTCOMM_NO_EXPORT set community NO_EXPORT +match to group clients ext-community $INTCOMM_NO_ADVERTISE set community NO_ADVERTISE + +# Remove internal communities before announcing the route +match to group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + diff --git a/tests/live_tests/scenarios/default/configs/DefaultConfigScenarioOpenBGPD_IPv6/openbgpd68.conf b/tests/live_tests/scenarios/default/configs/DefaultConfigScenarioOpenBGPD_IPv6/openbgpd68.conf index 3a55ef12..15ca5ed3 100644 --- a/tests/live_tests/scenarios/default/configs/DefaultConfigScenarioOpenBGPD_IPv6/openbgpd68.conf +++ b/tests/live_tests/scenarios/default/configs/DefaultConfigScenarioOpenBGPD_IPv6/openbgpd68.conf @@ -7,6 +7,7 @@ log updates nexthop qualify via default + INTCOMM_PREF_OK_ROA="soo 65535:1" INTCOMM_ROUTE_OK_WL="soo 65535:2" INTCOMM_PREF_OK_ARINDB="soo 65535:3" @@ -55,6 +56,7 @@ group "clients" { neighbor 192.0.2.22 { remote-as 10745 + passive ttl-security no transparent-as yes @@ -70,6 +72,7 @@ group "clients" { neighbor 2001:db:1:1::22 { remote-as 10745 + passive ttl-security no transparent-as yes @@ -85,6 +88,7 @@ group "clients" { neighbor 192.0.2.11 { remote-as 3333 + passive ttl-security no transparent-as yes @@ -197,6 +201,7 @@ match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ + # Set the 'rejected_route_announced_by' community for all the clients. # It will be removed later if the route is not invalid match from 192.0.2.22 set ext-community rt 65520:10745 diff --git a/tests/live_tests/scenarios/default/configs/DefaultConfigScenarioOpenBGPD_IPv6/openbgpd69.conf b/tests/live_tests/scenarios/default/configs/DefaultConfigScenarioOpenBGPD_IPv6/openbgpd69.conf new file mode 100644 index 00000000..69a62ec5 --- /dev/null +++ b/tests/live_tests/scenarios/default/configs/DefaultConfigScenarioOpenBGPD_IPv6/openbgpd69.conf @@ -0,0 +1,570 @@ +# built by ARouteServer +AS 999 +router-id 192.0.2.2 + +fib-update no +log updates + +nexthop qualify via default + +rde evaluate all + +INTCOMM_PREF_OK_ROA="soo 65535:1" +INTCOMM_ROUTE_OK_WL="soo 65535:2" +INTCOMM_PREF_OK_ARINDB="soo 65535:3" +INTCOMM_PREF_OK_REGISTROBRDB="soo 65535:12" + +INTCOMM_ORIGIN_OK="soo 65535:4" +INTCOMM_ORIGIN_KO="soo 65535:5" +INTCOMM_PREFIX_OK="soo 65535:6" +INTCOMM_PREFIX_KO="soo 65535:7" +INTCOMM_IRR_REJECT="soo 65535:8" + +INTCOMM_RPKI_UNKNOWN="soo 65535:9" +INTCOMM_RPKI_INVALID="soo 65535:10" +INTCOMM_RPKI_VALID="soo 65535:11" + +INTCOMM_NO_EXPORT="soo 65535:65281" +INTCOMM_NO_ADVERTISE="soo 65535:65282" + +# --------------------------------------------------------- +# IRRDB + +# AS3333, used by client AS3333_1 +as-set "AS_SET_AS3333_asns" { + 3333 +} +prefix-set "AS_SET_AS3333_prefixes" { + 2001:67c:2e8::/48 +} + +# AS10745, used by client AS10745_1, client AS10745_2 +as-set "AS_SET_AS10745_asns" { + 10745 +} +prefix-set "AS_SET_AS10745_prefixes" { + 2001:500:4::/48 +} + + + + +# --------------------------------------------------------- +# MEMBERS + +group "clients" { + + neighbor 192.0.2.22 { + remote-as 10745 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db:1:1::22 { + remote-as 10745 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.11 { + remote-as 3333 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } +} + + + +# --------------------------------------------------------- +# FILTERS + +# NO_ADVERTISE usage notes. +# The NO_ADVERTISE well-know community is used here to handle +# filters that span over multiple steps. At first it is added +# to any route, then it is removed as filters conditions are +# satisfied. Finally, if it is still present, it means that +# the route should be discarded. + + + + + +prefix-set "bogons" { + 0.0.0.0/0 + 0.0.0.0/8 prefixlen 8 - 32 + 10.0.0.0/8 prefixlen 8 - 32 + 127.0.0.0/8 prefixlen 8 - 32 + 169.254.0.0/16 prefixlen 16 - 32 + 172.16.0.0/12 prefixlen 12 - 32 + 192.0.2.0/24 prefixlen 24 - 32 + 192.88.99.0/24 prefixlen 24 - 32 + 192.168.0.0/16 prefixlen 16 - 32 + 198.18.0.0/15 prefixlen 15 - 32 + 198.51.100.0/24 prefixlen 24 - 32 + 203.0.113.0/24 prefixlen 24 - 32 + 224.0.0.0/3 prefixlen 3 - 32 + 100.64.0.0/10 prefixlen 10 - 32 + ::/0 + ::/8 prefixlen 8 - 128 + 64:ff9b::/96 prefixlen 96 - 128 + 100::/8 prefixlen 8 - 128 + 200::/7 prefixlen 7 - 128 + 400::/6 prefixlen 6 - 128 + 800::/5 prefixlen 5 - 128 + 1000::/4 prefixlen 4 - 128 + 2001::/33 prefixlen 33 - 128 + 2001:0:8000::/33 prefixlen 33 - 128 + 2001:2::/48 prefixlen 48 - 128 + 2001:3::/32 prefixlen 32 - 128 + 2001:10::/28 prefixlen 28 - 128 + 2001:20::/28 prefixlen 28 - 128 + 2001:db8::/32 prefixlen 32 - 128 + 2002::/16 prefixlen 16 - 128 + 3ffe::/16 prefixlen 16 - 128 + 4000::/3 prefixlen 3 - 128 + 5f00::/8 prefixlen 8 - 128 + 6000::/3 prefixlen 3 - 128 + 8000::/3 prefixlen 3 - 128 + a000::/3 prefixlen 3 - 128 + c000::/3 prefixlen 3 - 128 + e000::/4 prefixlen 4 - 128 + f000::/5 prefixlen 5 - 128 + f800::/6 prefixlen 6 - 128 + fc00::/7 prefixlen 7 - 128 + fe80::/10 prefixlen 10 - 128 + fec0::/10 prefixlen 10 - 128 + ff00::/8 prefixlen 8 - 128 + +} + +# ===================================================================================== +# Global rules. + +# This part of configuration is processed at the beginning of the filters. +# The rules defined in this part are applied to all the clients, and not on a +# client-by-client basis (see the 'match from group clients'), so only global policies +# can be implemented here, that is no client-level configuration are allowed. + + + +# Scrub communities from inbound routes + +# Scrub internal communities from inbound routes +match from group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + + +# The main goal of this block is to enrich routes received from clients by attaching to them +# internal informational communities which are used later by the rest of the filter rules. + +# Internal communities used for RFC1997 well-known communities handling + +# Transform NO_EXPORT into $INTCOMM_NO_EXPORT +match from group clients community NO_EXPORT set { ext-community $INTCOMM_NO_EXPORT community delete NO_EXPORT } + +# Transform NO_ADVERTISE into $INTCOMM_NO_ADVERTISE +match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ADVERTISE community delete NO_ADVERTISE } + + + + + + + + + +# Set the 'rejected_route_announced_by' community for all the clients. +# It will be removed later if the route is not invalid +match from 192.0.2.22 set ext-community rt 65520:10745 + +match from 2001:db:1:1::22 set ext-community rt 65520:10745 + +match from 192.0.2.11 set ext-community rt 65520:3333 + + + + +# AS_PATH: length +# Reject inbound routes when 'from group clients max-as-len 32' - reject code: 1 +allow quick from group clients max-as-len 32 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:1} + + + +# Prefix: only IPv6 Global Unicast space allowed +match from group clients inet6 set community NO_ADVERTISE +match from group clients prefix 2000::/3 or-longer set community delete NO_ADVERTISE +# Reject inbound routes when 'from group clients community NO_ADVERTISE' - reject code: 10 +allow quick from group clients community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:10} + + +# Prefix: bogon +# Reject inbound routes when 'from group clients prefix-set bogons' - reject code: 2 +allow quick from group clients prefix-set bogons set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:2} + + + + +# ===================================================================================== +# Per client rules. + + +# --------------------------------------------- +# client AS10745_1, inbound + + + +# NEXT_HOP +match from 192.0.2.22 set community NO_ADVERTISE +match from 192.0.2.22 nexthop 192.0.2.22 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.22 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.22 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.22 peer-as != 10745' - reject code: 6 +allow quick from 192.0.2.22 peer-as != 10745 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.22 AS 23456' - reject code: 7 +allow quick from 192.0.2.22 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.22 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.22 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.22 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.22 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + +match from 192.0.2.22 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS10745_1, AS10745: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.22 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.22 source-as as-set AS_SET_AS10745_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS10745 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS10745_1, AS10745: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.22 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.22 prefix-set AS_SET_AS10745_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS10745 + + + + + + +# enforcing: origin ASN +# Reject inbound routes when 'from 192.0.2.22 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 192.0.2.22 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 192.0.2.22 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 192.0.2.22 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.22 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.22 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.22 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.22 set ext-community delete rt 65520:10745 + + + +allow quick from 192.0.2.22 + + + +# --------------------------------------------- +# client AS10745_1, outbound + +deny quick to 192.0.2.22 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.22 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.22 + + + + + + +# --------------------------------------------- +# client AS10745_2, inbound + + + +# NEXT_HOP +match from 2001:db:1:1::22 set community NO_ADVERTISE +match from 2001:db:1:1::22 nexthop 2001:db:1:1::22 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db:1:1::22 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db:1:1::22 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db:1:1::22 peer-as != 10745' - reject code: 6 +allow quick from 2001:db:1:1::22 peer-as != 10745 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db:1:1::22 AS 23456' - reject code: 7 +allow quick from 2001:db:1:1::22 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db:1:1::22 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db:1:1::22 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db:1:1::22 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db:1:1::22 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + +match from 2001:db:1:1::22 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS10745_2, AS10745: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db:1:1::22 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 2001:db:1:1::22 source-as as-set AS_SET_AS10745_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS10745 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS10745_2, AS10745: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db:1:1::22 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 2001:db:1:1::22 prefix-set AS_SET_AS10745_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS10745 + + + + + + +# enforcing: origin ASN +# Reject inbound routes when 'from 2001:db:1:1::22 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 2001:db:1:1::22 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 2001:db:1:1::22 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 2001:db:1:1::22 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db:1:1::22 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db:1:1::22 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db:1:1::22 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db:1:1::22 set ext-community delete rt 65520:10745 + + + +allow quick from 2001:db:1:1::22 + + + +# --------------------------------------------- +# client AS10745_2, outbound + +deny quick to 2001:db:1:1::22 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db:1:1::22 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db:1:1::22 + + + + + + +# --------------------------------------------- +# client AS3333_1, inbound + + + +# NEXT_HOP +match from 192.0.2.11 set community NO_ADVERTISE +match from 192.0.2.11 nexthop 192.0.2.11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.11 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.11 peer-as != 3333' - reject code: 6 +allow quick from 192.0.2.11 peer-as != 3333 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.11 AS 23456' - reject code: 7 +allow quick from 192.0.2.11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + +match from 192.0.2.11 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS3333_1, AS3333: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.11 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.11 source-as as-set AS_SET_AS3333_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS3333 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS3333_1, AS3333: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.11 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.11 prefix-set AS_SET_AS3333_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS3333 + + + + + + +# enforcing: origin ASN +# Reject inbound routes when 'from 192.0.2.11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 192.0.2.11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 192.0.2.11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 192.0.2.11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.11 set ext-community delete rt 65520:3333 + + + +allow quick from 192.0.2.11 + + + +# --------------------------------------------- +# client AS3333_1, outbound + +deny quick to 192.0.2.11 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.11 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.11 + + + + + + + + +# Scrub communities from outbound routes + +# Scrub prepending communities + + +# RFC1997 NO_EXPORT/NO_ADVERTISE received from clients and propagated because of pass-through policy +match to group clients ext-community $INTCOMM_NO_EXPORT set community NO_EXPORT +match to group clients ext-community $INTCOMM_NO_ADVERTISE set community NO_ADVERTISE + +# Remove internal communities before announcing the route +match to group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + diff --git a/tests/live_tests/scenarios/default/configs/DefaultConfigScenarioOpenBGPD_IPv6/openbgpd69p.conf b/tests/live_tests/scenarios/default/configs/DefaultConfigScenarioOpenBGPD_IPv6/openbgpd69p.conf new file mode 100644 index 00000000..69a62ec5 --- /dev/null +++ b/tests/live_tests/scenarios/default/configs/DefaultConfigScenarioOpenBGPD_IPv6/openbgpd69p.conf @@ -0,0 +1,570 @@ +# built by ARouteServer +AS 999 +router-id 192.0.2.2 + +fib-update no +log updates + +nexthop qualify via default + +rde evaluate all + +INTCOMM_PREF_OK_ROA="soo 65535:1" +INTCOMM_ROUTE_OK_WL="soo 65535:2" +INTCOMM_PREF_OK_ARINDB="soo 65535:3" +INTCOMM_PREF_OK_REGISTROBRDB="soo 65535:12" + +INTCOMM_ORIGIN_OK="soo 65535:4" +INTCOMM_ORIGIN_KO="soo 65535:5" +INTCOMM_PREFIX_OK="soo 65535:6" +INTCOMM_PREFIX_KO="soo 65535:7" +INTCOMM_IRR_REJECT="soo 65535:8" + +INTCOMM_RPKI_UNKNOWN="soo 65535:9" +INTCOMM_RPKI_INVALID="soo 65535:10" +INTCOMM_RPKI_VALID="soo 65535:11" + +INTCOMM_NO_EXPORT="soo 65535:65281" +INTCOMM_NO_ADVERTISE="soo 65535:65282" + +# --------------------------------------------------------- +# IRRDB + +# AS3333, used by client AS3333_1 +as-set "AS_SET_AS3333_asns" { + 3333 +} +prefix-set "AS_SET_AS3333_prefixes" { + 2001:67c:2e8::/48 +} + +# AS10745, used by client AS10745_1, client AS10745_2 +as-set "AS_SET_AS10745_asns" { + 10745 +} +prefix-set "AS_SET_AS10745_prefixes" { + 2001:500:4::/48 +} + + + + +# --------------------------------------------------------- +# MEMBERS + +group "clients" { + + neighbor 192.0.2.22 { + remote-as 10745 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db:1:1::22 { + remote-as 10745 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.11 { + remote-as 3333 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } +} + + + +# --------------------------------------------------------- +# FILTERS + +# NO_ADVERTISE usage notes. +# The NO_ADVERTISE well-know community is used here to handle +# filters that span over multiple steps. At first it is added +# to any route, then it is removed as filters conditions are +# satisfied. Finally, if it is still present, it means that +# the route should be discarded. + + + + + +prefix-set "bogons" { + 0.0.0.0/0 + 0.0.0.0/8 prefixlen 8 - 32 + 10.0.0.0/8 prefixlen 8 - 32 + 127.0.0.0/8 prefixlen 8 - 32 + 169.254.0.0/16 prefixlen 16 - 32 + 172.16.0.0/12 prefixlen 12 - 32 + 192.0.2.0/24 prefixlen 24 - 32 + 192.88.99.0/24 prefixlen 24 - 32 + 192.168.0.0/16 prefixlen 16 - 32 + 198.18.0.0/15 prefixlen 15 - 32 + 198.51.100.0/24 prefixlen 24 - 32 + 203.0.113.0/24 prefixlen 24 - 32 + 224.0.0.0/3 prefixlen 3 - 32 + 100.64.0.0/10 prefixlen 10 - 32 + ::/0 + ::/8 prefixlen 8 - 128 + 64:ff9b::/96 prefixlen 96 - 128 + 100::/8 prefixlen 8 - 128 + 200::/7 prefixlen 7 - 128 + 400::/6 prefixlen 6 - 128 + 800::/5 prefixlen 5 - 128 + 1000::/4 prefixlen 4 - 128 + 2001::/33 prefixlen 33 - 128 + 2001:0:8000::/33 prefixlen 33 - 128 + 2001:2::/48 prefixlen 48 - 128 + 2001:3::/32 prefixlen 32 - 128 + 2001:10::/28 prefixlen 28 - 128 + 2001:20::/28 prefixlen 28 - 128 + 2001:db8::/32 prefixlen 32 - 128 + 2002::/16 prefixlen 16 - 128 + 3ffe::/16 prefixlen 16 - 128 + 4000::/3 prefixlen 3 - 128 + 5f00::/8 prefixlen 8 - 128 + 6000::/3 prefixlen 3 - 128 + 8000::/3 prefixlen 3 - 128 + a000::/3 prefixlen 3 - 128 + c000::/3 prefixlen 3 - 128 + e000::/4 prefixlen 4 - 128 + f000::/5 prefixlen 5 - 128 + f800::/6 prefixlen 6 - 128 + fc00::/7 prefixlen 7 - 128 + fe80::/10 prefixlen 10 - 128 + fec0::/10 prefixlen 10 - 128 + ff00::/8 prefixlen 8 - 128 + +} + +# ===================================================================================== +# Global rules. + +# This part of configuration is processed at the beginning of the filters. +# The rules defined in this part are applied to all the clients, and not on a +# client-by-client basis (see the 'match from group clients'), so only global policies +# can be implemented here, that is no client-level configuration are allowed. + + + +# Scrub communities from inbound routes + +# Scrub internal communities from inbound routes +match from group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + + +# The main goal of this block is to enrich routes received from clients by attaching to them +# internal informational communities which are used later by the rest of the filter rules. + +# Internal communities used for RFC1997 well-known communities handling + +# Transform NO_EXPORT into $INTCOMM_NO_EXPORT +match from group clients community NO_EXPORT set { ext-community $INTCOMM_NO_EXPORT community delete NO_EXPORT } + +# Transform NO_ADVERTISE into $INTCOMM_NO_ADVERTISE +match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ADVERTISE community delete NO_ADVERTISE } + + + + + + + + + +# Set the 'rejected_route_announced_by' community for all the clients. +# It will be removed later if the route is not invalid +match from 192.0.2.22 set ext-community rt 65520:10745 + +match from 2001:db:1:1::22 set ext-community rt 65520:10745 + +match from 192.0.2.11 set ext-community rt 65520:3333 + + + + +# AS_PATH: length +# Reject inbound routes when 'from group clients max-as-len 32' - reject code: 1 +allow quick from group clients max-as-len 32 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:1} + + + +# Prefix: only IPv6 Global Unicast space allowed +match from group clients inet6 set community NO_ADVERTISE +match from group clients prefix 2000::/3 or-longer set community delete NO_ADVERTISE +# Reject inbound routes when 'from group clients community NO_ADVERTISE' - reject code: 10 +allow quick from group clients community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:10} + + +# Prefix: bogon +# Reject inbound routes when 'from group clients prefix-set bogons' - reject code: 2 +allow quick from group clients prefix-set bogons set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:2} + + + + +# ===================================================================================== +# Per client rules. + + +# --------------------------------------------- +# client AS10745_1, inbound + + + +# NEXT_HOP +match from 192.0.2.22 set community NO_ADVERTISE +match from 192.0.2.22 nexthop 192.0.2.22 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.22 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.22 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.22 peer-as != 10745' - reject code: 6 +allow quick from 192.0.2.22 peer-as != 10745 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.22 AS 23456' - reject code: 7 +allow quick from 192.0.2.22 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.22 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.22 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.22 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.22 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + +match from 192.0.2.22 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS10745_1, AS10745: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.22 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.22 source-as as-set AS_SET_AS10745_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS10745 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS10745_1, AS10745: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.22 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.22 prefix-set AS_SET_AS10745_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS10745 + + + + + + +# enforcing: origin ASN +# Reject inbound routes when 'from 192.0.2.22 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 192.0.2.22 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 192.0.2.22 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 192.0.2.22 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.22 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.22 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.22 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.22 set ext-community delete rt 65520:10745 + + + +allow quick from 192.0.2.22 + + + +# --------------------------------------------- +# client AS10745_1, outbound + +deny quick to 192.0.2.22 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.22 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.22 + + + + + + +# --------------------------------------------- +# client AS10745_2, inbound + + + +# NEXT_HOP +match from 2001:db:1:1::22 set community NO_ADVERTISE +match from 2001:db:1:1::22 nexthop 2001:db:1:1::22 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db:1:1::22 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db:1:1::22 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db:1:1::22 peer-as != 10745' - reject code: 6 +allow quick from 2001:db:1:1::22 peer-as != 10745 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db:1:1::22 AS 23456' - reject code: 7 +allow quick from 2001:db:1:1::22 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db:1:1::22 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db:1:1::22 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db:1:1::22 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db:1:1::22 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + +match from 2001:db:1:1::22 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS10745_2, AS10745: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db:1:1::22 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 2001:db:1:1::22 source-as as-set AS_SET_AS10745_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS10745 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS10745_2, AS10745: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db:1:1::22 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 2001:db:1:1::22 prefix-set AS_SET_AS10745_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS10745 + + + + + + +# enforcing: origin ASN +# Reject inbound routes when 'from 2001:db:1:1::22 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 2001:db:1:1::22 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 2001:db:1:1::22 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 2001:db:1:1::22 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db:1:1::22 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db:1:1::22 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db:1:1::22 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db:1:1::22 set ext-community delete rt 65520:10745 + + + +allow quick from 2001:db:1:1::22 + + + +# --------------------------------------------- +# client AS10745_2, outbound + +deny quick to 2001:db:1:1::22 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db:1:1::22 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db:1:1::22 + + + + + + +# --------------------------------------------- +# client AS3333_1, inbound + + + +# NEXT_HOP +match from 192.0.2.11 set community NO_ADVERTISE +match from 192.0.2.11 nexthop 192.0.2.11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.11 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.11 peer-as != 3333' - reject code: 6 +allow quick from 192.0.2.11 peer-as != 3333 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.11 AS 23456' - reject code: 7 +allow quick from 192.0.2.11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + +match from 192.0.2.11 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS3333_1, AS3333: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.11 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.11 source-as as-set AS_SET_AS3333_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS3333 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS3333_1, AS3333: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.11 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.11 prefix-set AS_SET_AS3333_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS3333 + + + + + + +# enforcing: origin ASN +# Reject inbound routes when 'from 192.0.2.11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 192.0.2.11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 192.0.2.11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 192.0.2.11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.11 set ext-community delete rt 65520:3333 + + + +allow quick from 192.0.2.11 + + + +# --------------------------------------------- +# client AS3333_1, outbound + +deny quick to 192.0.2.11 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.11 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.11 + + + + + + + + +# Scrub communities from outbound routes + +# Scrub prepending communities + + +# RFC1997 NO_EXPORT/NO_ADVERTISE received from clients and propagated because of pass-through policy +match to group clients ext-community $INTCOMM_NO_EXPORT set community NO_EXPORT +match to group clients ext-community $INTCOMM_NO_ADVERTISE set community NO_ADVERTISE + +# Remove internal communities before announcing the route +match to group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + diff --git a/tests/live_tests/scenarios/bird2_rpki_rtr_example/routes/BIRD2RPKIRTRScenario_IPv4/bird2/AS1.txt b/tests/live_tests/scenarios/default/routes/DefaultConfigScenarioOpenBGPD_IPv4/openbgpd69/rs.txt similarity index 100% rename from tests/live_tests/scenarios/bird2_rpki_rtr_example/routes/BIRD2RPKIRTRScenario_IPv4/bird2/AS1.txt rename to tests/live_tests/scenarios/default/routes/DefaultConfigScenarioOpenBGPD_IPv4/openbgpd69/rs.txt diff --git a/tests/live_tests/scenarios/bird2_rpki_rtr_example/routes/BIRD2RPKIRTRScenario_IPv4/bird2/AS1_1.txt b/tests/live_tests/scenarios/default/routes/DefaultConfigScenarioOpenBGPD_IPv4/openbgpd69p/rs.txt similarity index 100% rename from tests/live_tests/scenarios/bird2_rpki_rtr_example/routes/BIRD2RPKIRTRScenario_IPv4/bird2/AS1_1.txt rename to tests/live_tests/scenarios/default/routes/DefaultConfigScenarioOpenBGPD_IPv4/openbgpd69p/rs.txt diff --git a/tests/live_tests/scenarios/default/routes/DefaultConfigScenarioOpenBGPD_IPv6/openbgpd69/rs.txt b/tests/live_tests/scenarios/default/routes/DefaultConfigScenarioOpenBGPD_IPv6/openbgpd69/rs.txt new file mode 100644 index 00000000..e69de29b diff --git a/tests/live_tests/scenarios/default/routes/DefaultConfigScenarioOpenBGPD_IPv6/openbgpd69p/rs.txt b/tests/live_tests/scenarios/default/routes/DefaultConfigScenarioOpenBGPD_IPv6/openbgpd69p/rs.txt new file mode 100644 index 00000000..e69de29b diff --git a/tests/live_tests/scenarios/global/configs/BasicScenario_OpenBGPDIPv4/openbgpd68.conf b/tests/live_tests/scenarios/global/configs/BasicScenario_OpenBGPDIPv4/openbgpd68.conf index 2bb57f2b..757da8f1 100644 --- a/tests/live_tests/scenarios/global/configs/BasicScenario_OpenBGPDIPv4/openbgpd68.conf +++ b/tests/live_tests/scenarios/global/configs/BasicScenario_OpenBGPDIPv4/openbgpd68.conf @@ -7,6 +7,7 @@ log updates nexthop qualify via default + INTCOMM_PREF_OK_ROA="soo 65535:1" INTCOMM_ROUTE_OK_WL="soo 65535:2" INTCOMM_PREF_OK_ARINDB="soo 65535:3" @@ -99,6 +100,7 @@ group "clients" { neighbor 192.0.2.11 { remote-as 1 + descr "AS1_1 client" passive ttl-security no @@ -115,6 +117,7 @@ group "clients" { neighbor 2001:db8:1:1::11 { remote-as 1 + descr "AS1_1 client" passive ttl-security no @@ -132,6 +135,7 @@ group "clients" { neighbor 192.0.2.12 { remote-as 1 + descr "AS1_2 client" passive ttl-security no @@ -148,6 +152,7 @@ group "clients" { neighbor 2001:db8:1:1::12 { remote-as 1 + descr "AS1_2 client" passive ttl-security no @@ -164,6 +169,7 @@ group "clients" { neighbor 192.0.2.222 { remote-as 222 + descr "AS222_1 client" ttl-security no transparent-as yes @@ -179,6 +185,7 @@ group "clients" { neighbor 2001:db8:1:1::222 { remote-as 222 + descr "AS222_1 client" ttl-security no transparent-as yes @@ -195,6 +202,7 @@ group "clients" { neighbor 192.0.2.21 { remote-as 2 + descr "AS2_1 client" passive ttl-security no @@ -211,6 +219,7 @@ group "clients" { neighbor 2001:db8:1:1::21 { remote-as 2 + descr "AS2_1 client" passive ttl-security no @@ -228,6 +237,7 @@ group "clients" { neighbor 192.0.2.31 { remote-as 3 + descr "AS3_1 client" ttl-security no transparent-as no @@ -243,6 +253,7 @@ group "clients" { neighbor 2001:db8:1:1::31 { remote-as 3 + descr "AS3_1 client" ttl-security no transparent-as no @@ -259,6 +270,7 @@ group "clients" { neighbor 192.0.2.41 { remote-as 4 + descr "AS4_1 client" passive ttl-security no @@ -275,6 +287,7 @@ group "clients" { neighbor 2001:db8:1:1::41 { remote-as 4 + descr "AS4_1 client" passive ttl-security no @@ -406,7 +419,9 @@ match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ # --------------------------------------------------------- -# RPKI-based Origin Validation +# ROAs source + + roa-set { 101.3.0.0/16 maxlen 24 source-as 105 101.2.0.0/17 source-as 101 @@ -425,6 +440,12 @@ roa-set { } + + +# --------------------------------------------------------- +# RPKI-based Origin Validation + + # Add $INTCOMM_RPKI_UNKNOWN, $INTCOMM_RPKI_INVALID and $INTCOMM_RPKI_VALID # ext community on the basis of ovs. match from group clients ovs not-found set ext-community $INTCOMM_RPKI_UNKNOWN @@ -433,17 +454,20 @@ match from group clients ovs invalid set ext-community $INTCOMM_RPKI_INVALID - +# --------------------------------------------------------- # RPKI ROAs used as route objects. + # Add the $INTCOMM_PREF_OK_ROA ext community to routes whose # origin ASN has a ROA for the announced prefix. # It will be used later during IRRDB validation in # case the origin ASN is authorized by a client's # AS-SET but the prefix is not. + # Since RPKI-based Origin Validation is already performed above, # use the origin validation state to identify valid routes. match from group clients ovs valid set ext-community $INTCOMM_PREF_OK_ROA + # ARIN Whois records used for preifx validation # --------------------------------------------- diff --git a/tests/live_tests/scenarios/global/configs/BasicScenario_OpenBGPDIPv4/openbgpd68p.conf b/tests/live_tests/scenarios/global/configs/BasicScenario_OpenBGPDIPv4/openbgpd68p.conf index 2bb57f2b..757da8f1 100644 --- a/tests/live_tests/scenarios/global/configs/BasicScenario_OpenBGPDIPv4/openbgpd68p.conf +++ b/tests/live_tests/scenarios/global/configs/BasicScenario_OpenBGPDIPv4/openbgpd68p.conf @@ -7,6 +7,7 @@ log updates nexthop qualify via default + INTCOMM_PREF_OK_ROA="soo 65535:1" INTCOMM_ROUTE_OK_WL="soo 65535:2" INTCOMM_PREF_OK_ARINDB="soo 65535:3" @@ -99,6 +100,7 @@ group "clients" { neighbor 192.0.2.11 { remote-as 1 + descr "AS1_1 client" passive ttl-security no @@ -115,6 +117,7 @@ group "clients" { neighbor 2001:db8:1:1::11 { remote-as 1 + descr "AS1_1 client" passive ttl-security no @@ -132,6 +135,7 @@ group "clients" { neighbor 192.0.2.12 { remote-as 1 + descr "AS1_2 client" passive ttl-security no @@ -148,6 +152,7 @@ group "clients" { neighbor 2001:db8:1:1::12 { remote-as 1 + descr "AS1_2 client" passive ttl-security no @@ -164,6 +169,7 @@ group "clients" { neighbor 192.0.2.222 { remote-as 222 + descr "AS222_1 client" ttl-security no transparent-as yes @@ -179,6 +185,7 @@ group "clients" { neighbor 2001:db8:1:1::222 { remote-as 222 + descr "AS222_1 client" ttl-security no transparent-as yes @@ -195,6 +202,7 @@ group "clients" { neighbor 192.0.2.21 { remote-as 2 + descr "AS2_1 client" passive ttl-security no @@ -211,6 +219,7 @@ group "clients" { neighbor 2001:db8:1:1::21 { remote-as 2 + descr "AS2_1 client" passive ttl-security no @@ -228,6 +237,7 @@ group "clients" { neighbor 192.0.2.31 { remote-as 3 + descr "AS3_1 client" ttl-security no transparent-as no @@ -243,6 +253,7 @@ group "clients" { neighbor 2001:db8:1:1::31 { remote-as 3 + descr "AS3_1 client" ttl-security no transparent-as no @@ -259,6 +270,7 @@ group "clients" { neighbor 192.0.2.41 { remote-as 4 + descr "AS4_1 client" passive ttl-security no @@ -275,6 +287,7 @@ group "clients" { neighbor 2001:db8:1:1::41 { remote-as 4 + descr "AS4_1 client" passive ttl-security no @@ -406,7 +419,9 @@ match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ # --------------------------------------------------------- -# RPKI-based Origin Validation +# ROAs source + + roa-set { 101.3.0.0/16 maxlen 24 source-as 105 101.2.0.0/17 source-as 101 @@ -425,6 +440,12 @@ roa-set { } + + +# --------------------------------------------------------- +# RPKI-based Origin Validation + + # Add $INTCOMM_RPKI_UNKNOWN, $INTCOMM_RPKI_INVALID and $INTCOMM_RPKI_VALID # ext community on the basis of ovs. match from group clients ovs not-found set ext-community $INTCOMM_RPKI_UNKNOWN @@ -433,17 +454,20 @@ match from group clients ovs invalid set ext-community $INTCOMM_RPKI_INVALID - +# --------------------------------------------------------- # RPKI ROAs used as route objects. + # Add the $INTCOMM_PREF_OK_ROA ext community to routes whose # origin ASN has a ROA for the announced prefix. # It will be used later during IRRDB validation in # case the origin ASN is authorized by a client's # AS-SET but the prefix is not. + # Since RPKI-based Origin Validation is already performed above, # use the origin validation state to identify valid routes. match from group clients ovs valid set ext-community $INTCOMM_PREF_OK_ROA + # ARIN Whois records used for preifx validation # --------------------------------------------- diff --git a/tests/live_tests/scenarios/global/configs/BasicScenario_OpenBGPDIPv4/openbgpd69.conf b/tests/live_tests/scenarios/global/configs/BasicScenario_OpenBGPDIPv4/openbgpd69.conf new file mode 100644 index 00000000..d5e1e949 --- /dev/null +++ b/tests/live_tests/scenarios/global/configs/BasicScenario_OpenBGPDIPv4/openbgpd69.conf @@ -0,0 +1,5611 @@ +# built by ARouteServer +AS 999 +router-id 192.0.2.2 + +fib-update no +log updates + +nexthop qualify via default + +rde evaluate all + +INTCOMM_PREF_OK_ROA="soo 65535:1" +INTCOMM_ROUTE_OK_WL="soo 65535:2" +INTCOMM_PREF_OK_ARINDB="soo 65535:3" +INTCOMM_PREF_OK_REGISTROBRDB="soo 65535:12" + +INTCOMM_ORIGIN_OK="soo 65535:4" +INTCOMM_ORIGIN_KO="soo 65535:5" +INTCOMM_PREFIX_OK="soo 65535:6" +INTCOMM_PREFIX_KO="soo 65535:7" +INTCOMM_IRR_REJECT="soo 65535:8" + +INTCOMM_RPKI_UNKNOWN="soo 65535:9" +INTCOMM_RPKI_INVALID="soo 65535:10" +INTCOMM_RPKI_VALID="soo 65535:11" + +INTCOMM_NO_EXPORT="soo 65535:65281" +INTCOMM_NO_ADVERTISE="soo 65535:65282" + +# --------------------------------------------------------- +# IRRDB + +# AS222, used by client AS222_1, client AS222_2 +# no origin ASNs found for AS222 +# no prefixes found for AS222 + +# AS2, used by client AS2_1, client AS2_2 +# no origin ASNs found for AS2 +# no prefixes found for AS2 + +# AS-AS1, AS-AS1_CUSTOMERS, used by client AS1_1, client AS1_2, client AS1_3, client AS1_4 +as-set "AS_SET_AS_AS1_AS_AS1_CUSTOMERS_asns" { + 1 101 103 104 +} +prefix-set "AS_SET_AS_AS1_AS_AS1_CUSTOMERS_prefixes" { + 1.0.0.0/8 prefixlen 8 - 32 + 128.0.0.0/7 prefixlen 7 - 32 + 101.0.0.0/16 prefixlen 16 - 32 + 103.0.0.0/16 prefixlen 16 - 32 +} + +# AS-AS2, AS-AS2_CUSTOMERS, used by client AS2_1, client AS2_2 +as-set "AS_SET_AS_AS2_AS_AS2_CUSTOMERS_asns" { + 2 101 103 +} +prefix-set "AS_SET_AS_AS2_AS_AS2_CUSTOMERS_prefixes" { + 2.0.0.0/16 prefixlen 16 - 32 + 101.0.0.0/16 prefixlen 16 - 32 + 103.0.0.0/16 prefixlen 16 - 32 +} + +# WHITE_LIST_AS1_2, used by client AS1_2 white list +as-set "AS_SET_WHITE_LIST_AS1_2_asns" { + 1011 +} +prefix-set "AS_SET_WHITE_LIST_AS1_2_prefixes" { + 11.1.0.0/16 prefixlen 16 - 32 + 2a11:1::/32 prefixlen 32 - 128 +} + +# AS-AS222, used by client AS222_1, client AS222_2 +as-set "AS_SET_AS_AS222_asns" { + 333 +} +prefix-set "AS_SET_AS_AS222_prefixes" { + 222.0.0.0/8 prefixlen 8 - 32 +} + +# AS1, used by client AS1_1, client AS1_2, client AS1_3, client AS1_4 +# no origin ASNs found for AS1 +# no prefixes found for AS1 + +# WHITE_LIST_AS1_1, used by client AS1_1 white list +as-set "AS_SET_WHITE_LIST_AS1_1_asns" { + 1011 +} +prefix-set "AS_SET_WHITE_LIST_AS1_1_prefixes" { + 11.1.0.0/16 prefixlen 16 - 32 + 2a11:1::/32 prefixlen 32 - 128 +} + + + + +# --------------------------------------------------------- +# MEMBERS + +group "clients" { + + # RTT: 0.1 ms (normalized value: 1) + neighbor 192.0.2.11 { + remote-as 1 + + rde evaluate all + + descr "AS1_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::11 { + remote-as 1 + + rde evaluate all + + descr "AS1_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + # RTT: 5 ms (normalized value: 5) + neighbor 192.0.2.12 { + remote-as 1 + + rde evaluate all + + descr "AS1_2 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::12 { + remote-as 1 + + rde evaluate all + + descr "AS1_2 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.222 { + remote-as 222 + + rde evaluate all + + descr "AS222_1 client" + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::222 { + remote-as 222 + + rde evaluate all + + descr "AS222_1 client" + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + # RTT: 17.3 ms (normalized value: 17) + neighbor 192.0.2.21 { + remote-as 2 + + rde evaluate all + + descr "AS2_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::21 { + remote-as 2 + + rde evaluate all + + descr "AS2_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + # RTT: 123.8 ms (normalized value: 124) + neighbor 192.0.2.31 { + remote-as 3 + + rde evaluate all + + descr "AS3_1 client" + ttl-security no + transparent-as no + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::31 { + remote-as 3 + + rde evaluate all + + descr "AS3_1 client" + ttl-security no + transparent-as no + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + # RTT: 600 ms (normalized value: 600) + neighbor 192.0.2.41 { + remote-as 4 + + rde evaluate all + + descr "AS4_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::41 { + remote-as 4 + + rde evaluate all + + descr "AS4_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } +} + +include "/etc/bgpd/post-clients.local" + + + +# --------------------------------------------------------- +# FILTERS + +# NO_ADVERTISE usage notes. +# The NO_ADVERTISE well-know community is used here to handle +# filters that span over multiple steps. At first it is added +# to any route, then it is removed as filters conditions are +# satisfied. Finally, if it is still present, it means that +# the route should be discarded. + + + + +prefix-set "global_black_list_pref" { + 192.0.2.0/24 prefixlen 24 - 32 + 2001:db8::/32 prefixlen 32 - 128 + +} + +prefix-set "bogons" { + 0.0.0.0/0 + 0.0.0.0/8 prefixlen 8 - 32 + 10.0.0.0/8 prefixlen 8 - 32 + 127.0.0.0/8 prefixlen 8 - 32 + 169.254.0.0/16 prefixlen 16 - 32 + 172.16.0.0/12 prefixlen 12 - 32 + 192.0.2.0/24 prefixlen 24 - 32 + 192.88.99.0/24 prefixlen 24 - 32 + 192.168.0.0/16 prefixlen 16 - 32 + 198.18.0.0/15 prefixlen 15 - 32 + 198.51.100.0/24 prefixlen 24 - 32 + 203.0.113.0/24 prefixlen 24 - 32 + 224.0.0.0/3 prefixlen 3 - 32 + 100.64.0.0/10 prefixlen 10 - 32 + ::/0 + ::/8 prefixlen 8 - 128 + 64:ff9b::/96 prefixlen 96 - 128 + 100::/8 prefixlen 8 - 128 + 200::/7 prefixlen 7 - 128 + 400::/6 prefixlen 6 - 128 + 800::/5 prefixlen 5 - 128 + 1000::/4 prefixlen 4 - 128 + 2001::/33 prefixlen 33 - 128 + 2001:0:8000::/33 prefixlen 33 - 128 + 2001:2::/48 prefixlen 48 - 128 + 2001:3::/32 prefixlen 32 - 128 + 2001:10::/28 prefixlen 28 - 128 + 2001:20::/28 prefixlen 28 - 128 + 2001:db8::/32 prefixlen 32 - 128 + 2002::/16 prefixlen 16 - 128 + 3ffe::/16 prefixlen 16 - 128 + 4000::/3 prefixlen 3 - 128 + 5f00::/8 prefixlen 8 - 128 + 6000::/3 prefixlen 3 - 128 + 8000::/3 prefixlen 3 - 128 + a000::/3 prefixlen 3 - 128 + c000::/3 prefixlen 3 - 128 + e000::/4 prefixlen 4 - 128 + f000::/5 prefixlen 5 - 128 + f800::/6 prefixlen 6 - 128 + fc00::/7 prefixlen 7 - 128 + fe80::/10 prefixlen 10 - 128 + fec0::/10 prefixlen 10 - 128 + ff00::/8 prefixlen 8 - 128 + +} + +# ===================================================================================== +# Global rules. + +# This part of configuration is processed at the beginning of the filters. +# The rules defined in this part are applied to all the clients, and not on a +# client-by-client basis (see the 'match from group clients'), so only global policies +# can be implemented here, that is no client-level configuration are allowed. + + + +# Scrub communities from inbound routes +# origin_not_present_in_as_set +match from group clients set community delete 65530:0 +match from group clients set large-community delete 999:65530:0 + +# origin_present_in_as_set +match from group clients set community delete 65530:1 +match from group clients set large-community delete 999:65530:1 + +# prefix_validated_via_arin_whois_db_dump +match from group clients set community delete 65530:3 +match from group clients set large-community delete 999:65530:3 + +# prefix_validated_via_rpki_roas +match from group clients set community delete 65530:2 +match from group clients set large-community delete 999:65530:2 + + +# Scrub internal communities from inbound routes +match from group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + + +# The main goal of this block is to enrich routes received from clients by attaching to them +# internal informational communities which are used later by the rest of the filter rules. + +# Internal communities used for RFC1997 well-known communities handling + +# Transform NO_EXPORT into $INTCOMM_NO_EXPORT +match from group clients community NO_EXPORT set { ext-community $INTCOMM_NO_EXPORT community delete NO_EXPORT } + +# Transform NO_ADVERTISE into $INTCOMM_NO_ADVERTISE +match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ADVERTISE community delete NO_ADVERTISE } + + +# --------------------------------------------------------- +# ROAs source + + +roa-set { + 101.3.0.0/16 maxlen 24 source-as 105 + 101.2.0.0/17 source-as 101 + 101.2.128.0/17 maxlen 24 source-as 101 + 101.0.128.0/20 maxlen 23 source-as 101 + 101.0.8.0/24 source-as 101 + 101.0.9.0/24 source-as 102 + 222.1.1.0/24 source-as 333 + 3101:3::/32 maxlen 48 source-as 105 + 3101:0:8000::/33 maxlen 34 source-as 101 + 3101:2:8000::/33 maxlen 48 source-as 101 + 3101:2::/33 source-as 101 + 3101:0:8::/48 source-as 101 + 3101:0:9::/48 source-as 102 + 3222:0:1::/48 source-as 333 + +} + + + +# --------------------------------------------------------- +# RPKI-based Origin Validation + + +# Add $INTCOMM_RPKI_UNKNOWN, $INTCOMM_RPKI_INVALID and $INTCOMM_RPKI_VALID +# ext community on the basis of ovs. +match from group clients ovs not-found set ext-community $INTCOMM_RPKI_UNKNOWN +match from group clients ovs valid set ext-community $INTCOMM_RPKI_VALID +match from group clients ovs invalid set ext-community $INTCOMM_RPKI_INVALID + + + +# --------------------------------------------------------- +# RPKI ROAs used as route objects. + +# Add the $INTCOMM_PREF_OK_ROA ext community to routes whose +# origin ASN has a ROA for the announced prefix. +# It will be used later during IRRDB validation in +# case the origin ASN is authorized by a client's +# AS-SET but the prefix is not. + +# Since RPKI-based Origin Validation is already performed above, +# use the origin validation state to identify valid routes. +match from group clients ovs valid set ext-community $INTCOMM_PREF_OK_ROA + + +# ARIN Whois records used for preifx validation +# --------------------------------------------- + +# Add the $INTCOMM_PREF_OK_ARINDB ext community to routes whose +# origin ASN has an ARIN Whois record for the announced prefix. +# It will be used later during IRRDB validation in +# case the origin ASN is authorized by a client's +# AS-SET but the prefix is not. +origin-set "ARINDB" { +104.0.0.0/23 prefixlen 23 - 32 source-as 104 +3104::/32 prefixlen 32 - 128 source-as 104 +} +match from group clients origin-set ARINDB set ext-community $INTCOMM_PREF_OK_ARINDB + +# NIC.BR Whois records used for preifx validation +# ----------------------------------------------- + +# Add the $INTCOMM_PREF_OK_REGISTROBRDB ext community to routes whose +# origin ASN has a NIC.BR Whois record for the announced prefix. +# It will be used later during IRRDB validation in +# case the origin ASN is authorized by a client's +# AS-SET but the prefix is not. +origin-set "REGISTROBRDB" { +104.1.1.0/24 prefixlen 24 - 32 source-as 104 +3104:1:1::/48 prefixlen 48 - 128 source-as 104 +} +match from group clients origin-set REGISTROBRDB set ext-community $INTCOMM_PREF_OK_REGISTROBRDB + + + +# Set the 'rejected_route_announced_by' community for all the clients. +# It will be removed later if the route is not invalid +match from 192.0.2.11 set ext-community rt 65520:1 + +match from 2001:db8:1:1::11 set ext-community rt 65520:1 + +match from 192.0.2.12 set ext-community rt 65520:1 + +match from 2001:db8:1:1::12 set ext-community rt 65520:1 + +match from 192.0.2.222 set ext-community rt 65520:222 + +match from 2001:db8:1:1::222 set ext-community rt 65520:222 + +match from 192.0.2.21 set ext-community rt 65520:2 + +match from 2001:db8:1:1::21 set ext-community rt 65520:2 + +match from 192.0.2.31 set ext-community rt 65520:3 + +match from 2001:db8:1:1::31 set ext-community rt 65520:3 + +match from 192.0.2.41 set ext-community rt 65520:4 + +match from 2001:db8:1:1::41 set ext-community rt 65520:4 + + + + +# AS_PATH: length +# Reject inbound routes when 'from group clients max-as-len 6' - reject code: 1 +allow quick from group clients max-as-len 6 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:1} + + +# Prefix: global blacklist +# Reject inbound routes when 'from group clients prefix-set global_black_list_pref' - reject code: 3 +allow quick from group clients prefix-set global_black_list_pref set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:3} + + +# Prefix: only IPv6 Global Unicast space allowed +match from group clients inet6 set community NO_ADVERTISE +match from group clients prefix 2000::/3 or-longer set community delete NO_ADVERTISE +# Reject inbound routes when 'from group clients community NO_ADVERTISE' - reject code: 10 +allow quick from group clients community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:10} + + +# Prefix: bogon +# Reject inbound routes when 'from group clients prefix-set bogons' - reject code: 2 +allow quick from group clients prefix-set bogons set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:2} + + + + +# ===================================================================================== +# Per client rules. + + +# --------------------------------------------- +# client AS1_1, inbound + + + +# NEXT_HOP +match from 192.0.2.11 set community NO_ADVERTISE +match from 192.0.2.11 nexthop 192.0.2.11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.11 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.11 peer-as != 1' - reject code: 6 +allow quick from 192.0.2.11 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.11 AS 23456' - reject code: 7 +allow quick from 192.0.2.11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 192.0.2.11 AS { 3, 174 }' - reject code: 8 +allow quick from 192.0.2.11 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 192.0.2.11 AS { 666, 777 }' - reject code: 15 +allow quick from 192.0.2.11 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + +# client's white list +# Add the $INTCOMM_ROUTE_OK_WL ext community to routes which +# are validated by a client's white list entry. +# It will be used later during IRRDB validation in +# case the route is not authorized by a client's +# AS-SET. +match from 192.0.2.11 prefix 11.3.0.0/16 source-as 1011 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.11 prefix 11.4.0.0/16 prefixlen 16 - 32 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.11 prefix 2a11:3::/32 source-as 1011 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.11 prefix 2a11:4::/32 prefixlen 32 - 128 set ext-community $INTCOMM_ROUTE_OK_WL # None + +match from 192.0.2.11 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS1_1, AS1: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.11 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.11 source-as as-set AS_SET_AS_AS1_AS_AS1_CUSTOMERS_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS1_AS_AS1_CUSTOMERS +# AS-SET AS1 referenced but empty. +match from 192.0.2.11 source-as as-set AS_SET_WHITE_LIST_AS1_1_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # WHITE_LIST_AS1_1 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS1_1, AS1: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.11 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.11 prefix-set AS_SET_AS_AS1_AS_AS1_CUSTOMERS_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS1_AS_AS1_CUSTOMERS +# AS-SET AS1 referenced but empty. +match from 192.0.2.11 prefix-set AS_SET_WHITE_LIST_AS1_1_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # WHITE_LIST_AS1_1 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_REGISTROBRDB community have the prefix validated by a NICBR Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_REGISTROBRDB set ext-community delete $INTCOMM_IRR_REJECT + +# route authorized by a client's white list? +match from 192.0.2.11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set ext-community delete $INTCOMM_IRR_REJECT + +# enforcing: origin ASN +# Reject inbound routes when 'from 192.0.2.11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 192.0.2.11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 192.0.2.11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 192.0.2.11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + +# Blackhole request? +match from 192.0.2.11 set ext-community delete rt 65520:1 + + +# Remove internal communities before accepting the route +match from 192.0.2.11 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.11 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.11 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 192.0.2.11 community BLACKHOLE +allow quick from 192.0.2.11 community 65534:0 +allow quick from 192.0.2.11 large-community 65534:0:0 + + +match from 192.0.2.11 set ext-community rt 65520:1 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 192.0.2.11 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 192.0.2.11 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 192.0.2.11 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 192.0.2.11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.11 set ext-community delete rt 65520:1 + + + +allow quick from 192.0.2.11 + + + +# --------------------------------------------- +# client AS1_1, outbound + +deny quick to 192.0.2.11 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 192.0.2.11 community 65534:0 set community BLACKHOLE +match to 192.0.2.11 large-community 65534:0:0 set community BLACKHOLE + +match to 192.0.2.11 community BLACKHOLE set community NO_EXPORT +match to 192.0.2.11 community BLACKHOLE set nexthop 192.0.2.66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 192.0.2.11 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 192.0.2.11 community 65507:999 set community NO_EXPORT +match to 192.0.2.11 ext-community rt 65507:999 set community NO_EXPORT +match to 192.0.2.11 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 192.0.2.11 community 65508:999 set community NO_ADVERTISE +match to 192.0.2.11 ext-community rt 65508:999 set community NO_ADVERTISE +match to 192.0.2.11 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 192.0.2.11 community 65509:1 set community NO_EXPORT +match to 192.0.2.11 ext-community rt 65509:1 set community NO_EXPORT +match to 192.0.2.11 large-community 999:65509:1 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 192.0.2.11 community 65510:1 set community NO_ADVERTISE +match to 192.0.2.11 ext-community rt 65510:1 set community NO_ADVERTISE +match to 192.0.2.11 large-community 999:65510:1 set community NO_ADVERTISE + + +# BGP control communities +allow to 192.0.2.11 + +# do_not_announce_to_any +deny to 192.0.2.11 community 0:999 +deny to 192.0.2.11 ext-community rt 0:999 +deny to 192.0.2.11 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 192.0.2.11 community 0:1 +deny quick to 192.0.2.11 ext-community rt 0:1 +deny quick to 192.0.2.11 large-community 999:0:1 + +# do_not_announce_to_peers_with_rtt_lower_than 5 ms +deny to 192.0.2.11 community 64530:5 +deny to 192.0.2.11 ext-community rt 64530:5 +deny to 192.0.2.11 large-community 999:64530:5 + + +# do_not_announce_to_peers_with_rtt_lower_than 10 ms +deny to 192.0.2.11 community 64530:10 +deny to 192.0.2.11 ext-community rt 64530:10 +deny to 192.0.2.11 large-community 999:64530:10 + + +# do_not_announce_to_peers_with_rtt_lower_than 15 ms +deny to 192.0.2.11 community 64530:15 +deny to 192.0.2.11 ext-community rt 64530:15 +deny to 192.0.2.11 large-community 999:64530:15 + + +# do_not_announce_to_peers_with_rtt_lower_than 20 ms +deny to 192.0.2.11 community 64530:20 +deny to 192.0.2.11 ext-community rt 64530:20 +deny to 192.0.2.11 large-community 999:64530:20 + + +# do_not_announce_to_peers_with_rtt_lower_than 30 ms +deny to 192.0.2.11 community 64530:30 +deny to 192.0.2.11 ext-community rt 64530:30 +deny to 192.0.2.11 large-community 999:64530:30 + + +# do_not_announce_to_peers_with_rtt_lower_than 50 ms +deny to 192.0.2.11 community 64530:50 +deny to 192.0.2.11 ext-community rt 64530:50 +deny to 192.0.2.11 large-community 999:64530:50 + + +# do_not_announce_to_peers_with_rtt_lower_than 100 ms +deny to 192.0.2.11 community 64530:100 +deny to 192.0.2.11 ext-community rt 64530:100 +deny to 192.0.2.11 large-community 999:64530:100 + + +# do_not_announce_to_peers_with_rtt_lower_than 200 ms +deny to 192.0.2.11 community 64530:200 +deny to 192.0.2.11 ext-community rt 64530:200 +deny to 192.0.2.11 large-community 999:64530:200 + + +# do_not_announce_to_peers_with_rtt_lower_than 500 ms +deny to 192.0.2.11 community 64530:500 +deny to 192.0.2.11 ext-community rt 64530:500 +deny to 192.0.2.11 large-community 999:64530:500 + + +# announce_to_peers_with_rtt_lower_than 5 ms +allow to 192.0.2.11 community 64532:5 +allow to 192.0.2.11 ext-community rt 64532:5 +allow to 192.0.2.11 large-community 999:64532:5 + + +# announce_to_peers_with_rtt_lower_than 10 ms +allow to 192.0.2.11 community 64532:10 +allow to 192.0.2.11 ext-community rt 64532:10 +allow to 192.0.2.11 large-community 999:64532:10 + + +# announce_to_peers_with_rtt_lower_than 15 ms +allow to 192.0.2.11 community 64532:15 +allow to 192.0.2.11 ext-community rt 64532:15 +allow to 192.0.2.11 large-community 999:64532:15 + + +# announce_to_peers_with_rtt_lower_than 20 ms +allow to 192.0.2.11 community 64532:20 +allow to 192.0.2.11 ext-community rt 64532:20 +allow to 192.0.2.11 large-community 999:64532:20 + + +# announce_to_peers_with_rtt_lower_than 30 ms +allow to 192.0.2.11 community 64532:30 +allow to 192.0.2.11 ext-community rt 64532:30 +allow to 192.0.2.11 large-community 999:64532:30 + + +# announce_to_peers_with_rtt_lower_than 50 ms +allow to 192.0.2.11 community 64532:50 +allow to 192.0.2.11 ext-community rt 64532:50 +allow to 192.0.2.11 large-community 999:64532:50 + + +# announce_to_peers_with_rtt_lower_than 100 ms +allow to 192.0.2.11 community 64532:100 +allow to 192.0.2.11 ext-community rt 64532:100 +allow to 192.0.2.11 large-community 999:64532:100 + + +# announce_to_peers_with_rtt_lower_than 200 ms +allow to 192.0.2.11 community 64532:200 +allow to 192.0.2.11 ext-community rt 64532:200 +allow to 192.0.2.11 large-community 999:64532:200 + + +# announce_to_peers_with_rtt_lower_than 500 ms +allow to 192.0.2.11 community 64532:500 +allow to 192.0.2.11 ext-community rt 64532:500 +allow to 192.0.2.11 large-community 999:64532:500 + + +# announce_to_peer +allow to 192.0.2.11 community 65501:1 +allow to 192.0.2.11 ext-community rt 65501:1 +allow to 192.0.2.11 large-community 999:65501:1 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 65521:1 set prepend-neighbor 1 +match to 192.0.2.11 ext-community rt 65521:1 set prepend-neighbor 1 +match to 192.0.2.11 large-community 999:65521:1 set prepend-neighbor 1 + +match to 192.0.2.11 community 65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 65522:1 set prepend-neighbor 2 +match to 192.0.2.11 ext-community rt 65522:1 set prepend-neighbor 2 +match to 192.0.2.11 large-community 999:65522:1 set prepend-neighbor 2 + +match to 192.0.2.11 community 65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 65523:1 set prepend-neighbor 3 +match to 192.0.2.11 ext-community rt 65523:1 set prepend-neighbor 3 +match to 192.0.2.11 large-community 999:65523:1 set prepend-neighbor 3 + +match to 192.0.2.11 community 65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + +# prepend_once_to_peers_with_rtt_lower_than 5 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64534:5 set prepend-neighbor 1 +match to 192.0.2.11 ext-community rt 64534:5 set prepend-neighbor 1 +match to 192.0.2.11 large-community 999:64534:5 set prepend-neighbor 1 + + +match to 192.0.2.11 community 64534:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 64534:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:64534:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 5 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64535:5 set prepend-neighbor 2 +match to 192.0.2.11 ext-community rt 64535:5 set prepend-neighbor 2 +match to 192.0.2.11 large-community 999:64535:5 set prepend-neighbor 2 + + +match to 192.0.2.11 community 64535:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 64535:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:64535:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 5 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64536:5 set prepend-neighbor 3 +match to 192.0.2.11 ext-community rt 64536:5 set prepend-neighbor 3 +match to 192.0.2.11 large-community 999:64536:5 set prepend-neighbor 3 + + +match to 192.0.2.11 community 64536:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 64536:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:64536:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 10 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64534:10 set prepend-neighbor 1 +match to 192.0.2.11 ext-community rt 64534:10 set prepend-neighbor 1 +match to 192.0.2.11 large-community 999:64534:10 set prepend-neighbor 1 + + +match to 192.0.2.11 community 64534:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 64534:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:64534:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 10 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64535:10 set prepend-neighbor 2 +match to 192.0.2.11 ext-community rt 64535:10 set prepend-neighbor 2 +match to 192.0.2.11 large-community 999:64535:10 set prepend-neighbor 2 + + +match to 192.0.2.11 community 64535:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 64535:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:64535:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 10 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64536:10 set prepend-neighbor 3 +match to 192.0.2.11 ext-community rt 64536:10 set prepend-neighbor 3 +match to 192.0.2.11 large-community 999:64536:10 set prepend-neighbor 3 + + +match to 192.0.2.11 community 64536:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 64536:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:64536:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 15 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64534:15 set prepend-neighbor 1 +match to 192.0.2.11 ext-community rt 64534:15 set prepend-neighbor 1 +match to 192.0.2.11 large-community 999:64534:15 set prepend-neighbor 1 + + +match to 192.0.2.11 community 64534:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 64534:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:64534:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 15 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64535:15 set prepend-neighbor 2 +match to 192.0.2.11 ext-community rt 64535:15 set prepend-neighbor 2 +match to 192.0.2.11 large-community 999:64535:15 set prepend-neighbor 2 + + +match to 192.0.2.11 community 64535:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 64535:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:64535:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 15 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64536:15 set prepend-neighbor 3 +match to 192.0.2.11 ext-community rt 64536:15 set prepend-neighbor 3 +match to 192.0.2.11 large-community 999:64536:15 set prepend-neighbor 3 + + +match to 192.0.2.11 community 64536:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 64536:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:64536:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 20 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64534:20 set prepend-neighbor 1 +match to 192.0.2.11 ext-community rt 64534:20 set prepend-neighbor 1 +match to 192.0.2.11 large-community 999:64534:20 set prepend-neighbor 1 + + +match to 192.0.2.11 community 64534:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 64534:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:64534:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 20 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64535:20 set prepend-neighbor 2 +match to 192.0.2.11 ext-community rt 64535:20 set prepend-neighbor 2 +match to 192.0.2.11 large-community 999:64535:20 set prepend-neighbor 2 + + +match to 192.0.2.11 community 64535:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 64535:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:64535:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 20 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64536:20 set prepend-neighbor 3 +match to 192.0.2.11 ext-community rt 64536:20 set prepend-neighbor 3 +match to 192.0.2.11 large-community 999:64536:20 set prepend-neighbor 3 + + +match to 192.0.2.11 community 64536:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 64536:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:64536:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 30 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64534:30 set prepend-neighbor 1 +match to 192.0.2.11 ext-community rt 64534:30 set prepend-neighbor 1 +match to 192.0.2.11 large-community 999:64534:30 set prepend-neighbor 1 + + +match to 192.0.2.11 community 64534:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 64534:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:64534:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 30 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64535:30 set prepend-neighbor 2 +match to 192.0.2.11 ext-community rt 64535:30 set prepend-neighbor 2 +match to 192.0.2.11 large-community 999:64535:30 set prepend-neighbor 2 + + +match to 192.0.2.11 community 64535:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 64535:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:64535:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 30 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64536:30 set prepend-neighbor 3 +match to 192.0.2.11 ext-community rt 64536:30 set prepend-neighbor 3 +match to 192.0.2.11 large-community 999:64536:30 set prepend-neighbor 3 + + +match to 192.0.2.11 community 64536:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 64536:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:64536:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 50 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64534:50 set prepend-neighbor 1 +match to 192.0.2.11 ext-community rt 64534:50 set prepend-neighbor 1 +match to 192.0.2.11 large-community 999:64534:50 set prepend-neighbor 1 + + +match to 192.0.2.11 community 64534:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 64534:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:64534:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 50 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64535:50 set prepend-neighbor 2 +match to 192.0.2.11 ext-community rt 64535:50 set prepend-neighbor 2 +match to 192.0.2.11 large-community 999:64535:50 set prepend-neighbor 2 + + +match to 192.0.2.11 community 64535:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 64535:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:64535:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 50 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64536:50 set prepend-neighbor 3 +match to 192.0.2.11 ext-community rt 64536:50 set prepend-neighbor 3 +match to 192.0.2.11 large-community 999:64536:50 set prepend-neighbor 3 + + +match to 192.0.2.11 community 64536:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 64536:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:64536:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 100 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64534:100 set prepend-neighbor 1 +match to 192.0.2.11 ext-community rt 64534:100 set prepend-neighbor 1 +match to 192.0.2.11 large-community 999:64534:100 set prepend-neighbor 1 + + +match to 192.0.2.11 community 64534:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 64534:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:64534:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 100 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64535:100 set prepend-neighbor 2 +match to 192.0.2.11 ext-community rt 64535:100 set prepend-neighbor 2 +match to 192.0.2.11 large-community 999:64535:100 set prepend-neighbor 2 + + +match to 192.0.2.11 community 64535:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 64535:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:64535:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 100 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64536:100 set prepend-neighbor 3 +match to 192.0.2.11 ext-community rt 64536:100 set prepend-neighbor 3 +match to 192.0.2.11 large-community 999:64536:100 set prepend-neighbor 3 + + +match to 192.0.2.11 community 64536:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 64536:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:64536:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 200 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64534:200 set prepend-neighbor 1 +match to 192.0.2.11 ext-community rt 64534:200 set prepend-neighbor 1 +match to 192.0.2.11 large-community 999:64534:200 set prepend-neighbor 1 + + +match to 192.0.2.11 community 64534:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 64534:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:64534:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 200 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64535:200 set prepend-neighbor 2 +match to 192.0.2.11 ext-community rt 64535:200 set prepend-neighbor 2 +match to 192.0.2.11 large-community 999:64535:200 set prepend-neighbor 2 + + +match to 192.0.2.11 community 64535:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 64535:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:64535:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 200 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64536:200 set prepend-neighbor 3 +match to 192.0.2.11 ext-community rt 64536:200 set prepend-neighbor 3 +match to 192.0.2.11 large-community 999:64536:200 set prepend-neighbor 3 + + +match to 192.0.2.11 community 64536:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 64536:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:64536:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64534:500 set prepend-neighbor 1 +match to 192.0.2.11 ext-community rt 64534:500 set prepend-neighbor 1 +match to 192.0.2.11 large-community 999:64534:500 set prepend-neighbor 1 + + +match to 192.0.2.11 community 64534:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 64534:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:64534:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64535:500 set prepend-neighbor 2 +match to 192.0.2.11 ext-community rt 64535:500 set prepend-neighbor 2 +match to 192.0.2.11 large-community 999:64535:500 set prepend-neighbor 2 + + +match to 192.0.2.11 community 64535:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 64535:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:64535:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64536:500 set prepend-neighbor 3 +match to 192.0.2.11 ext-community rt 64536:500 set prepend-neighbor 3 +match to 192.0.2.11 large-community 999:64536:500 set prepend-neighbor 3 + + +match to 192.0.2.11 community 64536:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 64536:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:64536:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 65521:65521 set prepend-neighbor 1 +match to 192.0.2.11 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 192.0.2.11 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 192.0.2.11 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 65522:65522 set prepend-neighbor 2 +match to 192.0.2.11 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 192.0.2.11 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 192.0.2.11 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 65523:65523 set prepend-neighbor 3 +match to 192.0.2.11 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 192.0.2.11 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 192.0.2.11 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS1_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::11 set community NO_ADVERTISE +match from 2001:db8:1:1::11 nexthop 2001:db8:1:1::11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::11 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::11 peer-as != 1' - reject code: 6 +allow quick from 2001:db8:1:1::11 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 2001:db8:1:1::11 AS { 3, 174 }' - reject code: 8 +allow quick from 2001:db8:1:1::11 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 2001:db8:1:1::11 AS { 666, 777 }' - reject code: 15 +allow quick from 2001:db8:1:1::11 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + +# client's white list +# Add the $INTCOMM_ROUTE_OK_WL ext community to routes which +# are validated by a client's white list entry. +# It will be used later during IRRDB validation in +# case the route is not authorized by a client's +# AS-SET. +match from 2001:db8:1:1::11 prefix 11.3.0.0/16 source-as 1011 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::11 prefix 11.4.0.0/16 prefixlen 16 - 32 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::11 prefix 2a11:3::/32 source-as 1011 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::11 prefix 2a11:4::/32 prefixlen 32 - 128 set ext-community $INTCOMM_ROUTE_OK_WL # None + +match from 2001:db8:1:1::11 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS1_2, AS1: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::11 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::11 source-as as-set AS_SET_AS_AS1_AS_AS1_CUSTOMERS_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS1_AS_AS1_CUSTOMERS +match from 2001:db8:1:1::11 source-as as-set AS_SET_WHITE_LIST_AS1_2_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # WHITE_LIST_AS1_2 +# AS-SET AS1 referenced but empty. + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS1_2, AS1: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::11 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::11 prefix-set AS_SET_AS_AS1_AS_AS1_CUSTOMERS_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS1_AS_AS1_CUSTOMERS +match from 2001:db8:1:1::11 prefix-set AS_SET_WHITE_LIST_AS1_2_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # WHITE_LIST_AS1_2 +# AS-SET AS1 referenced but empty. + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_REGISTROBRDB community have the prefix validated by a NICBR Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_REGISTROBRDB set ext-community delete $INTCOMM_IRR_REJECT + +# route authorized by a client's white list? +match from 2001:db8:1:1::11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set ext-community delete $INTCOMM_IRR_REJECT + +# enforcing: origin ASN +# Reject inbound routes when 'from 2001:db8:1:1::11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 2001:db8:1:1::11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 2001:db8:1:1::11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 2001:db8:1:1::11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + +# Blackhole request? +match from 2001:db8:1:1::11 set ext-community delete rt 65520:1 + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::11 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::11 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::11 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 2001:db8:1:1::11 community BLACKHOLE +allow quick from 2001:db8:1:1::11 community 65534:0 +allow quick from 2001:db8:1:1::11 large-community 65534:0:0 + + +match from 2001:db8:1:1::11 set ext-community rt 65520:1 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 2001:db8:1:1::11 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 2001:db8:1:1::11 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::11 prefix ::/0 prefixlen 17 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::11 prefix ::/0 prefixlen 17 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 2001:db8:1:1::11 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::11 set ext-community delete rt 65520:1 + + + +allow quick from 2001:db8:1:1::11 + + + +# --------------------------------------------- +# client AS1_2, outbound + +deny quick to 2001:db8:1:1::11 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 2001:db8:1:1::11 community 65534:0 set community BLACKHOLE +match to 2001:db8:1:1::11 large-community 65534:0:0 set community BLACKHOLE + +match to 2001:db8:1:1::11 community BLACKHOLE set community NO_EXPORT +match to 2001:db8:1:1::11 community BLACKHOLE set nexthop 2001:db8:1:1::66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 2001:db8:1:1::11 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 2001:db8:1:1::11 community 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::11 ext-community rt 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::11 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 2001:db8:1:1::11 community 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::11 ext-community rt 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::11 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 2001:db8:1:1::11 community 65509:1 set community NO_EXPORT +match to 2001:db8:1:1::11 ext-community rt 65509:1 set community NO_EXPORT +match to 2001:db8:1:1::11 large-community 999:65509:1 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 2001:db8:1:1::11 community 65510:1 set community NO_ADVERTISE +match to 2001:db8:1:1::11 ext-community rt 65510:1 set community NO_ADVERTISE +match to 2001:db8:1:1::11 large-community 999:65510:1 set community NO_ADVERTISE + + +# BGP control communities +allow to 2001:db8:1:1::11 + +# do_not_announce_to_any +deny to 2001:db8:1:1::11 community 0:999 +deny to 2001:db8:1:1::11 ext-community rt 0:999 +deny to 2001:db8:1:1::11 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::11 community 0:1 +deny quick to 2001:db8:1:1::11 ext-community rt 0:1 +deny quick to 2001:db8:1:1::11 large-community 999:0:1 + +# announce_to_peer +allow to 2001:db8:1:1::11 community 65501:1 +allow to 2001:db8:1:1::11 ext-community rt 65501:1 +allow to 2001:db8:1:1::11 large-community 999:65501:1 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 65521:1 set prepend-neighbor 1 +match to 2001:db8:1:1::11 ext-community rt 65521:1 set prepend-neighbor 1 +match to 2001:db8:1:1::11 large-community 999:65521:1 set prepend-neighbor 1 + +match to 2001:db8:1:1::11 community 65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 65522:1 set prepend-neighbor 2 +match to 2001:db8:1:1::11 ext-community rt 65522:1 set prepend-neighbor 2 +match to 2001:db8:1:1::11 large-community 999:65522:1 set prepend-neighbor 2 + +match to 2001:db8:1:1::11 community 65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 65523:1 set prepend-neighbor 3 +match to 2001:db8:1:1::11 ext-community rt 65523:1 set prepend-neighbor 3 +match to 2001:db8:1:1::11 large-community 999:65523:1 set prepend-neighbor 3 + +match to 2001:db8:1:1::11 community 65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::11 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::11 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 2001:db8:1:1::11 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::11 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::11 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 2001:db8:1:1::11 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::11 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::11 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 2001:db8:1:1::11 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS1_3, inbound + + + +# NEXT_HOP +match from 192.0.2.12 set community NO_ADVERTISE +match from 192.0.2.12 nexthop 192.0.2.11 set community delete NO_ADVERTISE +match from 192.0.2.12 nexthop 192.0.2.12 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.12 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.12 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.12 peer-as != 1' - reject code: 6 +allow quick from 192.0.2.12 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.12 AS 23456' - reject code: 7 +allow quick from 192.0.2.12 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.12 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.12 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.12 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.12 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 192.0.2.12 AS { 3, 174 }' - reject code: 8 +allow quick from 192.0.2.12 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 192.0.2.12 AS { 666, 777 }' - reject code: 15 +allow quick from 192.0.2.12 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + + +match from 192.0.2.12 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS1_3, AS1: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.12 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.12 source-as as-set AS_SET_AS_AS1_AS_AS1_CUSTOMERS_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS1_AS_AS1_CUSTOMERS +# AS-SET AS1 referenced but empty. + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS1_3, AS1: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.12 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.12 prefix-set AS_SET_AS_AS1_AS_AS1_CUSTOMERS_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS1_AS_AS1_CUSTOMERS +# AS-SET AS1 referenced but empty. + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.12 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.12 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_REGISTROBRDB community have the prefix validated by a NICBR Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.12 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_REGISTROBRDB set ext-community delete $INTCOMM_IRR_REJECT + + +# enforcing: origin ASN +# Reject inbound routes when 'from 192.0.2.12 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 192.0.2.12 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 192.0.2.12 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 192.0.2.12 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + +# Blackhole request? +match from 192.0.2.12 set ext-community delete rt 65520:1 + + +# Remove internal communities before accepting the route +match from 192.0.2.12 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.12 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.12 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 192.0.2.12 community BLACKHOLE +allow quick from 192.0.2.12 community 65534:0 +allow quick from 192.0.2.12 large-community 65534:0:0 + + +match from 192.0.2.12 set ext-community rt 65520:1 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 192.0.2.12 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 192.0.2.12 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.12 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.12 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 192.0.2.12 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 192.0.2.12 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.12 set ext-community delete rt 65520:1 + + + +allow quick from 192.0.2.12 + + + +# --------------------------------------------- +# client AS1_3, outbound + +deny quick to 192.0.2.12 community 65520:0 + + + +# Blackhole request? +# Client not enabled to receive blackhole routes +deny quick to 192.0.2.12 community BLACKHOLE +deny quick to 192.0.2.12 community 65534:0 +deny quick to 192.0.2.12 large-community 65534:0:0 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 192.0.2.12 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 192.0.2.12 community 65507:999 set community NO_EXPORT +match to 192.0.2.12 ext-community rt 65507:999 set community NO_EXPORT +match to 192.0.2.12 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 192.0.2.12 community 65508:999 set community NO_ADVERTISE +match to 192.0.2.12 ext-community rt 65508:999 set community NO_ADVERTISE +match to 192.0.2.12 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 192.0.2.12 community 65509:1 set community NO_EXPORT +match to 192.0.2.12 ext-community rt 65509:1 set community NO_EXPORT +match to 192.0.2.12 large-community 999:65509:1 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 192.0.2.12 community 65510:1 set community NO_ADVERTISE +match to 192.0.2.12 ext-community rt 65510:1 set community NO_ADVERTISE +match to 192.0.2.12 large-community 999:65510:1 set community NO_ADVERTISE + + +# BGP control communities +allow to 192.0.2.12 + +# do_not_announce_to_any +deny to 192.0.2.12 community 0:999 +deny to 192.0.2.12 ext-community rt 0:999 +deny to 192.0.2.12 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 192.0.2.12 community 0:1 +deny quick to 192.0.2.12 ext-community rt 0:1 +deny quick to 192.0.2.12 large-community 999:0:1 + +# do_not_announce_to_peers_with_rtt_lower_than 5 ms +deny to 192.0.2.12 community 64530:5 +deny to 192.0.2.12 ext-community rt 64530:5 +deny to 192.0.2.12 large-community 999:64530:5 + + +# do_not_announce_to_peers_with_rtt_lower_than 10 ms +deny to 192.0.2.12 community 64530:10 +deny to 192.0.2.12 ext-community rt 64530:10 +deny to 192.0.2.12 large-community 999:64530:10 + + +# do_not_announce_to_peers_with_rtt_lower_than 15 ms +deny to 192.0.2.12 community 64530:15 +deny to 192.0.2.12 ext-community rt 64530:15 +deny to 192.0.2.12 large-community 999:64530:15 + + +# do_not_announce_to_peers_with_rtt_lower_than 20 ms +deny to 192.0.2.12 community 64530:20 +deny to 192.0.2.12 ext-community rt 64530:20 +deny to 192.0.2.12 large-community 999:64530:20 + + +# do_not_announce_to_peers_with_rtt_lower_than 30 ms +deny to 192.0.2.12 community 64530:30 +deny to 192.0.2.12 ext-community rt 64530:30 +deny to 192.0.2.12 large-community 999:64530:30 + + +# do_not_announce_to_peers_with_rtt_lower_than 50 ms +deny to 192.0.2.12 community 64530:50 +deny to 192.0.2.12 ext-community rt 64530:50 +deny to 192.0.2.12 large-community 999:64530:50 + + +# do_not_announce_to_peers_with_rtt_lower_than 100 ms +deny to 192.0.2.12 community 64530:100 +deny to 192.0.2.12 ext-community rt 64530:100 +deny to 192.0.2.12 large-community 999:64530:100 + + +# do_not_announce_to_peers_with_rtt_lower_than 200 ms +deny to 192.0.2.12 community 64530:200 +deny to 192.0.2.12 ext-community rt 64530:200 +deny to 192.0.2.12 large-community 999:64530:200 + + +# do_not_announce_to_peers_with_rtt_lower_than 500 ms +deny to 192.0.2.12 community 64530:500 +deny to 192.0.2.12 ext-community rt 64530:500 +deny to 192.0.2.12 large-community 999:64530:500 + + +# announce_to_peers_with_rtt_lower_than 5 ms +allow to 192.0.2.12 community 64532:5 +allow to 192.0.2.12 ext-community rt 64532:5 +allow to 192.0.2.12 large-community 999:64532:5 + + +# announce_to_peers_with_rtt_lower_than 10 ms +allow to 192.0.2.12 community 64532:10 +allow to 192.0.2.12 ext-community rt 64532:10 +allow to 192.0.2.12 large-community 999:64532:10 + + +# announce_to_peers_with_rtt_lower_than 15 ms +allow to 192.0.2.12 community 64532:15 +allow to 192.0.2.12 ext-community rt 64532:15 +allow to 192.0.2.12 large-community 999:64532:15 + + +# announce_to_peers_with_rtt_lower_than 20 ms +allow to 192.0.2.12 community 64532:20 +allow to 192.0.2.12 ext-community rt 64532:20 +allow to 192.0.2.12 large-community 999:64532:20 + + +# announce_to_peers_with_rtt_lower_than 30 ms +allow to 192.0.2.12 community 64532:30 +allow to 192.0.2.12 ext-community rt 64532:30 +allow to 192.0.2.12 large-community 999:64532:30 + + +# announce_to_peers_with_rtt_lower_than 50 ms +allow to 192.0.2.12 community 64532:50 +allow to 192.0.2.12 ext-community rt 64532:50 +allow to 192.0.2.12 large-community 999:64532:50 + + +# announce_to_peers_with_rtt_lower_than 100 ms +allow to 192.0.2.12 community 64532:100 +allow to 192.0.2.12 ext-community rt 64532:100 +allow to 192.0.2.12 large-community 999:64532:100 + + +# announce_to_peers_with_rtt_lower_than 200 ms +allow to 192.0.2.12 community 64532:200 +allow to 192.0.2.12 ext-community rt 64532:200 +allow to 192.0.2.12 large-community 999:64532:200 + + +# announce_to_peers_with_rtt_lower_than 500 ms +allow to 192.0.2.12 community 64532:500 +allow to 192.0.2.12 ext-community rt 64532:500 +allow to 192.0.2.12 large-community 999:64532:500 + + +# announce_to_peer +allow to 192.0.2.12 community 65501:1 +allow to 192.0.2.12 ext-community rt 65501:1 +allow to 192.0.2.12 large-community 999:65501:1 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 65521:1 set prepend-neighbor 1 +match to 192.0.2.12 ext-community rt 65521:1 set prepend-neighbor 1 +match to 192.0.2.12 large-community 999:65521:1 set prepend-neighbor 1 + +match to 192.0.2.12 community 65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 65522:1 set prepend-neighbor 2 +match to 192.0.2.12 ext-community rt 65522:1 set prepend-neighbor 2 +match to 192.0.2.12 large-community 999:65522:1 set prepend-neighbor 2 + +match to 192.0.2.12 community 65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 65523:1 set prepend-neighbor 3 +match to 192.0.2.12 ext-community rt 65523:1 set prepend-neighbor 3 +match to 192.0.2.12 large-community 999:65523:1 set prepend-neighbor 3 + +match to 192.0.2.12 community 65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + +# prepend_once_to_peers_with_rtt_lower_than 5 ms; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 64534:5 set prepend-neighbor 1 +match to 192.0.2.12 ext-community rt 64534:5 set prepend-neighbor 1 +match to 192.0.2.12 large-community 999:64534:5 set prepend-neighbor 1 + + +match to 192.0.2.12 community 64534:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 64534:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:64534:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 5 ms; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 64535:5 set prepend-neighbor 2 +match to 192.0.2.12 ext-community rt 64535:5 set prepend-neighbor 2 +match to 192.0.2.12 large-community 999:64535:5 set prepend-neighbor 2 + + +match to 192.0.2.12 community 64535:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 64535:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:64535:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 5 ms; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 64536:5 set prepend-neighbor 3 +match to 192.0.2.12 ext-community rt 64536:5 set prepend-neighbor 3 +match to 192.0.2.12 large-community 999:64536:5 set prepend-neighbor 3 + + +match to 192.0.2.12 community 64536:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 64536:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:64536:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 10 ms; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 64534:10 set prepend-neighbor 1 +match to 192.0.2.12 ext-community rt 64534:10 set prepend-neighbor 1 +match to 192.0.2.12 large-community 999:64534:10 set prepend-neighbor 1 + + +match to 192.0.2.12 community 64534:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 64534:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:64534:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 10 ms; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 64535:10 set prepend-neighbor 2 +match to 192.0.2.12 ext-community rt 64535:10 set prepend-neighbor 2 +match to 192.0.2.12 large-community 999:64535:10 set prepend-neighbor 2 + + +match to 192.0.2.12 community 64535:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 64535:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:64535:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 10 ms; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 64536:10 set prepend-neighbor 3 +match to 192.0.2.12 ext-community rt 64536:10 set prepend-neighbor 3 +match to 192.0.2.12 large-community 999:64536:10 set prepend-neighbor 3 + + +match to 192.0.2.12 community 64536:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 64536:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:64536:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 15 ms; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 64534:15 set prepend-neighbor 1 +match to 192.0.2.12 ext-community rt 64534:15 set prepend-neighbor 1 +match to 192.0.2.12 large-community 999:64534:15 set prepend-neighbor 1 + + +match to 192.0.2.12 community 64534:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 64534:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:64534:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 15 ms; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 64535:15 set prepend-neighbor 2 +match to 192.0.2.12 ext-community rt 64535:15 set prepend-neighbor 2 +match to 192.0.2.12 large-community 999:64535:15 set prepend-neighbor 2 + + +match to 192.0.2.12 community 64535:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 64535:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:64535:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 15 ms; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 64536:15 set prepend-neighbor 3 +match to 192.0.2.12 ext-community rt 64536:15 set prepend-neighbor 3 +match to 192.0.2.12 large-community 999:64536:15 set prepend-neighbor 3 + + +match to 192.0.2.12 community 64536:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 64536:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:64536:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 20 ms; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 64534:20 set prepend-neighbor 1 +match to 192.0.2.12 ext-community rt 64534:20 set prepend-neighbor 1 +match to 192.0.2.12 large-community 999:64534:20 set prepend-neighbor 1 + + +match to 192.0.2.12 community 64534:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 64534:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:64534:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 20 ms; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 64535:20 set prepend-neighbor 2 +match to 192.0.2.12 ext-community rt 64535:20 set prepend-neighbor 2 +match to 192.0.2.12 large-community 999:64535:20 set prepend-neighbor 2 + + +match to 192.0.2.12 community 64535:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 64535:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:64535:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 20 ms; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 64536:20 set prepend-neighbor 3 +match to 192.0.2.12 ext-community rt 64536:20 set prepend-neighbor 3 +match to 192.0.2.12 large-community 999:64536:20 set prepend-neighbor 3 + + +match to 192.0.2.12 community 64536:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 64536:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:64536:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 30 ms; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 64534:30 set prepend-neighbor 1 +match to 192.0.2.12 ext-community rt 64534:30 set prepend-neighbor 1 +match to 192.0.2.12 large-community 999:64534:30 set prepend-neighbor 1 + + +match to 192.0.2.12 community 64534:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 64534:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:64534:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 30 ms; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 64535:30 set prepend-neighbor 2 +match to 192.0.2.12 ext-community rt 64535:30 set prepend-neighbor 2 +match to 192.0.2.12 large-community 999:64535:30 set prepend-neighbor 2 + + +match to 192.0.2.12 community 64535:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 64535:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:64535:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 30 ms; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 64536:30 set prepend-neighbor 3 +match to 192.0.2.12 ext-community rt 64536:30 set prepend-neighbor 3 +match to 192.0.2.12 large-community 999:64536:30 set prepend-neighbor 3 + + +match to 192.0.2.12 community 64536:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 64536:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:64536:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 50 ms; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 64534:50 set prepend-neighbor 1 +match to 192.0.2.12 ext-community rt 64534:50 set prepend-neighbor 1 +match to 192.0.2.12 large-community 999:64534:50 set prepend-neighbor 1 + + +match to 192.0.2.12 community 64534:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 64534:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:64534:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 50 ms; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 64535:50 set prepend-neighbor 2 +match to 192.0.2.12 ext-community rt 64535:50 set prepend-neighbor 2 +match to 192.0.2.12 large-community 999:64535:50 set prepend-neighbor 2 + + +match to 192.0.2.12 community 64535:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 64535:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:64535:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 50 ms; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 64536:50 set prepend-neighbor 3 +match to 192.0.2.12 ext-community rt 64536:50 set prepend-neighbor 3 +match to 192.0.2.12 large-community 999:64536:50 set prepend-neighbor 3 + + +match to 192.0.2.12 community 64536:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 64536:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:64536:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 100 ms; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 64534:100 set prepend-neighbor 1 +match to 192.0.2.12 ext-community rt 64534:100 set prepend-neighbor 1 +match to 192.0.2.12 large-community 999:64534:100 set prepend-neighbor 1 + + +match to 192.0.2.12 community 64534:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 64534:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:64534:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 100 ms; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 64535:100 set prepend-neighbor 2 +match to 192.0.2.12 ext-community rt 64535:100 set prepend-neighbor 2 +match to 192.0.2.12 large-community 999:64535:100 set prepend-neighbor 2 + + +match to 192.0.2.12 community 64535:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 64535:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:64535:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 100 ms; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 64536:100 set prepend-neighbor 3 +match to 192.0.2.12 ext-community rt 64536:100 set prepend-neighbor 3 +match to 192.0.2.12 large-community 999:64536:100 set prepend-neighbor 3 + + +match to 192.0.2.12 community 64536:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 64536:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:64536:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 200 ms; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 64534:200 set prepend-neighbor 1 +match to 192.0.2.12 ext-community rt 64534:200 set prepend-neighbor 1 +match to 192.0.2.12 large-community 999:64534:200 set prepend-neighbor 1 + + +match to 192.0.2.12 community 64534:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 64534:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:64534:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 200 ms; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 64535:200 set prepend-neighbor 2 +match to 192.0.2.12 ext-community rt 64535:200 set prepend-neighbor 2 +match to 192.0.2.12 large-community 999:64535:200 set prepend-neighbor 2 + + +match to 192.0.2.12 community 64535:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 64535:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:64535:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 200 ms; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 64536:200 set prepend-neighbor 3 +match to 192.0.2.12 ext-community rt 64536:200 set prepend-neighbor 3 +match to 192.0.2.12 large-community 999:64536:200 set prepend-neighbor 3 + + +match to 192.0.2.12 community 64536:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 64536:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:64536:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 64534:500 set prepend-neighbor 1 +match to 192.0.2.12 ext-community rt 64534:500 set prepend-neighbor 1 +match to 192.0.2.12 large-community 999:64534:500 set prepend-neighbor 1 + + +match to 192.0.2.12 community 64534:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 64534:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:64534:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 64535:500 set prepend-neighbor 2 +match to 192.0.2.12 ext-community rt 64535:500 set prepend-neighbor 2 +match to 192.0.2.12 large-community 999:64535:500 set prepend-neighbor 2 + + +match to 192.0.2.12 community 64535:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 64535:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:64535:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 64536:500 set prepend-neighbor 3 +match to 192.0.2.12 ext-community rt 64536:500 set prepend-neighbor 3 +match to 192.0.2.12 large-community 999:64536:500 set prepend-neighbor 3 + + +match to 192.0.2.12 community 64536:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 64536:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:64536:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 65521:65521 set prepend-neighbor 1 +match to 192.0.2.12 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 192.0.2.12 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 192.0.2.12 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 65522:65522 set prepend-neighbor 2 +match to 192.0.2.12 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 192.0.2.12 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 192.0.2.12 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 65523:65523 set prepend-neighbor 3 +match to 192.0.2.12 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 192.0.2.12 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 192.0.2.12 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS1_4, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::12 set community NO_ADVERTISE +match from 2001:db8:1:1::12 nexthop 2001:db8:1:1::11 set community delete NO_ADVERTISE +match from 2001:db8:1:1::12 nexthop 2001:db8:1:1::12 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::12 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::12 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::12 peer-as != 1' - reject code: 6 +allow quick from 2001:db8:1:1::12 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::12 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::12 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::12 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::12 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::12 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::12 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 2001:db8:1:1::12 AS { 3, 174 }' - reject code: 8 +allow quick from 2001:db8:1:1::12 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 2001:db8:1:1::12 AS { 666, 777 }' - reject code: 15 +allow quick from 2001:db8:1:1::12 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + + +match from 2001:db8:1:1::12 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS1_4, AS1: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::12 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::12 source-as as-set AS_SET_AS_AS1_AS_AS1_CUSTOMERS_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS1_AS_AS1_CUSTOMERS +# AS-SET AS1 referenced but empty. + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS1_4, AS1: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::12 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::12 prefix-set AS_SET_AS_AS1_AS_AS1_CUSTOMERS_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS1_AS_AS1_CUSTOMERS +# AS-SET AS1 referenced but empty. + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::12 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::12 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_REGISTROBRDB community have the prefix validated by a NICBR Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::12 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_REGISTROBRDB set ext-community delete $INTCOMM_IRR_REJECT + + +# enforcing: origin ASN +# Reject inbound routes when 'from 2001:db8:1:1::12 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 2001:db8:1:1::12 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 2001:db8:1:1::12 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 2001:db8:1:1::12 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + +# Blackhole request? +match from 2001:db8:1:1::12 set ext-community delete rt 65520:1 + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::12 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::12 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::12 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 2001:db8:1:1::12 community BLACKHOLE +allow quick from 2001:db8:1:1::12 community 65534:0 +allow quick from 2001:db8:1:1::12 large-community 65534:0:0 + + +match from 2001:db8:1:1::12 set ext-community rt 65520:1 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 2001:db8:1:1::12 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 2001:db8:1:1::12 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::12 prefix ::/0 prefixlen 17 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::12 prefix ::/0 prefixlen 17 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 2001:db8:1:1::12 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::12 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::12 set ext-community delete rt 65520:1 + + + +allow quick from 2001:db8:1:1::12 + + + +# --------------------------------------------- +# client AS1_4, outbound + +deny quick to 2001:db8:1:1::12 community 65520:0 + + + +# Blackhole request? +# Client not enabled to receive blackhole routes +deny quick to 2001:db8:1:1::12 community BLACKHOLE +deny quick to 2001:db8:1:1::12 community 65534:0 +deny quick to 2001:db8:1:1::12 large-community 65534:0:0 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 2001:db8:1:1::12 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 2001:db8:1:1::12 community 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::12 ext-community rt 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::12 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 2001:db8:1:1::12 community 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::12 ext-community rt 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::12 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 2001:db8:1:1::12 community 65509:1 set community NO_EXPORT +match to 2001:db8:1:1::12 ext-community rt 65509:1 set community NO_EXPORT +match to 2001:db8:1:1::12 large-community 999:65509:1 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 2001:db8:1:1::12 community 65510:1 set community NO_ADVERTISE +match to 2001:db8:1:1::12 ext-community rt 65510:1 set community NO_ADVERTISE +match to 2001:db8:1:1::12 large-community 999:65510:1 set community NO_ADVERTISE + + +# BGP control communities +allow to 2001:db8:1:1::12 + +# do_not_announce_to_any +deny to 2001:db8:1:1::12 community 0:999 +deny to 2001:db8:1:1::12 ext-community rt 0:999 +deny to 2001:db8:1:1::12 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::12 community 0:1 +deny quick to 2001:db8:1:1::12 ext-community rt 0:1 +deny quick to 2001:db8:1:1::12 large-community 999:0:1 + +# announce_to_peer +allow to 2001:db8:1:1::12 community 65501:1 +allow to 2001:db8:1:1::12 ext-community rt 65501:1 +allow to 2001:db8:1:1::12 large-community 999:65501:1 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 65521:1 set prepend-neighbor 1 +match to 2001:db8:1:1::12 ext-community rt 65521:1 set prepend-neighbor 1 +match to 2001:db8:1:1::12 large-community 999:65521:1 set prepend-neighbor 1 + +match to 2001:db8:1:1::12 community 65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 65522:1 set prepend-neighbor 2 +match to 2001:db8:1:1::12 ext-community rt 65522:1 set prepend-neighbor 2 +match to 2001:db8:1:1::12 large-community 999:65522:1 set prepend-neighbor 2 + +match to 2001:db8:1:1::12 community 65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 65523:1 set prepend-neighbor 3 +match to 2001:db8:1:1::12 ext-community rt 65523:1 set prepend-neighbor 3 +match to 2001:db8:1:1::12 large-community 999:65523:1 set prepend-neighbor 3 + +match to 2001:db8:1:1::12 community 65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::12 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::12 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 2001:db8:1:1::12 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::12 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::12 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 2001:db8:1:1::12 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::12 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::12 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 2001:db8:1:1::12 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS222_1, inbound + + + +# NEXT_HOP +match from 192.0.2.222 set community NO_ADVERTISE +match from 192.0.2.222 nexthop 192.0.2.222 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.222 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.222 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.222 peer-as != 222' - reject code: 6 +allow quick from 192.0.2.222 peer-as != 222 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.222 AS 23456' - reject code: 7 +allow quick from 192.0.2.222 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.222 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.222 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.222 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.222 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 192.0.2.222 AS { 3, 174 }' - reject code: 8 +allow quick from 192.0.2.222 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 192.0.2.222 AS { 666, 777 }' - reject code: 15 +allow quick from 192.0.2.222 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + +# client's white list +# Add the $INTCOMM_ROUTE_OK_WL ext community to routes which +# are validated by a client's white list entry. +# It will be used later during IRRDB validation in +# case the route is not authorized by a client's +# AS-SET. +match from 192.0.2.222 prefix 222.1.1.0/24 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.222 prefix 3222:0:1::/48 set ext-community $INTCOMM_ROUTE_OK_WL # None + +match from 192.0.2.222 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS222_1, AS222: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.222 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS222 referenced but empty. +match from 192.0.2.222 source-as as-set AS_SET_AS_AS222_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS222 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS222_1, AS222: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.222 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS222 referenced but empty. +match from 192.0.2.222 prefix-set AS_SET_AS_AS222_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS222 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.222 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.222 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_REGISTROBRDB community have the prefix validated by a NICBR Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.222 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_REGISTROBRDB set ext-community delete $INTCOMM_IRR_REJECT + +# route authorized by a client's white list? +match from 192.0.2.222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set ext-community delete $INTCOMM_IRR_REJECT + +# enforcing: origin ASN +# Reject inbound routes when 'from 192.0.2.222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 192.0.2.222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 192.0.2.222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 192.0.2.222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + +# Blackhole request? +match from 192.0.2.222 set ext-community delete rt 65520:222 + + +# Remove internal communities before accepting the route +match from 192.0.2.222 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.222 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.222 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 192.0.2.222 community BLACKHOLE +allow quick from 192.0.2.222 community 65534:0 +allow quick from 192.0.2.222 large-community 65534:0:0 + + +match from 192.0.2.222 set ext-community rt 65520:222 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 192.0.2.222 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 192.0.2.222 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.222 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.222 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 192.0.2.222 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 192.0.2.222 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.222 set ext-community delete rt 65520:222 + + + +allow quick from 192.0.2.222 + + + +# --------------------------------------------- +# client AS222_1, outbound + +deny quick to 192.0.2.222 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 192.0.2.222 community 65534:0 set community BLACKHOLE +match to 192.0.2.222 large-community 65534:0:0 set community BLACKHOLE + +match to 192.0.2.222 community BLACKHOLE set community NO_EXPORT +match to 192.0.2.222 community BLACKHOLE set nexthop 192.0.2.66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 192.0.2.222 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 192.0.2.222 community 65507:999 set community NO_EXPORT +match to 192.0.2.222 ext-community rt 65507:999 set community NO_EXPORT +match to 192.0.2.222 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 192.0.2.222 community 65508:999 set community NO_ADVERTISE +match to 192.0.2.222 ext-community rt 65508:999 set community NO_ADVERTISE +match to 192.0.2.222 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 192.0.2.222 community 65509:222 set community NO_EXPORT +match to 192.0.2.222 ext-community rt 65509:222 set community NO_EXPORT +match to 192.0.2.222 large-community 999:65509:222 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 192.0.2.222 community 65510:222 set community NO_ADVERTISE +match to 192.0.2.222 ext-community rt 65510:222 set community NO_ADVERTISE +match to 192.0.2.222 large-community 999:65510:222 set community NO_ADVERTISE + + +# BGP control communities +allow to 192.0.2.222 + +# do_not_announce_to_any +deny to 192.0.2.222 community 0:999 +deny to 192.0.2.222 ext-community rt 0:999 +deny to 192.0.2.222 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 192.0.2.222 community 0:222 +deny quick to 192.0.2.222 ext-community rt 0:222 +deny quick to 192.0.2.222 large-community 999:0:222 + +# announce_to_peer +allow to 192.0.2.222 community 65501:222 +allow to 192.0.2.222 ext-community rt 65501:222 +allow to 192.0.2.222 large-community 999:65501:222 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.222 community 65521:222 set prepend-neighbor 1 +match to 192.0.2.222 ext-community rt 65521:222 set prepend-neighbor 1 +match to 192.0.2.222 large-community 999:65521:222 set prepend-neighbor 1 + +match to 192.0.2.222 community 65521:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 ext-community rt 65521:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 large-community 999:65521:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.222 community 65522:222 set prepend-neighbor 2 +match to 192.0.2.222 ext-community rt 65522:222 set prepend-neighbor 2 +match to 192.0.2.222 large-community 999:65522:222 set prepend-neighbor 2 + +match to 192.0.2.222 community 65522:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 ext-community rt 65522:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 large-community 999:65522:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.222 community 65523:222 set prepend-neighbor 3 +match to 192.0.2.222 ext-community rt 65523:222 set prepend-neighbor 3 +match to 192.0.2.222 large-community 999:65523:222 set prepend-neighbor 3 + +match to 192.0.2.222 community 65523:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 ext-community rt 65523:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 large-community 999:65523:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.222 community 65521:65521 set prepend-neighbor 1 +match to 192.0.2.222 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 192.0.2.222 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 192.0.2.222 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.222 community 65522:65522 set prepend-neighbor 2 +match to 192.0.2.222 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 192.0.2.222 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 192.0.2.222 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.222 community 65523:65523 set prepend-neighbor 3 +match to 192.0.2.222 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 192.0.2.222 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 192.0.2.222 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS222_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::222 set community NO_ADVERTISE +match from 2001:db8:1:1::222 nexthop 2001:db8:1:1::222 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::222 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::222 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::222 peer-as != 222' - reject code: 6 +allow quick from 2001:db8:1:1::222 peer-as != 222 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::222 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::222 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::222 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::222 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::222 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::222 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 2001:db8:1:1::222 AS { 3, 174 }' - reject code: 8 +allow quick from 2001:db8:1:1::222 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 2001:db8:1:1::222 AS { 666, 777 }' - reject code: 15 +allow quick from 2001:db8:1:1::222 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + +# client's white list +# Add the $INTCOMM_ROUTE_OK_WL ext community to routes which +# are validated by a client's white list entry. +# It will be used later during IRRDB validation in +# case the route is not authorized by a client's +# AS-SET. +match from 2001:db8:1:1::222 prefix 222.1.1.0/24 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::222 prefix 3222:0:1::/48 set ext-community $INTCOMM_ROUTE_OK_WL # None + +match from 2001:db8:1:1::222 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS222_2, AS222: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::222 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS222 referenced but empty. +match from 2001:db8:1:1::222 source-as as-set AS_SET_AS_AS222_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS222 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS222_2, AS222: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::222 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS222 referenced but empty. +match from 2001:db8:1:1::222 prefix-set AS_SET_AS_AS222_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS222 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::222 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::222 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_REGISTROBRDB community have the prefix validated by a NICBR Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::222 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_REGISTROBRDB set ext-community delete $INTCOMM_IRR_REJECT + +# route authorized by a client's white list? +match from 2001:db8:1:1::222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set ext-community delete $INTCOMM_IRR_REJECT + +# enforcing: origin ASN +# Reject inbound routes when 'from 2001:db8:1:1::222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 2001:db8:1:1::222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 2001:db8:1:1::222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 2001:db8:1:1::222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + +# Blackhole request? +match from 2001:db8:1:1::222 set ext-community delete rt 65520:222 + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::222 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::222 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::222 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 2001:db8:1:1::222 community BLACKHOLE +allow quick from 2001:db8:1:1::222 community 65534:0 +allow quick from 2001:db8:1:1::222 large-community 65534:0:0 + + +match from 2001:db8:1:1::222 set ext-community rt 65520:222 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 2001:db8:1:1::222 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 2001:db8:1:1::222 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::222 prefix ::/0 prefixlen 17 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::222 prefix ::/0 prefixlen 17 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 2001:db8:1:1::222 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::222 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::222 set ext-community delete rt 65520:222 + + + +allow quick from 2001:db8:1:1::222 + + + +# --------------------------------------------- +# client AS222_2, outbound + +deny quick to 2001:db8:1:1::222 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 2001:db8:1:1::222 community 65534:0 set community BLACKHOLE +match to 2001:db8:1:1::222 large-community 65534:0:0 set community BLACKHOLE + +match to 2001:db8:1:1::222 community BLACKHOLE set community NO_EXPORT +match to 2001:db8:1:1::222 community BLACKHOLE set nexthop 2001:db8:1:1::66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 2001:db8:1:1::222 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 2001:db8:1:1::222 community 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::222 ext-community rt 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::222 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 2001:db8:1:1::222 community 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::222 ext-community rt 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::222 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 2001:db8:1:1::222 community 65509:222 set community NO_EXPORT +match to 2001:db8:1:1::222 ext-community rt 65509:222 set community NO_EXPORT +match to 2001:db8:1:1::222 large-community 999:65509:222 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 2001:db8:1:1::222 community 65510:222 set community NO_ADVERTISE +match to 2001:db8:1:1::222 ext-community rt 65510:222 set community NO_ADVERTISE +match to 2001:db8:1:1::222 large-community 999:65510:222 set community NO_ADVERTISE + + +# BGP control communities +allow to 2001:db8:1:1::222 + +# do_not_announce_to_any +deny to 2001:db8:1:1::222 community 0:999 +deny to 2001:db8:1:1::222 ext-community rt 0:999 +deny to 2001:db8:1:1::222 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::222 community 0:222 +deny quick to 2001:db8:1:1::222 ext-community rt 0:222 +deny quick to 2001:db8:1:1::222 large-community 999:0:222 + +# announce_to_peer +allow to 2001:db8:1:1::222 community 65501:222 +allow to 2001:db8:1:1::222 ext-community rt 65501:222 +allow to 2001:db8:1:1::222 large-community 999:65501:222 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::222 community 65521:222 set prepend-neighbor 1 +match to 2001:db8:1:1::222 ext-community rt 65521:222 set prepend-neighbor 1 +match to 2001:db8:1:1::222 large-community 999:65521:222 set prepend-neighbor 1 + +match to 2001:db8:1:1::222 community 65521:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 ext-community rt 65521:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 large-community 999:65521:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::222 community 65522:222 set prepend-neighbor 2 +match to 2001:db8:1:1::222 ext-community rt 65522:222 set prepend-neighbor 2 +match to 2001:db8:1:1::222 large-community 999:65522:222 set prepend-neighbor 2 + +match to 2001:db8:1:1::222 community 65522:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 ext-community rt 65522:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 large-community 999:65522:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::222 community 65523:222 set prepend-neighbor 3 +match to 2001:db8:1:1::222 ext-community rt 65523:222 set prepend-neighbor 3 +match to 2001:db8:1:1::222 large-community 999:65523:222 set prepend-neighbor 3 + +match to 2001:db8:1:1::222 community 65523:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 ext-community rt 65523:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 large-community 999:65523:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::222 community 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::222 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::222 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 2001:db8:1:1::222 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::222 community 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::222 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::222 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 2001:db8:1:1::222 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::222 community 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::222 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::222 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 2001:db8:1:1::222 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS2_1, inbound + + + +# NEXT_HOP +match from 192.0.2.21 set community NO_ADVERTISE +match from 192.0.2.21 nexthop 192.0.2.21 set community delete NO_ADVERTISE +match from 192.0.2.21 nexthop 192.0.2.22 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.21 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.21 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.21 peer-as != 2' - reject code: 6 +allow quick from 192.0.2.21 peer-as != 2 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.21 AS 23456' - reject code: 7 +allow quick from 192.0.2.21 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.21 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.21 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.21 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.21 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 192.0.2.21 AS { 3, 174 }' - reject code: 8 +allow quick from 192.0.2.21 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 192.0.2.21 AS { 666, 777 }' - reject code: 15 +allow quick from 192.0.2.21 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + + +match from 192.0.2.21 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS2_1, AS2: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.21 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS2 referenced but empty. +match from 192.0.2.21 source-as as-set AS_SET_AS_AS2_AS_AS2_CUSTOMERS_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS2_AS_AS2_CUSTOMERS + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS2_1, AS2: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.21 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS2 referenced but empty. +match from 192.0.2.21 prefix-set AS_SET_AS_AS2_AS_AS2_CUSTOMERS_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS2_AS_AS2_CUSTOMERS + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_REGISTROBRDB community have the prefix validated by a NICBR Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_REGISTROBRDB set ext-community delete $INTCOMM_IRR_REJECT + + +# enforcing: origin ASN +# Reject inbound routes when 'from 192.0.2.21 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 192.0.2.21 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 192.0.2.21 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 192.0.2.21 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + +# Blackhole request? +match from 192.0.2.21 set ext-community delete rt 65520:2 + + +# Remove internal communities before accepting the route +match from 192.0.2.21 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.21 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.21 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 192.0.2.21 community BLACKHOLE +allow quick from 192.0.2.21 community 65534:0 +allow quick from 192.0.2.21 large-community 65534:0:0 + + +match from 192.0.2.21 set ext-community rt 65520:2 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 192.0.2.21 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 192.0.2.21 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.21 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.21 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 192.0.2.21 community GRACEFUL_SHUTDOWN set community delete GRACEFUL_SHUTDOWN + +# Remove internal communities before accepting the route +match from 192.0.2.21 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.21 set ext-community delete rt 65520:2 + + + +allow quick from 192.0.2.21 + + + +# --------------------------------------------- +# client AS2_1, outbound + +deny quick to 192.0.2.21 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 192.0.2.21 community 65534:0 set community BLACKHOLE +match to 192.0.2.21 large-community 65534:0:0 set community BLACKHOLE + +match to 192.0.2.21 community BLACKHOLE set community NO_EXPORT +match to 192.0.2.21 community BLACKHOLE set nexthop 192.0.2.66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 192.0.2.21 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 192.0.2.21 community 65507:999 set community NO_EXPORT +match to 192.0.2.21 ext-community rt 65507:999 set community NO_EXPORT +match to 192.0.2.21 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 192.0.2.21 community 65508:999 set community NO_ADVERTISE +match to 192.0.2.21 ext-community rt 65508:999 set community NO_ADVERTISE +match to 192.0.2.21 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 192.0.2.21 community 65509:2 set community NO_EXPORT +match to 192.0.2.21 ext-community rt 65509:2 set community NO_EXPORT +match to 192.0.2.21 large-community 999:65509:2 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 192.0.2.21 community 65510:2 set community NO_ADVERTISE +match to 192.0.2.21 ext-community rt 65510:2 set community NO_ADVERTISE +match to 192.0.2.21 large-community 999:65510:2 set community NO_ADVERTISE + + +# BGP control communities +allow to 192.0.2.21 + +# do_not_announce_to_any +deny to 192.0.2.21 community 0:999 +deny to 192.0.2.21 ext-community rt 0:999 +deny to 192.0.2.21 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 192.0.2.21 community 0:2 +deny quick to 192.0.2.21 ext-community rt 0:2 +deny quick to 192.0.2.21 large-community 999:0:2 + +# do_not_announce_to_peers_with_rtt_lower_than 20 ms +deny to 192.0.2.21 community 64530:20 +deny to 192.0.2.21 ext-community rt 64530:20 +deny to 192.0.2.21 large-community 999:64530:20 + + +# do_not_announce_to_peers_with_rtt_lower_than 30 ms +deny to 192.0.2.21 community 64530:30 +deny to 192.0.2.21 ext-community rt 64530:30 +deny to 192.0.2.21 large-community 999:64530:30 + + +# do_not_announce_to_peers_with_rtt_lower_than 50 ms +deny to 192.0.2.21 community 64530:50 +deny to 192.0.2.21 ext-community rt 64530:50 +deny to 192.0.2.21 large-community 999:64530:50 + + +# do_not_announce_to_peers_with_rtt_lower_than 100 ms +deny to 192.0.2.21 community 64530:100 +deny to 192.0.2.21 ext-community rt 64530:100 +deny to 192.0.2.21 large-community 999:64530:100 + + +# do_not_announce_to_peers_with_rtt_lower_than 200 ms +deny to 192.0.2.21 community 64530:200 +deny to 192.0.2.21 ext-community rt 64530:200 +deny to 192.0.2.21 large-community 999:64530:200 + + +# do_not_announce_to_peers_with_rtt_lower_than 500 ms +deny to 192.0.2.21 community 64530:500 +deny to 192.0.2.21 ext-community rt 64530:500 +deny to 192.0.2.21 large-community 999:64530:500 + + +# announce_to_peers_with_rtt_lower_than 20 ms +allow to 192.0.2.21 community 64532:20 +allow to 192.0.2.21 ext-community rt 64532:20 +allow to 192.0.2.21 large-community 999:64532:20 + + +# announce_to_peers_with_rtt_lower_than 30 ms +allow to 192.0.2.21 community 64532:30 +allow to 192.0.2.21 ext-community rt 64532:30 +allow to 192.0.2.21 large-community 999:64532:30 + + +# announce_to_peers_with_rtt_lower_than 50 ms +allow to 192.0.2.21 community 64532:50 +allow to 192.0.2.21 ext-community rt 64532:50 +allow to 192.0.2.21 large-community 999:64532:50 + + +# announce_to_peers_with_rtt_lower_than 100 ms +allow to 192.0.2.21 community 64532:100 +allow to 192.0.2.21 ext-community rt 64532:100 +allow to 192.0.2.21 large-community 999:64532:100 + + +# announce_to_peers_with_rtt_lower_than 200 ms +allow to 192.0.2.21 community 64532:200 +allow to 192.0.2.21 ext-community rt 64532:200 +allow to 192.0.2.21 large-community 999:64532:200 + + +# announce_to_peers_with_rtt_lower_than 500 ms +allow to 192.0.2.21 community 64532:500 +allow to 192.0.2.21 ext-community rt 64532:500 +allow to 192.0.2.21 large-community 999:64532:500 + + +# do_not_announce_to_peers_with_rtt_higher_than 5 ms +deny to 192.0.2.21 community 64531:5 +deny to 192.0.2.21 ext-community rt 64531:5 +deny to 192.0.2.21 large-community 999:64531:5 + + +# do_not_announce_to_peers_with_rtt_higher_than 10 ms +deny to 192.0.2.21 community 64531:10 +deny to 192.0.2.21 ext-community rt 64531:10 +deny to 192.0.2.21 large-community 999:64531:10 + + +# do_not_announce_to_peers_with_rtt_higher_than 15 ms +deny to 192.0.2.21 community 64531:15 +deny to 192.0.2.21 ext-community rt 64531:15 +deny to 192.0.2.21 large-community 999:64531:15 + + +# announce_to_peers_with_rtt_higher_than 5 ms +allow to 192.0.2.21 community 64533:5 +allow to 192.0.2.21 ext-community rt 64533:5 +allow to 192.0.2.21 large-community 999:64533:5 + + +# announce_to_peers_with_rtt_higher_than 10 ms +allow to 192.0.2.21 community 64533:10 +allow to 192.0.2.21 ext-community rt 64533:10 +allow to 192.0.2.21 large-community 999:64533:10 + + +# announce_to_peers_with_rtt_higher_than 15 ms +allow to 192.0.2.21 community 64533:15 +allow to 192.0.2.21 ext-community rt 64533:15 +allow to 192.0.2.21 large-community 999:64533:15 + + +# announce_to_peer +allow to 192.0.2.21 community 65501:2 +allow to 192.0.2.21 ext-community rt 65501:2 +allow to 192.0.2.21 large-community 999:65501:2 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 65521:2 set prepend-neighbor 1 +match to 192.0.2.21 ext-community rt 65521:2 set prepend-neighbor 1 +match to 192.0.2.21 large-community 999:65521:2 set prepend-neighbor 1 + +match to 192.0.2.21 community 65521:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 65521:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:65521:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 65522:2 set prepend-neighbor 2 +match to 192.0.2.21 ext-community rt 65522:2 set prepend-neighbor 2 +match to 192.0.2.21 large-community 999:65522:2 set prepend-neighbor 2 + +match to 192.0.2.21 community 65522:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 65522:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:65522:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 65523:2 set prepend-neighbor 3 +match to 192.0.2.21 ext-community rt 65523:2 set prepend-neighbor 3 +match to 192.0.2.21 large-community 999:65523:2 set prepend-neighbor 3 + +match to 192.0.2.21 community 65523:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 65523:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:65523:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + +# prepend_once_to_peers_with_rtt_higher_than 15 ms; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 64537:15 set prepend-neighbor 1 +match to 192.0.2.21 ext-community rt 64537:15 set prepend-neighbor 1 +match to 192.0.2.21 large-community 999:64537:15 set prepend-neighbor 1 + + +match to 192.0.2.21 community 64537:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 64537:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:64537:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 15 ms; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 64538:15 set prepend-neighbor 2 +match to 192.0.2.21 ext-community rt 64538:15 set prepend-neighbor 2 +match to 192.0.2.21 large-community 999:64538:15 set prepend-neighbor 2 + + +match to 192.0.2.21 community 64538:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 64538:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:64538:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 15 ms; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 64539:15 set prepend-neighbor 3 +match to 192.0.2.21 ext-community rt 64539:15 set prepend-neighbor 3 +match to 192.0.2.21 large-community 999:64539:15 set prepend-neighbor 3 + + +match to 192.0.2.21 community 64539:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 64539:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:64539:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_higher_than 10 ms; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 64537:10 set prepend-neighbor 1 +match to 192.0.2.21 ext-community rt 64537:10 set prepend-neighbor 1 +match to 192.0.2.21 large-community 999:64537:10 set prepend-neighbor 1 + + +match to 192.0.2.21 community 64537:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 64537:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:64537:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 10 ms; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 64538:10 set prepend-neighbor 2 +match to 192.0.2.21 ext-community rt 64538:10 set prepend-neighbor 2 +match to 192.0.2.21 large-community 999:64538:10 set prepend-neighbor 2 + + +match to 192.0.2.21 community 64538:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 64538:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:64538:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 10 ms; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 64539:10 set prepend-neighbor 3 +match to 192.0.2.21 ext-community rt 64539:10 set prepend-neighbor 3 +match to 192.0.2.21 large-community 999:64539:10 set prepend-neighbor 3 + + +match to 192.0.2.21 community 64539:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 64539:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:64539:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_higher_than 5 ms; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 64537:5 set prepend-neighbor 1 +match to 192.0.2.21 ext-community rt 64537:5 set prepend-neighbor 1 +match to 192.0.2.21 large-community 999:64537:5 set prepend-neighbor 1 + + +match to 192.0.2.21 community 64537:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 64537:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:64537:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 5 ms; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 64538:5 set prepend-neighbor 2 +match to 192.0.2.21 ext-community rt 64538:5 set prepend-neighbor 2 +match to 192.0.2.21 large-community 999:64538:5 set prepend-neighbor 2 + + +match to 192.0.2.21 community 64538:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 64538:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:64538:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 5 ms; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 64539:5 set prepend-neighbor 3 +match to 192.0.2.21 ext-community rt 64539:5 set prepend-neighbor 3 +match to 192.0.2.21 large-community 999:64539:5 set prepend-neighbor 3 + + +match to 192.0.2.21 community 64539:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 64539:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:64539:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 20 ms; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 64534:20 set prepend-neighbor 1 +match to 192.0.2.21 ext-community rt 64534:20 set prepend-neighbor 1 +match to 192.0.2.21 large-community 999:64534:20 set prepend-neighbor 1 + + +match to 192.0.2.21 community 64534:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 64534:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:64534:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 20 ms; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 64535:20 set prepend-neighbor 2 +match to 192.0.2.21 ext-community rt 64535:20 set prepend-neighbor 2 +match to 192.0.2.21 large-community 999:64535:20 set prepend-neighbor 2 + + +match to 192.0.2.21 community 64535:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 64535:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:64535:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 20 ms; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 64536:20 set prepend-neighbor 3 +match to 192.0.2.21 ext-community rt 64536:20 set prepend-neighbor 3 +match to 192.0.2.21 large-community 999:64536:20 set prepend-neighbor 3 + + +match to 192.0.2.21 community 64536:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 64536:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:64536:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 30 ms; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 64534:30 set prepend-neighbor 1 +match to 192.0.2.21 ext-community rt 64534:30 set prepend-neighbor 1 +match to 192.0.2.21 large-community 999:64534:30 set prepend-neighbor 1 + + +match to 192.0.2.21 community 64534:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 64534:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:64534:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 30 ms; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 64535:30 set prepend-neighbor 2 +match to 192.0.2.21 ext-community rt 64535:30 set prepend-neighbor 2 +match to 192.0.2.21 large-community 999:64535:30 set prepend-neighbor 2 + + +match to 192.0.2.21 community 64535:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 64535:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:64535:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 30 ms; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 64536:30 set prepend-neighbor 3 +match to 192.0.2.21 ext-community rt 64536:30 set prepend-neighbor 3 +match to 192.0.2.21 large-community 999:64536:30 set prepend-neighbor 3 + + +match to 192.0.2.21 community 64536:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 64536:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:64536:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 50 ms; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 64534:50 set prepend-neighbor 1 +match to 192.0.2.21 ext-community rt 64534:50 set prepend-neighbor 1 +match to 192.0.2.21 large-community 999:64534:50 set prepend-neighbor 1 + + +match to 192.0.2.21 community 64534:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 64534:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:64534:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 50 ms; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 64535:50 set prepend-neighbor 2 +match to 192.0.2.21 ext-community rt 64535:50 set prepend-neighbor 2 +match to 192.0.2.21 large-community 999:64535:50 set prepend-neighbor 2 + + +match to 192.0.2.21 community 64535:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 64535:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:64535:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 50 ms; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 64536:50 set prepend-neighbor 3 +match to 192.0.2.21 ext-community rt 64536:50 set prepend-neighbor 3 +match to 192.0.2.21 large-community 999:64536:50 set prepend-neighbor 3 + + +match to 192.0.2.21 community 64536:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 64536:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:64536:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 100 ms; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 64534:100 set prepend-neighbor 1 +match to 192.0.2.21 ext-community rt 64534:100 set prepend-neighbor 1 +match to 192.0.2.21 large-community 999:64534:100 set prepend-neighbor 1 + + +match to 192.0.2.21 community 64534:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 64534:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:64534:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 100 ms; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 64535:100 set prepend-neighbor 2 +match to 192.0.2.21 ext-community rt 64535:100 set prepend-neighbor 2 +match to 192.0.2.21 large-community 999:64535:100 set prepend-neighbor 2 + + +match to 192.0.2.21 community 64535:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 64535:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:64535:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 100 ms; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 64536:100 set prepend-neighbor 3 +match to 192.0.2.21 ext-community rt 64536:100 set prepend-neighbor 3 +match to 192.0.2.21 large-community 999:64536:100 set prepend-neighbor 3 + + +match to 192.0.2.21 community 64536:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 64536:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:64536:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 200 ms; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 64534:200 set prepend-neighbor 1 +match to 192.0.2.21 ext-community rt 64534:200 set prepend-neighbor 1 +match to 192.0.2.21 large-community 999:64534:200 set prepend-neighbor 1 + + +match to 192.0.2.21 community 64534:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 64534:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:64534:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 200 ms; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 64535:200 set prepend-neighbor 2 +match to 192.0.2.21 ext-community rt 64535:200 set prepend-neighbor 2 +match to 192.0.2.21 large-community 999:64535:200 set prepend-neighbor 2 + + +match to 192.0.2.21 community 64535:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 64535:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:64535:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 200 ms; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 64536:200 set prepend-neighbor 3 +match to 192.0.2.21 ext-community rt 64536:200 set prepend-neighbor 3 +match to 192.0.2.21 large-community 999:64536:200 set prepend-neighbor 3 + + +match to 192.0.2.21 community 64536:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 64536:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:64536:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 64534:500 set prepend-neighbor 1 +match to 192.0.2.21 ext-community rt 64534:500 set prepend-neighbor 1 +match to 192.0.2.21 large-community 999:64534:500 set prepend-neighbor 1 + + +match to 192.0.2.21 community 64534:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 64534:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:64534:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 64535:500 set prepend-neighbor 2 +match to 192.0.2.21 ext-community rt 64535:500 set prepend-neighbor 2 +match to 192.0.2.21 large-community 999:64535:500 set prepend-neighbor 2 + + +match to 192.0.2.21 community 64535:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 64535:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:64535:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 64536:500 set prepend-neighbor 3 +match to 192.0.2.21 ext-community rt 64536:500 set prepend-neighbor 3 +match to 192.0.2.21 large-community 999:64536:500 set prepend-neighbor 3 + + +match to 192.0.2.21 community 64536:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 64536:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:64536:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 65521:65521 set prepend-neighbor 1 +match to 192.0.2.21 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 192.0.2.21 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 192.0.2.21 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 65522:65522 set prepend-neighbor 2 +match to 192.0.2.21 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 192.0.2.21 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 192.0.2.21 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 65523:65523 set prepend-neighbor 3 +match to 192.0.2.21 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 192.0.2.21 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 192.0.2.21 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS2_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::21 set community NO_ADVERTISE +match from 2001:db8:1:1::21 nexthop 2001:db8:1:1::21 set community delete NO_ADVERTISE +match from 2001:db8:1:1::21 nexthop 2001:db8:1:1::22 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::21 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::21 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::21 peer-as != 2' - reject code: 6 +allow quick from 2001:db8:1:1::21 peer-as != 2 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 2001:db8:1:1::21 AS { 3, 174 }' - reject code: 8 +allow quick from 2001:db8:1:1::21 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 2001:db8:1:1::21 AS { 666, 777 }' - reject code: 15 +allow quick from 2001:db8:1:1::21 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + + +match from 2001:db8:1:1::21 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS2_2, AS2: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::21 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS2 referenced but empty. +match from 2001:db8:1:1::21 source-as as-set AS_SET_AS_AS2_AS_AS2_CUSTOMERS_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS2_AS_AS2_CUSTOMERS + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS2_2, AS2: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::21 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS2 referenced but empty. +match from 2001:db8:1:1::21 prefix-set AS_SET_AS_AS2_AS_AS2_CUSTOMERS_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS2_AS_AS2_CUSTOMERS + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_REGISTROBRDB community have the prefix validated by a NICBR Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_REGISTROBRDB set ext-community delete $INTCOMM_IRR_REJECT + + +# enforcing: origin ASN +# Reject inbound routes when 'from 2001:db8:1:1::21 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 2001:db8:1:1::21 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 2001:db8:1:1::21 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 2001:db8:1:1::21 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + +# Blackhole request? +match from 2001:db8:1:1::21 set ext-community delete rt 65520:2 + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::21 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::21 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::21 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 2001:db8:1:1::21 community BLACKHOLE +allow quick from 2001:db8:1:1::21 community 65534:0 +allow quick from 2001:db8:1:1::21 large-community 65534:0:0 + + +match from 2001:db8:1:1::21 set ext-community rt 65520:2 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 2001:db8:1:1::21 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 2001:db8:1:1::21 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::21 prefix ::/0 prefixlen 17 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::21 prefix ::/0 prefixlen 17 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 2001:db8:1:1::21 community GRACEFUL_SHUTDOWN set community delete GRACEFUL_SHUTDOWN + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::21 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::21 set ext-community delete rt 65520:2 + + + +allow quick from 2001:db8:1:1::21 + + + +# --------------------------------------------- +# client AS2_2, outbound + +deny quick to 2001:db8:1:1::21 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 2001:db8:1:1::21 community 65534:0 set community BLACKHOLE +match to 2001:db8:1:1::21 large-community 65534:0:0 set community BLACKHOLE + +match to 2001:db8:1:1::21 community BLACKHOLE set community NO_EXPORT +match to 2001:db8:1:1::21 community BLACKHOLE set nexthop 2001:db8:1:1::66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 2001:db8:1:1::21 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 2001:db8:1:1::21 community 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::21 ext-community rt 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::21 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 2001:db8:1:1::21 community 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::21 ext-community rt 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::21 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 2001:db8:1:1::21 community 65509:2 set community NO_EXPORT +match to 2001:db8:1:1::21 ext-community rt 65509:2 set community NO_EXPORT +match to 2001:db8:1:1::21 large-community 999:65509:2 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 2001:db8:1:1::21 community 65510:2 set community NO_ADVERTISE +match to 2001:db8:1:1::21 ext-community rt 65510:2 set community NO_ADVERTISE +match to 2001:db8:1:1::21 large-community 999:65510:2 set community NO_ADVERTISE + + +# BGP control communities +allow to 2001:db8:1:1::21 + +# do_not_announce_to_any +deny to 2001:db8:1:1::21 community 0:999 +deny to 2001:db8:1:1::21 ext-community rt 0:999 +deny to 2001:db8:1:1::21 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::21 community 0:2 +deny quick to 2001:db8:1:1::21 ext-community rt 0:2 +deny quick to 2001:db8:1:1::21 large-community 999:0:2 + +# announce_to_peer +allow to 2001:db8:1:1::21 community 65501:2 +allow to 2001:db8:1:1::21 ext-community rt 65501:2 +allow to 2001:db8:1:1::21 large-community 999:65501:2 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 65521:2 set prepend-neighbor 1 +match to 2001:db8:1:1::21 ext-community rt 65521:2 set prepend-neighbor 1 +match to 2001:db8:1:1::21 large-community 999:65521:2 set prepend-neighbor 1 + +match to 2001:db8:1:1::21 community 65521:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 65521:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:65521:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 65522:2 set prepend-neighbor 2 +match to 2001:db8:1:1::21 ext-community rt 65522:2 set prepend-neighbor 2 +match to 2001:db8:1:1::21 large-community 999:65522:2 set prepend-neighbor 2 + +match to 2001:db8:1:1::21 community 65522:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 65522:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:65522:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 65523:2 set prepend-neighbor 3 +match to 2001:db8:1:1::21 ext-community rt 65523:2 set prepend-neighbor 3 +match to 2001:db8:1:1::21 large-community 999:65523:2 set prepend-neighbor 3 + +match to 2001:db8:1:1::21 community 65523:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 65523:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:65523:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::21 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::21 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 2001:db8:1:1::21 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::21 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::21 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 2001:db8:1:1::21 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::21 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::21 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 2001:db8:1:1::21 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS3_1, inbound + + + +# NEXT_HOP +match from 192.0.2.31 set community NO_ADVERTISE +match from 192.0.2.31 nexthop 192.0.2.31 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.31 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.31 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.31 peer-as != 3' - reject code: 6 +allow quick from 192.0.2.31 peer-as != 3 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.31 AS 23456' - reject code: 7 +allow quick from 192.0.2.31 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.31 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.31 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.31 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.31 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 192.0.2.31 AS { 174 }' - reject code: 8 +allow quick from 192.0.2.31 AS { 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 192.0.2.31 AS { 666, 777 }' - reject code: 15 +allow quick from 192.0.2.31 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + + + + +# Prefix: client's blacklist +prefix-set "client_AS3_1_black_list_pref_ipv4" { + 3.0.1.0/24 prefixlen 24 - 32 + +} +# Reject inbound routes when 'from 192.0.2.31 prefix-set client_AS3_1_black_list_pref_ipv4' - reject code: 11 +allow quick from 192.0.2.31 prefix-set client_AS3_1_black_list_pref_ipv4 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:11} + + + + +# Blackhole request? +match from 192.0.2.31 set ext-community delete rt 65520:3 + + +# Remove internal communities before accepting the route +match from 192.0.2.31 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.31 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.31 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 192.0.2.31 community BLACKHOLE +allow quick from 192.0.2.31 community 65534:0 +allow quick from 192.0.2.31 large-community 65534:0:0 + + +match from 192.0.2.31 set ext-community rt 65520:3 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 192.0.2.31 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 192.0.2.31 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.31 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.31 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 192.0.2.31 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 192.0.2.31 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.31 set ext-community delete rt 65520:3 + + + +allow quick from 192.0.2.31 + + + +# --------------------------------------------- +# client AS3_1, outbound + +deny quick to 192.0.2.31 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 192.0.2.31 community 65534:0 set community BLACKHOLE +match to 192.0.2.31 large-community 65534:0:0 set community BLACKHOLE + +match to 192.0.2.31 community BLACKHOLE set community NO_EXPORT +match to 192.0.2.31 community BLACKHOLE set nexthop 192.0.2.66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 192.0.2.31 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 192.0.2.31 community 65507:999 set community NO_EXPORT +match to 192.0.2.31 ext-community rt 65507:999 set community NO_EXPORT +match to 192.0.2.31 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 192.0.2.31 community 65508:999 set community NO_ADVERTISE +match to 192.0.2.31 ext-community rt 65508:999 set community NO_ADVERTISE +match to 192.0.2.31 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 192.0.2.31 community 65509:3 set community NO_EXPORT +match to 192.0.2.31 ext-community rt 65509:3 set community NO_EXPORT +match to 192.0.2.31 large-community 999:65509:3 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 192.0.2.31 community 65510:3 set community NO_ADVERTISE +match to 192.0.2.31 ext-community rt 65510:3 set community NO_ADVERTISE +match to 192.0.2.31 large-community 999:65510:3 set community NO_ADVERTISE + + +# BGP control communities +allow to 192.0.2.31 + +# do_not_announce_to_any +deny to 192.0.2.31 community 0:999 +deny to 192.0.2.31 ext-community rt 0:999 +deny to 192.0.2.31 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 192.0.2.31 community 0:3 +deny quick to 192.0.2.31 ext-community rt 0:3 +deny quick to 192.0.2.31 large-community 999:0:3 + +# do_not_announce_to_peers_with_rtt_lower_than 200 ms +deny to 192.0.2.31 community 64530:200 +deny to 192.0.2.31 ext-community rt 64530:200 +deny to 192.0.2.31 large-community 999:64530:200 + + +# do_not_announce_to_peers_with_rtt_lower_than 500 ms +deny to 192.0.2.31 community 64530:500 +deny to 192.0.2.31 ext-community rt 64530:500 +deny to 192.0.2.31 large-community 999:64530:500 + + +# announce_to_peers_with_rtt_lower_than 200 ms +allow to 192.0.2.31 community 64532:200 +allow to 192.0.2.31 ext-community rt 64532:200 +allow to 192.0.2.31 large-community 999:64532:200 + + +# announce_to_peers_with_rtt_lower_than 500 ms +allow to 192.0.2.31 community 64532:500 +allow to 192.0.2.31 ext-community rt 64532:500 +allow to 192.0.2.31 large-community 999:64532:500 + + +# do_not_announce_to_peers_with_rtt_higher_than 5 ms +deny to 192.0.2.31 community 64531:5 +deny to 192.0.2.31 ext-community rt 64531:5 +deny to 192.0.2.31 large-community 999:64531:5 + + +# do_not_announce_to_peers_with_rtt_higher_than 10 ms +deny to 192.0.2.31 community 64531:10 +deny to 192.0.2.31 ext-community rt 64531:10 +deny to 192.0.2.31 large-community 999:64531:10 + + +# do_not_announce_to_peers_with_rtt_higher_than 15 ms +deny to 192.0.2.31 community 64531:15 +deny to 192.0.2.31 ext-community rt 64531:15 +deny to 192.0.2.31 large-community 999:64531:15 + + +# do_not_announce_to_peers_with_rtt_higher_than 20 ms +deny to 192.0.2.31 community 64531:20 +deny to 192.0.2.31 ext-community rt 64531:20 +deny to 192.0.2.31 large-community 999:64531:20 + + +# do_not_announce_to_peers_with_rtt_higher_than 30 ms +deny to 192.0.2.31 community 64531:30 +deny to 192.0.2.31 ext-community rt 64531:30 +deny to 192.0.2.31 large-community 999:64531:30 + + +# do_not_announce_to_peers_with_rtt_higher_than 50 ms +deny to 192.0.2.31 community 64531:50 +deny to 192.0.2.31 ext-community rt 64531:50 +deny to 192.0.2.31 large-community 999:64531:50 + + +# do_not_announce_to_peers_with_rtt_higher_than 100 ms +deny to 192.0.2.31 community 64531:100 +deny to 192.0.2.31 ext-community rt 64531:100 +deny to 192.0.2.31 large-community 999:64531:100 + + +# announce_to_peers_with_rtt_higher_than 5 ms +allow to 192.0.2.31 community 64533:5 +allow to 192.0.2.31 ext-community rt 64533:5 +allow to 192.0.2.31 large-community 999:64533:5 + + +# announce_to_peers_with_rtt_higher_than 10 ms +allow to 192.0.2.31 community 64533:10 +allow to 192.0.2.31 ext-community rt 64533:10 +allow to 192.0.2.31 large-community 999:64533:10 + + +# announce_to_peers_with_rtt_higher_than 15 ms +allow to 192.0.2.31 community 64533:15 +allow to 192.0.2.31 ext-community rt 64533:15 +allow to 192.0.2.31 large-community 999:64533:15 + + +# announce_to_peers_with_rtt_higher_than 20 ms +allow to 192.0.2.31 community 64533:20 +allow to 192.0.2.31 ext-community rt 64533:20 +allow to 192.0.2.31 large-community 999:64533:20 + + +# announce_to_peers_with_rtt_higher_than 30 ms +allow to 192.0.2.31 community 64533:30 +allow to 192.0.2.31 ext-community rt 64533:30 +allow to 192.0.2.31 large-community 999:64533:30 + + +# announce_to_peers_with_rtt_higher_than 50 ms +allow to 192.0.2.31 community 64533:50 +allow to 192.0.2.31 ext-community rt 64533:50 +allow to 192.0.2.31 large-community 999:64533:50 + + +# announce_to_peers_with_rtt_higher_than 100 ms +allow to 192.0.2.31 community 64533:100 +allow to 192.0.2.31 ext-community rt 64533:100 +allow to 192.0.2.31 large-community 999:64533:100 + + +# announce_to_peer +allow to 192.0.2.31 community 65501:3 +allow to 192.0.2.31 ext-community rt 65501:3 +allow to 192.0.2.31 large-community 999:65501:3 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 65521:3 set prepend-neighbor 1 +match to 192.0.2.31 ext-community rt 65521:3 set prepend-neighbor 1 +match to 192.0.2.31 large-community 999:65521:3 set prepend-neighbor 1 + +match to 192.0.2.31 community 65521:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 65521:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:65521:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 65522:3 set prepend-neighbor 2 +match to 192.0.2.31 ext-community rt 65522:3 set prepend-neighbor 2 +match to 192.0.2.31 large-community 999:65522:3 set prepend-neighbor 2 + +match to 192.0.2.31 community 65522:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 65522:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:65522:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 65523:3 set prepend-neighbor 3 +match to 192.0.2.31 ext-community rt 65523:3 set prepend-neighbor 3 +match to 192.0.2.31 large-community 999:65523:3 set prepend-neighbor 3 + +match to 192.0.2.31 community 65523:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 65523:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:65523:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + +# prepend_once_to_peers_with_rtt_higher_than 100 ms; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 64537:100 set prepend-neighbor 1 +match to 192.0.2.31 ext-community rt 64537:100 set prepend-neighbor 1 +match to 192.0.2.31 large-community 999:64537:100 set prepend-neighbor 1 + + +match to 192.0.2.31 community 64537:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 64537:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:64537:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 100 ms; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 64538:100 set prepend-neighbor 2 +match to 192.0.2.31 ext-community rt 64538:100 set prepend-neighbor 2 +match to 192.0.2.31 large-community 999:64538:100 set prepend-neighbor 2 + + +match to 192.0.2.31 community 64538:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 64538:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:64538:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 100 ms; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 64539:100 set prepend-neighbor 3 +match to 192.0.2.31 ext-community rt 64539:100 set prepend-neighbor 3 +match to 192.0.2.31 large-community 999:64539:100 set prepend-neighbor 3 + + +match to 192.0.2.31 community 64539:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 64539:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:64539:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_higher_than 50 ms; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 64537:50 set prepend-neighbor 1 +match to 192.0.2.31 ext-community rt 64537:50 set prepend-neighbor 1 +match to 192.0.2.31 large-community 999:64537:50 set prepend-neighbor 1 + + +match to 192.0.2.31 community 64537:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 64537:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:64537:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 50 ms; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 64538:50 set prepend-neighbor 2 +match to 192.0.2.31 ext-community rt 64538:50 set prepend-neighbor 2 +match to 192.0.2.31 large-community 999:64538:50 set prepend-neighbor 2 + + +match to 192.0.2.31 community 64538:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 64538:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:64538:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 50 ms; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 64539:50 set prepend-neighbor 3 +match to 192.0.2.31 ext-community rt 64539:50 set prepend-neighbor 3 +match to 192.0.2.31 large-community 999:64539:50 set prepend-neighbor 3 + + +match to 192.0.2.31 community 64539:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 64539:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:64539:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_higher_than 30 ms; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 64537:30 set prepend-neighbor 1 +match to 192.0.2.31 ext-community rt 64537:30 set prepend-neighbor 1 +match to 192.0.2.31 large-community 999:64537:30 set prepend-neighbor 1 + + +match to 192.0.2.31 community 64537:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 64537:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:64537:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 30 ms; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 64538:30 set prepend-neighbor 2 +match to 192.0.2.31 ext-community rt 64538:30 set prepend-neighbor 2 +match to 192.0.2.31 large-community 999:64538:30 set prepend-neighbor 2 + + +match to 192.0.2.31 community 64538:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 64538:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:64538:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 30 ms; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 64539:30 set prepend-neighbor 3 +match to 192.0.2.31 ext-community rt 64539:30 set prepend-neighbor 3 +match to 192.0.2.31 large-community 999:64539:30 set prepend-neighbor 3 + + +match to 192.0.2.31 community 64539:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 64539:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:64539:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_higher_than 20 ms; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 64537:20 set prepend-neighbor 1 +match to 192.0.2.31 ext-community rt 64537:20 set prepend-neighbor 1 +match to 192.0.2.31 large-community 999:64537:20 set prepend-neighbor 1 + + +match to 192.0.2.31 community 64537:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 64537:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:64537:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 20 ms; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 64538:20 set prepend-neighbor 2 +match to 192.0.2.31 ext-community rt 64538:20 set prepend-neighbor 2 +match to 192.0.2.31 large-community 999:64538:20 set prepend-neighbor 2 + + +match to 192.0.2.31 community 64538:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 64538:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:64538:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 20 ms; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 64539:20 set prepend-neighbor 3 +match to 192.0.2.31 ext-community rt 64539:20 set prepend-neighbor 3 +match to 192.0.2.31 large-community 999:64539:20 set prepend-neighbor 3 + + +match to 192.0.2.31 community 64539:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 64539:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:64539:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_higher_than 15 ms; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 64537:15 set prepend-neighbor 1 +match to 192.0.2.31 ext-community rt 64537:15 set prepend-neighbor 1 +match to 192.0.2.31 large-community 999:64537:15 set prepend-neighbor 1 + + +match to 192.0.2.31 community 64537:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 64537:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:64537:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 15 ms; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 64538:15 set prepend-neighbor 2 +match to 192.0.2.31 ext-community rt 64538:15 set prepend-neighbor 2 +match to 192.0.2.31 large-community 999:64538:15 set prepend-neighbor 2 + + +match to 192.0.2.31 community 64538:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 64538:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:64538:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 15 ms; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 64539:15 set prepend-neighbor 3 +match to 192.0.2.31 ext-community rt 64539:15 set prepend-neighbor 3 +match to 192.0.2.31 large-community 999:64539:15 set prepend-neighbor 3 + + +match to 192.0.2.31 community 64539:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 64539:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:64539:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_higher_than 10 ms; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 64537:10 set prepend-neighbor 1 +match to 192.0.2.31 ext-community rt 64537:10 set prepend-neighbor 1 +match to 192.0.2.31 large-community 999:64537:10 set prepend-neighbor 1 + + +match to 192.0.2.31 community 64537:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 64537:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:64537:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 10 ms; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 64538:10 set prepend-neighbor 2 +match to 192.0.2.31 ext-community rt 64538:10 set prepend-neighbor 2 +match to 192.0.2.31 large-community 999:64538:10 set prepend-neighbor 2 + + +match to 192.0.2.31 community 64538:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 64538:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:64538:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 10 ms; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 64539:10 set prepend-neighbor 3 +match to 192.0.2.31 ext-community rt 64539:10 set prepend-neighbor 3 +match to 192.0.2.31 large-community 999:64539:10 set prepend-neighbor 3 + + +match to 192.0.2.31 community 64539:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 64539:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:64539:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_higher_than 5 ms; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 64537:5 set prepend-neighbor 1 +match to 192.0.2.31 ext-community rt 64537:5 set prepend-neighbor 1 +match to 192.0.2.31 large-community 999:64537:5 set prepend-neighbor 1 + + +match to 192.0.2.31 community 64537:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 64537:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:64537:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 5 ms; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 64538:5 set prepend-neighbor 2 +match to 192.0.2.31 ext-community rt 64538:5 set prepend-neighbor 2 +match to 192.0.2.31 large-community 999:64538:5 set prepend-neighbor 2 + + +match to 192.0.2.31 community 64538:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 64538:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:64538:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 5 ms; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 64539:5 set prepend-neighbor 3 +match to 192.0.2.31 ext-community rt 64539:5 set prepend-neighbor 3 +match to 192.0.2.31 large-community 999:64539:5 set prepend-neighbor 3 + + +match to 192.0.2.31 community 64539:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 64539:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:64539:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 200 ms; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 64534:200 set prepend-neighbor 1 +match to 192.0.2.31 ext-community rt 64534:200 set prepend-neighbor 1 +match to 192.0.2.31 large-community 999:64534:200 set prepend-neighbor 1 + + +match to 192.0.2.31 community 64534:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 64534:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:64534:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 200 ms; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 64535:200 set prepend-neighbor 2 +match to 192.0.2.31 ext-community rt 64535:200 set prepend-neighbor 2 +match to 192.0.2.31 large-community 999:64535:200 set prepend-neighbor 2 + + +match to 192.0.2.31 community 64535:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 64535:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:64535:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 200 ms; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 64536:200 set prepend-neighbor 3 +match to 192.0.2.31 ext-community rt 64536:200 set prepend-neighbor 3 +match to 192.0.2.31 large-community 999:64536:200 set prepend-neighbor 3 + + +match to 192.0.2.31 community 64536:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 64536:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:64536:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 64534:500 set prepend-neighbor 1 +match to 192.0.2.31 ext-community rt 64534:500 set prepend-neighbor 1 +match to 192.0.2.31 large-community 999:64534:500 set prepend-neighbor 1 + + +match to 192.0.2.31 community 64534:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 64534:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:64534:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 64535:500 set prepend-neighbor 2 +match to 192.0.2.31 ext-community rt 64535:500 set prepend-neighbor 2 +match to 192.0.2.31 large-community 999:64535:500 set prepend-neighbor 2 + + +match to 192.0.2.31 community 64535:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 64535:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:64535:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 64536:500 set prepend-neighbor 3 +match to 192.0.2.31 ext-community rt 64536:500 set prepend-neighbor 3 +match to 192.0.2.31 large-community 999:64536:500 set prepend-neighbor 3 + + +match to 192.0.2.31 community 64536:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 64536:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:64536:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 65521:65521 set prepend-neighbor 1 +match to 192.0.2.31 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 192.0.2.31 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 192.0.2.31 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 65522:65522 set prepend-neighbor 2 +match to 192.0.2.31 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 192.0.2.31 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 192.0.2.31 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 65523:65523 set prepend-neighbor 3 +match to 192.0.2.31 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 192.0.2.31 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 192.0.2.31 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS3_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::31 set community NO_ADVERTISE +match from 2001:db8:1:1::31 nexthop 2001:db8:1:1::31 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::31 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::31 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::31 peer-as != 3' - reject code: 6 +allow quick from 2001:db8:1:1::31 peer-as != 3 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::31 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::31 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::31 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::31 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::31 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::31 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 2001:db8:1:1::31 AS { 174 }' - reject code: 8 +allow quick from 2001:db8:1:1::31 AS { 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 2001:db8:1:1::31 AS { 666, 777 }' - reject code: 15 +allow quick from 2001:db8:1:1::31 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + + + + +# Prefix: client's blacklist +prefix-set "client_AS3_2_black_list_pref_ipv6" { + 2a03:0:1::/48 prefixlen 48 - 128 + +} +# Reject inbound routes when 'from 2001:db8:1:1::31 prefix-set client_AS3_2_black_list_pref_ipv6' - reject code: 11 +allow quick from 2001:db8:1:1::31 prefix-set client_AS3_2_black_list_pref_ipv6 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:11} + + + + +# Blackhole request? +match from 2001:db8:1:1::31 set ext-community delete rt 65520:3 + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::31 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::31 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::31 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 2001:db8:1:1::31 community BLACKHOLE +allow quick from 2001:db8:1:1::31 community 65534:0 +allow quick from 2001:db8:1:1::31 large-community 65534:0:0 + + +match from 2001:db8:1:1::31 set ext-community rt 65520:3 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 2001:db8:1:1::31 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 2001:db8:1:1::31 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::31 prefix ::/0 prefixlen 17 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::31 prefix ::/0 prefixlen 17 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 2001:db8:1:1::31 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::31 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::31 set ext-community delete rt 65520:3 + + + +allow quick from 2001:db8:1:1::31 + + + +# --------------------------------------------- +# client AS3_2, outbound + +deny quick to 2001:db8:1:1::31 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 2001:db8:1:1::31 community 65534:0 set community BLACKHOLE +match to 2001:db8:1:1::31 large-community 65534:0:0 set community BLACKHOLE + +match to 2001:db8:1:1::31 community BLACKHOLE set community NO_EXPORT +match to 2001:db8:1:1::31 community BLACKHOLE set nexthop 2001:db8:1:1::66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 2001:db8:1:1::31 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 2001:db8:1:1::31 community 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::31 ext-community rt 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::31 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 2001:db8:1:1::31 community 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::31 ext-community rt 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::31 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 2001:db8:1:1::31 community 65509:3 set community NO_EXPORT +match to 2001:db8:1:1::31 ext-community rt 65509:3 set community NO_EXPORT +match to 2001:db8:1:1::31 large-community 999:65509:3 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 2001:db8:1:1::31 community 65510:3 set community NO_ADVERTISE +match to 2001:db8:1:1::31 ext-community rt 65510:3 set community NO_ADVERTISE +match to 2001:db8:1:1::31 large-community 999:65510:3 set community NO_ADVERTISE + + +# BGP control communities +allow to 2001:db8:1:1::31 + +# do_not_announce_to_any +deny to 2001:db8:1:1::31 community 0:999 +deny to 2001:db8:1:1::31 ext-community rt 0:999 +deny to 2001:db8:1:1::31 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::31 community 0:3 +deny quick to 2001:db8:1:1::31 ext-community rt 0:3 +deny quick to 2001:db8:1:1::31 large-community 999:0:3 + +# announce_to_peer +allow to 2001:db8:1:1::31 community 65501:3 +allow to 2001:db8:1:1::31 ext-community rt 65501:3 +allow to 2001:db8:1:1::31 large-community 999:65501:3 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 65521:3 set prepend-neighbor 1 +match to 2001:db8:1:1::31 ext-community rt 65521:3 set prepend-neighbor 1 +match to 2001:db8:1:1::31 large-community 999:65521:3 set prepend-neighbor 1 + +match to 2001:db8:1:1::31 community 65521:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 65521:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:65521:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 65522:3 set prepend-neighbor 2 +match to 2001:db8:1:1::31 ext-community rt 65522:3 set prepend-neighbor 2 +match to 2001:db8:1:1::31 large-community 999:65522:3 set prepend-neighbor 2 + +match to 2001:db8:1:1::31 community 65522:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 65522:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:65522:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 65523:3 set prepend-neighbor 3 +match to 2001:db8:1:1::31 ext-community rt 65523:3 set prepend-neighbor 3 +match to 2001:db8:1:1::31 large-community 999:65523:3 set prepend-neighbor 3 + +match to 2001:db8:1:1::31 community 65523:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 65523:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:65523:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::31 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::31 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 2001:db8:1:1::31 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::31 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::31 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 2001:db8:1:1::31 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::31 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::31 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 2001:db8:1:1::31 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS4_1, inbound + + + +# NEXT_HOP +match from 192.0.2.41 set community NO_ADVERTISE +match from 192.0.2.41 nexthop 192.0.2.41 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.41 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.41 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.41 peer-as != 4' - reject code: 6 +allow quick from 192.0.2.41 peer-as != 4 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.41 AS 23456' - reject code: 7 +allow quick from 192.0.2.41 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.41 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.41 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.41 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.41 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 192.0.2.41 AS { 3, 174 }' - reject code: 8 +allow quick from 192.0.2.41 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 192.0.2.41 AS { 666, 777 }' - reject code: 15 +allow quick from 192.0.2.41 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + + + + + + + +# Blackhole request? +match from 192.0.2.41 set ext-community delete rt 65520:4 + + +# Remove internal communities before accepting the route +match from 192.0.2.41 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.41 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.41 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 192.0.2.41 community BLACKHOLE +allow quick from 192.0.2.41 community 65534:0 +allow quick from 192.0.2.41 large-community 65534:0:0 + + +match from 192.0.2.41 set ext-community rt 65520:4 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 192.0.2.41 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 192.0.2.41 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.41 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.41 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 192.0.2.41 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 192.0.2.41 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.41 set ext-community delete rt 65520:4 + + + +allow quick from 192.0.2.41 + + + +# --------------------------------------------- +# client AS4_1, outbound + +deny quick to 192.0.2.41 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 192.0.2.41 community 65534:0 set community BLACKHOLE +match to 192.0.2.41 large-community 65534:0:0 set community BLACKHOLE + +match to 192.0.2.41 community BLACKHOLE set community NO_EXPORT +match to 192.0.2.41 community BLACKHOLE set nexthop 192.0.2.66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 192.0.2.41 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 192.0.2.41 community 65507:999 set community NO_EXPORT +match to 192.0.2.41 ext-community rt 65507:999 set community NO_EXPORT +match to 192.0.2.41 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 192.0.2.41 community 65508:999 set community NO_ADVERTISE +match to 192.0.2.41 ext-community rt 65508:999 set community NO_ADVERTISE +match to 192.0.2.41 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 192.0.2.41 community 65509:4 set community NO_EXPORT +match to 192.0.2.41 ext-community rt 65509:4 set community NO_EXPORT +match to 192.0.2.41 large-community 999:65509:4 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 192.0.2.41 community 65510:4 set community NO_ADVERTISE +match to 192.0.2.41 ext-community rt 65510:4 set community NO_ADVERTISE +match to 192.0.2.41 large-community 999:65510:4 set community NO_ADVERTISE + + +# BGP control communities +allow to 192.0.2.41 + +# do_not_announce_to_any +deny to 192.0.2.41 community 0:999 +deny to 192.0.2.41 ext-community rt 0:999 +deny to 192.0.2.41 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 192.0.2.41 community 0:4 +deny quick to 192.0.2.41 ext-community rt 0:4 +deny quick to 192.0.2.41 large-community 999:0:4 + +# do_not_announce_to_peers_with_rtt_higher_than 5 ms +deny to 192.0.2.41 community 64531:5 +deny to 192.0.2.41 ext-community rt 64531:5 +deny to 192.0.2.41 large-community 999:64531:5 + + +# do_not_announce_to_peers_with_rtt_higher_than 10 ms +deny to 192.0.2.41 community 64531:10 +deny to 192.0.2.41 ext-community rt 64531:10 +deny to 192.0.2.41 large-community 999:64531:10 + + +# do_not_announce_to_peers_with_rtt_higher_than 15 ms +deny to 192.0.2.41 community 64531:15 +deny to 192.0.2.41 ext-community rt 64531:15 +deny to 192.0.2.41 large-community 999:64531:15 + + +# do_not_announce_to_peers_with_rtt_higher_than 20 ms +deny to 192.0.2.41 community 64531:20 +deny to 192.0.2.41 ext-community rt 64531:20 +deny to 192.0.2.41 large-community 999:64531:20 + + +# do_not_announce_to_peers_with_rtt_higher_than 30 ms +deny to 192.0.2.41 community 64531:30 +deny to 192.0.2.41 ext-community rt 64531:30 +deny to 192.0.2.41 large-community 999:64531:30 + + +# do_not_announce_to_peers_with_rtt_higher_than 50 ms +deny to 192.0.2.41 community 64531:50 +deny to 192.0.2.41 ext-community rt 64531:50 +deny to 192.0.2.41 large-community 999:64531:50 + + +# do_not_announce_to_peers_with_rtt_higher_than 100 ms +deny to 192.0.2.41 community 64531:100 +deny to 192.0.2.41 ext-community rt 64531:100 +deny to 192.0.2.41 large-community 999:64531:100 + + +# do_not_announce_to_peers_with_rtt_higher_than 200 ms +deny to 192.0.2.41 community 64531:200 +deny to 192.0.2.41 ext-community rt 64531:200 +deny to 192.0.2.41 large-community 999:64531:200 + + +# do_not_announce_to_peers_with_rtt_higher_than 500 ms +deny to 192.0.2.41 community 64531:500 +deny to 192.0.2.41 ext-community rt 64531:500 +deny to 192.0.2.41 large-community 999:64531:500 + + +# announce_to_peers_with_rtt_higher_than 5 ms +allow to 192.0.2.41 community 64533:5 +allow to 192.0.2.41 ext-community rt 64533:5 +allow to 192.0.2.41 large-community 999:64533:5 + + +# announce_to_peers_with_rtt_higher_than 10 ms +allow to 192.0.2.41 community 64533:10 +allow to 192.0.2.41 ext-community rt 64533:10 +allow to 192.0.2.41 large-community 999:64533:10 + + +# announce_to_peers_with_rtt_higher_than 15 ms +allow to 192.0.2.41 community 64533:15 +allow to 192.0.2.41 ext-community rt 64533:15 +allow to 192.0.2.41 large-community 999:64533:15 + + +# announce_to_peers_with_rtt_higher_than 20 ms +allow to 192.0.2.41 community 64533:20 +allow to 192.0.2.41 ext-community rt 64533:20 +allow to 192.0.2.41 large-community 999:64533:20 + + +# announce_to_peers_with_rtt_higher_than 30 ms +allow to 192.0.2.41 community 64533:30 +allow to 192.0.2.41 ext-community rt 64533:30 +allow to 192.0.2.41 large-community 999:64533:30 + + +# announce_to_peers_with_rtt_higher_than 50 ms +allow to 192.0.2.41 community 64533:50 +allow to 192.0.2.41 ext-community rt 64533:50 +allow to 192.0.2.41 large-community 999:64533:50 + + +# announce_to_peers_with_rtt_higher_than 100 ms +allow to 192.0.2.41 community 64533:100 +allow to 192.0.2.41 ext-community rt 64533:100 +allow to 192.0.2.41 large-community 999:64533:100 + + +# announce_to_peers_with_rtt_higher_than 200 ms +allow to 192.0.2.41 community 64533:200 +allow to 192.0.2.41 ext-community rt 64533:200 +allow to 192.0.2.41 large-community 999:64533:200 + + +# announce_to_peers_with_rtt_higher_than 500 ms +allow to 192.0.2.41 community 64533:500 +allow to 192.0.2.41 ext-community rt 64533:500 +allow to 192.0.2.41 large-community 999:64533:500 + + +# announce_to_peer +allow to 192.0.2.41 community 65501:4 +allow to 192.0.2.41 ext-community rt 65501:4 +allow to 192.0.2.41 large-community 999:65501:4 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 65521:4 set prepend-neighbor 1 +match to 192.0.2.41 ext-community rt 65521:4 set prepend-neighbor 1 +match to 192.0.2.41 large-community 999:65521:4 set prepend-neighbor 1 + +match to 192.0.2.41 community 65521:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 65521:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:65521:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 65522:4 set prepend-neighbor 2 +match to 192.0.2.41 ext-community rt 65522:4 set prepend-neighbor 2 +match to 192.0.2.41 large-community 999:65522:4 set prepend-neighbor 2 + +match to 192.0.2.41 community 65522:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 65522:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:65522:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 65523:4 set prepend-neighbor 3 +match to 192.0.2.41 ext-community rt 65523:4 set prepend-neighbor 3 +match to 192.0.2.41 large-community 999:65523:4 set prepend-neighbor 3 + +match to 192.0.2.41 community 65523:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 65523:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:65523:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + +# prepend_once_to_peers_with_rtt_higher_than 500 ms; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 64537:500 set prepend-neighbor 1 +match to 192.0.2.41 ext-community rt 64537:500 set prepend-neighbor 1 +match to 192.0.2.41 large-community 999:64537:500 set prepend-neighbor 1 + + +match to 192.0.2.41 community 64537:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 64537:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:64537:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 500 ms; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 64538:500 set prepend-neighbor 2 +match to 192.0.2.41 ext-community rt 64538:500 set prepend-neighbor 2 +match to 192.0.2.41 large-community 999:64538:500 set prepend-neighbor 2 + + +match to 192.0.2.41 community 64538:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 64538:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:64538:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 500 ms; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 64539:500 set prepend-neighbor 3 +match to 192.0.2.41 ext-community rt 64539:500 set prepend-neighbor 3 +match to 192.0.2.41 large-community 999:64539:500 set prepend-neighbor 3 + + +match to 192.0.2.41 community 64539:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 64539:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:64539:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_higher_than 200 ms; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 64537:200 set prepend-neighbor 1 +match to 192.0.2.41 ext-community rt 64537:200 set prepend-neighbor 1 +match to 192.0.2.41 large-community 999:64537:200 set prepend-neighbor 1 + + +match to 192.0.2.41 community 64537:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 64537:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:64537:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 200 ms; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 64538:200 set prepend-neighbor 2 +match to 192.0.2.41 ext-community rt 64538:200 set prepend-neighbor 2 +match to 192.0.2.41 large-community 999:64538:200 set prepend-neighbor 2 + + +match to 192.0.2.41 community 64538:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 64538:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:64538:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 200 ms; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 64539:200 set prepend-neighbor 3 +match to 192.0.2.41 ext-community rt 64539:200 set prepend-neighbor 3 +match to 192.0.2.41 large-community 999:64539:200 set prepend-neighbor 3 + + +match to 192.0.2.41 community 64539:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 64539:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:64539:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_higher_than 100 ms; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 64537:100 set prepend-neighbor 1 +match to 192.0.2.41 ext-community rt 64537:100 set prepend-neighbor 1 +match to 192.0.2.41 large-community 999:64537:100 set prepend-neighbor 1 + + +match to 192.0.2.41 community 64537:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 64537:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:64537:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 100 ms; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 64538:100 set prepend-neighbor 2 +match to 192.0.2.41 ext-community rt 64538:100 set prepend-neighbor 2 +match to 192.0.2.41 large-community 999:64538:100 set prepend-neighbor 2 + + +match to 192.0.2.41 community 64538:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 64538:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:64538:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 100 ms; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 64539:100 set prepend-neighbor 3 +match to 192.0.2.41 ext-community rt 64539:100 set prepend-neighbor 3 +match to 192.0.2.41 large-community 999:64539:100 set prepend-neighbor 3 + + +match to 192.0.2.41 community 64539:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 64539:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:64539:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_higher_than 50 ms; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 64537:50 set prepend-neighbor 1 +match to 192.0.2.41 ext-community rt 64537:50 set prepend-neighbor 1 +match to 192.0.2.41 large-community 999:64537:50 set prepend-neighbor 1 + + +match to 192.0.2.41 community 64537:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 64537:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:64537:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 50 ms; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 64538:50 set prepend-neighbor 2 +match to 192.0.2.41 ext-community rt 64538:50 set prepend-neighbor 2 +match to 192.0.2.41 large-community 999:64538:50 set prepend-neighbor 2 + + +match to 192.0.2.41 community 64538:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 64538:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:64538:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 50 ms; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 64539:50 set prepend-neighbor 3 +match to 192.0.2.41 ext-community rt 64539:50 set prepend-neighbor 3 +match to 192.0.2.41 large-community 999:64539:50 set prepend-neighbor 3 + + +match to 192.0.2.41 community 64539:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 64539:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:64539:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_higher_than 30 ms; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 64537:30 set prepend-neighbor 1 +match to 192.0.2.41 ext-community rt 64537:30 set prepend-neighbor 1 +match to 192.0.2.41 large-community 999:64537:30 set prepend-neighbor 1 + + +match to 192.0.2.41 community 64537:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 64537:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:64537:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 30 ms; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 64538:30 set prepend-neighbor 2 +match to 192.0.2.41 ext-community rt 64538:30 set prepend-neighbor 2 +match to 192.0.2.41 large-community 999:64538:30 set prepend-neighbor 2 + + +match to 192.0.2.41 community 64538:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 64538:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:64538:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 30 ms; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 64539:30 set prepend-neighbor 3 +match to 192.0.2.41 ext-community rt 64539:30 set prepend-neighbor 3 +match to 192.0.2.41 large-community 999:64539:30 set prepend-neighbor 3 + + +match to 192.0.2.41 community 64539:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 64539:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:64539:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_higher_than 20 ms; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 64537:20 set prepend-neighbor 1 +match to 192.0.2.41 ext-community rt 64537:20 set prepend-neighbor 1 +match to 192.0.2.41 large-community 999:64537:20 set prepend-neighbor 1 + + +match to 192.0.2.41 community 64537:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 64537:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:64537:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 20 ms; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 64538:20 set prepend-neighbor 2 +match to 192.0.2.41 ext-community rt 64538:20 set prepend-neighbor 2 +match to 192.0.2.41 large-community 999:64538:20 set prepend-neighbor 2 + + +match to 192.0.2.41 community 64538:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 64538:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:64538:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 20 ms; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 64539:20 set prepend-neighbor 3 +match to 192.0.2.41 ext-community rt 64539:20 set prepend-neighbor 3 +match to 192.0.2.41 large-community 999:64539:20 set prepend-neighbor 3 + + +match to 192.0.2.41 community 64539:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 64539:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:64539:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_higher_than 15 ms; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 64537:15 set prepend-neighbor 1 +match to 192.0.2.41 ext-community rt 64537:15 set prepend-neighbor 1 +match to 192.0.2.41 large-community 999:64537:15 set prepend-neighbor 1 + + +match to 192.0.2.41 community 64537:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 64537:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:64537:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 15 ms; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 64538:15 set prepend-neighbor 2 +match to 192.0.2.41 ext-community rt 64538:15 set prepend-neighbor 2 +match to 192.0.2.41 large-community 999:64538:15 set prepend-neighbor 2 + + +match to 192.0.2.41 community 64538:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 64538:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:64538:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 15 ms; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 64539:15 set prepend-neighbor 3 +match to 192.0.2.41 ext-community rt 64539:15 set prepend-neighbor 3 +match to 192.0.2.41 large-community 999:64539:15 set prepend-neighbor 3 + + +match to 192.0.2.41 community 64539:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 64539:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:64539:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_higher_than 10 ms; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 64537:10 set prepend-neighbor 1 +match to 192.0.2.41 ext-community rt 64537:10 set prepend-neighbor 1 +match to 192.0.2.41 large-community 999:64537:10 set prepend-neighbor 1 + + +match to 192.0.2.41 community 64537:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 64537:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:64537:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 10 ms; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 64538:10 set prepend-neighbor 2 +match to 192.0.2.41 ext-community rt 64538:10 set prepend-neighbor 2 +match to 192.0.2.41 large-community 999:64538:10 set prepend-neighbor 2 + + +match to 192.0.2.41 community 64538:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 64538:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:64538:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 10 ms; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 64539:10 set prepend-neighbor 3 +match to 192.0.2.41 ext-community rt 64539:10 set prepend-neighbor 3 +match to 192.0.2.41 large-community 999:64539:10 set prepend-neighbor 3 + + +match to 192.0.2.41 community 64539:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 64539:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:64539:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_higher_than 5 ms; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 64537:5 set prepend-neighbor 1 +match to 192.0.2.41 ext-community rt 64537:5 set prepend-neighbor 1 +match to 192.0.2.41 large-community 999:64537:5 set prepend-neighbor 1 + + +match to 192.0.2.41 community 64537:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 64537:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:64537:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 5 ms; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 64538:5 set prepend-neighbor 2 +match to 192.0.2.41 ext-community rt 64538:5 set prepend-neighbor 2 +match to 192.0.2.41 large-community 999:64538:5 set prepend-neighbor 2 + + +match to 192.0.2.41 community 64538:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 64538:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:64538:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 5 ms; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 64539:5 set prepend-neighbor 3 +match to 192.0.2.41 ext-community rt 64539:5 set prepend-neighbor 3 +match to 192.0.2.41 large-community 999:64539:5 set prepend-neighbor 3 + + +match to 192.0.2.41 community 64539:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 64539:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:64539:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 65521:65521 set prepend-neighbor 1 +match to 192.0.2.41 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 192.0.2.41 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 192.0.2.41 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 65522:65522 set prepend-neighbor 2 +match to 192.0.2.41 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 192.0.2.41 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 192.0.2.41 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 65523:65523 set prepend-neighbor 3 +match to 192.0.2.41 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 192.0.2.41 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 192.0.2.41 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS4_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::41 set community NO_ADVERTISE +match from 2001:db8:1:1::41 nexthop 2001:db8:1:1::41 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::41 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::41 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::41 peer-as != 4' - reject code: 6 +allow quick from 2001:db8:1:1::41 peer-as != 4 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 2001:db8:1:1::41 AS { 3, 174 }' - reject code: 8 +allow quick from 2001:db8:1:1::41 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 2001:db8:1:1::41 AS { 666, 777 }' - reject code: 15 +allow quick from 2001:db8:1:1::41 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + + + + + + + +# Blackhole request? +match from 2001:db8:1:1::41 set ext-community delete rt 65520:4 + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::41 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::41 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::41 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 2001:db8:1:1::41 community BLACKHOLE +allow quick from 2001:db8:1:1::41 community 65534:0 +allow quick from 2001:db8:1:1::41 large-community 65534:0:0 + + +match from 2001:db8:1:1::41 set ext-community rt 65520:4 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 2001:db8:1:1::41 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 2001:db8:1:1::41 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::41 prefix ::/0 prefixlen 17 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::41 prefix ::/0 prefixlen 17 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 2001:db8:1:1::41 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::41 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::41 set ext-community delete rt 65520:4 + + + +allow quick from 2001:db8:1:1::41 + + + +# --------------------------------------------- +# client AS4_2, outbound + +deny quick to 2001:db8:1:1::41 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 2001:db8:1:1::41 community 65534:0 set community BLACKHOLE +match to 2001:db8:1:1::41 large-community 65534:0:0 set community BLACKHOLE + +match to 2001:db8:1:1::41 community BLACKHOLE set community NO_EXPORT +match to 2001:db8:1:1::41 community BLACKHOLE set nexthop 2001:db8:1:1::66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 2001:db8:1:1::41 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 2001:db8:1:1::41 community 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::41 ext-community rt 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::41 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 2001:db8:1:1::41 community 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::41 ext-community rt 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::41 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 2001:db8:1:1::41 community 65509:4 set community NO_EXPORT +match to 2001:db8:1:1::41 ext-community rt 65509:4 set community NO_EXPORT +match to 2001:db8:1:1::41 large-community 999:65509:4 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 2001:db8:1:1::41 community 65510:4 set community NO_ADVERTISE +match to 2001:db8:1:1::41 ext-community rt 65510:4 set community NO_ADVERTISE +match to 2001:db8:1:1::41 large-community 999:65510:4 set community NO_ADVERTISE + + +# BGP control communities +allow to 2001:db8:1:1::41 + +# do_not_announce_to_any +deny to 2001:db8:1:1::41 community 0:999 +deny to 2001:db8:1:1::41 ext-community rt 0:999 +deny to 2001:db8:1:1::41 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::41 community 0:4 +deny quick to 2001:db8:1:1::41 ext-community rt 0:4 +deny quick to 2001:db8:1:1::41 large-community 999:0:4 + +# announce_to_peer +allow to 2001:db8:1:1::41 community 65501:4 +allow to 2001:db8:1:1::41 ext-community rt 65501:4 +allow to 2001:db8:1:1::41 large-community 999:65501:4 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 65521:4 set prepend-neighbor 1 +match to 2001:db8:1:1::41 ext-community rt 65521:4 set prepend-neighbor 1 +match to 2001:db8:1:1::41 large-community 999:65521:4 set prepend-neighbor 1 + +match to 2001:db8:1:1::41 community 65521:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 65521:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:65521:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 65522:4 set prepend-neighbor 2 +match to 2001:db8:1:1::41 ext-community rt 65522:4 set prepend-neighbor 2 +match to 2001:db8:1:1::41 large-community 999:65522:4 set prepend-neighbor 2 + +match to 2001:db8:1:1::41 community 65522:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 65522:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:65522:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 65523:4 set prepend-neighbor 3 +match to 2001:db8:1:1::41 ext-community rt 65523:4 set prepend-neighbor 3 +match to 2001:db8:1:1::41 large-community 999:65523:4 set prepend-neighbor 3 + +match to 2001:db8:1:1::41 community 65523:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 65523:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:65523:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::41 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::41 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 2001:db8:1:1::41 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::41 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::41 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 2001:db8:1:1::41 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::41 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::41 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 2001:db8:1:1::41 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + + + +# Scrub communities from outbound routes +# add_noadvertise_to_any +match to group clients set community delete 65508:999 +match to group clients set ext-community delete rt 65508:999 +match to group clients set large-community delete 999:65508:999 + +# add_noadvertise_to_peer +match to group clients set community delete 65510:* +# Warning: rt:65510:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:65510:* + +# add_noexport_to_any +match to group clients set community delete 65507:999 +match to group clients set ext-community delete rt 65507:999 +match to group clients set large-community delete 999:65507:999 + +# add_noexport_to_peer +match to group clients set community delete 65509:* +# Warning: rt:65509:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:65509:* + +# announce_to_peer +match to group clients set community delete 65501:* +# Warning: rt:65501:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:65501:* + +# announce_to_peers_with_rtt_higher_than +match to group clients set community delete 64533:* +# Warning: rt:64533:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64533:* + +# announce_to_peers_with_rtt_lower_than +match to group clients set community delete 64532:* +# Warning: rt:64532:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64532:* + +# blackholing +match to group clients set community delete 65534:0 +match to group clients set large-community delete 65534:0:0 + +# do_not_announce_to_any +match to group clients set community delete 0:999 +match to group clients set ext-community delete rt 0:999 +match to group clients set large-community delete 999:0:999 + +# do_not_announce_to_peer +match to group clients set community delete 0:* +# Warning: rt:0:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:0:* + +# do_not_announce_to_peers_with_rtt_higher_than +match to group clients set community delete 64531:* +# Warning: rt:64531:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64531:* + +# do_not_announce_to_peers_with_rtt_lower_than +match to group clients set community delete 64530:* +# Warning: rt:64530:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64530:* + +# prepend_once_to_any +match to group clients set community delete 65521:65521 +match to group clients set ext-community delete rt 65521:65521 +match to group clients set large-community delete 999:65521:65521 + +# prepend_once_to_peer +match to group clients set community delete 65521:* +# Warning: rt:65521:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:65521:* + +# prepend_once_to_peers_with_rtt_higher_than +match to group clients set community delete 64537:* +# Warning: rt:64537:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64537:* + +# prepend_once_to_peers_with_rtt_lower_than +match to group clients set community delete 64534:* +# Warning: rt:64534:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64534:* + +# prepend_thrice_to_any +match to group clients set community delete 65523:65523 +match to group clients set ext-community delete rt 65523:65523 +match to group clients set large-community delete 999:65523:65523 + +# prepend_thrice_to_peer +match to group clients set community delete 65523:* +# Warning: rt:65523:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:65523:* + +# prepend_thrice_to_peers_with_rtt_higher_than +match to group clients set community delete 64539:* +# Warning: rt:64539:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64539:* + +# prepend_thrice_to_peers_with_rtt_lower_than +match to group clients set community delete 64536:* +# Warning: rt:64536:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64536:* + +# prepend_twice_to_any +match to group clients set community delete 65522:65522 +match to group clients set ext-community delete rt 65522:65522 +match to group clients set large-community delete 999:65522:65522 + +# prepend_twice_to_peer +match to group clients set community delete 65522:* +# Warning: rt:65522:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:65522:* + +# prepend_twice_to_peers_with_rtt_higher_than +match to group clients set community delete 64538:* +# Warning: rt:64538:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64538:* + +# prepend_twice_to_peers_with_rtt_lower_than +match to group clients set community delete 64535:* +# Warning: rt:64535:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64535:* + + +# Scrub prepending communities +match to group clients set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 } +match to group clients set { community delete 65521:0 ext-community delete rt 65521:0 large-community delete 999:65521:0 } +match to group clients set { community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* } +match to group clients set { community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* } +match to group clients set { community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 } +match to group clients set { community delete 65523:0 ext-community delete rt 65523:0 large-community delete 999:65523:0 } +match to group clients set { community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* } +match to group clients set { community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* } +match to group clients set { community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 } +match to group clients set { community delete 65522:0 ext-community delete rt 65522:0 large-community delete 999:65522:0 } +match to group clients set { community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* } +match to group clients set { community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# RFC1997 NO_EXPORT/NO_ADVERTISE received from clients and propagated because of pass-through policy +match to group clients ext-community $INTCOMM_NO_EXPORT set community NO_EXPORT +match to group clients ext-community $INTCOMM_NO_ADVERTISE set community NO_ADVERTISE + +# Remove internal communities before announcing the route +match to group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + +include "/etc/bgpd/post-filters.local" + + diff --git a/tests/live_tests/scenarios/global/configs/BasicScenario_OpenBGPDIPv4/openbgpd69p.conf b/tests/live_tests/scenarios/global/configs/BasicScenario_OpenBGPDIPv4/openbgpd69p.conf new file mode 100644 index 00000000..d5e1e949 --- /dev/null +++ b/tests/live_tests/scenarios/global/configs/BasicScenario_OpenBGPDIPv4/openbgpd69p.conf @@ -0,0 +1,5611 @@ +# built by ARouteServer +AS 999 +router-id 192.0.2.2 + +fib-update no +log updates + +nexthop qualify via default + +rde evaluate all + +INTCOMM_PREF_OK_ROA="soo 65535:1" +INTCOMM_ROUTE_OK_WL="soo 65535:2" +INTCOMM_PREF_OK_ARINDB="soo 65535:3" +INTCOMM_PREF_OK_REGISTROBRDB="soo 65535:12" + +INTCOMM_ORIGIN_OK="soo 65535:4" +INTCOMM_ORIGIN_KO="soo 65535:5" +INTCOMM_PREFIX_OK="soo 65535:6" +INTCOMM_PREFIX_KO="soo 65535:7" +INTCOMM_IRR_REJECT="soo 65535:8" + +INTCOMM_RPKI_UNKNOWN="soo 65535:9" +INTCOMM_RPKI_INVALID="soo 65535:10" +INTCOMM_RPKI_VALID="soo 65535:11" + +INTCOMM_NO_EXPORT="soo 65535:65281" +INTCOMM_NO_ADVERTISE="soo 65535:65282" + +# --------------------------------------------------------- +# IRRDB + +# AS222, used by client AS222_1, client AS222_2 +# no origin ASNs found for AS222 +# no prefixes found for AS222 + +# AS2, used by client AS2_1, client AS2_2 +# no origin ASNs found for AS2 +# no prefixes found for AS2 + +# AS-AS1, AS-AS1_CUSTOMERS, used by client AS1_1, client AS1_2, client AS1_3, client AS1_4 +as-set "AS_SET_AS_AS1_AS_AS1_CUSTOMERS_asns" { + 1 101 103 104 +} +prefix-set "AS_SET_AS_AS1_AS_AS1_CUSTOMERS_prefixes" { + 1.0.0.0/8 prefixlen 8 - 32 + 128.0.0.0/7 prefixlen 7 - 32 + 101.0.0.0/16 prefixlen 16 - 32 + 103.0.0.0/16 prefixlen 16 - 32 +} + +# AS-AS2, AS-AS2_CUSTOMERS, used by client AS2_1, client AS2_2 +as-set "AS_SET_AS_AS2_AS_AS2_CUSTOMERS_asns" { + 2 101 103 +} +prefix-set "AS_SET_AS_AS2_AS_AS2_CUSTOMERS_prefixes" { + 2.0.0.0/16 prefixlen 16 - 32 + 101.0.0.0/16 prefixlen 16 - 32 + 103.0.0.0/16 prefixlen 16 - 32 +} + +# WHITE_LIST_AS1_2, used by client AS1_2 white list +as-set "AS_SET_WHITE_LIST_AS1_2_asns" { + 1011 +} +prefix-set "AS_SET_WHITE_LIST_AS1_2_prefixes" { + 11.1.0.0/16 prefixlen 16 - 32 + 2a11:1::/32 prefixlen 32 - 128 +} + +# AS-AS222, used by client AS222_1, client AS222_2 +as-set "AS_SET_AS_AS222_asns" { + 333 +} +prefix-set "AS_SET_AS_AS222_prefixes" { + 222.0.0.0/8 prefixlen 8 - 32 +} + +# AS1, used by client AS1_1, client AS1_2, client AS1_3, client AS1_4 +# no origin ASNs found for AS1 +# no prefixes found for AS1 + +# WHITE_LIST_AS1_1, used by client AS1_1 white list +as-set "AS_SET_WHITE_LIST_AS1_1_asns" { + 1011 +} +prefix-set "AS_SET_WHITE_LIST_AS1_1_prefixes" { + 11.1.0.0/16 prefixlen 16 - 32 + 2a11:1::/32 prefixlen 32 - 128 +} + + + + +# --------------------------------------------------------- +# MEMBERS + +group "clients" { + + # RTT: 0.1 ms (normalized value: 1) + neighbor 192.0.2.11 { + remote-as 1 + + rde evaluate all + + descr "AS1_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::11 { + remote-as 1 + + rde evaluate all + + descr "AS1_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + # RTT: 5 ms (normalized value: 5) + neighbor 192.0.2.12 { + remote-as 1 + + rde evaluate all + + descr "AS1_2 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::12 { + remote-as 1 + + rde evaluate all + + descr "AS1_2 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.222 { + remote-as 222 + + rde evaluate all + + descr "AS222_1 client" + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::222 { + remote-as 222 + + rde evaluate all + + descr "AS222_1 client" + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + # RTT: 17.3 ms (normalized value: 17) + neighbor 192.0.2.21 { + remote-as 2 + + rde evaluate all + + descr "AS2_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::21 { + remote-as 2 + + rde evaluate all + + descr "AS2_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + # RTT: 123.8 ms (normalized value: 124) + neighbor 192.0.2.31 { + remote-as 3 + + rde evaluate all + + descr "AS3_1 client" + ttl-security no + transparent-as no + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::31 { + remote-as 3 + + rde evaluate all + + descr "AS3_1 client" + ttl-security no + transparent-as no + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + # RTT: 600 ms (normalized value: 600) + neighbor 192.0.2.41 { + remote-as 4 + + rde evaluate all + + descr "AS4_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::41 { + remote-as 4 + + rde evaluate all + + descr "AS4_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } +} + +include "/etc/bgpd/post-clients.local" + + + +# --------------------------------------------------------- +# FILTERS + +# NO_ADVERTISE usage notes. +# The NO_ADVERTISE well-know community is used here to handle +# filters that span over multiple steps. At first it is added +# to any route, then it is removed as filters conditions are +# satisfied. Finally, if it is still present, it means that +# the route should be discarded. + + + + +prefix-set "global_black_list_pref" { + 192.0.2.0/24 prefixlen 24 - 32 + 2001:db8::/32 prefixlen 32 - 128 + +} + +prefix-set "bogons" { + 0.0.0.0/0 + 0.0.0.0/8 prefixlen 8 - 32 + 10.0.0.0/8 prefixlen 8 - 32 + 127.0.0.0/8 prefixlen 8 - 32 + 169.254.0.0/16 prefixlen 16 - 32 + 172.16.0.0/12 prefixlen 12 - 32 + 192.0.2.0/24 prefixlen 24 - 32 + 192.88.99.0/24 prefixlen 24 - 32 + 192.168.0.0/16 prefixlen 16 - 32 + 198.18.0.0/15 prefixlen 15 - 32 + 198.51.100.0/24 prefixlen 24 - 32 + 203.0.113.0/24 prefixlen 24 - 32 + 224.0.0.0/3 prefixlen 3 - 32 + 100.64.0.0/10 prefixlen 10 - 32 + ::/0 + ::/8 prefixlen 8 - 128 + 64:ff9b::/96 prefixlen 96 - 128 + 100::/8 prefixlen 8 - 128 + 200::/7 prefixlen 7 - 128 + 400::/6 prefixlen 6 - 128 + 800::/5 prefixlen 5 - 128 + 1000::/4 prefixlen 4 - 128 + 2001::/33 prefixlen 33 - 128 + 2001:0:8000::/33 prefixlen 33 - 128 + 2001:2::/48 prefixlen 48 - 128 + 2001:3::/32 prefixlen 32 - 128 + 2001:10::/28 prefixlen 28 - 128 + 2001:20::/28 prefixlen 28 - 128 + 2001:db8::/32 prefixlen 32 - 128 + 2002::/16 prefixlen 16 - 128 + 3ffe::/16 prefixlen 16 - 128 + 4000::/3 prefixlen 3 - 128 + 5f00::/8 prefixlen 8 - 128 + 6000::/3 prefixlen 3 - 128 + 8000::/3 prefixlen 3 - 128 + a000::/3 prefixlen 3 - 128 + c000::/3 prefixlen 3 - 128 + e000::/4 prefixlen 4 - 128 + f000::/5 prefixlen 5 - 128 + f800::/6 prefixlen 6 - 128 + fc00::/7 prefixlen 7 - 128 + fe80::/10 prefixlen 10 - 128 + fec0::/10 prefixlen 10 - 128 + ff00::/8 prefixlen 8 - 128 + +} + +# ===================================================================================== +# Global rules. + +# This part of configuration is processed at the beginning of the filters. +# The rules defined in this part are applied to all the clients, and not on a +# client-by-client basis (see the 'match from group clients'), so only global policies +# can be implemented here, that is no client-level configuration are allowed. + + + +# Scrub communities from inbound routes +# origin_not_present_in_as_set +match from group clients set community delete 65530:0 +match from group clients set large-community delete 999:65530:0 + +# origin_present_in_as_set +match from group clients set community delete 65530:1 +match from group clients set large-community delete 999:65530:1 + +# prefix_validated_via_arin_whois_db_dump +match from group clients set community delete 65530:3 +match from group clients set large-community delete 999:65530:3 + +# prefix_validated_via_rpki_roas +match from group clients set community delete 65530:2 +match from group clients set large-community delete 999:65530:2 + + +# Scrub internal communities from inbound routes +match from group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + + +# The main goal of this block is to enrich routes received from clients by attaching to them +# internal informational communities which are used later by the rest of the filter rules. + +# Internal communities used for RFC1997 well-known communities handling + +# Transform NO_EXPORT into $INTCOMM_NO_EXPORT +match from group clients community NO_EXPORT set { ext-community $INTCOMM_NO_EXPORT community delete NO_EXPORT } + +# Transform NO_ADVERTISE into $INTCOMM_NO_ADVERTISE +match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ADVERTISE community delete NO_ADVERTISE } + + +# --------------------------------------------------------- +# ROAs source + + +roa-set { + 101.3.0.0/16 maxlen 24 source-as 105 + 101.2.0.0/17 source-as 101 + 101.2.128.0/17 maxlen 24 source-as 101 + 101.0.128.0/20 maxlen 23 source-as 101 + 101.0.8.0/24 source-as 101 + 101.0.9.0/24 source-as 102 + 222.1.1.0/24 source-as 333 + 3101:3::/32 maxlen 48 source-as 105 + 3101:0:8000::/33 maxlen 34 source-as 101 + 3101:2:8000::/33 maxlen 48 source-as 101 + 3101:2::/33 source-as 101 + 3101:0:8::/48 source-as 101 + 3101:0:9::/48 source-as 102 + 3222:0:1::/48 source-as 333 + +} + + + +# --------------------------------------------------------- +# RPKI-based Origin Validation + + +# Add $INTCOMM_RPKI_UNKNOWN, $INTCOMM_RPKI_INVALID and $INTCOMM_RPKI_VALID +# ext community on the basis of ovs. +match from group clients ovs not-found set ext-community $INTCOMM_RPKI_UNKNOWN +match from group clients ovs valid set ext-community $INTCOMM_RPKI_VALID +match from group clients ovs invalid set ext-community $INTCOMM_RPKI_INVALID + + + +# --------------------------------------------------------- +# RPKI ROAs used as route objects. + +# Add the $INTCOMM_PREF_OK_ROA ext community to routes whose +# origin ASN has a ROA for the announced prefix. +# It will be used later during IRRDB validation in +# case the origin ASN is authorized by a client's +# AS-SET but the prefix is not. + +# Since RPKI-based Origin Validation is already performed above, +# use the origin validation state to identify valid routes. +match from group clients ovs valid set ext-community $INTCOMM_PREF_OK_ROA + + +# ARIN Whois records used for preifx validation +# --------------------------------------------- + +# Add the $INTCOMM_PREF_OK_ARINDB ext community to routes whose +# origin ASN has an ARIN Whois record for the announced prefix. +# It will be used later during IRRDB validation in +# case the origin ASN is authorized by a client's +# AS-SET but the prefix is not. +origin-set "ARINDB" { +104.0.0.0/23 prefixlen 23 - 32 source-as 104 +3104::/32 prefixlen 32 - 128 source-as 104 +} +match from group clients origin-set ARINDB set ext-community $INTCOMM_PREF_OK_ARINDB + +# NIC.BR Whois records used for preifx validation +# ----------------------------------------------- + +# Add the $INTCOMM_PREF_OK_REGISTROBRDB ext community to routes whose +# origin ASN has a NIC.BR Whois record for the announced prefix. +# It will be used later during IRRDB validation in +# case the origin ASN is authorized by a client's +# AS-SET but the prefix is not. +origin-set "REGISTROBRDB" { +104.1.1.0/24 prefixlen 24 - 32 source-as 104 +3104:1:1::/48 prefixlen 48 - 128 source-as 104 +} +match from group clients origin-set REGISTROBRDB set ext-community $INTCOMM_PREF_OK_REGISTROBRDB + + + +# Set the 'rejected_route_announced_by' community for all the clients. +# It will be removed later if the route is not invalid +match from 192.0.2.11 set ext-community rt 65520:1 + +match from 2001:db8:1:1::11 set ext-community rt 65520:1 + +match from 192.0.2.12 set ext-community rt 65520:1 + +match from 2001:db8:1:1::12 set ext-community rt 65520:1 + +match from 192.0.2.222 set ext-community rt 65520:222 + +match from 2001:db8:1:1::222 set ext-community rt 65520:222 + +match from 192.0.2.21 set ext-community rt 65520:2 + +match from 2001:db8:1:1::21 set ext-community rt 65520:2 + +match from 192.0.2.31 set ext-community rt 65520:3 + +match from 2001:db8:1:1::31 set ext-community rt 65520:3 + +match from 192.0.2.41 set ext-community rt 65520:4 + +match from 2001:db8:1:1::41 set ext-community rt 65520:4 + + + + +# AS_PATH: length +# Reject inbound routes when 'from group clients max-as-len 6' - reject code: 1 +allow quick from group clients max-as-len 6 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:1} + + +# Prefix: global blacklist +# Reject inbound routes when 'from group clients prefix-set global_black_list_pref' - reject code: 3 +allow quick from group clients prefix-set global_black_list_pref set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:3} + + +# Prefix: only IPv6 Global Unicast space allowed +match from group clients inet6 set community NO_ADVERTISE +match from group clients prefix 2000::/3 or-longer set community delete NO_ADVERTISE +# Reject inbound routes when 'from group clients community NO_ADVERTISE' - reject code: 10 +allow quick from group clients community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:10} + + +# Prefix: bogon +# Reject inbound routes when 'from group clients prefix-set bogons' - reject code: 2 +allow quick from group clients prefix-set bogons set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:2} + + + + +# ===================================================================================== +# Per client rules. + + +# --------------------------------------------- +# client AS1_1, inbound + + + +# NEXT_HOP +match from 192.0.2.11 set community NO_ADVERTISE +match from 192.0.2.11 nexthop 192.0.2.11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.11 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.11 peer-as != 1' - reject code: 6 +allow quick from 192.0.2.11 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.11 AS 23456' - reject code: 7 +allow quick from 192.0.2.11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 192.0.2.11 AS { 3, 174 }' - reject code: 8 +allow quick from 192.0.2.11 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 192.0.2.11 AS { 666, 777 }' - reject code: 15 +allow quick from 192.0.2.11 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + +# client's white list +# Add the $INTCOMM_ROUTE_OK_WL ext community to routes which +# are validated by a client's white list entry. +# It will be used later during IRRDB validation in +# case the route is not authorized by a client's +# AS-SET. +match from 192.0.2.11 prefix 11.3.0.0/16 source-as 1011 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.11 prefix 11.4.0.0/16 prefixlen 16 - 32 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.11 prefix 2a11:3::/32 source-as 1011 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.11 prefix 2a11:4::/32 prefixlen 32 - 128 set ext-community $INTCOMM_ROUTE_OK_WL # None + +match from 192.0.2.11 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS1_1, AS1: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.11 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.11 source-as as-set AS_SET_AS_AS1_AS_AS1_CUSTOMERS_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS1_AS_AS1_CUSTOMERS +# AS-SET AS1 referenced but empty. +match from 192.0.2.11 source-as as-set AS_SET_WHITE_LIST_AS1_1_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # WHITE_LIST_AS1_1 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS1_1, AS1: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.11 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.11 prefix-set AS_SET_AS_AS1_AS_AS1_CUSTOMERS_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS1_AS_AS1_CUSTOMERS +# AS-SET AS1 referenced but empty. +match from 192.0.2.11 prefix-set AS_SET_WHITE_LIST_AS1_1_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # WHITE_LIST_AS1_1 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_REGISTROBRDB community have the prefix validated by a NICBR Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_REGISTROBRDB set ext-community delete $INTCOMM_IRR_REJECT + +# route authorized by a client's white list? +match from 192.0.2.11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set ext-community delete $INTCOMM_IRR_REJECT + +# enforcing: origin ASN +# Reject inbound routes when 'from 192.0.2.11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 192.0.2.11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 192.0.2.11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 192.0.2.11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + +# Blackhole request? +match from 192.0.2.11 set ext-community delete rt 65520:1 + + +# Remove internal communities before accepting the route +match from 192.0.2.11 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.11 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.11 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 192.0.2.11 community BLACKHOLE +allow quick from 192.0.2.11 community 65534:0 +allow quick from 192.0.2.11 large-community 65534:0:0 + + +match from 192.0.2.11 set ext-community rt 65520:1 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 192.0.2.11 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 192.0.2.11 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 192.0.2.11 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 192.0.2.11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.11 set ext-community delete rt 65520:1 + + + +allow quick from 192.0.2.11 + + + +# --------------------------------------------- +# client AS1_1, outbound + +deny quick to 192.0.2.11 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 192.0.2.11 community 65534:0 set community BLACKHOLE +match to 192.0.2.11 large-community 65534:0:0 set community BLACKHOLE + +match to 192.0.2.11 community BLACKHOLE set community NO_EXPORT +match to 192.0.2.11 community BLACKHOLE set nexthop 192.0.2.66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 192.0.2.11 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 192.0.2.11 community 65507:999 set community NO_EXPORT +match to 192.0.2.11 ext-community rt 65507:999 set community NO_EXPORT +match to 192.0.2.11 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 192.0.2.11 community 65508:999 set community NO_ADVERTISE +match to 192.0.2.11 ext-community rt 65508:999 set community NO_ADVERTISE +match to 192.0.2.11 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 192.0.2.11 community 65509:1 set community NO_EXPORT +match to 192.0.2.11 ext-community rt 65509:1 set community NO_EXPORT +match to 192.0.2.11 large-community 999:65509:1 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 192.0.2.11 community 65510:1 set community NO_ADVERTISE +match to 192.0.2.11 ext-community rt 65510:1 set community NO_ADVERTISE +match to 192.0.2.11 large-community 999:65510:1 set community NO_ADVERTISE + + +# BGP control communities +allow to 192.0.2.11 + +# do_not_announce_to_any +deny to 192.0.2.11 community 0:999 +deny to 192.0.2.11 ext-community rt 0:999 +deny to 192.0.2.11 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 192.0.2.11 community 0:1 +deny quick to 192.0.2.11 ext-community rt 0:1 +deny quick to 192.0.2.11 large-community 999:0:1 + +# do_not_announce_to_peers_with_rtt_lower_than 5 ms +deny to 192.0.2.11 community 64530:5 +deny to 192.0.2.11 ext-community rt 64530:5 +deny to 192.0.2.11 large-community 999:64530:5 + + +# do_not_announce_to_peers_with_rtt_lower_than 10 ms +deny to 192.0.2.11 community 64530:10 +deny to 192.0.2.11 ext-community rt 64530:10 +deny to 192.0.2.11 large-community 999:64530:10 + + +# do_not_announce_to_peers_with_rtt_lower_than 15 ms +deny to 192.0.2.11 community 64530:15 +deny to 192.0.2.11 ext-community rt 64530:15 +deny to 192.0.2.11 large-community 999:64530:15 + + +# do_not_announce_to_peers_with_rtt_lower_than 20 ms +deny to 192.0.2.11 community 64530:20 +deny to 192.0.2.11 ext-community rt 64530:20 +deny to 192.0.2.11 large-community 999:64530:20 + + +# do_not_announce_to_peers_with_rtt_lower_than 30 ms +deny to 192.0.2.11 community 64530:30 +deny to 192.0.2.11 ext-community rt 64530:30 +deny to 192.0.2.11 large-community 999:64530:30 + + +# do_not_announce_to_peers_with_rtt_lower_than 50 ms +deny to 192.0.2.11 community 64530:50 +deny to 192.0.2.11 ext-community rt 64530:50 +deny to 192.0.2.11 large-community 999:64530:50 + + +# do_not_announce_to_peers_with_rtt_lower_than 100 ms +deny to 192.0.2.11 community 64530:100 +deny to 192.0.2.11 ext-community rt 64530:100 +deny to 192.0.2.11 large-community 999:64530:100 + + +# do_not_announce_to_peers_with_rtt_lower_than 200 ms +deny to 192.0.2.11 community 64530:200 +deny to 192.0.2.11 ext-community rt 64530:200 +deny to 192.0.2.11 large-community 999:64530:200 + + +# do_not_announce_to_peers_with_rtt_lower_than 500 ms +deny to 192.0.2.11 community 64530:500 +deny to 192.0.2.11 ext-community rt 64530:500 +deny to 192.0.2.11 large-community 999:64530:500 + + +# announce_to_peers_with_rtt_lower_than 5 ms +allow to 192.0.2.11 community 64532:5 +allow to 192.0.2.11 ext-community rt 64532:5 +allow to 192.0.2.11 large-community 999:64532:5 + + +# announce_to_peers_with_rtt_lower_than 10 ms +allow to 192.0.2.11 community 64532:10 +allow to 192.0.2.11 ext-community rt 64532:10 +allow to 192.0.2.11 large-community 999:64532:10 + + +# announce_to_peers_with_rtt_lower_than 15 ms +allow to 192.0.2.11 community 64532:15 +allow to 192.0.2.11 ext-community rt 64532:15 +allow to 192.0.2.11 large-community 999:64532:15 + + +# announce_to_peers_with_rtt_lower_than 20 ms +allow to 192.0.2.11 community 64532:20 +allow to 192.0.2.11 ext-community rt 64532:20 +allow to 192.0.2.11 large-community 999:64532:20 + + +# announce_to_peers_with_rtt_lower_than 30 ms +allow to 192.0.2.11 community 64532:30 +allow to 192.0.2.11 ext-community rt 64532:30 +allow to 192.0.2.11 large-community 999:64532:30 + + +# announce_to_peers_with_rtt_lower_than 50 ms +allow to 192.0.2.11 community 64532:50 +allow to 192.0.2.11 ext-community rt 64532:50 +allow to 192.0.2.11 large-community 999:64532:50 + + +# announce_to_peers_with_rtt_lower_than 100 ms +allow to 192.0.2.11 community 64532:100 +allow to 192.0.2.11 ext-community rt 64532:100 +allow to 192.0.2.11 large-community 999:64532:100 + + +# announce_to_peers_with_rtt_lower_than 200 ms +allow to 192.0.2.11 community 64532:200 +allow to 192.0.2.11 ext-community rt 64532:200 +allow to 192.0.2.11 large-community 999:64532:200 + + +# announce_to_peers_with_rtt_lower_than 500 ms +allow to 192.0.2.11 community 64532:500 +allow to 192.0.2.11 ext-community rt 64532:500 +allow to 192.0.2.11 large-community 999:64532:500 + + +# announce_to_peer +allow to 192.0.2.11 community 65501:1 +allow to 192.0.2.11 ext-community rt 65501:1 +allow to 192.0.2.11 large-community 999:65501:1 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 65521:1 set prepend-neighbor 1 +match to 192.0.2.11 ext-community rt 65521:1 set prepend-neighbor 1 +match to 192.0.2.11 large-community 999:65521:1 set prepend-neighbor 1 + +match to 192.0.2.11 community 65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 65522:1 set prepend-neighbor 2 +match to 192.0.2.11 ext-community rt 65522:1 set prepend-neighbor 2 +match to 192.0.2.11 large-community 999:65522:1 set prepend-neighbor 2 + +match to 192.0.2.11 community 65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 65523:1 set prepend-neighbor 3 +match to 192.0.2.11 ext-community rt 65523:1 set prepend-neighbor 3 +match to 192.0.2.11 large-community 999:65523:1 set prepend-neighbor 3 + +match to 192.0.2.11 community 65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + +# prepend_once_to_peers_with_rtt_lower_than 5 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64534:5 set prepend-neighbor 1 +match to 192.0.2.11 ext-community rt 64534:5 set prepend-neighbor 1 +match to 192.0.2.11 large-community 999:64534:5 set prepend-neighbor 1 + + +match to 192.0.2.11 community 64534:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 64534:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:64534:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 5 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64535:5 set prepend-neighbor 2 +match to 192.0.2.11 ext-community rt 64535:5 set prepend-neighbor 2 +match to 192.0.2.11 large-community 999:64535:5 set prepend-neighbor 2 + + +match to 192.0.2.11 community 64535:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 64535:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:64535:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 5 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64536:5 set prepend-neighbor 3 +match to 192.0.2.11 ext-community rt 64536:5 set prepend-neighbor 3 +match to 192.0.2.11 large-community 999:64536:5 set prepend-neighbor 3 + + +match to 192.0.2.11 community 64536:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 64536:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:64536:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 10 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64534:10 set prepend-neighbor 1 +match to 192.0.2.11 ext-community rt 64534:10 set prepend-neighbor 1 +match to 192.0.2.11 large-community 999:64534:10 set prepend-neighbor 1 + + +match to 192.0.2.11 community 64534:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 64534:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:64534:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 10 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64535:10 set prepend-neighbor 2 +match to 192.0.2.11 ext-community rt 64535:10 set prepend-neighbor 2 +match to 192.0.2.11 large-community 999:64535:10 set prepend-neighbor 2 + + +match to 192.0.2.11 community 64535:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 64535:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:64535:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 10 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64536:10 set prepend-neighbor 3 +match to 192.0.2.11 ext-community rt 64536:10 set prepend-neighbor 3 +match to 192.0.2.11 large-community 999:64536:10 set prepend-neighbor 3 + + +match to 192.0.2.11 community 64536:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 64536:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:64536:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 15 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64534:15 set prepend-neighbor 1 +match to 192.0.2.11 ext-community rt 64534:15 set prepend-neighbor 1 +match to 192.0.2.11 large-community 999:64534:15 set prepend-neighbor 1 + + +match to 192.0.2.11 community 64534:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 64534:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:64534:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 15 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64535:15 set prepend-neighbor 2 +match to 192.0.2.11 ext-community rt 64535:15 set prepend-neighbor 2 +match to 192.0.2.11 large-community 999:64535:15 set prepend-neighbor 2 + + +match to 192.0.2.11 community 64535:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 64535:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:64535:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 15 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64536:15 set prepend-neighbor 3 +match to 192.0.2.11 ext-community rt 64536:15 set prepend-neighbor 3 +match to 192.0.2.11 large-community 999:64536:15 set prepend-neighbor 3 + + +match to 192.0.2.11 community 64536:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 64536:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:64536:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 20 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64534:20 set prepend-neighbor 1 +match to 192.0.2.11 ext-community rt 64534:20 set prepend-neighbor 1 +match to 192.0.2.11 large-community 999:64534:20 set prepend-neighbor 1 + + +match to 192.0.2.11 community 64534:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 64534:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:64534:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 20 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64535:20 set prepend-neighbor 2 +match to 192.0.2.11 ext-community rt 64535:20 set prepend-neighbor 2 +match to 192.0.2.11 large-community 999:64535:20 set prepend-neighbor 2 + + +match to 192.0.2.11 community 64535:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 64535:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:64535:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 20 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64536:20 set prepend-neighbor 3 +match to 192.0.2.11 ext-community rt 64536:20 set prepend-neighbor 3 +match to 192.0.2.11 large-community 999:64536:20 set prepend-neighbor 3 + + +match to 192.0.2.11 community 64536:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 64536:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:64536:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 30 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64534:30 set prepend-neighbor 1 +match to 192.0.2.11 ext-community rt 64534:30 set prepend-neighbor 1 +match to 192.0.2.11 large-community 999:64534:30 set prepend-neighbor 1 + + +match to 192.0.2.11 community 64534:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 64534:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:64534:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 30 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64535:30 set prepend-neighbor 2 +match to 192.0.2.11 ext-community rt 64535:30 set prepend-neighbor 2 +match to 192.0.2.11 large-community 999:64535:30 set prepend-neighbor 2 + + +match to 192.0.2.11 community 64535:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 64535:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:64535:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 30 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64536:30 set prepend-neighbor 3 +match to 192.0.2.11 ext-community rt 64536:30 set prepend-neighbor 3 +match to 192.0.2.11 large-community 999:64536:30 set prepend-neighbor 3 + + +match to 192.0.2.11 community 64536:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 64536:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:64536:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 50 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64534:50 set prepend-neighbor 1 +match to 192.0.2.11 ext-community rt 64534:50 set prepend-neighbor 1 +match to 192.0.2.11 large-community 999:64534:50 set prepend-neighbor 1 + + +match to 192.0.2.11 community 64534:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 64534:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:64534:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 50 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64535:50 set prepend-neighbor 2 +match to 192.0.2.11 ext-community rt 64535:50 set prepend-neighbor 2 +match to 192.0.2.11 large-community 999:64535:50 set prepend-neighbor 2 + + +match to 192.0.2.11 community 64535:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 64535:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:64535:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 50 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64536:50 set prepend-neighbor 3 +match to 192.0.2.11 ext-community rt 64536:50 set prepend-neighbor 3 +match to 192.0.2.11 large-community 999:64536:50 set prepend-neighbor 3 + + +match to 192.0.2.11 community 64536:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 64536:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:64536:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 100 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64534:100 set prepend-neighbor 1 +match to 192.0.2.11 ext-community rt 64534:100 set prepend-neighbor 1 +match to 192.0.2.11 large-community 999:64534:100 set prepend-neighbor 1 + + +match to 192.0.2.11 community 64534:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 64534:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:64534:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 100 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64535:100 set prepend-neighbor 2 +match to 192.0.2.11 ext-community rt 64535:100 set prepend-neighbor 2 +match to 192.0.2.11 large-community 999:64535:100 set prepend-neighbor 2 + + +match to 192.0.2.11 community 64535:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 64535:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:64535:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 100 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64536:100 set prepend-neighbor 3 +match to 192.0.2.11 ext-community rt 64536:100 set prepend-neighbor 3 +match to 192.0.2.11 large-community 999:64536:100 set prepend-neighbor 3 + + +match to 192.0.2.11 community 64536:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 64536:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:64536:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 200 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64534:200 set prepend-neighbor 1 +match to 192.0.2.11 ext-community rt 64534:200 set prepend-neighbor 1 +match to 192.0.2.11 large-community 999:64534:200 set prepend-neighbor 1 + + +match to 192.0.2.11 community 64534:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 64534:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:64534:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 200 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64535:200 set prepend-neighbor 2 +match to 192.0.2.11 ext-community rt 64535:200 set prepend-neighbor 2 +match to 192.0.2.11 large-community 999:64535:200 set prepend-neighbor 2 + + +match to 192.0.2.11 community 64535:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 64535:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:64535:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 200 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64536:200 set prepend-neighbor 3 +match to 192.0.2.11 ext-community rt 64536:200 set prepend-neighbor 3 +match to 192.0.2.11 large-community 999:64536:200 set prepend-neighbor 3 + + +match to 192.0.2.11 community 64536:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 64536:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:64536:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64534:500 set prepend-neighbor 1 +match to 192.0.2.11 ext-community rt 64534:500 set prepend-neighbor 1 +match to 192.0.2.11 large-community 999:64534:500 set prepend-neighbor 1 + + +match to 192.0.2.11 community 64534:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 64534:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:64534:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64535:500 set prepend-neighbor 2 +match to 192.0.2.11 ext-community rt 64535:500 set prepend-neighbor 2 +match to 192.0.2.11 large-community 999:64535:500 set prepend-neighbor 2 + + +match to 192.0.2.11 community 64535:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 64535:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:64535:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64536:500 set prepend-neighbor 3 +match to 192.0.2.11 ext-community rt 64536:500 set prepend-neighbor 3 +match to 192.0.2.11 large-community 999:64536:500 set prepend-neighbor 3 + + +match to 192.0.2.11 community 64536:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 64536:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:64536:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 65521:65521 set prepend-neighbor 1 +match to 192.0.2.11 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 192.0.2.11 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 192.0.2.11 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 65522:65522 set prepend-neighbor 2 +match to 192.0.2.11 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 192.0.2.11 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 192.0.2.11 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 65523:65523 set prepend-neighbor 3 +match to 192.0.2.11 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 192.0.2.11 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 192.0.2.11 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS1_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::11 set community NO_ADVERTISE +match from 2001:db8:1:1::11 nexthop 2001:db8:1:1::11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::11 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::11 peer-as != 1' - reject code: 6 +allow quick from 2001:db8:1:1::11 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 2001:db8:1:1::11 AS { 3, 174 }' - reject code: 8 +allow quick from 2001:db8:1:1::11 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 2001:db8:1:1::11 AS { 666, 777 }' - reject code: 15 +allow quick from 2001:db8:1:1::11 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + +# client's white list +# Add the $INTCOMM_ROUTE_OK_WL ext community to routes which +# are validated by a client's white list entry. +# It will be used later during IRRDB validation in +# case the route is not authorized by a client's +# AS-SET. +match from 2001:db8:1:1::11 prefix 11.3.0.0/16 source-as 1011 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::11 prefix 11.4.0.0/16 prefixlen 16 - 32 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::11 prefix 2a11:3::/32 source-as 1011 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::11 prefix 2a11:4::/32 prefixlen 32 - 128 set ext-community $INTCOMM_ROUTE_OK_WL # None + +match from 2001:db8:1:1::11 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS1_2, AS1: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::11 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::11 source-as as-set AS_SET_AS_AS1_AS_AS1_CUSTOMERS_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS1_AS_AS1_CUSTOMERS +match from 2001:db8:1:1::11 source-as as-set AS_SET_WHITE_LIST_AS1_2_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # WHITE_LIST_AS1_2 +# AS-SET AS1 referenced but empty. + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS1_2, AS1: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::11 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::11 prefix-set AS_SET_AS_AS1_AS_AS1_CUSTOMERS_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS1_AS_AS1_CUSTOMERS +match from 2001:db8:1:1::11 prefix-set AS_SET_WHITE_LIST_AS1_2_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # WHITE_LIST_AS1_2 +# AS-SET AS1 referenced but empty. + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_REGISTROBRDB community have the prefix validated by a NICBR Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_REGISTROBRDB set ext-community delete $INTCOMM_IRR_REJECT + +# route authorized by a client's white list? +match from 2001:db8:1:1::11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set ext-community delete $INTCOMM_IRR_REJECT + +# enforcing: origin ASN +# Reject inbound routes when 'from 2001:db8:1:1::11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 2001:db8:1:1::11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 2001:db8:1:1::11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 2001:db8:1:1::11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + +# Blackhole request? +match from 2001:db8:1:1::11 set ext-community delete rt 65520:1 + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::11 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::11 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::11 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 2001:db8:1:1::11 community BLACKHOLE +allow quick from 2001:db8:1:1::11 community 65534:0 +allow quick from 2001:db8:1:1::11 large-community 65534:0:0 + + +match from 2001:db8:1:1::11 set ext-community rt 65520:1 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 2001:db8:1:1::11 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 2001:db8:1:1::11 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::11 prefix ::/0 prefixlen 17 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::11 prefix ::/0 prefixlen 17 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 2001:db8:1:1::11 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::11 set ext-community delete rt 65520:1 + + + +allow quick from 2001:db8:1:1::11 + + + +# --------------------------------------------- +# client AS1_2, outbound + +deny quick to 2001:db8:1:1::11 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 2001:db8:1:1::11 community 65534:0 set community BLACKHOLE +match to 2001:db8:1:1::11 large-community 65534:0:0 set community BLACKHOLE + +match to 2001:db8:1:1::11 community BLACKHOLE set community NO_EXPORT +match to 2001:db8:1:1::11 community BLACKHOLE set nexthop 2001:db8:1:1::66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 2001:db8:1:1::11 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 2001:db8:1:1::11 community 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::11 ext-community rt 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::11 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 2001:db8:1:1::11 community 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::11 ext-community rt 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::11 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 2001:db8:1:1::11 community 65509:1 set community NO_EXPORT +match to 2001:db8:1:1::11 ext-community rt 65509:1 set community NO_EXPORT +match to 2001:db8:1:1::11 large-community 999:65509:1 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 2001:db8:1:1::11 community 65510:1 set community NO_ADVERTISE +match to 2001:db8:1:1::11 ext-community rt 65510:1 set community NO_ADVERTISE +match to 2001:db8:1:1::11 large-community 999:65510:1 set community NO_ADVERTISE + + +# BGP control communities +allow to 2001:db8:1:1::11 + +# do_not_announce_to_any +deny to 2001:db8:1:1::11 community 0:999 +deny to 2001:db8:1:1::11 ext-community rt 0:999 +deny to 2001:db8:1:1::11 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::11 community 0:1 +deny quick to 2001:db8:1:1::11 ext-community rt 0:1 +deny quick to 2001:db8:1:1::11 large-community 999:0:1 + +# announce_to_peer +allow to 2001:db8:1:1::11 community 65501:1 +allow to 2001:db8:1:1::11 ext-community rt 65501:1 +allow to 2001:db8:1:1::11 large-community 999:65501:1 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 65521:1 set prepend-neighbor 1 +match to 2001:db8:1:1::11 ext-community rt 65521:1 set prepend-neighbor 1 +match to 2001:db8:1:1::11 large-community 999:65521:1 set prepend-neighbor 1 + +match to 2001:db8:1:1::11 community 65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 65522:1 set prepend-neighbor 2 +match to 2001:db8:1:1::11 ext-community rt 65522:1 set prepend-neighbor 2 +match to 2001:db8:1:1::11 large-community 999:65522:1 set prepend-neighbor 2 + +match to 2001:db8:1:1::11 community 65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 65523:1 set prepend-neighbor 3 +match to 2001:db8:1:1::11 ext-community rt 65523:1 set prepend-neighbor 3 +match to 2001:db8:1:1::11 large-community 999:65523:1 set prepend-neighbor 3 + +match to 2001:db8:1:1::11 community 65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::11 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::11 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 2001:db8:1:1::11 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::11 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::11 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 2001:db8:1:1::11 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::11 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::11 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 2001:db8:1:1::11 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS1_3, inbound + + + +# NEXT_HOP +match from 192.0.2.12 set community NO_ADVERTISE +match from 192.0.2.12 nexthop 192.0.2.11 set community delete NO_ADVERTISE +match from 192.0.2.12 nexthop 192.0.2.12 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.12 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.12 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.12 peer-as != 1' - reject code: 6 +allow quick from 192.0.2.12 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.12 AS 23456' - reject code: 7 +allow quick from 192.0.2.12 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.12 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.12 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.12 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.12 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 192.0.2.12 AS { 3, 174 }' - reject code: 8 +allow quick from 192.0.2.12 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 192.0.2.12 AS { 666, 777 }' - reject code: 15 +allow quick from 192.0.2.12 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + + +match from 192.0.2.12 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS1_3, AS1: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.12 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.12 source-as as-set AS_SET_AS_AS1_AS_AS1_CUSTOMERS_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS1_AS_AS1_CUSTOMERS +# AS-SET AS1 referenced but empty. + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS1_3, AS1: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.12 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.12 prefix-set AS_SET_AS_AS1_AS_AS1_CUSTOMERS_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS1_AS_AS1_CUSTOMERS +# AS-SET AS1 referenced but empty. + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.12 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.12 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_REGISTROBRDB community have the prefix validated by a NICBR Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.12 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_REGISTROBRDB set ext-community delete $INTCOMM_IRR_REJECT + + +# enforcing: origin ASN +# Reject inbound routes when 'from 192.0.2.12 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 192.0.2.12 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 192.0.2.12 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 192.0.2.12 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + +# Blackhole request? +match from 192.0.2.12 set ext-community delete rt 65520:1 + + +# Remove internal communities before accepting the route +match from 192.0.2.12 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.12 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.12 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 192.0.2.12 community BLACKHOLE +allow quick from 192.0.2.12 community 65534:0 +allow quick from 192.0.2.12 large-community 65534:0:0 + + +match from 192.0.2.12 set ext-community rt 65520:1 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 192.0.2.12 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 192.0.2.12 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.12 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.12 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 192.0.2.12 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 192.0.2.12 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.12 set ext-community delete rt 65520:1 + + + +allow quick from 192.0.2.12 + + + +# --------------------------------------------- +# client AS1_3, outbound + +deny quick to 192.0.2.12 community 65520:0 + + + +# Blackhole request? +# Client not enabled to receive blackhole routes +deny quick to 192.0.2.12 community BLACKHOLE +deny quick to 192.0.2.12 community 65534:0 +deny quick to 192.0.2.12 large-community 65534:0:0 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 192.0.2.12 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 192.0.2.12 community 65507:999 set community NO_EXPORT +match to 192.0.2.12 ext-community rt 65507:999 set community NO_EXPORT +match to 192.0.2.12 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 192.0.2.12 community 65508:999 set community NO_ADVERTISE +match to 192.0.2.12 ext-community rt 65508:999 set community NO_ADVERTISE +match to 192.0.2.12 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 192.0.2.12 community 65509:1 set community NO_EXPORT +match to 192.0.2.12 ext-community rt 65509:1 set community NO_EXPORT +match to 192.0.2.12 large-community 999:65509:1 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 192.0.2.12 community 65510:1 set community NO_ADVERTISE +match to 192.0.2.12 ext-community rt 65510:1 set community NO_ADVERTISE +match to 192.0.2.12 large-community 999:65510:1 set community NO_ADVERTISE + + +# BGP control communities +allow to 192.0.2.12 + +# do_not_announce_to_any +deny to 192.0.2.12 community 0:999 +deny to 192.0.2.12 ext-community rt 0:999 +deny to 192.0.2.12 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 192.0.2.12 community 0:1 +deny quick to 192.0.2.12 ext-community rt 0:1 +deny quick to 192.0.2.12 large-community 999:0:1 + +# do_not_announce_to_peers_with_rtt_lower_than 5 ms +deny to 192.0.2.12 community 64530:5 +deny to 192.0.2.12 ext-community rt 64530:5 +deny to 192.0.2.12 large-community 999:64530:5 + + +# do_not_announce_to_peers_with_rtt_lower_than 10 ms +deny to 192.0.2.12 community 64530:10 +deny to 192.0.2.12 ext-community rt 64530:10 +deny to 192.0.2.12 large-community 999:64530:10 + + +# do_not_announce_to_peers_with_rtt_lower_than 15 ms +deny to 192.0.2.12 community 64530:15 +deny to 192.0.2.12 ext-community rt 64530:15 +deny to 192.0.2.12 large-community 999:64530:15 + + +# do_not_announce_to_peers_with_rtt_lower_than 20 ms +deny to 192.0.2.12 community 64530:20 +deny to 192.0.2.12 ext-community rt 64530:20 +deny to 192.0.2.12 large-community 999:64530:20 + + +# do_not_announce_to_peers_with_rtt_lower_than 30 ms +deny to 192.0.2.12 community 64530:30 +deny to 192.0.2.12 ext-community rt 64530:30 +deny to 192.0.2.12 large-community 999:64530:30 + + +# do_not_announce_to_peers_with_rtt_lower_than 50 ms +deny to 192.0.2.12 community 64530:50 +deny to 192.0.2.12 ext-community rt 64530:50 +deny to 192.0.2.12 large-community 999:64530:50 + + +# do_not_announce_to_peers_with_rtt_lower_than 100 ms +deny to 192.0.2.12 community 64530:100 +deny to 192.0.2.12 ext-community rt 64530:100 +deny to 192.0.2.12 large-community 999:64530:100 + + +# do_not_announce_to_peers_with_rtt_lower_than 200 ms +deny to 192.0.2.12 community 64530:200 +deny to 192.0.2.12 ext-community rt 64530:200 +deny to 192.0.2.12 large-community 999:64530:200 + + +# do_not_announce_to_peers_with_rtt_lower_than 500 ms +deny to 192.0.2.12 community 64530:500 +deny to 192.0.2.12 ext-community rt 64530:500 +deny to 192.0.2.12 large-community 999:64530:500 + + +# announce_to_peers_with_rtt_lower_than 5 ms +allow to 192.0.2.12 community 64532:5 +allow to 192.0.2.12 ext-community rt 64532:5 +allow to 192.0.2.12 large-community 999:64532:5 + + +# announce_to_peers_with_rtt_lower_than 10 ms +allow to 192.0.2.12 community 64532:10 +allow to 192.0.2.12 ext-community rt 64532:10 +allow to 192.0.2.12 large-community 999:64532:10 + + +# announce_to_peers_with_rtt_lower_than 15 ms +allow to 192.0.2.12 community 64532:15 +allow to 192.0.2.12 ext-community rt 64532:15 +allow to 192.0.2.12 large-community 999:64532:15 + + +# announce_to_peers_with_rtt_lower_than 20 ms +allow to 192.0.2.12 community 64532:20 +allow to 192.0.2.12 ext-community rt 64532:20 +allow to 192.0.2.12 large-community 999:64532:20 + + +# announce_to_peers_with_rtt_lower_than 30 ms +allow to 192.0.2.12 community 64532:30 +allow to 192.0.2.12 ext-community rt 64532:30 +allow to 192.0.2.12 large-community 999:64532:30 + + +# announce_to_peers_with_rtt_lower_than 50 ms +allow to 192.0.2.12 community 64532:50 +allow to 192.0.2.12 ext-community rt 64532:50 +allow to 192.0.2.12 large-community 999:64532:50 + + +# announce_to_peers_with_rtt_lower_than 100 ms +allow to 192.0.2.12 community 64532:100 +allow to 192.0.2.12 ext-community rt 64532:100 +allow to 192.0.2.12 large-community 999:64532:100 + + +# announce_to_peers_with_rtt_lower_than 200 ms +allow to 192.0.2.12 community 64532:200 +allow to 192.0.2.12 ext-community rt 64532:200 +allow to 192.0.2.12 large-community 999:64532:200 + + +# announce_to_peers_with_rtt_lower_than 500 ms +allow to 192.0.2.12 community 64532:500 +allow to 192.0.2.12 ext-community rt 64532:500 +allow to 192.0.2.12 large-community 999:64532:500 + + +# announce_to_peer +allow to 192.0.2.12 community 65501:1 +allow to 192.0.2.12 ext-community rt 65501:1 +allow to 192.0.2.12 large-community 999:65501:1 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 65521:1 set prepend-neighbor 1 +match to 192.0.2.12 ext-community rt 65521:1 set prepend-neighbor 1 +match to 192.0.2.12 large-community 999:65521:1 set prepend-neighbor 1 + +match to 192.0.2.12 community 65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 65522:1 set prepend-neighbor 2 +match to 192.0.2.12 ext-community rt 65522:1 set prepend-neighbor 2 +match to 192.0.2.12 large-community 999:65522:1 set prepend-neighbor 2 + +match to 192.0.2.12 community 65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 65523:1 set prepend-neighbor 3 +match to 192.0.2.12 ext-community rt 65523:1 set prepend-neighbor 3 +match to 192.0.2.12 large-community 999:65523:1 set prepend-neighbor 3 + +match to 192.0.2.12 community 65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + +# prepend_once_to_peers_with_rtt_lower_than 5 ms; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 64534:5 set prepend-neighbor 1 +match to 192.0.2.12 ext-community rt 64534:5 set prepend-neighbor 1 +match to 192.0.2.12 large-community 999:64534:5 set prepend-neighbor 1 + + +match to 192.0.2.12 community 64534:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 64534:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:64534:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 5 ms; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 64535:5 set prepend-neighbor 2 +match to 192.0.2.12 ext-community rt 64535:5 set prepend-neighbor 2 +match to 192.0.2.12 large-community 999:64535:5 set prepend-neighbor 2 + + +match to 192.0.2.12 community 64535:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 64535:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:64535:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 5 ms; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 64536:5 set prepend-neighbor 3 +match to 192.0.2.12 ext-community rt 64536:5 set prepend-neighbor 3 +match to 192.0.2.12 large-community 999:64536:5 set prepend-neighbor 3 + + +match to 192.0.2.12 community 64536:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 64536:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:64536:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 10 ms; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 64534:10 set prepend-neighbor 1 +match to 192.0.2.12 ext-community rt 64534:10 set prepend-neighbor 1 +match to 192.0.2.12 large-community 999:64534:10 set prepend-neighbor 1 + + +match to 192.0.2.12 community 64534:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 64534:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:64534:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 10 ms; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 64535:10 set prepend-neighbor 2 +match to 192.0.2.12 ext-community rt 64535:10 set prepend-neighbor 2 +match to 192.0.2.12 large-community 999:64535:10 set prepend-neighbor 2 + + +match to 192.0.2.12 community 64535:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 64535:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:64535:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 10 ms; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 64536:10 set prepend-neighbor 3 +match to 192.0.2.12 ext-community rt 64536:10 set prepend-neighbor 3 +match to 192.0.2.12 large-community 999:64536:10 set prepend-neighbor 3 + + +match to 192.0.2.12 community 64536:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 64536:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:64536:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 15 ms; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 64534:15 set prepend-neighbor 1 +match to 192.0.2.12 ext-community rt 64534:15 set prepend-neighbor 1 +match to 192.0.2.12 large-community 999:64534:15 set prepend-neighbor 1 + + +match to 192.0.2.12 community 64534:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 64534:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:64534:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 15 ms; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 64535:15 set prepend-neighbor 2 +match to 192.0.2.12 ext-community rt 64535:15 set prepend-neighbor 2 +match to 192.0.2.12 large-community 999:64535:15 set prepend-neighbor 2 + + +match to 192.0.2.12 community 64535:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 64535:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:64535:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 15 ms; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 64536:15 set prepend-neighbor 3 +match to 192.0.2.12 ext-community rt 64536:15 set prepend-neighbor 3 +match to 192.0.2.12 large-community 999:64536:15 set prepend-neighbor 3 + + +match to 192.0.2.12 community 64536:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 64536:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:64536:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 20 ms; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 64534:20 set prepend-neighbor 1 +match to 192.0.2.12 ext-community rt 64534:20 set prepend-neighbor 1 +match to 192.0.2.12 large-community 999:64534:20 set prepend-neighbor 1 + + +match to 192.0.2.12 community 64534:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 64534:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:64534:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 20 ms; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 64535:20 set prepend-neighbor 2 +match to 192.0.2.12 ext-community rt 64535:20 set prepend-neighbor 2 +match to 192.0.2.12 large-community 999:64535:20 set prepend-neighbor 2 + + +match to 192.0.2.12 community 64535:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 64535:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:64535:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 20 ms; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 64536:20 set prepend-neighbor 3 +match to 192.0.2.12 ext-community rt 64536:20 set prepend-neighbor 3 +match to 192.0.2.12 large-community 999:64536:20 set prepend-neighbor 3 + + +match to 192.0.2.12 community 64536:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 64536:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:64536:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 30 ms; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 64534:30 set prepend-neighbor 1 +match to 192.0.2.12 ext-community rt 64534:30 set prepend-neighbor 1 +match to 192.0.2.12 large-community 999:64534:30 set prepend-neighbor 1 + + +match to 192.0.2.12 community 64534:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 64534:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:64534:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 30 ms; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 64535:30 set prepend-neighbor 2 +match to 192.0.2.12 ext-community rt 64535:30 set prepend-neighbor 2 +match to 192.0.2.12 large-community 999:64535:30 set prepend-neighbor 2 + + +match to 192.0.2.12 community 64535:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 64535:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:64535:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 30 ms; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 64536:30 set prepend-neighbor 3 +match to 192.0.2.12 ext-community rt 64536:30 set prepend-neighbor 3 +match to 192.0.2.12 large-community 999:64536:30 set prepend-neighbor 3 + + +match to 192.0.2.12 community 64536:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 64536:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:64536:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 50 ms; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 64534:50 set prepend-neighbor 1 +match to 192.0.2.12 ext-community rt 64534:50 set prepend-neighbor 1 +match to 192.0.2.12 large-community 999:64534:50 set prepend-neighbor 1 + + +match to 192.0.2.12 community 64534:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 64534:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:64534:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 50 ms; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 64535:50 set prepend-neighbor 2 +match to 192.0.2.12 ext-community rt 64535:50 set prepend-neighbor 2 +match to 192.0.2.12 large-community 999:64535:50 set prepend-neighbor 2 + + +match to 192.0.2.12 community 64535:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 64535:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:64535:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 50 ms; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 64536:50 set prepend-neighbor 3 +match to 192.0.2.12 ext-community rt 64536:50 set prepend-neighbor 3 +match to 192.0.2.12 large-community 999:64536:50 set prepend-neighbor 3 + + +match to 192.0.2.12 community 64536:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 64536:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:64536:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 100 ms; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 64534:100 set prepend-neighbor 1 +match to 192.0.2.12 ext-community rt 64534:100 set prepend-neighbor 1 +match to 192.0.2.12 large-community 999:64534:100 set prepend-neighbor 1 + + +match to 192.0.2.12 community 64534:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 64534:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:64534:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 100 ms; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 64535:100 set prepend-neighbor 2 +match to 192.0.2.12 ext-community rt 64535:100 set prepend-neighbor 2 +match to 192.0.2.12 large-community 999:64535:100 set prepend-neighbor 2 + + +match to 192.0.2.12 community 64535:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 64535:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:64535:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 100 ms; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 64536:100 set prepend-neighbor 3 +match to 192.0.2.12 ext-community rt 64536:100 set prepend-neighbor 3 +match to 192.0.2.12 large-community 999:64536:100 set prepend-neighbor 3 + + +match to 192.0.2.12 community 64536:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 64536:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:64536:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 200 ms; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 64534:200 set prepend-neighbor 1 +match to 192.0.2.12 ext-community rt 64534:200 set prepend-neighbor 1 +match to 192.0.2.12 large-community 999:64534:200 set prepend-neighbor 1 + + +match to 192.0.2.12 community 64534:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 64534:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:64534:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 200 ms; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 64535:200 set prepend-neighbor 2 +match to 192.0.2.12 ext-community rt 64535:200 set prepend-neighbor 2 +match to 192.0.2.12 large-community 999:64535:200 set prepend-neighbor 2 + + +match to 192.0.2.12 community 64535:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 64535:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:64535:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 200 ms; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 64536:200 set prepend-neighbor 3 +match to 192.0.2.12 ext-community rt 64536:200 set prepend-neighbor 3 +match to 192.0.2.12 large-community 999:64536:200 set prepend-neighbor 3 + + +match to 192.0.2.12 community 64536:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 64536:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:64536:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 64534:500 set prepend-neighbor 1 +match to 192.0.2.12 ext-community rt 64534:500 set prepend-neighbor 1 +match to 192.0.2.12 large-community 999:64534:500 set prepend-neighbor 1 + + +match to 192.0.2.12 community 64534:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 64534:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:64534:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 64535:500 set prepend-neighbor 2 +match to 192.0.2.12 ext-community rt 64535:500 set prepend-neighbor 2 +match to 192.0.2.12 large-community 999:64535:500 set prepend-neighbor 2 + + +match to 192.0.2.12 community 64535:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 64535:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:64535:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 64536:500 set prepend-neighbor 3 +match to 192.0.2.12 ext-community rt 64536:500 set prepend-neighbor 3 +match to 192.0.2.12 large-community 999:64536:500 set prepend-neighbor 3 + + +match to 192.0.2.12 community 64536:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 64536:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:64536:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 65521:65521 set prepend-neighbor 1 +match to 192.0.2.12 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 192.0.2.12 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 192.0.2.12 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 65522:65522 set prepend-neighbor 2 +match to 192.0.2.12 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 192.0.2.12 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 192.0.2.12 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 65523:65523 set prepend-neighbor 3 +match to 192.0.2.12 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 192.0.2.12 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 192.0.2.12 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS1_4, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::12 set community NO_ADVERTISE +match from 2001:db8:1:1::12 nexthop 2001:db8:1:1::11 set community delete NO_ADVERTISE +match from 2001:db8:1:1::12 nexthop 2001:db8:1:1::12 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::12 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::12 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::12 peer-as != 1' - reject code: 6 +allow quick from 2001:db8:1:1::12 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::12 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::12 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::12 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::12 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::12 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::12 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 2001:db8:1:1::12 AS { 3, 174 }' - reject code: 8 +allow quick from 2001:db8:1:1::12 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 2001:db8:1:1::12 AS { 666, 777 }' - reject code: 15 +allow quick from 2001:db8:1:1::12 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + + +match from 2001:db8:1:1::12 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS1_4, AS1: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::12 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::12 source-as as-set AS_SET_AS_AS1_AS_AS1_CUSTOMERS_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS1_AS_AS1_CUSTOMERS +# AS-SET AS1 referenced but empty. + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS1_4, AS1: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::12 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::12 prefix-set AS_SET_AS_AS1_AS_AS1_CUSTOMERS_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS1_AS_AS1_CUSTOMERS +# AS-SET AS1 referenced but empty. + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::12 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::12 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_REGISTROBRDB community have the prefix validated by a NICBR Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::12 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_REGISTROBRDB set ext-community delete $INTCOMM_IRR_REJECT + + +# enforcing: origin ASN +# Reject inbound routes when 'from 2001:db8:1:1::12 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 2001:db8:1:1::12 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 2001:db8:1:1::12 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 2001:db8:1:1::12 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + +# Blackhole request? +match from 2001:db8:1:1::12 set ext-community delete rt 65520:1 + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::12 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::12 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::12 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 2001:db8:1:1::12 community BLACKHOLE +allow quick from 2001:db8:1:1::12 community 65534:0 +allow quick from 2001:db8:1:1::12 large-community 65534:0:0 + + +match from 2001:db8:1:1::12 set ext-community rt 65520:1 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 2001:db8:1:1::12 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 2001:db8:1:1::12 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::12 prefix ::/0 prefixlen 17 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::12 prefix ::/0 prefixlen 17 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 2001:db8:1:1::12 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::12 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::12 set ext-community delete rt 65520:1 + + + +allow quick from 2001:db8:1:1::12 + + + +# --------------------------------------------- +# client AS1_4, outbound + +deny quick to 2001:db8:1:1::12 community 65520:0 + + + +# Blackhole request? +# Client not enabled to receive blackhole routes +deny quick to 2001:db8:1:1::12 community BLACKHOLE +deny quick to 2001:db8:1:1::12 community 65534:0 +deny quick to 2001:db8:1:1::12 large-community 65534:0:0 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 2001:db8:1:1::12 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 2001:db8:1:1::12 community 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::12 ext-community rt 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::12 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 2001:db8:1:1::12 community 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::12 ext-community rt 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::12 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 2001:db8:1:1::12 community 65509:1 set community NO_EXPORT +match to 2001:db8:1:1::12 ext-community rt 65509:1 set community NO_EXPORT +match to 2001:db8:1:1::12 large-community 999:65509:1 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 2001:db8:1:1::12 community 65510:1 set community NO_ADVERTISE +match to 2001:db8:1:1::12 ext-community rt 65510:1 set community NO_ADVERTISE +match to 2001:db8:1:1::12 large-community 999:65510:1 set community NO_ADVERTISE + + +# BGP control communities +allow to 2001:db8:1:1::12 + +# do_not_announce_to_any +deny to 2001:db8:1:1::12 community 0:999 +deny to 2001:db8:1:1::12 ext-community rt 0:999 +deny to 2001:db8:1:1::12 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::12 community 0:1 +deny quick to 2001:db8:1:1::12 ext-community rt 0:1 +deny quick to 2001:db8:1:1::12 large-community 999:0:1 + +# announce_to_peer +allow to 2001:db8:1:1::12 community 65501:1 +allow to 2001:db8:1:1::12 ext-community rt 65501:1 +allow to 2001:db8:1:1::12 large-community 999:65501:1 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 65521:1 set prepend-neighbor 1 +match to 2001:db8:1:1::12 ext-community rt 65521:1 set prepend-neighbor 1 +match to 2001:db8:1:1::12 large-community 999:65521:1 set prepend-neighbor 1 + +match to 2001:db8:1:1::12 community 65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 65522:1 set prepend-neighbor 2 +match to 2001:db8:1:1::12 ext-community rt 65522:1 set prepend-neighbor 2 +match to 2001:db8:1:1::12 large-community 999:65522:1 set prepend-neighbor 2 + +match to 2001:db8:1:1::12 community 65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 65523:1 set prepend-neighbor 3 +match to 2001:db8:1:1::12 ext-community rt 65523:1 set prepend-neighbor 3 +match to 2001:db8:1:1::12 large-community 999:65523:1 set prepend-neighbor 3 + +match to 2001:db8:1:1::12 community 65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::12 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::12 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 2001:db8:1:1::12 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::12 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::12 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 2001:db8:1:1::12 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::12 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::12 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 2001:db8:1:1::12 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS222_1, inbound + + + +# NEXT_HOP +match from 192.0.2.222 set community NO_ADVERTISE +match from 192.0.2.222 nexthop 192.0.2.222 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.222 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.222 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.222 peer-as != 222' - reject code: 6 +allow quick from 192.0.2.222 peer-as != 222 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.222 AS 23456' - reject code: 7 +allow quick from 192.0.2.222 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.222 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.222 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.222 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.222 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 192.0.2.222 AS { 3, 174 }' - reject code: 8 +allow quick from 192.0.2.222 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 192.0.2.222 AS { 666, 777 }' - reject code: 15 +allow quick from 192.0.2.222 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + +# client's white list +# Add the $INTCOMM_ROUTE_OK_WL ext community to routes which +# are validated by a client's white list entry. +# It will be used later during IRRDB validation in +# case the route is not authorized by a client's +# AS-SET. +match from 192.0.2.222 prefix 222.1.1.0/24 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.222 prefix 3222:0:1::/48 set ext-community $INTCOMM_ROUTE_OK_WL # None + +match from 192.0.2.222 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS222_1, AS222: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.222 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS222 referenced but empty. +match from 192.0.2.222 source-as as-set AS_SET_AS_AS222_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS222 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS222_1, AS222: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.222 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS222 referenced but empty. +match from 192.0.2.222 prefix-set AS_SET_AS_AS222_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS222 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.222 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.222 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_REGISTROBRDB community have the prefix validated by a NICBR Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.222 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_REGISTROBRDB set ext-community delete $INTCOMM_IRR_REJECT + +# route authorized by a client's white list? +match from 192.0.2.222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set ext-community delete $INTCOMM_IRR_REJECT + +# enforcing: origin ASN +# Reject inbound routes when 'from 192.0.2.222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 192.0.2.222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 192.0.2.222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 192.0.2.222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + +# Blackhole request? +match from 192.0.2.222 set ext-community delete rt 65520:222 + + +# Remove internal communities before accepting the route +match from 192.0.2.222 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.222 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.222 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 192.0.2.222 community BLACKHOLE +allow quick from 192.0.2.222 community 65534:0 +allow quick from 192.0.2.222 large-community 65534:0:0 + + +match from 192.0.2.222 set ext-community rt 65520:222 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 192.0.2.222 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 192.0.2.222 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.222 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.222 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 192.0.2.222 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 192.0.2.222 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.222 set ext-community delete rt 65520:222 + + + +allow quick from 192.0.2.222 + + + +# --------------------------------------------- +# client AS222_1, outbound + +deny quick to 192.0.2.222 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 192.0.2.222 community 65534:0 set community BLACKHOLE +match to 192.0.2.222 large-community 65534:0:0 set community BLACKHOLE + +match to 192.0.2.222 community BLACKHOLE set community NO_EXPORT +match to 192.0.2.222 community BLACKHOLE set nexthop 192.0.2.66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 192.0.2.222 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 192.0.2.222 community 65507:999 set community NO_EXPORT +match to 192.0.2.222 ext-community rt 65507:999 set community NO_EXPORT +match to 192.0.2.222 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 192.0.2.222 community 65508:999 set community NO_ADVERTISE +match to 192.0.2.222 ext-community rt 65508:999 set community NO_ADVERTISE +match to 192.0.2.222 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 192.0.2.222 community 65509:222 set community NO_EXPORT +match to 192.0.2.222 ext-community rt 65509:222 set community NO_EXPORT +match to 192.0.2.222 large-community 999:65509:222 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 192.0.2.222 community 65510:222 set community NO_ADVERTISE +match to 192.0.2.222 ext-community rt 65510:222 set community NO_ADVERTISE +match to 192.0.2.222 large-community 999:65510:222 set community NO_ADVERTISE + + +# BGP control communities +allow to 192.0.2.222 + +# do_not_announce_to_any +deny to 192.0.2.222 community 0:999 +deny to 192.0.2.222 ext-community rt 0:999 +deny to 192.0.2.222 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 192.0.2.222 community 0:222 +deny quick to 192.0.2.222 ext-community rt 0:222 +deny quick to 192.0.2.222 large-community 999:0:222 + +# announce_to_peer +allow to 192.0.2.222 community 65501:222 +allow to 192.0.2.222 ext-community rt 65501:222 +allow to 192.0.2.222 large-community 999:65501:222 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.222 community 65521:222 set prepend-neighbor 1 +match to 192.0.2.222 ext-community rt 65521:222 set prepend-neighbor 1 +match to 192.0.2.222 large-community 999:65521:222 set prepend-neighbor 1 + +match to 192.0.2.222 community 65521:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 ext-community rt 65521:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 large-community 999:65521:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.222 community 65522:222 set prepend-neighbor 2 +match to 192.0.2.222 ext-community rt 65522:222 set prepend-neighbor 2 +match to 192.0.2.222 large-community 999:65522:222 set prepend-neighbor 2 + +match to 192.0.2.222 community 65522:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 ext-community rt 65522:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 large-community 999:65522:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.222 community 65523:222 set prepend-neighbor 3 +match to 192.0.2.222 ext-community rt 65523:222 set prepend-neighbor 3 +match to 192.0.2.222 large-community 999:65523:222 set prepend-neighbor 3 + +match to 192.0.2.222 community 65523:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 ext-community rt 65523:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 large-community 999:65523:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.222 community 65521:65521 set prepend-neighbor 1 +match to 192.0.2.222 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 192.0.2.222 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 192.0.2.222 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.222 community 65522:65522 set prepend-neighbor 2 +match to 192.0.2.222 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 192.0.2.222 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 192.0.2.222 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.222 community 65523:65523 set prepend-neighbor 3 +match to 192.0.2.222 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 192.0.2.222 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 192.0.2.222 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS222_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::222 set community NO_ADVERTISE +match from 2001:db8:1:1::222 nexthop 2001:db8:1:1::222 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::222 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::222 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::222 peer-as != 222' - reject code: 6 +allow quick from 2001:db8:1:1::222 peer-as != 222 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::222 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::222 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::222 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::222 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::222 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::222 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 2001:db8:1:1::222 AS { 3, 174 }' - reject code: 8 +allow quick from 2001:db8:1:1::222 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 2001:db8:1:1::222 AS { 666, 777 }' - reject code: 15 +allow quick from 2001:db8:1:1::222 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + +# client's white list +# Add the $INTCOMM_ROUTE_OK_WL ext community to routes which +# are validated by a client's white list entry. +# It will be used later during IRRDB validation in +# case the route is not authorized by a client's +# AS-SET. +match from 2001:db8:1:1::222 prefix 222.1.1.0/24 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::222 prefix 3222:0:1::/48 set ext-community $INTCOMM_ROUTE_OK_WL # None + +match from 2001:db8:1:1::222 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS222_2, AS222: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::222 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS222 referenced but empty. +match from 2001:db8:1:1::222 source-as as-set AS_SET_AS_AS222_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS222 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS222_2, AS222: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::222 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS222 referenced but empty. +match from 2001:db8:1:1::222 prefix-set AS_SET_AS_AS222_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS222 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::222 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::222 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_REGISTROBRDB community have the prefix validated by a NICBR Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::222 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_REGISTROBRDB set ext-community delete $INTCOMM_IRR_REJECT + +# route authorized by a client's white list? +match from 2001:db8:1:1::222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set ext-community delete $INTCOMM_IRR_REJECT + +# enforcing: origin ASN +# Reject inbound routes when 'from 2001:db8:1:1::222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 2001:db8:1:1::222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 2001:db8:1:1::222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 2001:db8:1:1::222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + +# Blackhole request? +match from 2001:db8:1:1::222 set ext-community delete rt 65520:222 + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::222 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::222 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::222 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 2001:db8:1:1::222 community BLACKHOLE +allow quick from 2001:db8:1:1::222 community 65534:0 +allow quick from 2001:db8:1:1::222 large-community 65534:0:0 + + +match from 2001:db8:1:1::222 set ext-community rt 65520:222 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 2001:db8:1:1::222 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 2001:db8:1:1::222 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::222 prefix ::/0 prefixlen 17 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::222 prefix ::/0 prefixlen 17 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 2001:db8:1:1::222 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::222 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::222 set ext-community delete rt 65520:222 + + + +allow quick from 2001:db8:1:1::222 + + + +# --------------------------------------------- +# client AS222_2, outbound + +deny quick to 2001:db8:1:1::222 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 2001:db8:1:1::222 community 65534:0 set community BLACKHOLE +match to 2001:db8:1:1::222 large-community 65534:0:0 set community BLACKHOLE + +match to 2001:db8:1:1::222 community BLACKHOLE set community NO_EXPORT +match to 2001:db8:1:1::222 community BLACKHOLE set nexthop 2001:db8:1:1::66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 2001:db8:1:1::222 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 2001:db8:1:1::222 community 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::222 ext-community rt 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::222 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 2001:db8:1:1::222 community 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::222 ext-community rt 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::222 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 2001:db8:1:1::222 community 65509:222 set community NO_EXPORT +match to 2001:db8:1:1::222 ext-community rt 65509:222 set community NO_EXPORT +match to 2001:db8:1:1::222 large-community 999:65509:222 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 2001:db8:1:1::222 community 65510:222 set community NO_ADVERTISE +match to 2001:db8:1:1::222 ext-community rt 65510:222 set community NO_ADVERTISE +match to 2001:db8:1:1::222 large-community 999:65510:222 set community NO_ADVERTISE + + +# BGP control communities +allow to 2001:db8:1:1::222 + +# do_not_announce_to_any +deny to 2001:db8:1:1::222 community 0:999 +deny to 2001:db8:1:1::222 ext-community rt 0:999 +deny to 2001:db8:1:1::222 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::222 community 0:222 +deny quick to 2001:db8:1:1::222 ext-community rt 0:222 +deny quick to 2001:db8:1:1::222 large-community 999:0:222 + +# announce_to_peer +allow to 2001:db8:1:1::222 community 65501:222 +allow to 2001:db8:1:1::222 ext-community rt 65501:222 +allow to 2001:db8:1:1::222 large-community 999:65501:222 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::222 community 65521:222 set prepend-neighbor 1 +match to 2001:db8:1:1::222 ext-community rt 65521:222 set prepend-neighbor 1 +match to 2001:db8:1:1::222 large-community 999:65521:222 set prepend-neighbor 1 + +match to 2001:db8:1:1::222 community 65521:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 ext-community rt 65521:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 large-community 999:65521:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::222 community 65522:222 set prepend-neighbor 2 +match to 2001:db8:1:1::222 ext-community rt 65522:222 set prepend-neighbor 2 +match to 2001:db8:1:1::222 large-community 999:65522:222 set prepend-neighbor 2 + +match to 2001:db8:1:1::222 community 65522:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 ext-community rt 65522:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 large-community 999:65522:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::222 community 65523:222 set prepend-neighbor 3 +match to 2001:db8:1:1::222 ext-community rt 65523:222 set prepend-neighbor 3 +match to 2001:db8:1:1::222 large-community 999:65523:222 set prepend-neighbor 3 + +match to 2001:db8:1:1::222 community 65523:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 ext-community rt 65523:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 large-community 999:65523:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::222 community 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::222 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::222 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 2001:db8:1:1::222 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::222 community 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::222 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::222 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 2001:db8:1:1::222 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::222 community 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::222 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::222 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 2001:db8:1:1::222 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS2_1, inbound + + + +# NEXT_HOP +match from 192.0.2.21 set community NO_ADVERTISE +match from 192.0.2.21 nexthop 192.0.2.21 set community delete NO_ADVERTISE +match from 192.0.2.21 nexthop 192.0.2.22 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.21 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.21 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.21 peer-as != 2' - reject code: 6 +allow quick from 192.0.2.21 peer-as != 2 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.21 AS 23456' - reject code: 7 +allow quick from 192.0.2.21 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.21 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.21 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.21 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.21 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 192.0.2.21 AS { 3, 174 }' - reject code: 8 +allow quick from 192.0.2.21 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 192.0.2.21 AS { 666, 777 }' - reject code: 15 +allow quick from 192.0.2.21 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + + +match from 192.0.2.21 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS2_1, AS2: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.21 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS2 referenced but empty. +match from 192.0.2.21 source-as as-set AS_SET_AS_AS2_AS_AS2_CUSTOMERS_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS2_AS_AS2_CUSTOMERS + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS2_1, AS2: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.21 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS2 referenced but empty. +match from 192.0.2.21 prefix-set AS_SET_AS_AS2_AS_AS2_CUSTOMERS_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS2_AS_AS2_CUSTOMERS + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_REGISTROBRDB community have the prefix validated by a NICBR Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_REGISTROBRDB set ext-community delete $INTCOMM_IRR_REJECT + + +# enforcing: origin ASN +# Reject inbound routes when 'from 192.0.2.21 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 192.0.2.21 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 192.0.2.21 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 192.0.2.21 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + +# Blackhole request? +match from 192.0.2.21 set ext-community delete rt 65520:2 + + +# Remove internal communities before accepting the route +match from 192.0.2.21 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.21 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.21 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 192.0.2.21 community BLACKHOLE +allow quick from 192.0.2.21 community 65534:0 +allow quick from 192.0.2.21 large-community 65534:0:0 + + +match from 192.0.2.21 set ext-community rt 65520:2 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 192.0.2.21 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 192.0.2.21 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.21 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.21 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 192.0.2.21 community GRACEFUL_SHUTDOWN set community delete GRACEFUL_SHUTDOWN + +# Remove internal communities before accepting the route +match from 192.0.2.21 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.21 set ext-community delete rt 65520:2 + + + +allow quick from 192.0.2.21 + + + +# --------------------------------------------- +# client AS2_1, outbound + +deny quick to 192.0.2.21 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 192.0.2.21 community 65534:0 set community BLACKHOLE +match to 192.0.2.21 large-community 65534:0:0 set community BLACKHOLE + +match to 192.0.2.21 community BLACKHOLE set community NO_EXPORT +match to 192.0.2.21 community BLACKHOLE set nexthop 192.0.2.66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 192.0.2.21 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 192.0.2.21 community 65507:999 set community NO_EXPORT +match to 192.0.2.21 ext-community rt 65507:999 set community NO_EXPORT +match to 192.0.2.21 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 192.0.2.21 community 65508:999 set community NO_ADVERTISE +match to 192.0.2.21 ext-community rt 65508:999 set community NO_ADVERTISE +match to 192.0.2.21 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 192.0.2.21 community 65509:2 set community NO_EXPORT +match to 192.0.2.21 ext-community rt 65509:2 set community NO_EXPORT +match to 192.0.2.21 large-community 999:65509:2 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 192.0.2.21 community 65510:2 set community NO_ADVERTISE +match to 192.0.2.21 ext-community rt 65510:2 set community NO_ADVERTISE +match to 192.0.2.21 large-community 999:65510:2 set community NO_ADVERTISE + + +# BGP control communities +allow to 192.0.2.21 + +# do_not_announce_to_any +deny to 192.0.2.21 community 0:999 +deny to 192.0.2.21 ext-community rt 0:999 +deny to 192.0.2.21 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 192.0.2.21 community 0:2 +deny quick to 192.0.2.21 ext-community rt 0:2 +deny quick to 192.0.2.21 large-community 999:0:2 + +# do_not_announce_to_peers_with_rtt_lower_than 20 ms +deny to 192.0.2.21 community 64530:20 +deny to 192.0.2.21 ext-community rt 64530:20 +deny to 192.0.2.21 large-community 999:64530:20 + + +# do_not_announce_to_peers_with_rtt_lower_than 30 ms +deny to 192.0.2.21 community 64530:30 +deny to 192.0.2.21 ext-community rt 64530:30 +deny to 192.0.2.21 large-community 999:64530:30 + + +# do_not_announce_to_peers_with_rtt_lower_than 50 ms +deny to 192.0.2.21 community 64530:50 +deny to 192.0.2.21 ext-community rt 64530:50 +deny to 192.0.2.21 large-community 999:64530:50 + + +# do_not_announce_to_peers_with_rtt_lower_than 100 ms +deny to 192.0.2.21 community 64530:100 +deny to 192.0.2.21 ext-community rt 64530:100 +deny to 192.0.2.21 large-community 999:64530:100 + + +# do_not_announce_to_peers_with_rtt_lower_than 200 ms +deny to 192.0.2.21 community 64530:200 +deny to 192.0.2.21 ext-community rt 64530:200 +deny to 192.0.2.21 large-community 999:64530:200 + + +# do_not_announce_to_peers_with_rtt_lower_than 500 ms +deny to 192.0.2.21 community 64530:500 +deny to 192.0.2.21 ext-community rt 64530:500 +deny to 192.0.2.21 large-community 999:64530:500 + + +# announce_to_peers_with_rtt_lower_than 20 ms +allow to 192.0.2.21 community 64532:20 +allow to 192.0.2.21 ext-community rt 64532:20 +allow to 192.0.2.21 large-community 999:64532:20 + + +# announce_to_peers_with_rtt_lower_than 30 ms +allow to 192.0.2.21 community 64532:30 +allow to 192.0.2.21 ext-community rt 64532:30 +allow to 192.0.2.21 large-community 999:64532:30 + + +# announce_to_peers_with_rtt_lower_than 50 ms +allow to 192.0.2.21 community 64532:50 +allow to 192.0.2.21 ext-community rt 64532:50 +allow to 192.0.2.21 large-community 999:64532:50 + + +# announce_to_peers_with_rtt_lower_than 100 ms +allow to 192.0.2.21 community 64532:100 +allow to 192.0.2.21 ext-community rt 64532:100 +allow to 192.0.2.21 large-community 999:64532:100 + + +# announce_to_peers_with_rtt_lower_than 200 ms +allow to 192.0.2.21 community 64532:200 +allow to 192.0.2.21 ext-community rt 64532:200 +allow to 192.0.2.21 large-community 999:64532:200 + + +# announce_to_peers_with_rtt_lower_than 500 ms +allow to 192.0.2.21 community 64532:500 +allow to 192.0.2.21 ext-community rt 64532:500 +allow to 192.0.2.21 large-community 999:64532:500 + + +# do_not_announce_to_peers_with_rtt_higher_than 5 ms +deny to 192.0.2.21 community 64531:5 +deny to 192.0.2.21 ext-community rt 64531:5 +deny to 192.0.2.21 large-community 999:64531:5 + + +# do_not_announce_to_peers_with_rtt_higher_than 10 ms +deny to 192.0.2.21 community 64531:10 +deny to 192.0.2.21 ext-community rt 64531:10 +deny to 192.0.2.21 large-community 999:64531:10 + + +# do_not_announce_to_peers_with_rtt_higher_than 15 ms +deny to 192.0.2.21 community 64531:15 +deny to 192.0.2.21 ext-community rt 64531:15 +deny to 192.0.2.21 large-community 999:64531:15 + + +# announce_to_peers_with_rtt_higher_than 5 ms +allow to 192.0.2.21 community 64533:5 +allow to 192.0.2.21 ext-community rt 64533:5 +allow to 192.0.2.21 large-community 999:64533:5 + + +# announce_to_peers_with_rtt_higher_than 10 ms +allow to 192.0.2.21 community 64533:10 +allow to 192.0.2.21 ext-community rt 64533:10 +allow to 192.0.2.21 large-community 999:64533:10 + + +# announce_to_peers_with_rtt_higher_than 15 ms +allow to 192.0.2.21 community 64533:15 +allow to 192.0.2.21 ext-community rt 64533:15 +allow to 192.0.2.21 large-community 999:64533:15 + + +# announce_to_peer +allow to 192.0.2.21 community 65501:2 +allow to 192.0.2.21 ext-community rt 65501:2 +allow to 192.0.2.21 large-community 999:65501:2 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 65521:2 set prepend-neighbor 1 +match to 192.0.2.21 ext-community rt 65521:2 set prepend-neighbor 1 +match to 192.0.2.21 large-community 999:65521:2 set prepend-neighbor 1 + +match to 192.0.2.21 community 65521:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 65521:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:65521:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 65522:2 set prepend-neighbor 2 +match to 192.0.2.21 ext-community rt 65522:2 set prepend-neighbor 2 +match to 192.0.2.21 large-community 999:65522:2 set prepend-neighbor 2 + +match to 192.0.2.21 community 65522:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 65522:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:65522:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 65523:2 set prepend-neighbor 3 +match to 192.0.2.21 ext-community rt 65523:2 set prepend-neighbor 3 +match to 192.0.2.21 large-community 999:65523:2 set prepend-neighbor 3 + +match to 192.0.2.21 community 65523:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 65523:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:65523:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + +# prepend_once_to_peers_with_rtt_higher_than 15 ms; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 64537:15 set prepend-neighbor 1 +match to 192.0.2.21 ext-community rt 64537:15 set prepend-neighbor 1 +match to 192.0.2.21 large-community 999:64537:15 set prepend-neighbor 1 + + +match to 192.0.2.21 community 64537:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 64537:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:64537:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 15 ms; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 64538:15 set prepend-neighbor 2 +match to 192.0.2.21 ext-community rt 64538:15 set prepend-neighbor 2 +match to 192.0.2.21 large-community 999:64538:15 set prepend-neighbor 2 + + +match to 192.0.2.21 community 64538:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 64538:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:64538:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 15 ms; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 64539:15 set prepend-neighbor 3 +match to 192.0.2.21 ext-community rt 64539:15 set prepend-neighbor 3 +match to 192.0.2.21 large-community 999:64539:15 set prepend-neighbor 3 + + +match to 192.0.2.21 community 64539:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 64539:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:64539:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_higher_than 10 ms; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 64537:10 set prepend-neighbor 1 +match to 192.0.2.21 ext-community rt 64537:10 set prepend-neighbor 1 +match to 192.0.2.21 large-community 999:64537:10 set prepend-neighbor 1 + + +match to 192.0.2.21 community 64537:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 64537:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:64537:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 10 ms; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 64538:10 set prepend-neighbor 2 +match to 192.0.2.21 ext-community rt 64538:10 set prepend-neighbor 2 +match to 192.0.2.21 large-community 999:64538:10 set prepend-neighbor 2 + + +match to 192.0.2.21 community 64538:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 64538:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:64538:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 10 ms; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 64539:10 set prepend-neighbor 3 +match to 192.0.2.21 ext-community rt 64539:10 set prepend-neighbor 3 +match to 192.0.2.21 large-community 999:64539:10 set prepend-neighbor 3 + + +match to 192.0.2.21 community 64539:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 64539:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:64539:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_higher_than 5 ms; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 64537:5 set prepend-neighbor 1 +match to 192.0.2.21 ext-community rt 64537:5 set prepend-neighbor 1 +match to 192.0.2.21 large-community 999:64537:5 set prepend-neighbor 1 + + +match to 192.0.2.21 community 64537:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 64537:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:64537:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 5 ms; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 64538:5 set prepend-neighbor 2 +match to 192.0.2.21 ext-community rt 64538:5 set prepend-neighbor 2 +match to 192.0.2.21 large-community 999:64538:5 set prepend-neighbor 2 + + +match to 192.0.2.21 community 64538:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 64538:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:64538:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 5 ms; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 64539:5 set prepend-neighbor 3 +match to 192.0.2.21 ext-community rt 64539:5 set prepend-neighbor 3 +match to 192.0.2.21 large-community 999:64539:5 set prepend-neighbor 3 + + +match to 192.0.2.21 community 64539:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 64539:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:64539:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 20 ms; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 64534:20 set prepend-neighbor 1 +match to 192.0.2.21 ext-community rt 64534:20 set prepend-neighbor 1 +match to 192.0.2.21 large-community 999:64534:20 set prepend-neighbor 1 + + +match to 192.0.2.21 community 64534:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 64534:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:64534:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 20 ms; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 64535:20 set prepend-neighbor 2 +match to 192.0.2.21 ext-community rt 64535:20 set prepend-neighbor 2 +match to 192.0.2.21 large-community 999:64535:20 set prepend-neighbor 2 + + +match to 192.0.2.21 community 64535:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 64535:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:64535:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 20 ms; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 64536:20 set prepend-neighbor 3 +match to 192.0.2.21 ext-community rt 64536:20 set prepend-neighbor 3 +match to 192.0.2.21 large-community 999:64536:20 set prepend-neighbor 3 + + +match to 192.0.2.21 community 64536:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 64536:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:64536:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 30 ms; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 64534:30 set prepend-neighbor 1 +match to 192.0.2.21 ext-community rt 64534:30 set prepend-neighbor 1 +match to 192.0.2.21 large-community 999:64534:30 set prepend-neighbor 1 + + +match to 192.0.2.21 community 64534:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 64534:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:64534:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 30 ms; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 64535:30 set prepend-neighbor 2 +match to 192.0.2.21 ext-community rt 64535:30 set prepend-neighbor 2 +match to 192.0.2.21 large-community 999:64535:30 set prepend-neighbor 2 + + +match to 192.0.2.21 community 64535:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 64535:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:64535:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 30 ms; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 64536:30 set prepend-neighbor 3 +match to 192.0.2.21 ext-community rt 64536:30 set prepend-neighbor 3 +match to 192.0.2.21 large-community 999:64536:30 set prepend-neighbor 3 + + +match to 192.0.2.21 community 64536:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 64536:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:64536:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 50 ms; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 64534:50 set prepend-neighbor 1 +match to 192.0.2.21 ext-community rt 64534:50 set prepend-neighbor 1 +match to 192.0.2.21 large-community 999:64534:50 set prepend-neighbor 1 + + +match to 192.0.2.21 community 64534:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 64534:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:64534:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 50 ms; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 64535:50 set prepend-neighbor 2 +match to 192.0.2.21 ext-community rt 64535:50 set prepend-neighbor 2 +match to 192.0.2.21 large-community 999:64535:50 set prepend-neighbor 2 + + +match to 192.0.2.21 community 64535:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 64535:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:64535:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 50 ms; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 64536:50 set prepend-neighbor 3 +match to 192.0.2.21 ext-community rt 64536:50 set prepend-neighbor 3 +match to 192.0.2.21 large-community 999:64536:50 set prepend-neighbor 3 + + +match to 192.0.2.21 community 64536:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 64536:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:64536:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 100 ms; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 64534:100 set prepend-neighbor 1 +match to 192.0.2.21 ext-community rt 64534:100 set prepend-neighbor 1 +match to 192.0.2.21 large-community 999:64534:100 set prepend-neighbor 1 + + +match to 192.0.2.21 community 64534:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 64534:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:64534:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 100 ms; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 64535:100 set prepend-neighbor 2 +match to 192.0.2.21 ext-community rt 64535:100 set prepend-neighbor 2 +match to 192.0.2.21 large-community 999:64535:100 set prepend-neighbor 2 + + +match to 192.0.2.21 community 64535:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 64535:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:64535:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 100 ms; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 64536:100 set prepend-neighbor 3 +match to 192.0.2.21 ext-community rt 64536:100 set prepend-neighbor 3 +match to 192.0.2.21 large-community 999:64536:100 set prepend-neighbor 3 + + +match to 192.0.2.21 community 64536:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 64536:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:64536:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 200 ms; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 64534:200 set prepend-neighbor 1 +match to 192.0.2.21 ext-community rt 64534:200 set prepend-neighbor 1 +match to 192.0.2.21 large-community 999:64534:200 set prepend-neighbor 1 + + +match to 192.0.2.21 community 64534:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 64534:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:64534:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 200 ms; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 64535:200 set prepend-neighbor 2 +match to 192.0.2.21 ext-community rt 64535:200 set prepend-neighbor 2 +match to 192.0.2.21 large-community 999:64535:200 set prepend-neighbor 2 + + +match to 192.0.2.21 community 64535:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 64535:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:64535:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 200 ms; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 64536:200 set prepend-neighbor 3 +match to 192.0.2.21 ext-community rt 64536:200 set prepend-neighbor 3 +match to 192.0.2.21 large-community 999:64536:200 set prepend-neighbor 3 + + +match to 192.0.2.21 community 64536:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 64536:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:64536:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 64534:500 set prepend-neighbor 1 +match to 192.0.2.21 ext-community rt 64534:500 set prepend-neighbor 1 +match to 192.0.2.21 large-community 999:64534:500 set prepend-neighbor 1 + + +match to 192.0.2.21 community 64534:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 64534:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:64534:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 64535:500 set prepend-neighbor 2 +match to 192.0.2.21 ext-community rt 64535:500 set prepend-neighbor 2 +match to 192.0.2.21 large-community 999:64535:500 set prepend-neighbor 2 + + +match to 192.0.2.21 community 64535:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 64535:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:64535:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 64536:500 set prepend-neighbor 3 +match to 192.0.2.21 ext-community rt 64536:500 set prepend-neighbor 3 +match to 192.0.2.21 large-community 999:64536:500 set prepend-neighbor 3 + + +match to 192.0.2.21 community 64536:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 64536:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:64536:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 65521:65521 set prepend-neighbor 1 +match to 192.0.2.21 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 192.0.2.21 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 192.0.2.21 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 65522:65522 set prepend-neighbor 2 +match to 192.0.2.21 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 192.0.2.21 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 192.0.2.21 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 65523:65523 set prepend-neighbor 3 +match to 192.0.2.21 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 192.0.2.21 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 192.0.2.21 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS2_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::21 set community NO_ADVERTISE +match from 2001:db8:1:1::21 nexthop 2001:db8:1:1::21 set community delete NO_ADVERTISE +match from 2001:db8:1:1::21 nexthop 2001:db8:1:1::22 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::21 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::21 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::21 peer-as != 2' - reject code: 6 +allow quick from 2001:db8:1:1::21 peer-as != 2 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 2001:db8:1:1::21 AS { 3, 174 }' - reject code: 8 +allow quick from 2001:db8:1:1::21 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 2001:db8:1:1::21 AS { 666, 777 }' - reject code: 15 +allow quick from 2001:db8:1:1::21 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + + +match from 2001:db8:1:1::21 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS2_2, AS2: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::21 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS2 referenced but empty. +match from 2001:db8:1:1::21 source-as as-set AS_SET_AS_AS2_AS_AS2_CUSTOMERS_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS2_AS_AS2_CUSTOMERS + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS2_2, AS2: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::21 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS2 referenced but empty. +match from 2001:db8:1:1::21 prefix-set AS_SET_AS_AS2_AS_AS2_CUSTOMERS_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS2_AS_AS2_CUSTOMERS + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_REGISTROBRDB community have the prefix validated by a NICBR Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_REGISTROBRDB set ext-community delete $INTCOMM_IRR_REJECT + + +# enforcing: origin ASN +# Reject inbound routes when 'from 2001:db8:1:1::21 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 2001:db8:1:1::21 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 2001:db8:1:1::21 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 2001:db8:1:1::21 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + +# Blackhole request? +match from 2001:db8:1:1::21 set ext-community delete rt 65520:2 + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::21 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::21 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::21 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 2001:db8:1:1::21 community BLACKHOLE +allow quick from 2001:db8:1:1::21 community 65534:0 +allow quick from 2001:db8:1:1::21 large-community 65534:0:0 + + +match from 2001:db8:1:1::21 set ext-community rt 65520:2 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 2001:db8:1:1::21 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 2001:db8:1:1::21 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::21 prefix ::/0 prefixlen 17 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::21 prefix ::/0 prefixlen 17 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 2001:db8:1:1::21 community GRACEFUL_SHUTDOWN set community delete GRACEFUL_SHUTDOWN + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::21 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::21 set ext-community delete rt 65520:2 + + + +allow quick from 2001:db8:1:1::21 + + + +# --------------------------------------------- +# client AS2_2, outbound + +deny quick to 2001:db8:1:1::21 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 2001:db8:1:1::21 community 65534:0 set community BLACKHOLE +match to 2001:db8:1:1::21 large-community 65534:0:0 set community BLACKHOLE + +match to 2001:db8:1:1::21 community BLACKHOLE set community NO_EXPORT +match to 2001:db8:1:1::21 community BLACKHOLE set nexthop 2001:db8:1:1::66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 2001:db8:1:1::21 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 2001:db8:1:1::21 community 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::21 ext-community rt 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::21 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 2001:db8:1:1::21 community 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::21 ext-community rt 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::21 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 2001:db8:1:1::21 community 65509:2 set community NO_EXPORT +match to 2001:db8:1:1::21 ext-community rt 65509:2 set community NO_EXPORT +match to 2001:db8:1:1::21 large-community 999:65509:2 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 2001:db8:1:1::21 community 65510:2 set community NO_ADVERTISE +match to 2001:db8:1:1::21 ext-community rt 65510:2 set community NO_ADVERTISE +match to 2001:db8:1:1::21 large-community 999:65510:2 set community NO_ADVERTISE + + +# BGP control communities +allow to 2001:db8:1:1::21 + +# do_not_announce_to_any +deny to 2001:db8:1:1::21 community 0:999 +deny to 2001:db8:1:1::21 ext-community rt 0:999 +deny to 2001:db8:1:1::21 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::21 community 0:2 +deny quick to 2001:db8:1:1::21 ext-community rt 0:2 +deny quick to 2001:db8:1:1::21 large-community 999:0:2 + +# announce_to_peer +allow to 2001:db8:1:1::21 community 65501:2 +allow to 2001:db8:1:1::21 ext-community rt 65501:2 +allow to 2001:db8:1:1::21 large-community 999:65501:2 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 65521:2 set prepend-neighbor 1 +match to 2001:db8:1:1::21 ext-community rt 65521:2 set prepend-neighbor 1 +match to 2001:db8:1:1::21 large-community 999:65521:2 set prepend-neighbor 1 + +match to 2001:db8:1:1::21 community 65521:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 65521:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:65521:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 65522:2 set prepend-neighbor 2 +match to 2001:db8:1:1::21 ext-community rt 65522:2 set prepend-neighbor 2 +match to 2001:db8:1:1::21 large-community 999:65522:2 set prepend-neighbor 2 + +match to 2001:db8:1:1::21 community 65522:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 65522:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:65522:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 65523:2 set prepend-neighbor 3 +match to 2001:db8:1:1::21 ext-community rt 65523:2 set prepend-neighbor 3 +match to 2001:db8:1:1::21 large-community 999:65523:2 set prepend-neighbor 3 + +match to 2001:db8:1:1::21 community 65523:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 65523:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:65523:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::21 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::21 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 2001:db8:1:1::21 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::21 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::21 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 2001:db8:1:1::21 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::21 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::21 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 2001:db8:1:1::21 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS3_1, inbound + + + +# NEXT_HOP +match from 192.0.2.31 set community NO_ADVERTISE +match from 192.0.2.31 nexthop 192.0.2.31 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.31 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.31 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.31 peer-as != 3' - reject code: 6 +allow quick from 192.0.2.31 peer-as != 3 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.31 AS 23456' - reject code: 7 +allow quick from 192.0.2.31 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.31 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.31 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.31 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.31 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 192.0.2.31 AS { 174 }' - reject code: 8 +allow quick from 192.0.2.31 AS { 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 192.0.2.31 AS { 666, 777 }' - reject code: 15 +allow quick from 192.0.2.31 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + + + + +# Prefix: client's blacklist +prefix-set "client_AS3_1_black_list_pref_ipv4" { + 3.0.1.0/24 prefixlen 24 - 32 + +} +# Reject inbound routes when 'from 192.0.2.31 prefix-set client_AS3_1_black_list_pref_ipv4' - reject code: 11 +allow quick from 192.0.2.31 prefix-set client_AS3_1_black_list_pref_ipv4 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:11} + + + + +# Blackhole request? +match from 192.0.2.31 set ext-community delete rt 65520:3 + + +# Remove internal communities before accepting the route +match from 192.0.2.31 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.31 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.31 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 192.0.2.31 community BLACKHOLE +allow quick from 192.0.2.31 community 65534:0 +allow quick from 192.0.2.31 large-community 65534:0:0 + + +match from 192.0.2.31 set ext-community rt 65520:3 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 192.0.2.31 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 192.0.2.31 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.31 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.31 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 192.0.2.31 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 192.0.2.31 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.31 set ext-community delete rt 65520:3 + + + +allow quick from 192.0.2.31 + + + +# --------------------------------------------- +# client AS3_1, outbound + +deny quick to 192.0.2.31 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 192.0.2.31 community 65534:0 set community BLACKHOLE +match to 192.0.2.31 large-community 65534:0:0 set community BLACKHOLE + +match to 192.0.2.31 community BLACKHOLE set community NO_EXPORT +match to 192.0.2.31 community BLACKHOLE set nexthop 192.0.2.66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 192.0.2.31 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 192.0.2.31 community 65507:999 set community NO_EXPORT +match to 192.0.2.31 ext-community rt 65507:999 set community NO_EXPORT +match to 192.0.2.31 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 192.0.2.31 community 65508:999 set community NO_ADVERTISE +match to 192.0.2.31 ext-community rt 65508:999 set community NO_ADVERTISE +match to 192.0.2.31 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 192.0.2.31 community 65509:3 set community NO_EXPORT +match to 192.0.2.31 ext-community rt 65509:3 set community NO_EXPORT +match to 192.0.2.31 large-community 999:65509:3 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 192.0.2.31 community 65510:3 set community NO_ADVERTISE +match to 192.0.2.31 ext-community rt 65510:3 set community NO_ADVERTISE +match to 192.0.2.31 large-community 999:65510:3 set community NO_ADVERTISE + + +# BGP control communities +allow to 192.0.2.31 + +# do_not_announce_to_any +deny to 192.0.2.31 community 0:999 +deny to 192.0.2.31 ext-community rt 0:999 +deny to 192.0.2.31 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 192.0.2.31 community 0:3 +deny quick to 192.0.2.31 ext-community rt 0:3 +deny quick to 192.0.2.31 large-community 999:0:3 + +# do_not_announce_to_peers_with_rtt_lower_than 200 ms +deny to 192.0.2.31 community 64530:200 +deny to 192.0.2.31 ext-community rt 64530:200 +deny to 192.0.2.31 large-community 999:64530:200 + + +# do_not_announce_to_peers_with_rtt_lower_than 500 ms +deny to 192.0.2.31 community 64530:500 +deny to 192.0.2.31 ext-community rt 64530:500 +deny to 192.0.2.31 large-community 999:64530:500 + + +# announce_to_peers_with_rtt_lower_than 200 ms +allow to 192.0.2.31 community 64532:200 +allow to 192.0.2.31 ext-community rt 64532:200 +allow to 192.0.2.31 large-community 999:64532:200 + + +# announce_to_peers_with_rtt_lower_than 500 ms +allow to 192.0.2.31 community 64532:500 +allow to 192.0.2.31 ext-community rt 64532:500 +allow to 192.0.2.31 large-community 999:64532:500 + + +# do_not_announce_to_peers_with_rtt_higher_than 5 ms +deny to 192.0.2.31 community 64531:5 +deny to 192.0.2.31 ext-community rt 64531:5 +deny to 192.0.2.31 large-community 999:64531:5 + + +# do_not_announce_to_peers_with_rtt_higher_than 10 ms +deny to 192.0.2.31 community 64531:10 +deny to 192.0.2.31 ext-community rt 64531:10 +deny to 192.0.2.31 large-community 999:64531:10 + + +# do_not_announce_to_peers_with_rtt_higher_than 15 ms +deny to 192.0.2.31 community 64531:15 +deny to 192.0.2.31 ext-community rt 64531:15 +deny to 192.0.2.31 large-community 999:64531:15 + + +# do_not_announce_to_peers_with_rtt_higher_than 20 ms +deny to 192.0.2.31 community 64531:20 +deny to 192.0.2.31 ext-community rt 64531:20 +deny to 192.0.2.31 large-community 999:64531:20 + + +# do_not_announce_to_peers_with_rtt_higher_than 30 ms +deny to 192.0.2.31 community 64531:30 +deny to 192.0.2.31 ext-community rt 64531:30 +deny to 192.0.2.31 large-community 999:64531:30 + + +# do_not_announce_to_peers_with_rtt_higher_than 50 ms +deny to 192.0.2.31 community 64531:50 +deny to 192.0.2.31 ext-community rt 64531:50 +deny to 192.0.2.31 large-community 999:64531:50 + + +# do_not_announce_to_peers_with_rtt_higher_than 100 ms +deny to 192.0.2.31 community 64531:100 +deny to 192.0.2.31 ext-community rt 64531:100 +deny to 192.0.2.31 large-community 999:64531:100 + + +# announce_to_peers_with_rtt_higher_than 5 ms +allow to 192.0.2.31 community 64533:5 +allow to 192.0.2.31 ext-community rt 64533:5 +allow to 192.0.2.31 large-community 999:64533:5 + + +# announce_to_peers_with_rtt_higher_than 10 ms +allow to 192.0.2.31 community 64533:10 +allow to 192.0.2.31 ext-community rt 64533:10 +allow to 192.0.2.31 large-community 999:64533:10 + + +# announce_to_peers_with_rtt_higher_than 15 ms +allow to 192.0.2.31 community 64533:15 +allow to 192.0.2.31 ext-community rt 64533:15 +allow to 192.0.2.31 large-community 999:64533:15 + + +# announce_to_peers_with_rtt_higher_than 20 ms +allow to 192.0.2.31 community 64533:20 +allow to 192.0.2.31 ext-community rt 64533:20 +allow to 192.0.2.31 large-community 999:64533:20 + + +# announce_to_peers_with_rtt_higher_than 30 ms +allow to 192.0.2.31 community 64533:30 +allow to 192.0.2.31 ext-community rt 64533:30 +allow to 192.0.2.31 large-community 999:64533:30 + + +# announce_to_peers_with_rtt_higher_than 50 ms +allow to 192.0.2.31 community 64533:50 +allow to 192.0.2.31 ext-community rt 64533:50 +allow to 192.0.2.31 large-community 999:64533:50 + + +# announce_to_peers_with_rtt_higher_than 100 ms +allow to 192.0.2.31 community 64533:100 +allow to 192.0.2.31 ext-community rt 64533:100 +allow to 192.0.2.31 large-community 999:64533:100 + + +# announce_to_peer +allow to 192.0.2.31 community 65501:3 +allow to 192.0.2.31 ext-community rt 65501:3 +allow to 192.0.2.31 large-community 999:65501:3 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 65521:3 set prepend-neighbor 1 +match to 192.0.2.31 ext-community rt 65521:3 set prepend-neighbor 1 +match to 192.0.2.31 large-community 999:65521:3 set prepend-neighbor 1 + +match to 192.0.2.31 community 65521:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 65521:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:65521:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 65522:3 set prepend-neighbor 2 +match to 192.0.2.31 ext-community rt 65522:3 set prepend-neighbor 2 +match to 192.0.2.31 large-community 999:65522:3 set prepend-neighbor 2 + +match to 192.0.2.31 community 65522:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 65522:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:65522:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 65523:3 set prepend-neighbor 3 +match to 192.0.2.31 ext-community rt 65523:3 set prepend-neighbor 3 +match to 192.0.2.31 large-community 999:65523:3 set prepend-neighbor 3 + +match to 192.0.2.31 community 65523:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 65523:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:65523:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + +# prepend_once_to_peers_with_rtt_higher_than 100 ms; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 64537:100 set prepend-neighbor 1 +match to 192.0.2.31 ext-community rt 64537:100 set prepend-neighbor 1 +match to 192.0.2.31 large-community 999:64537:100 set prepend-neighbor 1 + + +match to 192.0.2.31 community 64537:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 64537:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:64537:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 100 ms; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 64538:100 set prepend-neighbor 2 +match to 192.0.2.31 ext-community rt 64538:100 set prepend-neighbor 2 +match to 192.0.2.31 large-community 999:64538:100 set prepend-neighbor 2 + + +match to 192.0.2.31 community 64538:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 64538:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:64538:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 100 ms; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 64539:100 set prepend-neighbor 3 +match to 192.0.2.31 ext-community rt 64539:100 set prepend-neighbor 3 +match to 192.0.2.31 large-community 999:64539:100 set prepend-neighbor 3 + + +match to 192.0.2.31 community 64539:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 64539:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:64539:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_higher_than 50 ms; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 64537:50 set prepend-neighbor 1 +match to 192.0.2.31 ext-community rt 64537:50 set prepend-neighbor 1 +match to 192.0.2.31 large-community 999:64537:50 set prepend-neighbor 1 + + +match to 192.0.2.31 community 64537:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 64537:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:64537:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 50 ms; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 64538:50 set prepend-neighbor 2 +match to 192.0.2.31 ext-community rt 64538:50 set prepend-neighbor 2 +match to 192.0.2.31 large-community 999:64538:50 set prepend-neighbor 2 + + +match to 192.0.2.31 community 64538:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 64538:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:64538:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 50 ms; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 64539:50 set prepend-neighbor 3 +match to 192.0.2.31 ext-community rt 64539:50 set prepend-neighbor 3 +match to 192.0.2.31 large-community 999:64539:50 set prepend-neighbor 3 + + +match to 192.0.2.31 community 64539:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 64539:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:64539:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_higher_than 30 ms; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 64537:30 set prepend-neighbor 1 +match to 192.0.2.31 ext-community rt 64537:30 set prepend-neighbor 1 +match to 192.0.2.31 large-community 999:64537:30 set prepend-neighbor 1 + + +match to 192.0.2.31 community 64537:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 64537:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:64537:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 30 ms; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 64538:30 set prepend-neighbor 2 +match to 192.0.2.31 ext-community rt 64538:30 set prepend-neighbor 2 +match to 192.0.2.31 large-community 999:64538:30 set prepend-neighbor 2 + + +match to 192.0.2.31 community 64538:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 64538:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:64538:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 30 ms; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 64539:30 set prepend-neighbor 3 +match to 192.0.2.31 ext-community rt 64539:30 set prepend-neighbor 3 +match to 192.0.2.31 large-community 999:64539:30 set prepend-neighbor 3 + + +match to 192.0.2.31 community 64539:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 64539:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:64539:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_higher_than 20 ms; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 64537:20 set prepend-neighbor 1 +match to 192.0.2.31 ext-community rt 64537:20 set prepend-neighbor 1 +match to 192.0.2.31 large-community 999:64537:20 set prepend-neighbor 1 + + +match to 192.0.2.31 community 64537:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 64537:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:64537:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 20 ms; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 64538:20 set prepend-neighbor 2 +match to 192.0.2.31 ext-community rt 64538:20 set prepend-neighbor 2 +match to 192.0.2.31 large-community 999:64538:20 set prepend-neighbor 2 + + +match to 192.0.2.31 community 64538:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 64538:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:64538:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 20 ms; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 64539:20 set prepend-neighbor 3 +match to 192.0.2.31 ext-community rt 64539:20 set prepend-neighbor 3 +match to 192.0.2.31 large-community 999:64539:20 set prepend-neighbor 3 + + +match to 192.0.2.31 community 64539:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 64539:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:64539:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_higher_than 15 ms; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 64537:15 set prepend-neighbor 1 +match to 192.0.2.31 ext-community rt 64537:15 set prepend-neighbor 1 +match to 192.0.2.31 large-community 999:64537:15 set prepend-neighbor 1 + + +match to 192.0.2.31 community 64537:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 64537:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:64537:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 15 ms; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 64538:15 set prepend-neighbor 2 +match to 192.0.2.31 ext-community rt 64538:15 set prepend-neighbor 2 +match to 192.0.2.31 large-community 999:64538:15 set prepend-neighbor 2 + + +match to 192.0.2.31 community 64538:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 64538:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:64538:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 15 ms; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 64539:15 set prepend-neighbor 3 +match to 192.0.2.31 ext-community rt 64539:15 set prepend-neighbor 3 +match to 192.0.2.31 large-community 999:64539:15 set prepend-neighbor 3 + + +match to 192.0.2.31 community 64539:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 64539:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:64539:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_higher_than 10 ms; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 64537:10 set prepend-neighbor 1 +match to 192.0.2.31 ext-community rt 64537:10 set prepend-neighbor 1 +match to 192.0.2.31 large-community 999:64537:10 set prepend-neighbor 1 + + +match to 192.0.2.31 community 64537:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 64537:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:64537:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 10 ms; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 64538:10 set prepend-neighbor 2 +match to 192.0.2.31 ext-community rt 64538:10 set prepend-neighbor 2 +match to 192.0.2.31 large-community 999:64538:10 set prepend-neighbor 2 + + +match to 192.0.2.31 community 64538:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 64538:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:64538:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 10 ms; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 64539:10 set prepend-neighbor 3 +match to 192.0.2.31 ext-community rt 64539:10 set prepend-neighbor 3 +match to 192.0.2.31 large-community 999:64539:10 set prepend-neighbor 3 + + +match to 192.0.2.31 community 64539:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 64539:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:64539:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_higher_than 5 ms; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 64537:5 set prepend-neighbor 1 +match to 192.0.2.31 ext-community rt 64537:5 set prepend-neighbor 1 +match to 192.0.2.31 large-community 999:64537:5 set prepend-neighbor 1 + + +match to 192.0.2.31 community 64537:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 64537:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:64537:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 5 ms; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 64538:5 set prepend-neighbor 2 +match to 192.0.2.31 ext-community rt 64538:5 set prepend-neighbor 2 +match to 192.0.2.31 large-community 999:64538:5 set prepend-neighbor 2 + + +match to 192.0.2.31 community 64538:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 64538:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:64538:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 5 ms; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 64539:5 set prepend-neighbor 3 +match to 192.0.2.31 ext-community rt 64539:5 set prepend-neighbor 3 +match to 192.0.2.31 large-community 999:64539:5 set prepend-neighbor 3 + + +match to 192.0.2.31 community 64539:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 64539:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:64539:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 200 ms; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 64534:200 set prepend-neighbor 1 +match to 192.0.2.31 ext-community rt 64534:200 set prepend-neighbor 1 +match to 192.0.2.31 large-community 999:64534:200 set prepend-neighbor 1 + + +match to 192.0.2.31 community 64534:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 64534:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:64534:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 200 ms; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 64535:200 set prepend-neighbor 2 +match to 192.0.2.31 ext-community rt 64535:200 set prepend-neighbor 2 +match to 192.0.2.31 large-community 999:64535:200 set prepend-neighbor 2 + + +match to 192.0.2.31 community 64535:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 64535:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:64535:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 200 ms; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 64536:200 set prepend-neighbor 3 +match to 192.0.2.31 ext-community rt 64536:200 set prepend-neighbor 3 +match to 192.0.2.31 large-community 999:64536:200 set prepend-neighbor 3 + + +match to 192.0.2.31 community 64536:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 64536:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:64536:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 64534:500 set prepend-neighbor 1 +match to 192.0.2.31 ext-community rt 64534:500 set prepend-neighbor 1 +match to 192.0.2.31 large-community 999:64534:500 set prepend-neighbor 1 + + +match to 192.0.2.31 community 64534:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 64534:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:64534:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 64535:500 set prepend-neighbor 2 +match to 192.0.2.31 ext-community rt 64535:500 set prepend-neighbor 2 +match to 192.0.2.31 large-community 999:64535:500 set prepend-neighbor 2 + + +match to 192.0.2.31 community 64535:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 64535:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:64535:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 64536:500 set prepend-neighbor 3 +match to 192.0.2.31 ext-community rt 64536:500 set prepend-neighbor 3 +match to 192.0.2.31 large-community 999:64536:500 set prepend-neighbor 3 + + +match to 192.0.2.31 community 64536:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 64536:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:64536:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 65521:65521 set prepend-neighbor 1 +match to 192.0.2.31 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 192.0.2.31 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 192.0.2.31 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 65522:65522 set prepend-neighbor 2 +match to 192.0.2.31 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 192.0.2.31 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 192.0.2.31 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 65523:65523 set prepend-neighbor 3 +match to 192.0.2.31 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 192.0.2.31 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 192.0.2.31 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS3_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::31 set community NO_ADVERTISE +match from 2001:db8:1:1::31 nexthop 2001:db8:1:1::31 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::31 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::31 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::31 peer-as != 3' - reject code: 6 +allow quick from 2001:db8:1:1::31 peer-as != 3 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::31 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::31 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::31 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::31 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::31 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::31 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 2001:db8:1:1::31 AS { 174 }' - reject code: 8 +allow quick from 2001:db8:1:1::31 AS { 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 2001:db8:1:1::31 AS { 666, 777 }' - reject code: 15 +allow quick from 2001:db8:1:1::31 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + + + + +# Prefix: client's blacklist +prefix-set "client_AS3_2_black_list_pref_ipv6" { + 2a03:0:1::/48 prefixlen 48 - 128 + +} +# Reject inbound routes when 'from 2001:db8:1:1::31 prefix-set client_AS3_2_black_list_pref_ipv6' - reject code: 11 +allow quick from 2001:db8:1:1::31 prefix-set client_AS3_2_black_list_pref_ipv6 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:11} + + + + +# Blackhole request? +match from 2001:db8:1:1::31 set ext-community delete rt 65520:3 + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::31 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::31 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::31 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 2001:db8:1:1::31 community BLACKHOLE +allow quick from 2001:db8:1:1::31 community 65534:0 +allow quick from 2001:db8:1:1::31 large-community 65534:0:0 + + +match from 2001:db8:1:1::31 set ext-community rt 65520:3 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 2001:db8:1:1::31 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 2001:db8:1:1::31 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::31 prefix ::/0 prefixlen 17 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::31 prefix ::/0 prefixlen 17 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 2001:db8:1:1::31 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::31 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::31 set ext-community delete rt 65520:3 + + + +allow quick from 2001:db8:1:1::31 + + + +# --------------------------------------------- +# client AS3_2, outbound + +deny quick to 2001:db8:1:1::31 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 2001:db8:1:1::31 community 65534:0 set community BLACKHOLE +match to 2001:db8:1:1::31 large-community 65534:0:0 set community BLACKHOLE + +match to 2001:db8:1:1::31 community BLACKHOLE set community NO_EXPORT +match to 2001:db8:1:1::31 community BLACKHOLE set nexthop 2001:db8:1:1::66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 2001:db8:1:1::31 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 2001:db8:1:1::31 community 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::31 ext-community rt 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::31 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 2001:db8:1:1::31 community 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::31 ext-community rt 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::31 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 2001:db8:1:1::31 community 65509:3 set community NO_EXPORT +match to 2001:db8:1:1::31 ext-community rt 65509:3 set community NO_EXPORT +match to 2001:db8:1:1::31 large-community 999:65509:3 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 2001:db8:1:1::31 community 65510:3 set community NO_ADVERTISE +match to 2001:db8:1:1::31 ext-community rt 65510:3 set community NO_ADVERTISE +match to 2001:db8:1:1::31 large-community 999:65510:3 set community NO_ADVERTISE + + +# BGP control communities +allow to 2001:db8:1:1::31 + +# do_not_announce_to_any +deny to 2001:db8:1:1::31 community 0:999 +deny to 2001:db8:1:1::31 ext-community rt 0:999 +deny to 2001:db8:1:1::31 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::31 community 0:3 +deny quick to 2001:db8:1:1::31 ext-community rt 0:3 +deny quick to 2001:db8:1:1::31 large-community 999:0:3 + +# announce_to_peer +allow to 2001:db8:1:1::31 community 65501:3 +allow to 2001:db8:1:1::31 ext-community rt 65501:3 +allow to 2001:db8:1:1::31 large-community 999:65501:3 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 65521:3 set prepend-neighbor 1 +match to 2001:db8:1:1::31 ext-community rt 65521:3 set prepend-neighbor 1 +match to 2001:db8:1:1::31 large-community 999:65521:3 set prepend-neighbor 1 + +match to 2001:db8:1:1::31 community 65521:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 65521:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:65521:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 65522:3 set prepend-neighbor 2 +match to 2001:db8:1:1::31 ext-community rt 65522:3 set prepend-neighbor 2 +match to 2001:db8:1:1::31 large-community 999:65522:3 set prepend-neighbor 2 + +match to 2001:db8:1:1::31 community 65522:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 65522:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:65522:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 65523:3 set prepend-neighbor 3 +match to 2001:db8:1:1::31 ext-community rt 65523:3 set prepend-neighbor 3 +match to 2001:db8:1:1::31 large-community 999:65523:3 set prepend-neighbor 3 + +match to 2001:db8:1:1::31 community 65523:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 65523:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:65523:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::31 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::31 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 2001:db8:1:1::31 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::31 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::31 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 2001:db8:1:1::31 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::31 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::31 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 2001:db8:1:1::31 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS4_1, inbound + + + +# NEXT_HOP +match from 192.0.2.41 set community NO_ADVERTISE +match from 192.0.2.41 nexthop 192.0.2.41 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.41 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.41 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.41 peer-as != 4' - reject code: 6 +allow quick from 192.0.2.41 peer-as != 4 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.41 AS 23456' - reject code: 7 +allow quick from 192.0.2.41 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.41 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.41 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.41 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.41 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 192.0.2.41 AS { 3, 174 }' - reject code: 8 +allow quick from 192.0.2.41 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 192.0.2.41 AS { 666, 777 }' - reject code: 15 +allow quick from 192.0.2.41 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + + + + + + + +# Blackhole request? +match from 192.0.2.41 set ext-community delete rt 65520:4 + + +# Remove internal communities before accepting the route +match from 192.0.2.41 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.41 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.41 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 192.0.2.41 community BLACKHOLE +allow quick from 192.0.2.41 community 65534:0 +allow quick from 192.0.2.41 large-community 65534:0:0 + + +match from 192.0.2.41 set ext-community rt 65520:4 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 192.0.2.41 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 192.0.2.41 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.41 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.41 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 192.0.2.41 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 192.0.2.41 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.41 set ext-community delete rt 65520:4 + + + +allow quick from 192.0.2.41 + + + +# --------------------------------------------- +# client AS4_1, outbound + +deny quick to 192.0.2.41 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 192.0.2.41 community 65534:0 set community BLACKHOLE +match to 192.0.2.41 large-community 65534:0:0 set community BLACKHOLE + +match to 192.0.2.41 community BLACKHOLE set community NO_EXPORT +match to 192.0.2.41 community BLACKHOLE set nexthop 192.0.2.66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 192.0.2.41 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 192.0.2.41 community 65507:999 set community NO_EXPORT +match to 192.0.2.41 ext-community rt 65507:999 set community NO_EXPORT +match to 192.0.2.41 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 192.0.2.41 community 65508:999 set community NO_ADVERTISE +match to 192.0.2.41 ext-community rt 65508:999 set community NO_ADVERTISE +match to 192.0.2.41 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 192.0.2.41 community 65509:4 set community NO_EXPORT +match to 192.0.2.41 ext-community rt 65509:4 set community NO_EXPORT +match to 192.0.2.41 large-community 999:65509:4 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 192.0.2.41 community 65510:4 set community NO_ADVERTISE +match to 192.0.2.41 ext-community rt 65510:4 set community NO_ADVERTISE +match to 192.0.2.41 large-community 999:65510:4 set community NO_ADVERTISE + + +# BGP control communities +allow to 192.0.2.41 + +# do_not_announce_to_any +deny to 192.0.2.41 community 0:999 +deny to 192.0.2.41 ext-community rt 0:999 +deny to 192.0.2.41 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 192.0.2.41 community 0:4 +deny quick to 192.0.2.41 ext-community rt 0:4 +deny quick to 192.0.2.41 large-community 999:0:4 + +# do_not_announce_to_peers_with_rtt_higher_than 5 ms +deny to 192.0.2.41 community 64531:5 +deny to 192.0.2.41 ext-community rt 64531:5 +deny to 192.0.2.41 large-community 999:64531:5 + + +# do_not_announce_to_peers_with_rtt_higher_than 10 ms +deny to 192.0.2.41 community 64531:10 +deny to 192.0.2.41 ext-community rt 64531:10 +deny to 192.0.2.41 large-community 999:64531:10 + + +# do_not_announce_to_peers_with_rtt_higher_than 15 ms +deny to 192.0.2.41 community 64531:15 +deny to 192.0.2.41 ext-community rt 64531:15 +deny to 192.0.2.41 large-community 999:64531:15 + + +# do_not_announce_to_peers_with_rtt_higher_than 20 ms +deny to 192.0.2.41 community 64531:20 +deny to 192.0.2.41 ext-community rt 64531:20 +deny to 192.0.2.41 large-community 999:64531:20 + + +# do_not_announce_to_peers_with_rtt_higher_than 30 ms +deny to 192.0.2.41 community 64531:30 +deny to 192.0.2.41 ext-community rt 64531:30 +deny to 192.0.2.41 large-community 999:64531:30 + + +# do_not_announce_to_peers_with_rtt_higher_than 50 ms +deny to 192.0.2.41 community 64531:50 +deny to 192.0.2.41 ext-community rt 64531:50 +deny to 192.0.2.41 large-community 999:64531:50 + + +# do_not_announce_to_peers_with_rtt_higher_than 100 ms +deny to 192.0.2.41 community 64531:100 +deny to 192.0.2.41 ext-community rt 64531:100 +deny to 192.0.2.41 large-community 999:64531:100 + + +# do_not_announce_to_peers_with_rtt_higher_than 200 ms +deny to 192.0.2.41 community 64531:200 +deny to 192.0.2.41 ext-community rt 64531:200 +deny to 192.0.2.41 large-community 999:64531:200 + + +# do_not_announce_to_peers_with_rtt_higher_than 500 ms +deny to 192.0.2.41 community 64531:500 +deny to 192.0.2.41 ext-community rt 64531:500 +deny to 192.0.2.41 large-community 999:64531:500 + + +# announce_to_peers_with_rtt_higher_than 5 ms +allow to 192.0.2.41 community 64533:5 +allow to 192.0.2.41 ext-community rt 64533:5 +allow to 192.0.2.41 large-community 999:64533:5 + + +# announce_to_peers_with_rtt_higher_than 10 ms +allow to 192.0.2.41 community 64533:10 +allow to 192.0.2.41 ext-community rt 64533:10 +allow to 192.0.2.41 large-community 999:64533:10 + + +# announce_to_peers_with_rtt_higher_than 15 ms +allow to 192.0.2.41 community 64533:15 +allow to 192.0.2.41 ext-community rt 64533:15 +allow to 192.0.2.41 large-community 999:64533:15 + + +# announce_to_peers_with_rtt_higher_than 20 ms +allow to 192.0.2.41 community 64533:20 +allow to 192.0.2.41 ext-community rt 64533:20 +allow to 192.0.2.41 large-community 999:64533:20 + + +# announce_to_peers_with_rtt_higher_than 30 ms +allow to 192.0.2.41 community 64533:30 +allow to 192.0.2.41 ext-community rt 64533:30 +allow to 192.0.2.41 large-community 999:64533:30 + + +# announce_to_peers_with_rtt_higher_than 50 ms +allow to 192.0.2.41 community 64533:50 +allow to 192.0.2.41 ext-community rt 64533:50 +allow to 192.0.2.41 large-community 999:64533:50 + + +# announce_to_peers_with_rtt_higher_than 100 ms +allow to 192.0.2.41 community 64533:100 +allow to 192.0.2.41 ext-community rt 64533:100 +allow to 192.0.2.41 large-community 999:64533:100 + + +# announce_to_peers_with_rtt_higher_than 200 ms +allow to 192.0.2.41 community 64533:200 +allow to 192.0.2.41 ext-community rt 64533:200 +allow to 192.0.2.41 large-community 999:64533:200 + + +# announce_to_peers_with_rtt_higher_than 500 ms +allow to 192.0.2.41 community 64533:500 +allow to 192.0.2.41 ext-community rt 64533:500 +allow to 192.0.2.41 large-community 999:64533:500 + + +# announce_to_peer +allow to 192.0.2.41 community 65501:4 +allow to 192.0.2.41 ext-community rt 65501:4 +allow to 192.0.2.41 large-community 999:65501:4 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 65521:4 set prepend-neighbor 1 +match to 192.0.2.41 ext-community rt 65521:4 set prepend-neighbor 1 +match to 192.0.2.41 large-community 999:65521:4 set prepend-neighbor 1 + +match to 192.0.2.41 community 65521:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 65521:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:65521:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 65522:4 set prepend-neighbor 2 +match to 192.0.2.41 ext-community rt 65522:4 set prepend-neighbor 2 +match to 192.0.2.41 large-community 999:65522:4 set prepend-neighbor 2 + +match to 192.0.2.41 community 65522:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 65522:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:65522:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 65523:4 set prepend-neighbor 3 +match to 192.0.2.41 ext-community rt 65523:4 set prepend-neighbor 3 +match to 192.0.2.41 large-community 999:65523:4 set prepend-neighbor 3 + +match to 192.0.2.41 community 65523:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 65523:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:65523:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + +# prepend_once_to_peers_with_rtt_higher_than 500 ms; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 64537:500 set prepend-neighbor 1 +match to 192.0.2.41 ext-community rt 64537:500 set prepend-neighbor 1 +match to 192.0.2.41 large-community 999:64537:500 set prepend-neighbor 1 + + +match to 192.0.2.41 community 64537:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 64537:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:64537:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 500 ms; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 64538:500 set prepend-neighbor 2 +match to 192.0.2.41 ext-community rt 64538:500 set prepend-neighbor 2 +match to 192.0.2.41 large-community 999:64538:500 set prepend-neighbor 2 + + +match to 192.0.2.41 community 64538:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 64538:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:64538:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 500 ms; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 64539:500 set prepend-neighbor 3 +match to 192.0.2.41 ext-community rt 64539:500 set prepend-neighbor 3 +match to 192.0.2.41 large-community 999:64539:500 set prepend-neighbor 3 + + +match to 192.0.2.41 community 64539:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 64539:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:64539:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_higher_than 200 ms; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 64537:200 set prepend-neighbor 1 +match to 192.0.2.41 ext-community rt 64537:200 set prepend-neighbor 1 +match to 192.0.2.41 large-community 999:64537:200 set prepend-neighbor 1 + + +match to 192.0.2.41 community 64537:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 64537:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:64537:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 200 ms; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 64538:200 set prepend-neighbor 2 +match to 192.0.2.41 ext-community rt 64538:200 set prepend-neighbor 2 +match to 192.0.2.41 large-community 999:64538:200 set prepend-neighbor 2 + + +match to 192.0.2.41 community 64538:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 64538:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:64538:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 200 ms; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 64539:200 set prepend-neighbor 3 +match to 192.0.2.41 ext-community rt 64539:200 set prepend-neighbor 3 +match to 192.0.2.41 large-community 999:64539:200 set prepend-neighbor 3 + + +match to 192.0.2.41 community 64539:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 64539:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:64539:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_higher_than 100 ms; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 64537:100 set prepend-neighbor 1 +match to 192.0.2.41 ext-community rt 64537:100 set prepend-neighbor 1 +match to 192.0.2.41 large-community 999:64537:100 set prepend-neighbor 1 + + +match to 192.0.2.41 community 64537:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 64537:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:64537:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 100 ms; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 64538:100 set prepend-neighbor 2 +match to 192.0.2.41 ext-community rt 64538:100 set prepend-neighbor 2 +match to 192.0.2.41 large-community 999:64538:100 set prepend-neighbor 2 + + +match to 192.0.2.41 community 64538:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 64538:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:64538:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 100 ms; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 64539:100 set prepend-neighbor 3 +match to 192.0.2.41 ext-community rt 64539:100 set prepend-neighbor 3 +match to 192.0.2.41 large-community 999:64539:100 set prepend-neighbor 3 + + +match to 192.0.2.41 community 64539:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 64539:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:64539:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_higher_than 50 ms; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 64537:50 set prepend-neighbor 1 +match to 192.0.2.41 ext-community rt 64537:50 set prepend-neighbor 1 +match to 192.0.2.41 large-community 999:64537:50 set prepend-neighbor 1 + + +match to 192.0.2.41 community 64537:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 64537:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:64537:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 50 ms; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 64538:50 set prepend-neighbor 2 +match to 192.0.2.41 ext-community rt 64538:50 set prepend-neighbor 2 +match to 192.0.2.41 large-community 999:64538:50 set prepend-neighbor 2 + + +match to 192.0.2.41 community 64538:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 64538:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:64538:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 50 ms; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 64539:50 set prepend-neighbor 3 +match to 192.0.2.41 ext-community rt 64539:50 set prepend-neighbor 3 +match to 192.0.2.41 large-community 999:64539:50 set prepend-neighbor 3 + + +match to 192.0.2.41 community 64539:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 64539:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:64539:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_higher_than 30 ms; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 64537:30 set prepend-neighbor 1 +match to 192.0.2.41 ext-community rt 64537:30 set prepend-neighbor 1 +match to 192.0.2.41 large-community 999:64537:30 set prepend-neighbor 1 + + +match to 192.0.2.41 community 64537:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 64537:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:64537:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 30 ms; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 64538:30 set prepend-neighbor 2 +match to 192.0.2.41 ext-community rt 64538:30 set prepend-neighbor 2 +match to 192.0.2.41 large-community 999:64538:30 set prepend-neighbor 2 + + +match to 192.0.2.41 community 64538:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 64538:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:64538:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 30 ms; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 64539:30 set prepend-neighbor 3 +match to 192.0.2.41 ext-community rt 64539:30 set prepend-neighbor 3 +match to 192.0.2.41 large-community 999:64539:30 set prepend-neighbor 3 + + +match to 192.0.2.41 community 64539:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 64539:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:64539:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_higher_than 20 ms; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 64537:20 set prepend-neighbor 1 +match to 192.0.2.41 ext-community rt 64537:20 set prepend-neighbor 1 +match to 192.0.2.41 large-community 999:64537:20 set prepend-neighbor 1 + + +match to 192.0.2.41 community 64537:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 64537:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:64537:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 20 ms; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 64538:20 set prepend-neighbor 2 +match to 192.0.2.41 ext-community rt 64538:20 set prepend-neighbor 2 +match to 192.0.2.41 large-community 999:64538:20 set prepend-neighbor 2 + + +match to 192.0.2.41 community 64538:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 64538:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:64538:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 20 ms; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 64539:20 set prepend-neighbor 3 +match to 192.0.2.41 ext-community rt 64539:20 set prepend-neighbor 3 +match to 192.0.2.41 large-community 999:64539:20 set prepend-neighbor 3 + + +match to 192.0.2.41 community 64539:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 64539:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:64539:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_higher_than 15 ms; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 64537:15 set prepend-neighbor 1 +match to 192.0.2.41 ext-community rt 64537:15 set prepend-neighbor 1 +match to 192.0.2.41 large-community 999:64537:15 set prepend-neighbor 1 + + +match to 192.0.2.41 community 64537:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 64537:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:64537:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 15 ms; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 64538:15 set prepend-neighbor 2 +match to 192.0.2.41 ext-community rt 64538:15 set prepend-neighbor 2 +match to 192.0.2.41 large-community 999:64538:15 set prepend-neighbor 2 + + +match to 192.0.2.41 community 64538:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 64538:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:64538:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 15 ms; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 64539:15 set prepend-neighbor 3 +match to 192.0.2.41 ext-community rt 64539:15 set prepend-neighbor 3 +match to 192.0.2.41 large-community 999:64539:15 set prepend-neighbor 3 + + +match to 192.0.2.41 community 64539:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 64539:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:64539:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_higher_than 10 ms; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 64537:10 set prepend-neighbor 1 +match to 192.0.2.41 ext-community rt 64537:10 set prepend-neighbor 1 +match to 192.0.2.41 large-community 999:64537:10 set prepend-neighbor 1 + + +match to 192.0.2.41 community 64537:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 64537:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:64537:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 10 ms; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 64538:10 set prepend-neighbor 2 +match to 192.0.2.41 ext-community rt 64538:10 set prepend-neighbor 2 +match to 192.0.2.41 large-community 999:64538:10 set prepend-neighbor 2 + + +match to 192.0.2.41 community 64538:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 64538:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:64538:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 10 ms; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 64539:10 set prepend-neighbor 3 +match to 192.0.2.41 ext-community rt 64539:10 set prepend-neighbor 3 +match to 192.0.2.41 large-community 999:64539:10 set prepend-neighbor 3 + + +match to 192.0.2.41 community 64539:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 64539:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:64539:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_higher_than 5 ms; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 64537:5 set prepend-neighbor 1 +match to 192.0.2.41 ext-community rt 64537:5 set prepend-neighbor 1 +match to 192.0.2.41 large-community 999:64537:5 set prepend-neighbor 1 + + +match to 192.0.2.41 community 64537:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 64537:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:64537:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 5 ms; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 64538:5 set prepend-neighbor 2 +match to 192.0.2.41 ext-community rt 64538:5 set prepend-neighbor 2 +match to 192.0.2.41 large-community 999:64538:5 set prepend-neighbor 2 + + +match to 192.0.2.41 community 64538:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 64538:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:64538:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 5 ms; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 64539:5 set prepend-neighbor 3 +match to 192.0.2.41 ext-community rt 64539:5 set prepend-neighbor 3 +match to 192.0.2.41 large-community 999:64539:5 set prepend-neighbor 3 + + +match to 192.0.2.41 community 64539:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 64539:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:64539:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 65521:65521 set prepend-neighbor 1 +match to 192.0.2.41 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 192.0.2.41 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 192.0.2.41 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 65522:65522 set prepend-neighbor 2 +match to 192.0.2.41 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 192.0.2.41 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 192.0.2.41 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 65523:65523 set prepend-neighbor 3 +match to 192.0.2.41 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 192.0.2.41 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 192.0.2.41 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS4_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::41 set community NO_ADVERTISE +match from 2001:db8:1:1::41 nexthop 2001:db8:1:1::41 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::41 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::41 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::41 peer-as != 4' - reject code: 6 +allow quick from 2001:db8:1:1::41 peer-as != 4 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 2001:db8:1:1::41 AS { 3, 174 }' - reject code: 8 +allow quick from 2001:db8:1:1::41 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 2001:db8:1:1::41 AS { 666, 777 }' - reject code: 15 +allow quick from 2001:db8:1:1::41 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + + + + + + + +# Blackhole request? +match from 2001:db8:1:1::41 set ext-community delete rt 65520:4 + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::41 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::41 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::41 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 2001:db8:1:1::41 community BLACKHOLE +allow quick from 2001:db8:1:1::41 community 65534:0 +allow quick from 2001:db8:1:1::41 large-community 65534:0:0 + + +match from 2001:db8:1:1::41 set ext-community rt 65520:4 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 2001:db8:1:1::41 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 2001:db8:1:1::41 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::41 prefix ::/0 prefixlen 17 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::41 prefix ::/0 prefixlen 17 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 2001:db8:1:1::41 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::41 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::41 set ext-community delete rt 65520:4 + + + +allow quick from 2001:db8:1:1::41 + + + +# --------------------------------------------- +# client AS4_2, outbound + +deny quick to 2001:db8:1:1::41 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 2001:db8:1:1::41 community 65534:0 set community BLACKHOLE +match to 2001:db8:1:1::41 large-community 65534:0:0 set community BLACKHOLE + +match to 2001:db8:1:1::41 community BLACKHOLE set community NO_EXPORT +match to 2001:db8:1:1::41 community BLACKHOLE set nexthop 2001:db8:1:1::66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 2001:db8:1:1::41 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 2001:db8:1:1::41 community 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::41 ext-community rt 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::41 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 2001:db8:1:1::41 community 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::41 ext-community rt 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::41 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 2001:db8:1:1::41 community 65509:4 set community NO_EXPORT +match to 2001:db8:1:1::41 ext-community rt 65509:4 set community NO_EXPORT +match to 2001:db8:1:1::41 large-community 999:65509:4 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 2001:db8:1:1::41 community 65510:4 set community NO_ADVERTISE +match to 2001:db8:1:1::41 ext-community rt 65510:4 set community NO_ADVERTISE +match to 2001:db8:1:1::41 large-community 999:65510:4 set community NO_ADVERTISE + + +# BGP control communities +allow to 2001:db8:1:1::41 + +# do_not_announce_to_any +deny to 2001:db8:1:1::41 community 0:999 +deny to 2001:db8:1:1::41 ext-community rt 0:999 +deny to 2001:db8:1:1::41 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::41 community 0:4 +deny quick to 2001:db8:1:1::41 ext-community rt 0:4 +deny quick to 2001:db8:1:1::41 large-community 999:0:4 + +# announce_to_peer +allow to 2001:db8:1:1::41 community 65501:4 +allow to 2001:db8:1:1::41 ext-community rt 65501:4 +allow to 2001:db8:1:1::41 large-community 999:65501:4 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 65521:4 set prepend-neighbor 1 +match to 2001:db8:1:1::41 ext-community rt 65521:4 set prepend-neighbor 1 +match to 2001:db8:1:1::41 large-community 999:65521:4 set prepend-neighbor 1 + +match to 2001:db8:1:1::41 community 65521:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 65521:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:65521:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 65522:4 set prepend-neighbor 2 +match to 2001:db8:1:1::41 ext-community rt 65522:4 set prepend-neighbor 2 +match to 2001:db8:1:1::41 large-community 999:65522:4 set prepend-neighbor 2 + +match to 2001:db8:1:1::41 community 65522:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 65522:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:65522:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 65523:4 set prepend-neighbor 3 +match to 2001:db8:1:1::41 ext-community rt 65523:4 set prepend-neighbor 3 +match to 2001:db8:1:1::41 large-community 999:65523:4 set prepend-neighbor 3 + +match to 2001:db8:1:1::41 community 65523:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 65523:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:65523:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::41 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::41 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 2001:db8:1:1::41 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::41 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::41 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 2001:db8:1:1::41 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::41 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::41 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 2001:db8:1:1::41 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + + + +# Scrub communities from outbound routes +# add_noadvertise_to_any +match to group clients set community delete 65508:999 +match to group clients set ext-community delete rt 65508:999 +match to group clients set large-community delete 999:65508:999 + +# add_noadvertise_to_peer +match to group clients set community delete 65510:* +# Warning: rt:65510:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:65510:* + +# add_noexport_to_any +match to group clients set community delete 65507:999 +match to group clients set ext-community delete rt 65507:999 +match to group clients set large-community delete 999:65507:999 + +# add_noexport_to_peer +match to group clients set community delete 65509:* +# Warning: rt:65509:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:65509:* + +# announce_to_peer +match to group clients set community delete 65501:* +# Warning: rt:65501:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:65501:* + +# announce_to_peers_with_rtt_higher_than +match to group clients set community delete 64533:* +# Warning: rt:64533:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64533:* + +# announce_to_peers_with_rtt_lower_than +match to group clients set community delete 64532:* +# Warning: rt:64532:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64532:* + +# blackholing +match to group clients set community delete 65534:0 +match to group clients set large-community delete 65534:0:0 + +# do_not_announce_to_any +match to group clients set community delete 0:999 +match to group clients set ext-community delete rt 0:999 +match to group clients set large-community delete 999:0:999 + +# do_not_announce_to_peer +match to group clients set community delete 0:* +# Warning: rt:0:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:0:* + +# do_not_announce_to_peers_with_rtt_higher_than +match to group clients set community delete 64531:* +# Warning: rt:64531:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64531:* + +# do_not_announce_to_peers_with_rtt_lower_than +match to group clients set community delete 64530:* +# Warning: rt:64530:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64530:* + +# prepend_once_to_any +match to group clients set community delete 65521:65521 +match to group clients set ext-community delete rt 65521:65521 +match to group clients set large-community delete 999:65521:65521 + +# prepend_once_to_peer +match to group clients set community delete 65521:* +# Warning: rt:65521:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:65521:* + +# prepend_once_to_peers_with_rtt_higher_than +match to group clients set community delete 64537:* +# Warning: rt:64537:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64537:* + +# prepend_once_to_peers_with_rtt_lower_than +match to group clients set community delete 64534:* +# Warning: rt:64534:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64534:* + +# prepend_thrice_to_any +match to group clients set community delete 65523:65523 +match to group clients set ext-community delete rt 65523:65523 +match to group clients set large-community delete 999:65523:65523 + +# prepend_thrice_to_peer +match to group clients set community delete 65523:* +# Warning: rt:65523:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:65523:* + +# prepend_thrice_to_peers_with_rtt_higher_than +match to group clients set community delete 64539:* +# Warning: rt:64539:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64539:* + +# prepend_thrice_to_peers_with_rtt_lower_than +match to group clients set community delete 64536:* +# Warning: rt:64536:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64536:* + +# prepend_twice_to_any +match to group clients set community delete 65522:65522 +match to group clients set ext-community delete rt 65522:65522 +match to group clients set large-community delete 999:65522:65522 + +# prepend_twice_to_peer +match to group clients set community delete 65522:* +# Warning: rt:65522:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:65522:* + +# prepend_twice_to_peers_with_rtt_higher_than +match to group clients set community delete 64538:* +# Warning: rt:64538:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64538:* + +# prepend_twice_to_peers_with_rtt_lower_than +match to group clients set community delete 64535:* +# Warning: rt:64535:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64535:* + + +# Scrub prepending communities +match to group clients set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 } +match to group clients set { community delete 65521:0 ext-community delete rt 65521:0 large-community delete 999:65521:0 } +match to group clients set { community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* } +match to group clients set { community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* } +match to group clients set { community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 } +match to group clients set { community delete 65523:0 ext-community delete rt 65523:0 large-community delete 999:65523:0 } +match to group clients set { community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* } +match to group clients set { community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* } +match to group clients set { community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 } +match to group clients set { community delete 65522:0 ext-community delete rt 65522:0 large-community delete 999:65522:0 } +match to group clients set { community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* } +match to group clients set { community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# RFC1997 NO_EXPORT/NO_ADVERTISE received from clients and propagated because of pass-through policy +match to group clients ext-community $INTCOMM_NO_EXPORT set community NO_EXPORT +match to group clients ext-community $INTCOMM_NO_ADVERTISE set community NO_ADVERTISE + +# Remove internal communities before announcing the route +match to group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + +include "/etc/bgpd/post-filters.local" + + diff --git a/tests/live_tests/scenarios/global/configs/BasicScenario_OpenBGPDIPv6/openbgpd68.conf b/tests/live_tests/scenarios/global/configs/BasicScenario_OpenBGPDIPv6/openbgpd68.conf index 27b00d97..40875811 100644 --- a/tests/live_tests/scenarios/global/configs/BasicScenario_OpenBGPDIPv6/openbgpd68.conf +++ b/tests/live_tests/scenarios/global/configs/BasicScenario_OpenBGPDIPv6/openbgpd68.conf @@ -7,6 +7,7 @@ log updates nexthop qualify via default + INTCOMM_PREF_OK_ROA="soo 65535:1" INTCOMM_ROUTE_OK_WL="soo 65535:2" INTCOMM_PREF_OK_ARINDB="soo 65535:3" @@ -98,6 +99,7 @@ group "clients" { neighbor 192.0.2.11 { remote-as 1 + descr "AS1_1 client" passive ttl-security no @@ -115,6 +117,7 @@ group "clients" { neighbor 2001:db8:1:1::11 { remote-as 1 + descr "AS1_1 client" passive ttl-security no @@ -131,6 +134,7 @@ group "clients" { neighbor 192.0.2.12 { remote-as 1 + descr "AS1_2 client" passive ttl-security no @@ -148,6 +152,7 @@ group "clients" { neighbor 2001:db8:1:1::12 { remote-as 1 + descr "AS1_2 client" passive ttl-security no @@ -164,6 +169,7 @@ group "clients" { neighbor 192.0.2.222 { remote-as 222 + descr "AS222_1 client" ttl-security no transparent-as yes @@ -179,6 +185,7 @@ group "clients" { neighbor 2001:db8:1:1::222 { remote-as 222 + descr "AS222_1 client" ttl-security no transparent-as yes @@ -194,6 +201,7 @@ group "clients" { neighbor 192.0.2.21 { remote-as 2 + descr "AS2_1 client" passive ttl-security no @@ -211,6 +219,7 @@ group "clients" { neighbor 2001:db8:1:1::21 { remote-as 2 + descr "AS2_1 client" passive ttl-security no @@ -227,6 +236,7 @@ group "clients" { neighbor 192.0.2.31 { remote-as 3 + descr "AS3_1 client" ttl-security no transparent-as no @@ -243,6 +253,7 @@ group "clients" { neighbor 2001:db8:1:1::31 { remote-as 3 + descr "AS3_1 client" ttl-security no transparent-as no @@ -258,6 +269,7 @@ group "clients" { neighbor 192.0.2.41 { remote-as 4 + descr "AS4_1 client" passive ttl-security no @@ -275,6 +287,7 @@ group "clients" { neighbor 2001:db8:1:1::41 { remote-as 4 + descr "AS4_1 client" passive ttl-security no @@ -406,7 +419,9 @@ match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ # --------------------------------------------------------- -# RPKI-based Origin Validation +# ROAs source + + roa-set { 101.3.0.0/16 maxlen 24 source-as 105 101.2.0.0/17 source-as 101 @@ -425,6 +440,12 @@ roa-set { } + + +# --------------------------------------------------------- +# RPKI-based Origin Validation + + # Add $INTCOMM_RPKI_UNKNOWN, $INTCOMM_RPKI_INVALID and $INTCOMM_RPKI_VALID # ext community on the basis of ovs. match from group clients ovs not-found set ext-community $INTCOMM_RPKI_UNKNOWN @@ -433,17 +454,20 @@ match from group clients ovs invalid set ext-community $INTCOMM_RPKI_INVALID - +# --------------------------------------------------------- # RPKI ROAs used as route objects. + # Add the $INTCOMM_PREF_OK_ROA ext community to routes whose # origin ASN has a ROA for the announced prefix. # It will be used later during IRRDB validation in # case the origin ASN is authorized by a client's # AS-SET but the prefix is not. + # Since RPKI-based Origin Validation is already performed above, # use the origin validation state to identify valid routes. match from group clients ovs valid set ext-community $INTCOMM_PREF_OK_ROA + # ARIN Whois records used for preifx validation # --------------------------------------------- diff --git a/tests/live_tests/scenarios/global/configs/BasicScenario_OpenBGPDIPv6/openbgpd68p.conf b/tests/live_tests/scenarios/global/configs/BasicScenario_OpenBGPDIPv6/openbgpd68p.conf index 27b00d97..40875811 100644 --- a/tests/live_tests/scenarios/global/configs/BasicScenario_OpenBGPDIPv6/openbgpd68p.conf +++ b/tests/live_tests/scenarios/global/configs/BasicScenario_OpenBGPDIPv6/openbgpd68p.conf @@ -7,6 +7,7 @@ log updates nexthop qualify via default + INTCOMM_PREF_OK_ROA="soo 65535:1" INTCOMM_ROUTE_OK_WL="soo 65535:2" INTCOMM_PREF_OK_ARINDB="soo 65535:3" @@ -98,6 +99,7 @@ group "clients" { neighbor 192.0.2.11 { remote-as 1 + descr "AS1_1 client" passive ttl-security no @@ -115,6 +117,7 @@ group "clients" { neighbor 2001:db8:1:1::11 { remote-as 1 + descr "AS1_1 client" passive ttl-security no @@ -131,6 +134,7 @@ group "clients" { neighbor 192.0.2.12 { remote-as 1 + descr "AS1_2 client" passive ttl-security no @@ -148,6 +152,7 @@ group "clients" { neighbor 2001:db8:1:1::12 { remote-as 1 + descr "AS1_2 client" passive ttl-security no @@ -164,6 +169,7 @@ group "clients" { neighbor 192.0.2.222 { remote-as 222 + descr "AS222_1 client" ttl-security no transparent-as yes @@ -179,6 +185,7 @@ group "clients" { neighbor 2001:db8:1:1::222 { remote-as 222 + descr "AS222_1 client" ttl-security no transparent-as yes @@ -194,6 +201,7 @@ group "clients" { neighbor 192.0.2.21 { remote-as 2 + descr "AS2_1 client" passive ttl-security no @@ -211,6 +219,7 @@ group "clients" { neighbor 2001:db8:1:1::21 { remote-as 2 + descr "AS2_1 client" passive ttl-security no @@ -227,6 +236,7 @@ group "clients" { neighbor 192.0.2.31 { remote-as 3 + descr "AS3_1 client" ttl-security no transparent-as no @@ -243,6 +253,7 @@ group "clients" { neighbor 2001:db8:1:1::31 { remote-as 3 + descr "AS3_1 client" ttl-security no transparent-as no @@ -258,6 +269,7 @@ group "clients" { neighbor 192.0.2.41 { remote-as 4 + descr "AS4_1 client" passive ttl-security no @@ -275,6 +287,7 @@ group "clients" { neighbor 2001:db8:1:1::41 { remote-as 4 + descr "AS4_1 client" passive ttl-security no @@ -406,7 +419,9 @@ match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ # --------------------------------------------------------- -# RPKI-based Origin Validation +# ROAs source + + roa-set { 101.3.0.0/16 maxlen 24 source-as 105 101.2.0.0/17 source-as 101 @@ -425,6 +440,12 @@ roa-set { } + + +# --------------------------------------------------------- +# RPKI-based Origin Validation + + # Add $INTCOMM_RPKI_UNKNOWN, $INTCOMM_RPKI_INVALID and $INTCOMM_RPKI_VALID # ext community on the basis of ovs. match from group clients ovs not-found set ext-community $INTCOMM_RPKI_UNKNOWN @@ -433,17 +454,20 @@ match from group clients ovs invalid set ext-community $INTCOMM_RPKI_INVALID - +# --------------------------------------------------------- # RPKI ROAs used as route objects. + # Add the $INTCOMM_PREF_OK_ROA ext community to routes whose # origin ASN has a ROA for the announced prefix. # It will be used later during IRRDB validation in # case the origin ASN is authorized by a client's # AS-SET but the prefix is not. + # Since RPKI-based Origin Validation is already performed above, # use the origin validation state to identify valid routes. match from group clients ovs valid set ext-community $INTCOMM_PREF_OK_ROA + # ARIN Whois records used for preifx validation # --------------------------------------------- diff --git a/tests/live_tests/scenarios/global/configs/BasicScenario_OpenBGPDIPv6/openbgpd69.conf b/tests/live_tests/scenarios/global/configs/BasicScenario_OpenBGPDIPv6/openbgpd69.conf new file mode 100644 index 00000000..8f61c0d7 --- /dev/null +++ b/tests/live_tests/scenarios/global/configs/BasicScenario_OpenBGPDIPv6/openbgpd69.conf @@ -0,0 +1,5611 @@ +# built by ARouteServer +AS 999 +router-id 192.0.2.2 + +fib-update no +log updates + +nexthop qualify via default + +rde evaluate all + +INTCOMM_PREF_OK_ROA="soo 65535:1" +INTCOMM_ROUTE_OK_WL="soo 65535:2" +INTCOMM_PREF_OK_ARINDB="soo 65535:3" +INTCOMM_PREF_OK_REGISTROBRDB="soo 65535:12" + +INTCOMM_ORIGIN_OK="soo 65535:4" +INTCOMM_ORIGIN_KO="soo 65535:5" +INTCOMM_PREFIX_OK="soo 65535:6" +INTCOMM_PREFIX_KO="soo 65535:7" +INTCOMM_IRR_REJECT="soo 65535:8" + +INTCOMM_RPKI_UNKNOWN="soo 65535:9" +INTCOMM_RPKI_INVALID="soo 65535:10" +INTCOMM_RPKI_VALID="soo 65535:11" + +INTCOMM_NO_EXPORT="soo 65535:65281" +INTCOMM_NO_ADVERTISE="soo 65535:65282" + +# --------------------------------------------------------- +# IRRDB + +# AS222, used by client AS222_1, client AS222_2 +# no origin ASNs found for AS222 +# no prefixes found for AS222 + +# AS2, used by client AS2_1, client AS2_2 +# no origin ASNs found for AS2 +# no prefixes found for AS2 + +# AS-AS1, AS-AS1_CUSTOMERS, used by client AS1_1, client AS1_2, client AS1_3, client AS1_4 +as-set "AS_SET_AS_AS1_AS_AS1_CUSTOMERS_asns" { + 1 101 103 104 +} +prefix-set "AS_SET_AS_AS1_AS_AS1_CUSTOMERS_prefixes" { + 2a01::/32 prefixlen 32 - 128 + 2a99::/16 prefixlen 16 - 128 + 3101::/32 prefixlen 32 - 128 + 3103::/32 prefixlen 32 - 128 +} + +# AS-AS2, AS-AS2_CUSTOMERS, used by client AS2_1, client AS2_2 +as-set "AS_SET_AS_AS2_AS_AS2_CUSTOMERS_asns" { + 2 101 103 +} +prefix-set "AS_SET_AS_AS2_AS_AS2_CUSTOMERS_prefixes" { + 2a02::/32 prefixlen 32 - 128 + 3101::/32 prefixlen 32 - 128 + 3103::/32 prefixlen 32 - 128 +} + +# WHITE_LIST_AS1_2, used by client AS1_2 white list +as-set "AS_SET_WHITE_LIST_AS1_2_asns" { + 1011 +} +prefix-set "AS_SET_WHITE_LIST_AS1_2_prefixes" { + 11.1.0.0/16 prefixlen 16 - 32 + 2a11:1::/32 prefixlen 32 - 128 +} + +# AS-AS222, used by client AS222_1, client AS222_2 +as-set "AS_SET_AS_AS222_asns" { + 333 +} +prefix-set "AS_SET_AS_AS222_prefixes" { + 3222::/32 prefixlen 32 - 128 +} + +# AS1, used by client AS1_1, client AS1_2, client AS1_3, client AS1_4 +# no origin ASNs found for AS1 +# no prefixes found for AS1 + +# WHITE_LIST_AS1_1, used by client AS1_1 white list +as-set "AS_SET_WHITE_LIST_AS1_1_asns" { + 1011 +} +prefix-set "AS_SET_WHITE_LIST_AS1_1_prefixes" { + 11.1.0.0/16 prefixlen 16 - 32 + 2a11:1::/32 prefixlen 32 - 128 +} + + + + +# --------------------------------------------------------- +# MEMBERS + +group "clients" { + + neighbor 192.0.2.11 { + remote-as 1 + + rde evaluate all + + descr "AS1_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + # RTT: 0.1 ms (normalized value: 1) + neighbor 2001:db8:1:1::11 { + remote-as 1 + + rde evaluate all + + descr "AS1_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.12 { + remote-as 1 + + rde evaluate all + + descr "AS1_2 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + # RTT: 5 ms (normalized value: 5) + neighbor 2001:db8:1:1::12 { + remote-as 1 + + rde evaluate all + + descr "AS1_2 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.222 { + remote-as 222 + + rde evaluate all + + descr "AS222_1 client" + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::222 { + remote-as 222 + + rde evaluate all + + descr "AS222_1 client" + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.21 { + remote-as 2 + + rde evaluate all + + descr "AS2_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + # RTT: 17.3 ms (normalized value: 17) + neighbor 2001:db8:1:1::21 { + remote-as 2 + + rde evaluate all + + descr "AS2_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.31 { + remote-as 3 + + rde evaluate all + + descr "AS3_1 client" + ttl-security no + transparent-as no + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + # RTT: 123.8 ms (normalized value: 124) + neighbor 2001:db8:1:1::31 { + remote-as 3 + + rde evaluate all + + descr "AS3_1 client" + ttl-security no + transparent-as no + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.41 { + remote-as 4 + + rde evaluate all + + descr "AS4_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + # RTT: 600 ms (normalized value: 600) + neighbor 2001:db8:1:1::41 { + remote-as 4 + + rde evaluate all + + descr "AS4_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } +} + +include "/etc/bgpd/post-clients.local" + + + +# --------------------------------------------------------- +# FILTERS + +# NO_ADVERTISE usage notes. +# The NO_ADVERTISE well-know community is used here to handle +# filters that span over multiple steps. At first it is added +# to any route, then it is removed as filters conditions are +# satisfied. Finally, if it is still present, it means that +# the route should be discarded. + + + + +prefix-set "global_black_list_pref" { + 192.0.2.0/24 prefixlen 24 - 32 + 2001:db8::/32 prefixlen 32 - 128 + +} + +prefix-set "bogons" { + 0.0.0.0/0 + 0.0.0.0/8 prefixlen 8 - 32 + 10.0.0.0/8 prefixlen 8 - 32 + 127.0.0.0/8 prefixlen 8 - 32 + 169.254.0.0/16 prefixlen 16 - 32 + 172.16.0.0/12 prefixlen 12 - 32 + 192.0.2.0/24 prefixlen 24 - 32 + 192.88.99.0/24 prefixlen 24 - 32 + 192.168.0.0/16 prefixlen 16 - 32 + 198.18.0.0/15 prefixlen 15 - 32 + 198.51.100.0/24 prefixlen 24 - 32 + 203.0.113.0/24 prefixlen 24 - 32 + 224.0.0.0/3 prefixlen 3 - 32 + 100.64.0.0/10 prefixlen 10 - 32 + ::/0 + ::/8 prefixlen 8 - 128 + 64:ff9b::/96 prefixlen 96 - 128 + 100::/8 prefixlen 8 - 128 + 200::/7 prefixlen 7 - 128 + 400::/6 prefixlen 6 - 128 + 800::/5 prefixlen 5 - 128 + 1000::/4 prefixlen 4 - 128 + 2001::/33 prefixlen 33 - 128 + 2001:0:8000::/33 prefixlen 33 - 128 + 2001:2::/48 prefixlen 48 - 128 + 2001:3::/32 prefixlen 32 - 128 + 2001:10::/28 prefixlen 28 - 128 + 2001:20::/28 prefixlen 28 - 128 + 2001:db8::/32 prefixlen 32 - 128 + 2002::/16 prefixlen 16 - 128 + 3ffe::/16 prefixlen 16 - 128 + 4000::/3 prefixlen 3 - 128 + 5f00::/8 prefixlen 8 - 128 + 6000::/3 prefixlen 3 - 128 + 8000::/3 prefixlen 3 - 128 + a000::/3 prefixlen 3 - 128 + c000::/3 prefixlen 3 - 128 + e000::/4 prefixlen 4 - 128 + f000::/5 prefixlen 5 - 128 + f800::/6 prefixlen 6 - 128 + fc00::/7 prefixlen 7 - 128 + fe80::/10 prefixlen 10 - 128 + fec0::/10 prefixlen 10 - 128 + ff00::/8 prefixlen 8 - 128 + +} + +# ===================================================================================== +# Global rules. + +# This part of configuration is processed at the beginning of the filters. +# The rules defined in this part are applied to all the clients, and not on a +# client-by-client basis (see the 'match from group clients'), so only global policies +# can be implemented here, that is no client-level configuration are allowed. + + + +# Scrub communities from inbound routes +# origin_not_present_in_as_set +match from group clients set community delete 65530:0 +match from group clients set large-community delete 999:65530:0 + +# origin_present_in_as_set +match from group clients set community delete 65530:1 +match from group clients set large-community delete 999:65530:1 + +# prefix_validated_via_arin_whois_db_dump +match from group clients set community delete 65530:3 +match from group clients set large-community delete 999:65530:3 + +# prefix_validated_via_rpki_roas +match from group clients set community delete 65530:2 +match from group clients set large-community delete 999:65530:2 + + +# Scrub internal communities from inbound routes +match from group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + + +# The main goal of this block is to enrich routes received from clients by attaching to them +# internal informational communities which are used later by the rest of the filter rules. + +# Internal communities used for RFC1997 well-known communities handling + +# Transform NO_EXPORT into $INTCOMM_NO_EXPORT +match from group clients community NO_EXPORT set { ext-community $INTCOMM_NO_EXPORT community delete NO_EXPORT } + +# Transform NO_ADVERTISE into $INTCOMM_NO_ADVERTISE +match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ADVERTISE community delete NO_ADVERTISE } + + +# --------------------------------------------------------- +# ROAs source + + +roa-set { + 101.3.0.0/16 maxlen 24 source-as 105 + 101.2.0.0/17 source-as 101 + 101.2.128.0/17 maxlen 24 source-as 101 + 101.0.128.0/20 maxlen 23 source-as 101 + 101.0.8.0/24 source-as 101 + 101.0.9.0/24 source-as 102 + 222.1.1.0/24 source-as 333 + 3101:3::/32 maxlen 48 source-as 105 + 3101:0:8000::/33 maxlen 34 source-as 101 + 3101:2:8000::/33 maxlen 48 source-as 101 + 3101:2::/33 source-as 101 + 3101:0:8::/48 source-as 101 + 3101:0:9::/48 source-as 102 + 3222:0:1::/48 source-as 333 + +} + + + +# --------------------------------------------------------- +# RPKI-based Origin Validation + + +# Add $INTCOMM_RPKI_UNKNOWN, $INTCOMM_RPKI_INVALID and $INTCOMM_RPKI_VALID +# ext community on the basis of ovs. +match from group clients ovs not-found set ext-community $INTCOMM_RPKI_UNKNOWN +match from group clients ovs valid set ext-community $INTCOMM_RPKI_VALID +match from group clients ovs invalid set ext-community $INTCOMM_RPKI_INVALID + + + +# --------------------------------------------------------- +# RPKI ROAs used as route objects. + +# Add the $INTCOMM_PREF_OK_ROA ext community to routes whose +# origin ASN has a ROA for the announced prefix. +# It will be used later during IRRDB validation in +# case the origin ASN is authorized by a client's +# AS-SET but the prefix is not. + +# Since RPKI-based Origin Validation is already performed above, +# use the origin validation state to identify valid routes. +match from group clients ovs valid set ext-community $INTCOMM_PREF_OK_ROA + + +# ARIN Whois records used for preifx validation +# --------------------------------------------- + +# Add the $INTCOMM_PREF_OK_ARINDB ext community to routes whose +# origin ASN has an ARIN Whois record for the announced prefix. +# It will be used later during IRRDB validation in +# case the origin ASN is authorized by a client's +# AS-SET but the prefix is not. +origin-set "ARINDB" { +104.0.0.0/23 prefixlen 23 - 32 source-as 104 +3104::/32 prefixlen 32 - 128 source-as 104 +} +match from group clients origin-set ARINDB set ext-community $INTCOMM_PREF_OK_ARINDB + +# NIC.BR Whois records used for preifx validation +# ----------------------------------------------- + +# Add the $INTCOMM_PREF_OK_REGISTROBRDB ext community to routes whose +# origin ASN has a NIC.BR Whois record for the announced prefix. +# It will be used later during IRRDB validation in +# case the origin ASN is authorized by a client's +# AS-SET but the prefix is not. +origin-set "REGISTROBRDB" { +104.1.1.0/24 prefixlen 24 - 32 source-as 104 +3104:1:1::/48 prefixlen 48 - 128 source-as 104 +} +match from group clients origin-set REGISTROBRDB set ext-community $INTCOMM_PREF_OK_REGISTROBRDB + + + +# Set the 'rejected_route_announced_by' community for all the clients. +# It will be removed later if the route is not invalid +match from 192.0.2.11 set ext-community rt 65520:1 + +match from 2001:db8:1:1::11 set ext-community rt 65520:1 + +match from 192.0.2.12 set ext-community rt 65520:1 + +match from 2001:db8:1:1::12 set ext-community rt 65520:1 + +match from 192.0.2.222 set ext-community rt 65520:222 + +match from 2001:db8:1:1::222 set ext-community rt 65520:222 + +match from 192.0.2.21 set ext-community rt 65520:2 + +match from 2001:db8:1:1::21 set ext-community rt 65520:2 + +match from 192.0.2.31 set ext-community rt 65520:3 + +match from 2001:db8:1:1::31 set ext-community rt 65520:3 + +match from 192.0.2.41 set ext-community rt 65520:4 + +match from 2001:db8:1:1::41 set ext-community rt 65520:4 + + + + +# AS_PATH: length +# Reject inbound routes when 'from group clients max-as-len 6' - reject code: 1 +allow quick from group clients max-as-len 6 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:1} + + +# Prefix: global blacklist +# Reject inbound routes when 'from group clients prefix-set global_black_list_pref' - reject code: 3 +allow quick from group clients prefix-set global_black_list_pref set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:3} + + +# Prefix: only IPv6 Global Unicast space allowed +match from group clients inet6 set community NO_ADVERTISE +match from group clients prefix 2000::/3 or-longer set community delete NO_ADVERTISE +# Reject inbound routes when 'from group clients community NO_ADVERTISE' - reject code: 10 +allow quick from group clients community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:10} + + +# Prefix: bogon +# Reject inbound routes when 'from group clients prefix-set bogons' - reject code: 2 +allow quick from group clients prefix-set bogons set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:2} + + + + +# ===================================================================================== +# Per client rules. + + +# --------------------------------------------- +# client AS1_1, inbound + + + +# NEXT_HOP +match from 192.0.2.11 set community NO_ADVERTISE +match from 192.0.2.11 nexthop 192.0.2.11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.11 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.11 peer-as != 1' - reject code: 6 +allow quick from 192.0.2.11 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.11 AS 23456' - reject code: 7 +allow quick from 192.0.2.11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 192.0.2.11 AS { 3, 174 }' - reject code: 8 +allow quick from 192.0.2.11 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 192.0.2.11 AS { 666, 777 }' - reject code: 15 +allow quick from 192.0.2.11 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + +# client's white list +# Add the $INTCOMM_ROUTE_OK_WL ext community to routes which +# are validated by a client's white list entry. +# It will be used later during IRRDB validation in +# case the route is not authorized by a client's +# AS-SET. +match from 192.0.2.11 prefix 11.3.0.0/16 source-as 1011 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.11 prefix 11.4.0.0/16 prefixlen 16 - 32 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.11 prefix 2a11:3::/32 source-as 1011 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.11 prefix 2a11:4::/32 prefixlen 32 - 128 set ext-community $INTCOMM_ROUTE_OK_WL # None + +match from 192.0.2.11 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS1_1, AS1: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.11 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.11 source-as as-set AS_SET_AS_AS1_AS_AS1_CUSTOMERS_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS1_AS_AS1_CUSTOMERS +# AS-SET AS1 referenced but empty. +match from 192.0.2.11 source-as as-set AS_SET_WHITE_LIST_AS1_1_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # WHITE_LIST_AS1_1 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS1_1, AS1: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.11 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.11 prefix-set AS_SET_AS_AS1_AS_AS1_CUSTOMERS_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS1_AS_AS1_CUSTOMERS +# AS-SET AS1 referenced but empty. +match from 192.0.2.11 prefix-set AS_SET_WHITE_LIST_AS1_1_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # WHITE_LIST_AS1_1 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_REGISTROBRDB community have the prefix validated by a NICBR Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_REGISTROBRDB set ext-community delete $INTCOMM_IRR_REJECT + +# route authorized by a client's white list? +match from 192.0.2.11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set ext-community delete $INTCOMM_IRR_REJECT + +# enforcing: origin ASN +# Reject inbound routes when 'from 192.0.2.11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 192.0.2.11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 192.0.2.11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 192.0.2.11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + +# Blackhole request? +match from 192.0.2.11 set ext-community delete rt 65520:1 + + +# Remove internal communities before accepting the route +match from 192.0.2.11 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.11 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.11 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 192.0.2.11 community BLACKHOLE +allow quick from 192.0.2.11 community 65534:0 +allow quick from 192.0.2.11 large-community 65534:0:0 + + +match from 192.0.2.11 set ext-community rt 65520:1 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 192.0.2.11 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 192.0.2.11 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 192.0.2.11 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 192.0.2.11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.11 set ext-community delete rt 65520:1 + + + +allow quick from 192.0.2.11 + + + +# --------------------------------------------- +# client AS1_1, outbound + +deny quick to 192.0.2.11 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 192.0.2.11 community 65534:0 set community BLACKHOLE +match to 192.0.2.11 large-community 65534:0:0 set community BLACKHOLE + +match to 192.0.2.11 community BLACKHOLE set community NO_EXPORT +match to 192.0.2.11 community BLACKHOLE set nexthop 192.0.2.66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 192.0.2.11 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 192.0.2.11 community 65507:999 set community NO_EXPORT +match to 192.0.2.11 ext-community rt 65507:999 set community NO_EXPORT +match to 192.0.2.11 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 192.0.2.11 community 65508:999 set community NO_ADVERTISE +match to 192.0.2.11 ext-community rt 65508:999 set community NO_ADVERTISE +match to 192.0.2.11 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 192.0.2.11 community 65509:1 set community NO_EXPORT +match to 192.0.2.11 ext-community rt 65509:1 set community NO_EXPORT +match to 192.0.2.11 large-community 999:65509:1 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 192.0.2.11 community 65510:1 set community NO_ADVERTISE +match to 192.0.2.11 ext-community rt 65510:1 set community NO_ADVERTISE +match to 192.0.2.11 large-community 999:65510:1 set community NO_ADVERTISE + + +# BGP control communities +allow to 192.0.2.11 + +# do_not_announce_to_any +deny to 192.0.2.11 community 0:999 +deny to 192.0.2.11 ext-community rt 0:999 +deny to 192.0.2.11 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 192.0.2.11 community 0:1 +deny quick to 192.0.2.11 ext-community rt 0:1 +deny quick to 192.0.2.11 large-community 999:0:1 + +# announce_to_peer +allow to 192.0.2.11 community 65501:1 +allow to 192.0.2.11 ext-community rt 65501:1 +allow to 192.0.2.11 large-community 999:65501:1 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 65521:1 set prepend-neighbor 1 +match to 192.0.2.11 ext-community rt 65521:1 set prepend-neighbor 1 +match to 192.0.2.11 large-community 999:65521:1 set prepend-neighbor 1 + +match to 192.0.2.11 community 65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 65522:1 set prepend-neighbor 2 +match to 192.0.2.11 ext-community rt 65522:1 set prepend-neighbor 2 +match to 192.0.2.11 large-community 999:65522:1 set prepend-neighbor 2 + +match to 192.0.2.11 community 65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 65523:1 set prepend-neighbor 3 +match to 192.0.2.11 ext-community rt 65523:1 set prepend-neighbor 3 +match to 192.0.2.11 large-community 999:65523:1 set prepend-neighbor 3 + +match to 192.0.2.11 community 65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 65521:65521 set prepend-neighbor 1 +match to 192.0.2.11 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 192.0.2.11 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 192.0.2.11 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 65522:65522 set prepend-neighbor 2 +match to 192.0.2.11 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 192.0.2.11 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 192.0.2.11 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 65523:65523 set prepend-neighbor 3 +match to 192.0.2.11 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 192.0.2.11 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 192.0.2.11 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS1_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::11 set community NO_ADVERTISE +match from 2001:db8:1:1::11 nexthop 2001:db8:1:1::11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::11 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::11 peer-as != 1' - reject code: 6 +allow quick from 2001:db8:1:1::11 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 2001:db8:1:1::11 AS { 3, 174 }' - reject code: 8 +allow quick from 2001:db8:1:1::11 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 2001:db8:1:1::11 AS { 666, 777 }' - reject code: 15 +allow quick from 2001:db8:1:1::11 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + +# client's white list +# Add the $INTCOMM_ROUTE_OK_WL ext community to routes which +# are validated by a client's white list entry. +# It will be used later during IRRDB validation in +# case the route is not authorized by a client's +# AS-SET. +match from 2001:db8:1:1::11 prefix 11.3.0.0/16 source-as 1011 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::11 prefix 11.4.0.0/16 prefixlen 16 - 32 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::11 prefix 2a11:3::/32 source-as 1011 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::11 prefix 2a11:4::/32 prefixlen 32 - 128 set ext-community $INTCOMM_ROUTE_OK_WL # None + +match from 2001:db8:1:1::11 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS1_2, AS1: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::11 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::11 source-as as-set AS_SET_AS_AS1_AS_AS1_CUSTOMERS_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS1_AS_AS1_CUSTOMERS +match from 2001:db8:1:1::11 source-as as-set AS_SET_WHITE_LIST_AS1_2_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # WHITE_LIST_AS1_2 +# AS-SET AS1 referenced but empty. + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS1_2, AS1: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::11 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::11 prefix-set AS_SET_AS_AS1_AS_AS1_CUSTOMERS_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS1_AS_AS1_CUSTOMERS +match from 2001:db8:1:1::11 prefix-set AS_SET_WHITE_LIST_AS1_2_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # WHITE_LIST_AS1_2 +# AS-SET AS1 referenced but empty. + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_REGISTROBRDB community have the prefix validated by a NICBR Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_REGISTROBRDB set ext-community delete $INTCOMM_IRR_REJECT + +# route authorized by a client's white list? +match from 2001:db8:1:1::11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set ext-community delete $INTCOMM_IRR_REJECT + +# enforcing: origin ASN +# Reject inbound routes when 'from 2001:db8:1:1::11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 2001:db8:1:1::11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 2001:db8:1:1::11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 2001:db8:1:1::11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + +# Blackhole request? +match from 2001:db8:1:1::11 set ext-community delete rt 65520:1 + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::11 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::11 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::11 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 2001:db8:1:1::11 community BLACKHOLE +allow quick from 2001:db8:1:1::11 community 65534:0 +allow quick from 2001:db8:1:1::11 large-community 65534:0:0 + + +match from 2001:db8:1:1::11 set ext-community rt 65520:1 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 2001:db8:1:1::11 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 2001:db8:1:1::11 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::11 prefix ::/0 prefixlen 17 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::11 prefix ::/0 prefixlen 17 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 2001:db8:1:1::11 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::11 set ext-community delete rt 65520:1 + + + +allow quick from 2001:db8:1:1::11 + + + +# --------------------------------------------- +# client AS1_2, outbound + +deny quick to 2001:db8:1:1::11 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 2001:db8:1:1::11 community 65534:0 set community BLACKHOLE +match to 2001:db8:1:1::11 large-community 65534:0:0 set community BLACKHOLE + +match to 2001:db8:1:1::11 community BLACKHOLE set community NO_EXPORT +match to 2001:db8:1:1::11 community BLACKHOLE set nexthop 2001:db8:1:1::66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 2001:db8:1:1::11 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 2001:db8:1:1::11 community 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::11 ext-community rt 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::11 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 2001:db8:1:1::11 community 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::11 ext-community rt 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::11 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 2001:db8:1:1::11 community 65509:1 set community NO_EXPORT +match to 2001:db8:1:1::11 ext-community rt 65509:1 set community NO_EXPORT +match to 2001:db8:1:1::11 large-community 999:65509:1 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 2001:db8:1:1::11 community 65510:1 set community NO_ADVERTISE +match to 2001:db8:1:1::11 ext-community rt 65510:1 set community NO_ADVERTISE +match to 2001:db8:1:1::11 large-community 999:65510:1 set community NO_ADVERTISE + + +# BGP control communities +allow to 2001:db8:1:1::11 + +# do_not_announce_to_any +deny to 2001:db8:1:1::11 community 0:999 +deny to 2001:db8:1:1::11 ext-community rt 0:999 +deny to 2001:db8:1:1::11 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::11 community 0:1 +deny quick to 2001:db8:1:1::11 ext-community rt 0:1 +deny quick to 2001:db8:1:1::11 large-community 999:0:1 + +# do_not_announce_to_peers_with_rtt_lower_than 5 ms +deny to 2001:db8:1:1::11 community 64530:5 +deny to 2001:db8:1:1::11 ext-community rt 64530:5 +deny to 2001:db8:1:1::11 large-community 999:64530:5 + + +# do_not_announce_to_peers_with_rtt_lower_than 10 ms +deny to 2001:db8:1:1::11 community 64530:10 +deny to 2001:db8:1:1::11 ext-community rt 64530:10 +deny to 2001:db8:1:1::11 large-community 999:64530:10 + + +# do_not_announce_to_peers_with_rtt_lower_than 15 ms +deny to 2001:db8:1:1::11 community 64530:15 +deny to 2001:db8:1:1::11 ext-community rt 64530:15 +deny to 2001:db8:1:1::11 large-community 999:64530:15 + + +# do_not_announce_to_peers_with_rtt_lower_than 20 ms +deny to 2001:db8:1:1::11 community 64530:20 +deny to 2001:db8:1:1::11 ext-community rt 64530:20 +deny to 2001:db8:1:1::11 large-community 999:64530:20 + + +# do_not_announce_to_peers_with_rtt_lower_than 30 ms +deny to 2001:db8:1:1::11 community 64530:30 +deny to 2001:db8:1:1::11 ext-community rt 64530:30 +deny to 2001:db8:1:1::11 large-community 999:64530:30 + + +# do_not_announce_to_peers_with_rtt_lower_than 50 ms +deny to 2001:db8:1:1::11 community 64530:50 +deny to 2001:db8:1:1::11 ext-community rt 64530:50 +deny to 2001:db8:1:1::11 large-community 999:64530:50 + + +# do_not_announce_to_peers_with_rtt_lower_than 100 ms +deny to 2001:db8:1:1::11 community 64530:100 +deny to 2001:db8:1:1::11 ext-community rt 64530:100 +deny to 2001:db8:1:1::11 large-community 999:64530:100 + + +# do_not_announce_to_peers_with_rtt_lower_than 200 ms +deny to 2001:db8:1:1::11 community 64530:200 +deny to 2001:db8:1:1::11 ext-community rt 64530:200 +deny to 2001:db8:1:1::11 large-community 999:64530:200 + + +# do_not_announce_to_peers_with_rtt_lower_than 500 ms +deny to 2001:db8:1:1::11 community 64530:500 +deny to 2001:db8:1:1::11 ext-community rt 64530:500 +deny to 2001:db8:1:1::11 large-community 999:64530:500 + + +# announce_to_peers_with_rtt_lower_than 5 ms +allow to 2001:db8:1:1::11 community 64532:5 +allow to 2001:db8:1:1::11 ext-community rt 64532:5 +allow to 2001:db8:1:1::11 large-community 999:64532:5 + + +# announce_to_peers_with_rtt_lower_than 10 ms +allow to 2001:db8:1:1::11 community 64532:10 +allow to 2001:db8:1:1::11 ext-community rt 64532:10 +allow to 2001:db8:1:1::11 large-community 999:64532:10 + + +# announce_to_peers_with_rtt_lower_than 15 ms +allow to 2001:db8:1:1::11 community 64532:15 +allow to 2001:db8:1:1::11 ext-community rt 64532:15 +allow to 2001:db8:1:1::11 large-community 999:64532:15 + + +# announce_to_peers_with_rtt_lower_than 20 ms +allow to 2001:db8:1:1::11 community 64532:20 +allow to 2001:db8:1:1::11 ext-community rt 64532:20 +allow to 2001:db8:1:1::11 large-community 999:64532:20 + + +# announce_to_peers_with_rtt_lower_than 30 ms +allow to 2001:db8:1:1::11 community 64532:30 +allow to 2001:db8:1:1::11 ext-community rt 64532:30 +allow to 2001:db8:1:1::11 large-community 999:64532:30 + + +# announce_to_peers_with_rtt_lower_than 50 ms +allow to 2001:db8:1:1::11 community 64532:50 +allow to 2001:db8:1:1::11 ext-community rt 64532:50 +allow to 2001:db8:1:1::11 large-community 999:64532:50 + + +# announce_to_peers_with_rtt_lower_than 100 ms +allow to 2001:db8:1:1::11 community 64532:100 +allow to 2001:db8:1:1::11 ext-community rt 64532:100 +allow to 2001:db8:1:1::11 large-community 999:64532:100 + + +# announce_to_peers_with_rtt_lower_than 200 ms +allow to 2001:db8:1:1::11 community 64532:200 +allow to 2001:db8:1:1::11 ext-community rt 64532:200 +allow to 2001:db8:1:1::11 large-community 999:64532:200 + + +# announce_to_peers_with_rtt_lower_than 500 ms +allow to 2001:db8:1:1::11 community 64532:500 +allow to 2001:db8:1:1::11 ext-community rt 64532:500 +allow to 2001:db8:1:1::11 large-community 999:64532:500 + + +# announce_to_peer +allow to 2001:db8:1:1::11 community 65501:1 +allow to 2001:db8:1:1::11 ext-community rt 65501:1 +allow to 2001:db8:1:1::11 large-community 999:65501:1 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 65521:1 set prepend-neighbor 1 +match to 2001:db8:1:1::11 ext-community rt 65521:1 set prepend-neighbor 1 +match to 2001:db8:1:1::11 large-community 999:65521:1 set prepend-neighbor 1 + +match to 2001:db8:1:1::11 community 65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 65522:1 set prepend-neighbor 2 +match to 2001:db8:1:1::11 ext-community rt 65522:1 set prepend-neighbor 2 +match to 2001:db8:1:1::11 large-community 999:65522:1 set prepend-neighbor 2 + +match to 2001:db8:1:1::11 community 65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 65523:1 set prepend-neighbor 3 +match to 2001:db8:1:1::11 ext-community rt 65523:1 set prepend-neighbor 3 +match to 2001:db8:1:1::11 large-community 999:65523:1 set prepend-neighbor 3 + +match to 2001:db8:1:1::11 community 65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + +# prepend_once_to_peers_with_rtt_lower_than 5 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 64534:5 set prepend-neighbor 1 +match to 2001:db8:1:1::11 ext-community rt 64534:5 set prepend-neighbor 1 +match to 2001:db8:1:1::11 large-community 999:64534:5 set prepend-neighbor 1 + + +match to 2001:db8:1:1::11 community 64534:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 64534:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:64534:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 5 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 64535:5 set prepend-neighbor 2 +match to 2001:db8:1:1::11 ext-community rt 64535:5 set prepend-neighbor 2 +match to 2001:db8:1:1::11 large-community 999:64535:5 set prepend-neighbor 2 + + +match to 2001:db8:1:1::11 community 64535:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 64535:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:64535:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 5 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 64536:5 set prepend-neighbor 3 +match to 2001:db8:1:1::11 ext-community rt 64536:5 set prepend-neighbor 3 +match to 2001:db8:1:1::11 large-community 999:64536:5 set prepend-neighbor 3 + + +match to 2001:db8:1:1::11 community 64536:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 64536:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:64536:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 10 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 64534:10 set prepend-neighbor 1 +match to 2001:db8:1:1::11 ext-community rt 64534:10 set prepend-neighbor 1 +match to 2001:db8:1:1::11 large-community 999:64534:10 set prepend-neighbor 1 + + +match to 2001:db8:1:1::11 community 64534:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 64534:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:64534:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 10 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 64535:10 set prepend-neighbor 2 +match to 2001:db8:1:1::11 ext-community rt 64535:10 set prepend-neighbor 2 +match to 2001:db8:1:1::11 large-community 999:64535:10 set prepend-neighbor 2 + + +match to 2001:db8:1:1::11 community 64535:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 64535:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:64535:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 10 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 64536:10 set prepend-neighbor 3 +match to 2001:db8:1:1::11 ext-community rt 64536:10 set prepend-neighbor 3 +match to 2001:db8:1:1::11 large-community 999:64536:10 set prepend-neighbor 3 + + +match to 2001:db8:1:1::11 community 64536:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 64536:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:64536:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 15 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 64534:15 set prepend-neighbor 1 +match to 2001:db8:1:1::11 ext-community rt 64534:15 set prepend-neighbor 1 +match to 2001:db8:1:1::11 large-community 999:64534:15 set prepend-neighbor 1 + + +match to 2001:db8:1:1::11 community 64534:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 64534:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:64534:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 15 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 64535:15 set prepend-neighbor 2 +match to 2001:db8:1:1::11 ext-community rt 64535:15 set prepend-neighbor 2 +match to 2001:db8:1:1::11 large-community 999:64535:15 set prepend-neighbor 2 + + +match to 2001:db8:1:1::11 community 64535:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 64535:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:64535:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 15 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 64536:15 set prepend-neighbor 3 +match to 2001:db8:1:1::11 ext-community rt 64536:15 set prepend-neighbor 3 +match to 2001:db8:1:1::11 large-community 999:64536:15 set prepend-neighbor 3 + + +match to 2001:db8:1:1::11 community 64536:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 64536:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:64536:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 20 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 64534:20 set prepend-neighbor 1 +match to 2001:db8:1:1::11 ext-community rt 64534:20 set prepend-neighbor 1 +match to 2001:db8:1:1::11 large-community 999:64534:20 set prepend-neighbor 1 + + +match to 2001:db8:1:1::11 community 64534:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 64534:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:64534:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 20 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 64535:20 set prepend-neighbor 2 +match to 2001:db8:1:1::11 ext-community rt 64535:20 set prepend-neighbor 2 +match to 2001:db8:1:1::11 large-community 999:64535:20 set prepend-neighbor 2 + + +match to 2001:db8:1:1::11 community 64535:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 64535:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:64535:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 20 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 64536:20 set prepend-neighbor 3 +match to 2001:db8:1:1::11 ext-community rt 64536:20 set prepend-neighbor 3 +match to 2001:db8:1:1::11 large-community 999:64536:20 set prepend-neighbor 3 + + +match to 2001:db8:1:1::11 community 64536:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 64536:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:64536:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 30 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 64534:30 set prepend-neighbor 1 +match to 2001:db8:1:1::11 ext-community rt 64534:30 set prepend-neighbor 1 +match to 2001:db8:1:1::11 large-community 999:64534:30 set prepend-neighbor 1 + + +match to 2001:db8:1:1::11 community 64534:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 64534:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:64534:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 30 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 64535:30 set prepend-neighbor 2 +match to 2001:db8:1:1::11 ext-community rt 64535:30 set prepend-neighbor 2 +match to 2001:db8:1:1::11 large-community 999:64535:30 set prepend-neighbor 2 + + +match to 2001:db8:1:1::11 community 64535:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 64535:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:64535:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 30 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 64536:30 set prepend-neighbor 3 +match to 2001:db8:1:1::11 ext-community rt 64536:30 set prepend-neighbor 3 +match to 2001:db8:1:1::11 large-community 999:64536:30 set prepend-neighbor 3 + + +match to 2001:db8:1:1::11 community 64536:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 64536:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:64536:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 50 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 64534:50 set prepend-neighbor 1 +match to 2001:db8:1:1::11 ext-community rt 64534:50 set prepend-neighbor 1 +match to 2001:db8:1:1::11 large-community 999:64534:50 set prepend-neighbor 1 + + +match to 2001:db8:1:1::11 community 64534:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 64534:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:64534:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 50 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 64535:50 set prepend-neighbor 2 +match to 2001:db8:1:1::11 ext-community rt 64535:50 set prepend-neighbor 2 +match to 2001:db8:1:1::11 large-community 999:64535:50 set prepend-neighbor 2 + + +match to 2001:db8:1:1::11 community 64535:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 64535:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:64535:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 50 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 64536:50 set prepend-neighbor 3 +match to 2001:db8:1:1::11 ext-community rt 64536:50 set prepend-neighbor 3 +match to 2001:db8:1:1::11 large-community 999:64536:50 set prepend-neighbor 3 + + +match to 2001:db8:1:1::11 community 64536:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 64536:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:64536:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 100 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 64534:100 set prepend-neighbor 1 +match to 2001:db8:1:1::11 ext-community rt 64534:100 set prepend-neighbor 1 +match to 2001:db8:1:1::11 large-community 999:64534:100 set prepend-neighbor 1 + + +match to 2001:db8:1:1::11 community 64534:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 64534:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:64534:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 100 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 64535:100 set prepend-neighbor 2 +match to 2001:db8:1:1::11 ext-community rt 64535:100 set prepend-neighbor 2 +match to 2001:db8:1:1::11 large-community 999:64535:100 set prepend-neighbor 2 + + +match to 2001:db8:1:1::11 community 64535:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 64535:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:64535:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 100 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 64536:100 set prepend-neighbor 3 +match to 2001:db8:1:1::11 ext-community rt 64536:100 set prepend-neighbor 3 +match to 2001:db8:1:1::11 large-community 999:64536:100 set prepend-neighbor 3 + + +match to 2001:db8:1:1::11 community 64536:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 64536:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:64536:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 200 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 64534:200 set prepend-neighbor 1 +match to 2001:db8:1:1::11 ext-community rt 64534:200 set prepend-neighbor 1 +match to 2001:db8:1:1::11 large-community 999:64534:200 set prepend-neighbor 1 + + +match to 2001:db8:1:1::11 community 64534:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 64534:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:64534:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 200 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 64535:200 set prepend-neighbor 2 +match to 2001:db8:1:1::11 ext-community rt 64535:200 set prepend-neighbor 2 +match to 2001:db8:1:1::11 large-community 999:64535:200 set prepend-neighbor 2 + + +match to 2001:db8:1:1::11 community 64535:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 64535:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:64535:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 200 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 64536:200 set prepend-neighbor 3 +match to 2001:db8:1:1::11 ext-community rt 64536:200 set prepend-neighbor 3 +match to 2001:db8:1:1::11 large-community 999:64536:200 set prepend-neighbor 3 + + +match to 2001:db8:1:1::11 community 64536:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 64536:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:64536:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 64534:500 set prepend-neighbor 1 +match to 2001:db8:1:1::11 ext-community rt 64534:500 set prepend-neighbor 1 +match to 2001:db8:1:1::11 large-community 999:64534:500 set prepend-neighbor 1 + + +match to 2001:db8:1:1::11 community 64534:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 64534:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:64534:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 64535:500 set prepend-neighbor 2 +match to 2001:db8:1:1::11 ext-community rt 64535:500 set prepend-neighbor 2 +match to 2001:db8:1:1::11 large-community 999:64535:500 set prepend-neighbor 2 + + +match to 2001:db8:1:1::11 community 64535:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 64535:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:64535:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 64536:500 set prepend-neighbor 3 +match to 2001:db8:1:1::11 ext-community rt 64536:500 set prepend-neighbor 3 +match to 2001:db8:1:1::11 large-community 999:64536:500 set prepend-neighbor 3 + + +match to 2001:db8:1:1::11 community 64536:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 64536:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:64536:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::11 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::11 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 2001:db8:1:1::11 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::11 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::11 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 2001:db8:1:1::11 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::11 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::11 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 2001:db8:1:1::11 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS1_3, inbound + + + +# NEXT_HOP +match from 192.0.2.12 set community NO_ADVERTISE +match from 192.0.2.12 nexthop 192.0.2.11 set community delete NO_ADVERTISE +match from 192.0.2.12 nexthop 192.0.2.12 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.12 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.12 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.12 peer-as != 1' - reject code: 6 +allow quick from 192.0.2.12 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.12 AS 23456' - reject code: 7 +allow quick from 192.0.2.12 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.12 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.12 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.12 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.12 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 192.0.2.12 AS { 3, 174 }' - reject code: 8 +allow quick from 192.0.2.12 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 192.0.2.12 AS { 666, 777 }' - reject code: 15 +allow quick from 192.0.2.12 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + + +match from 192.0.2.12 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS1_3, AS1: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.12 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.12 source-as as-set AS_SET_AS_AS1_AS_AS1_CUSTOMERS_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS1_AS_AS1_CUSTOMERS +# AS-SET AS1 referenced but empty. + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS1_3, AS1: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.12 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.12 prefix-set AS_SET_AS_AS1_AS_AS1_CUSTOMERS_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS1_AS_AS1_CUSTOMERS +# AS-SET AS1 referenced but empty. + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.12 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.12 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_REGISTROBRDB community have the prefix validated by a NICBR Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.12 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_REGISTROBRDB set ext-community delete $INTCOMM_IRR_REJECT + + +# enforcing: origin ASN +# Reject inbound routes when 'from 192.0.2.12 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 192.0.2.12 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 192.0.2.12 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 192.0.2.12 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + +# Blackhole request? +match from 192.0.2.12 set ext-community delete rt 65520:1 + + +# Remove internal communities before accepting the route +match from 192.0.2.12 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.12 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.12 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 192.0.2.12 community BLACKHOLE +allow quick from 192.0.2.12 community 65534:0 +allow quick from 192.0.2.12 large-community 65534:0:0 + + +match from 192.0.2.12 set ext-community rt 65520:1 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 192.0.2.12 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 192.0.2.12 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.12 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.12 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 192.0.2.12 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 192.0.2.12 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.12 set ext-community delete rt 65520:1 + + + +allow quick from 192.0.2.12 + + + +# --------------------------------------------- +# client AS1_3, outbound + +deny quick to 192.0.2.12 community 65520:0 + + + +# Blackhole request? +# Client not enabled to receive blackhole routes +deny quick to 192.0.2.12 community BLACKHOLE +deny quick to 192.0.2.12 community 65534:0 +deny quick to 192.0.2.12 large-community 65534:0:0 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 192.0.2.12 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 192.0.2.12 community 65507:999 set community NO_EXPORT +match to 192.0.2.12 ext-community rt 65507:999 set community NO_EXPORT +match to 192.0.2.12 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 192.0.2.12 community 65508:999 set community NO_ADVERTISE +match to 192.0.2.12 ext-community rt 65508:999 set community NO_ADVERTISE +match to 192.0.2.12 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 192.0.2.12 community 65509:1 set community NO_EXPORT +match to 192.0.2.12 ext-community rt 65509:1 set community NO_EXPORT +match to 192.0.2.12 large-community 999:65509:1 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 192.0.2.12 community 65510:1 set community NO_ADVERTISE +match to 192.0.2.12 ext-community rt 65510:1 set community NO_ADVERTISE +match to 192.0.2.12 large-community 999:65510:1 set community NO_ADVERTISE + + +# BGP control communities +allow to 192.0.2.12 + +# do_not_announce_to_any +deny to 192.0.2.12 community 0:999 +deny to 192.0.2.12 ext-community rt 0:999 +deny to 192.0.2.12 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 192.0.2.12 community 0:1 +deny quick to 192.0.2.12 ext-community rt 0:1 +deny quick to 192.0.2.12 large-community 999:0:1 + +# announce_to_peer +allow to 192.0.2.12 community 65501:1 +allow to 192.0.2.12 ext-community rt 65501:1 +allow to 192.0.2.12 large-community 999:65501:1 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 65521:1 set prepend-neighbor 1 +match to 192.0.2.12 ext-community rt 65521:1 set prepend-neighbor 1 +match to 192.0.2.12 large-community 999:65521:1 set prepend-neighbor 1 + +match to 192.0.2.12 community 65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 65522:1 set prepend-neighbor 2 +match to 192.0.2.12 ext-community rt 65522:1 set prepend-neighbor 2 +match to 192.0.2.12 large-community 999:65522:1 set prepend-neighbor 2 + +match to 192.0.2.12 community 65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 65523:1 set prepend-neighbor 3 +match to 192.0.2.12 ext-community rt 65523:1 set prepend-neighbor 3 +match to 192.0.2.12 large-community 999:65523:1 set prepend-neighbor 3 + +match to 192.0.2.12 community 65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 65521:65521 set prepend-neighbor 1 +match to 192.0.2.12 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 192.0.2.12 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 192.0.2.12 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 65522:65522 set prepend-neighbor 2 +match to 192.0.2.12 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 192.0.2.12 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 192.0.2.12 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 65523:65523 set prepend-neighbor 3 +match to 192.0.2.12 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 192.0.2.12 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 192.0.2.12 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS1_4, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::12 set community NO_ADVERTISE +match from 2001:db8:1:1::12 nexthop 2001:db8:1:1::11 set community delete NO_ADVERTISE +match from 2001:db8:1:1::12 nexthop 2001:db8:1:1::12 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::12 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::12 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::12 peer-as != 1' - reject code: 6 +allow quick from 2001:db8:1:1::12 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::12 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::12 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::12 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::12 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::12 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::12 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 2001:db8:1:1::12 AS { 3, 174 }' - reject code: 8 +allow quick from 2001:db8:1:1::12 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 2001:db8:1:1::12 AS { 666, 777 }' - reject code: 15 +allow quick from 2001:db8:1:1::12 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + + +match from 2001:db8:1:1::12 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS1_4, AS1: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::12 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::12 source-as as-set AS_SET_AS_AS1_AS_AS1_CUSTOMERS_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS1_AS_AS1_CUSTOMERS +# AS-SET AS1 referenced but empty. + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS1_4, AS1: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::12 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::12 prefix-set AS_SET_AS_AS1_AS_AS1_CUSTOMERS_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS1_AS_AS1_CUSTOMERS +# AS-SET AS1 referenced but empty. + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::12 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::12 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_REGISTROBRDB community have the prefix validated by a NICBR Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::12 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_REGISTROBRDB set ext-community delete $INTCOMM_IRR_REJECT + + +# enforcing: origin ASN +# Reject inbound routes when 'from 2001:db8:1:1::12 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 2001:db8:1:1::12 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 2001:db8:1:1::12 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 2001:db8:1:1::12 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + +# Blackhole request? +match from 2001:db8:1:1::12 set ext-community delete rt 65520:1 + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::12 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::12 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::12 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 2001:db8:1:1::12 community BLACKHOLE +allow quick from 2001:db8:1:1::12 community 65534:0 +allow quick from 2001:db8:1:1::12 large-community 65534:0:0 + + +match from 2001:db8:1:1::12 set ext-community rt 65520:1 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 2001:db8:1:1::12 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 2001:db8:1:1::12 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::12 prefix ::/0 prefixlen 17 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::12 prefix ::/0 prefixlen 17 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 2001:db8:1:1::12 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::12 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::12 set ext-community delete rt 65520:1 + + + +allow quick from 2001:db8:1:1::12 + + + +# --------------------------------------------- +# client AS1_4, outbound + +deny quick to 2001:db8:1:1::12 community 65520:0 + + + +# Blackhole request? +# Client not enabled to receive blackhole routes +deny quick to 2001:db8:1:1::12 community BLACKHOLE +deny quick to 2001:db8:1:1::12 community 65534:0 +deny quick to 2001:db8:1:1::12 large-community 65534:0:0 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 2001:db8:1:1::12 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 2001:db8:1:1::12 community 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::12 ext-community rt 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::12 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 2001:db8:1:1::12 community 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::12 ext-community rt 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::12 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 2001:db8:1:1::12 community 65509:1 set community NO_EXPORT +match to 2001:db8:1:1::12 ext-community rt 65509:1 set community NO_EXPORT +match to 2001:db8:1:1::12 large-community 999:65509:1 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 2001:db8:1:1::12 community 65510:1 set community NO_ADVERTISE +match to 2001:db8:1:1::12 ext-community rt 65510:1 set community NO_ADVERTISE +match to 2001:db8:1:1::12 large-community 999:65510:1 set community NO_ADVERTISE + + +# BGP control communities +allow to 2001:db8:1:1::12 + +# do_not_announce_to_any +deny to 2001:db8:1:1::12 community 0:999 +deny to 2001:db8:1:1::12 ext-community rt 0:999 +deny to 2001:db8:1:1::12 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::12 community 0:1 +deny quick to 2001:db8:1:1::12 ext-community rt 0:1 +deny quick to 2001:db8:1:1::12 large-community 999:0:1 + +# do_not_announce_to_peers_with_rtt_lower_than 5 ms +deny to 2001:db8:1:1::12 community 64530:5 +deny to 2001:db8:1:1::12 ext-community rt 64530:5 +deny to 2001:db8:1:1::12 large-community 999:64530:5 + + +# do_not_announce_to_peers_with_rtt_lower_than 10 ms +deny to 2001:db8:1:1::12 community 64530:10 +deny to 2001:db8:1:1::12 ext-community rt 64530:10 +deny to 2001:db8:1:1::12 large-community 999:64530:10 + + +# do_not_announce_to_peers_with_rtt_lower_than 15 ms +deny to 2001:db8:1:1::12 community 64530:15 +deny to 2001:db8:1:1::12 ext-community rt 64530:15 +deny to 2001:db8:1:1::12 large-community 999:64530:15 + + +# do_not_announce_to_peers_with_rtt_lower_than 20 ms +deny to 2001:db8:1:1::12 community 64530:20 +deny to 2001:db8:1:1::12 ext-community rt 64530:20 +deny to 2001:db8:1:1::12 large-community 999:64530:20 + + +# do_not_announce_to_peers_with_rtt_lower_than 30 ms +deny to 2001:db8:1:1::12 community 64530:30 +deny to 2001:db8:1:1::12 ext-community rt 64530:30 +deny to 2001:db8:1:1::12 large-community 999:64530:30 + + +# do_not_announce_to_peers_with_rtt_lower_than 50 ms +deny to 2001:db8:1:1::12 community 64530:50 +deny to 2001:db8:1:1::12 ext-community rt 64530:50 +deny to 2001:db8:1:1::12 large-community 999:64530:50 + + +# do_not_announce_to_peers_with_rtt_lower_than 100 ms +deny to 2001:db8:1:1::12 community 64530:100 +deny to 2001:db8:1:1::12 ext-community rt 64530:100 +deny to 2001:db8:1:1::12 large-community 999:64530:100 + + +# do_not_announce_to_peers_with_rtt_lower_than 200 ms +deny to 2001:db8:1:1::12 community 64530:200 +deny to 2001:db8:1:1::12 ext-community rt 64530:200 +deny to 2001:db8:1:1::12 large-community 999:64530:200 + + +# do_not_announce_to_peers_with_rtt_lower_than 500 ms +deny to 2001:db8:1:1::12 community 64530:500 +deny to 2001:db8:1:1::12 ext-community rt 64530:500 +deny to 2001:db8:1:1::12 large-community 999:64530:500 + + +# announce_to_peers_with_rtt_lower_than 5 ms +allow to 2001:db8:1:1::12 community 64532:5 +allow to 2001:db8:1:1::12 ext-community rt 64532:5 +allow to 2001:db8:1:1::12 large-community 999:64532:5 + + +# announce_to_peers_with_rtt_lower_than 10 ms +allow to 2001:db8:1:1::12 community 64532:10 +allow to 2001:db8:1:1::12 ext-community rt 64532:10 +allow to 2001:db8:1:1::12 large-community 999:64532:10 + + +# announce_to_peers_with_rtt_lower_than 15 ms +allow to 2001:db8:1:1::12 community 64532:15 +allow to 2001:db8:1:1::12 ext-community rt 64532:15 +allow to 2001:db8:1:1::12 large-community 999:64532:15 + + +# announce_to_peers_with_rtt_lower_than 20 ms +allow to 2001:db8:1:1::12 community 64532:20 +allow to 2001:db8:1:1::12 ext-community rt 64532:20 +allow to 2001:db8:1:1::12 large-community 999:64532:20 + + +# announce_to_peers_with_rtt_lower_than 30 ms +allow to 2001:db8:1:1::12 community 64532:30 +allow to 2001:db8:1:1::12 ext-community rt 64532:30 +allow to 2001:db8:1:1::12 large-community 999:64532:30 + + +# announce_to_peers_with_rtt_lower_than 50 ms +allow to 2001:db8:1:1::12 community 64532:50 +allow to 2001:db8:1:1::12 ext-community rt 64532:50 +allow to 2001:db8:1:1::12 large-community 999:64532:50 + + +# announce_to_peers_with_rtt_lower_than 100 ms +allow to 2001:db8:1:1::12 community 64532:100 +allow to 2001:db8:1:1::12 ext-community rt 64532:100 +allow to 2001:db8:1:1::12 large-community 999:64532:100 + + +# announce_to_peers_with_rtt_lower_than 200 ms +allow to 2001:db8:1:1::12 community 64532:200 +allow to 2001:db8:1:1::12 ext-community rt 64532:200 +allow to 2001:db8:1:1::12 large-community 999:64532:200 + + +# announce_to_peers_with_rtt_lower_than 500 ms +allow to 2001:db8:1:1::12 community 64532:500 +allow to 2001:db8:1:1::12 ext-community rt 64532:500 +allow to 2001:db8:1:1::12 large-community 999:64532:500 + + +# announce_to_peer +allow to 2001:db8:1:1::12 community 65501:1 +allow to 2001:db8:1:1::12 ext-community rt 65501:1 +allow to 2001:db8:1:1::12 large-community 999:65501:1 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 65521:1 set prepend-neighbor 1 +match to 2001:db8:1:1::12 ext-community rt 65521:1 set prepend-neighbor 1 +match to 2001:db8:1:1::12 large-community 999:65521:1 set prepend-neighbor 1 + +match to 2001:db8:1:1::12 community 65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 65522:1 set prepend-neighbor 2 +match to 2001:db8:1:1::12 ext-community rt 65522:1 set prepend-neighbor 2 +match to 2001:db8:1:1::12 large-community 999:65522:1 set prepend-neighbor 2 + +match to 2001:db8:1:1::12 community 65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 65523:1 set prepend-neighbor 3 +match to 2001:db8:1:1::12 ext-community rt 65523:1 set prepend-neighbor 3 +match to 2001:db8:1:1::12 large-community 999:65523:1 set prepend-neighbor 3 + +match to 2001:db8:1:1::12 community 65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + +# prepend_once_to_peers_with_rtt_lower_than 5 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 64534:5 set prepend-neighbor 1 +match to 2001:db8:1:1::12 ext-community rt 64534:5 set prepend-neighbor 1 +match to 2001:db8:1:1::12 large-community 999:64534:5 set prepend-neighbor 1 + + +match to 2001:db8:1:1::12 community 64534:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 64534:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:64534:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 5 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 64535:5 set prepend-neighbor 2 +match to 2001:db8:1:1::12 ext-community rt 64535:5 set prepend-neighbor 2 +match to 2001:db8:1:1::12 large-community 999:64535:5 set prepend-neighbor 2 + + +match to 2001:db8:1:1::12 community 64535:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 64535:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:64535:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 5 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 64536:5 set prepend-neighbor 3 +match to 2001:db8:1:1::12 ext-community rt 64536:5 set prepend-neighbor 3 +match to 2001:db8:1:1::12 large-community 999:64536:5 set prepend-neighbor 3 + + +match to 2001:db8:1:1::12 community 64536:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 64536:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:64536:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 10 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 64534:10 set prepend-neighbor 1 +match to 2001:db8:1:1::12 ext-community rt 64534:10 set prepend-neighbor 1 +match to 2001:db8:1:1::12 large-community 999:64534:10 set prepend-neighbor 1 + + +match to 2001:db8:1:1::12 community 64534:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 64534:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:64534:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 10 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 64535:10 set prepend-neighbor 2 +match to 2001:db8:1:1::12 ext-community rt 64535:10 set prepend-neighbor 2 +match to 2001:db8:1:1::12 large-community 999:64535:10 set prepend-neighbor 2 + + +match to 2001:db8:1:1::12 community 64535:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 64535:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:64535:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 10 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 64536:10 set prepend-neighbor 3 +match to 2001:db8:1:1::12 ext-community rt 64536:10 set prepend-neighbor 3 +match to 2001:db8:1:1::12 large-community 999:64536:10 set prepend-neighbor 3 + + +match to 2001:db8:1:1::12 community 64536:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 64536:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:64536:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 15 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 64534:15 set prepend-neighbor 1 +match to 2001:db8:1:1::12 ext-community rt 64534:15 set prepend-neighbor 1 +match to 2001:db8:1:1::12 large-community 999:64534:15 set prepend-neighbor 1 + + +match to 2001:db8:1:1::12 community 64534:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 64534:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:64534:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 15 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 64535:15 set prepend-neighbor 2 +match to 2001:db8:1:1::12 ext-community rt 64535:15 set prepend-neighbor 2 +match to 2001:db8:1:1::12 large-community 999:64535:15 set prepend-neighbor 2 + + +match to 2001:db8:1:1::12 community 64535:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 64535:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:64535:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 15 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 64536:15 set prepend-neighbor 3 +match to 2001:db8:1:1::12 ext-community rt 64536:15 set prepend-neighbor 3 +match to 2001:db8:1:1::12 large-community 999:64536:15 set prepend-neighbor 3 + + +match to 2001:db8:1:1::12 community 64536:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 64536:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:64536:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 20 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 64534:20 set prepend-neighbor 1 +match to 2001:db8:1:1::12 ext-community rt 64534:20 set prepend-neighbor 1 +match to 2001:db8:1:1::12 large-community 999:64534:20 set prepend-neighbor 1 + + +match to 2001:db8:1:1::12 community 64534:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 64534:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:64534:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 20 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 64535:20 set prepend-neighbor 2 +match to 2001:db8:1:1::12 ext-community rt 64535:20 set prepend-neighbor 2 +match to 2001:db8:1:1::12 large-community 999:64535:20 set prepend-neighbor 2 + + +match to 2001:db8:1:1::12 community 64535:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 64535:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:64535:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 20 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 64536:20 set prepend-neighbor 3 +match to 2001:db8:1:1::12 ext-community rt 64536:20 set prepend-neighbor 3 +match to 2001:db8:1:1::12 large-community 999:64536:20 set prepend-neighbor 3 + + +match to 2001:db8:1:1::12 community 64536:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 64536:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:64536:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 30 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 64534:30 set prepend-neighbor 1 +match to 2001:db8:1:1::12 ext-community rt 64534:30 set prepend-neighbor 1 +match to 2001:db8:1:1::12 large-community 999:64534:30 set prepend-neighbor 1 + + +match to 2001:db8:1:1::12 community 64534:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 64534:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:64534:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 30 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 64535:30 set prepend-neighbor 2 +match to 2001:db8:1:1::12 ext-community rt 64535:30 set prepend-neighbor 2 +match to 2001:db8:1:1::12 large-community 999:64535:30 set prepend-neighbor 2 + + +match to 2001:db8:1:1::12 community 64535:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 64535:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:64535:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 30 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 64536:30 set prepend-neighbor 3 +match to 2001:db8:1:1::12 ext-community rt 64536:30 set prepend-neighbor 3 +match to 2001:db8:1:1::12 large-community 999:64536:30 set prepend-neighbor 3 + + +match to 2001:db8:1:1::12 community 64536:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 64536:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:64536:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 50 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 64534:50 set prepend-neighbor 1 +match to 2001:db8:1:1::12 ext-community rt 64534:50 set prepend-neighbor 1 +match to 2001:db8:1:1::12 large-community 999:64534:50 set prepend-neighbor 1 + + +match to 2001:db8:1:1::12 community 64534:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 64534:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:64534:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 50 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 64535:50 set prepend-neighbor 2 +match to 2001:db8:1:1::12 ext-community rt 64535:50 set prepend-neighbor 2 +match to 2001:db8:1:1::12 large-community 999:64535:50 set prepend-neighbor 2 + + +match to 2001:db8:1:1::12 community 64535:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 64535:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:64535:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 50 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 64536:50 set prepend-neighbor 3 +match to 2001:db8:1:1::12 ext-community rt 64536:50 set prepend-neighbor 3 +match to 2001:db8:1:1::12 large-community 999:64536:50 set prepend-neighbor 3 + + +match to 2001:db8:1:1::12 community 64536:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 64536:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:64536:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 100 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 64534:100 set prepend-neighbor 1 +match to 2001:db8:1:1::12 ext-community rt 64534:100 set prepend-neighbor 1 +match to 2001:db8:1:1::12 large-community 999:64534:100 set prepend-neighbor 1 + + +match to 2001:db8:1:1::12 community 64534:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 64534:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:64534:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 100 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 64535:100 set prepend-neighbor 2 +match to 2001:db8:1:1::12 ext-community rt 64535:100 set prepend-neighbor 2 +match to 2001:db8:1:1::12 large-community 999:64535:100 set prepend-neighbor 2 + + +match to 2001:db8:1:1::12 community 64535:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 64535:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:64535:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 100 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 64536:100 set prepend-neighbor 3 +match to 2001:db8:1:1::12 ext-community rt 64536:100 set prepend-neighbor 3 +match to 2001:db8:1:1::12 large-community 999:64536:100 set prepend-neighbor 3 + + +match to 2001:db8:1:1::12 community 64536:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 64536:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:64536:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 200 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 64534:200 set prepend-neighbor 1 +match to 2001:db8:1:1::12 ext-community rt 64534:200 set prepend-neighbor 1 +match to 2001:db8:1:1::12 large-community 999:64534:200 set prepend-neighbor 1 + + +match to 2001:db8:1:1::12 community 64534:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 64534:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:64534:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 200 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 64535:200 set prepend-neighbor 2 +match to 2001:db8:1:1::12 ext-community rt 64535:200 set prepend-neighbor 2 +match to 2001:db8:1:1::12 large-community 999:64535:200 set prepend-neighbor 2 + + +match to 2001:db8:1:1::12 community 64535:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 64535:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:64535:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 200 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 64536:200 set prepend-neighbor 3 +match to 2001:db8:1:1::12 ext-community rt 64536:200 set prepend-neighbor 3 +match to 2001:db8:1:1::12 large-community 999:64536:200 set prepend-neighbor 3 + + +match to 2001:db8:1:1::12 community 64536:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 64536:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:64536:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 64534:500 set prepend-neighbor 1 +match to 2001:db8:1:1::12 ext-community rt 64534:500 set prepend-neighbor 1 +match to 2001:db8:1:1::12 large-community 999:64534:500 set prepend-neighbor 1 + + +match to 2001:db8:1:1::12 community 64534:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 64534:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:64534:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 64535:500 set prepend-neighbor 2 +match to 2001:db8:1:1::12 ext-community rt 64535:500 set prepend-neighbor 2 +match to 2001:db8:1:1::12 large-community 999:64535:500 set prepend-neighbor 2 + + +match to 2001:db8:1:1::12 community 64535:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 64535:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:64535:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 64536:500 set prepend-neighbor 3 +match to 2001:db8:1:1::12 ext-community rt 64536:500 set prepend-neighbor 3 +match to 2001:db8:1:1::12 large-community 999:64536:500 set prepend-neighbor 3 + + +match to 2001:db8:1:1::12 community 64536:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 64536:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:64536:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::12 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::12 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 2001:db8:1:1::12 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::12 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::12 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 2001:db8:1:1::12 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::12 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::12 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 2001:db8:1:1::12 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS222_1, inbound + + + +# NEXT_HOP +match from 192.0.2.222 set community NO_ADVERTISE +match from 192.0.2.222 nexthop 192.0.2.222 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.222 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.222 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.222 peer-as != 222' - reject code: 6 +allow quick from 192.0.2.222 peer-as != 222 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.222 AS 23456' - reject code: 7 +allow quick from 192.0.2.222 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.222 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.222 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.222 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.222 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 192.0.2.222 AS { 3, 174 }' - reject code: 8 +allow quick from 192.0.2.222 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 192.0.2.222 AS { 666, 777 }' - reject code: 15 +allow quick from 192.0.2.222 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + +# client's white list +# Add the $INTCOMM_ROUTE_OK_WL ext community to routes which +# are validated by a client's white list entry. +# It will be used later during IRRDB validation in +# case the route is not authorized by a client's +# AS-SET. +match from 192.0.2.222 prefix 222.1.1.0/24 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.222 prefix 3222:0:1::/48 set ext-community $INTCOMM_ROUTE_OK_WL # None + +match from 192.0.2.222 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS222_1, AS222: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.222 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS222 referenced but empty. +match from 192.0.2.222 source-as as-set AS_SET_AS_AS222_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS222 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS222_1, AS222: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.222 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS222 referenced but empty. +match from 192.0.2.222 prefix-set AS_SET_AS_AS222_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS222 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.222 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.222 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_REGISTROBRDB community have the prefix validated by a NICBR Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.222 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_REGISTROBRDB set ext-community delete $INTCOMM_IRR_REJECT + +# route authorized by a client's white list? +match from 192.0.2.222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set ext-community delete $INTCOMM_IRR_REJECT + +# enforcing: origin ASN +# Reject inbound routes when 'from 192.0.2.222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 192.0.2.222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 192.0.2.222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 192.0.2.222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + +# Blackhole request? +match from 192.0.2.222 set ext-community delete rt 65520:222 + + +# Remove internal communities before accepting the route +match from 192.0.2.222 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.222 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.222 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 192.0.2.222 community BLACKHOLE +allow quick from 192.0.2.222 community 65534:0 +allow quick from 192.0.2.222 large-community 65534:0:0 + + +match from 192.0.2.222 set ext-community rt 65520:222 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 192.0.2.222 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 192.0.2.222 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.222 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.222 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 192.0.2.222 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 192.0.2.222 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.222 set ext-community delete rt 65520:222 + + + +allow quick from 192.0.2.222 + + + +# --------------------------------------------- +# client AS222_1, outbound + +deny quick to 192.0.2.222 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 192.0.2.222 community 65534:0 set community BLACKHOLE +match to 192.0.2.222 large-community 65534:0:0 set community BLACKHOLE + +match to 192.0.2.222 community BLACKHOLE set community NO_EXPORT +match to 192.0.2.222 community BLACKHOLE set nexthop 192.0.2.66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 192.0.2.222 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 192.0.2.222 community 65507:999 set community NO_EXPORT +match to 192.0.2.222 ext-community rt 65507:999 set community NO_EXPORT +match to 192.0.2.222 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 192.0.2.222 community 65508:999 set community NO_ADVERTISE +match to 192.0.2.222 ext-community rt 65508:999 set community NO_ADVERTISE +match to 192.0.2.222 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 192.0.2.222 community 65509:222 set community NO_EXPORT +match to 192.0.2.222 ext-community rt 65509:222 set community NO_EXPORT +match to 192.0.2.222 large-community 999:65509:222 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 192.0.2.222 community 65510:222 set community NO_ADVERTISE +match to 192.0.2.222 ext-community rt 65510:222 set community NO_ADVERTISE +match to 192.0.2.222 large-community 999:65510:222 set community NO_ADVERTISE + + +# BGP control communities +allow to 192.0.2.222 + +# do_not_announce_to_any +deny to 192.0.2.222 community 0:999 +deny to 192.0.2.222 ext-community rt 0:999 +deny to 192.0.2.222 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 192.0.2.222 community 0:222 +deny quick to 192.0.2.222 ext-community rt 0:222 +deny quick to 192.0.2.222 large-community 999:0:222 + +# announce_to_peer +allow to 192.0.2.222 community 65501:222 +allow to 192.0.2.222 ext-community rt 65501:222 +allow to 192.0.2.222 large-community 999:65501:222 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.222 community 65521:222 set prepend-neighbor 1 +match to 192.0.2.222 ext-community rt 65521:222 set prepend-neighbor 1 +match to 192.0.2.222 large-community 999:65521:222 set prepend-neighbor 1 + +match to 192.0.2.222 community 65521:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 ext-community rt 65521:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 large-community 999:65521:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.222 community 65522:222 set prepend-neighbor 2 +match to 192.0.2.222 ext-community rt 65522:222 set prepend-neighbor 2 +match to 192.0.2.222 large-community 999:65522:222 set prepend-neighbor 2 + +match to 192.0.2.222 community 65522:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 ext-community rt 65522:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 large-community 999:65522:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.222 community 65523:222 set prepend-neighbor 3 +match to 192.0.2.222 ext-community rt 65523:222 set prepend-neighbor 3 +match to 192.0.2.222 large-community 999:65523:222 set prepend-neighbor 3 + +match to 192.0.2.222 community 65523:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 ext-community rt 65523:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 large-community 999:65523:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.222 community 65521:65521 set prepend-neighbor 1 +match to 192.0.2.222 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 192.0.2.222 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 192.0.2.222 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.222 community 65522:65522 set prepend-neighbor 2 +match to 192.0.2.222 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 192.0.2.222 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 192.0.2.222 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.222 community 65523:65523 set prepend-neighbor 3 +match to 192.0.2.222 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 192.0.2.222 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 192.0.2.222 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS222_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::222 set community NO_ADVERTISE +match from 2001:db8:1:1::222 nexthop 2001:db8:1:1::222 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::222 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::222 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::222 peer-as != 222' - reject code: 6 +allow quick from 2001:db8:1:1::222 peer-as != 222 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::222 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::222 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::222 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::222 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::222 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::222 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 2001:db8:1:1::222 AS { 3, 174 }' - reject code: 8 +allow quick from 2001:db8:1:1::222 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 2001:db8:1:1::222 AS { 666, 777 }' - reject code: 15 +allow quick from 2001:db8:1:1::222 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + +# client's white list +# Add the $INTCOMM_ROUTE_OK_WL ext community to routes which +# are validated by a client's white list entry. +# It will be used later during IRRDB validation in +# case the route is not authorized by a client's +# AS-SET. +match from 2001:db8:1:1::222 prefix 222.1.1.0/24 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::222 prefix 3222:0:1::/48 set ext-community $INTCOMM_ROUTE_OK_WL # None + +match from 2001:db8:1:1::222 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS222_2, AS222: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::222 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS222 referenced but empty. +match from 2001:db8:1:1::222 source-as as-set AS_SET_AS_AS222_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS222 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS222_2, AS222: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::222 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS222 referenced but empty. +match from 2001:db8:1:1::222 prefix-set AS_SET_AS_AS222_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS222 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::222 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::222 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_REGISTROBRDB community have the prefix validated by a NICBR Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::222 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_REGISTROBRDB set ext-community delete $INTCOMM_IRR_REJECT + +# route authorized by a client's white list? +match from 2001:db8:1:1::222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set ext-community delete $INTCOMM_IRR_REJECT + +# enforcing: origin ASN +# Reject inbound routes when 'from 2001:db8:1:1::222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 2001:db8:1:1::222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 2001:db8:1:1::222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 2001:db8:1:1::222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + +# Blackhole request? +match from 2001:db8:1:1::222 set ext-community delete rt 65520:222 + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::222 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::222 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::222 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 2001:db8:1:1::222 community BLACKHOLE +allow quick from 2001:db8:1:1::222 community 65534:0 +allow quick from 2001:db8:1:1::222 large-community 65534:0:0 + + +match from 2001:db8:1:1::222 set ext-community rt 65520:222 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 2001:db8:1:1::222 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 2001:db8:1:1::222 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::222 prefix ::/0 prefixlen 17 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::222 prefix ::/0 prefixlen 17 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 2001:db8:1:1::222 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::222 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::222 set ext-community delete rt 65520:222 + + + +allow quick from 2001:db8:1:1::222 + + + +# --------------------------------------------- +# client AS222_2, outbound + +deny quick to 2001:db8:1:1::222 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 2001:db8:1:1::222 community 65534:0 set community BLACKHOLE +match to 2001:db8:1:1::222 large-community 65534:0:0 set community BLACKHOLE + +match to 2001:db8:1:1::222 community BLACKHOLE set community NO_EXPORT +match to 2001:db8:1:1::222 community BLACKHOLE set nexthop 2001:db8:1:1::66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 2001:db8:1:1::222 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 2001:db8:1:1::222 community 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::222 ext-community rt 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::222 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 2001:db8:1:1::222 community 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::222 ext-community rt 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::222 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 2001:db8:1:1::222 community 65509:222 set community NO_EXPORT +match to 2001:db8:1:1::222 ext-community rt 65509:222 set community NO_EXPORT +match to 2001:db8:1:1::222 large-community 999:65509:222 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 2001:db8:1:1::222 community 65510:222 set community NO_ADVERTISE +match to 2001:db8:1:1::222 ext-community rt 65510:222 set community NO_ADVERTISE +match to 2001:db8:1:1::222 large-community 999:65510:222 set community NO_ADVERTISE + + +# BGP control communities +allow to 2001:db8:1:1::222 + +# do_not_announce_to_any +deny to 2001:db8:1:1::222 community 0:999 +deny to 2001:db8:1:1::222 ext-community rt 0:999 +deny to 2001:db8:1:1::222 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::222 community 0:222 +deny quick to 2001:db8:1:1::222 ext-community rt 0:222 +deny quick to 2001:db8:1:1::222 large-community 999:0:222 + +# announce_to_peer +allow to 2001:db8:1:1::222 community 65501:222 +allow to 2001:db8:1:1::222 ext-community rt 65501:222 +allow to 2001:db8:1:1::222 large-community 999:65501:222 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::222 community 65521:222 set prepend-neighbor 1 +match to 2001:db8:1:1::222 ext-community rt 65521:222 set prepend-neighbor 1 +match to 2001:db8:1:1::222 large-community 999:65521:222 set prepend-neighbor 1 + +match to 2001:db8:1:1::222 community 65521:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 ext-community rt 65521:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 large-community 999:65521:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::222 community 65522:222 set prepend-neighbor 2 +match to 2001:db8:1:1::222 ext-community rt 65522:222 set prepend-neighbor 2 +match to 2001:db8:1:1::222 large-community 999:65522:222 set prepend-neighbor 2 + +match to 2001:db8:1:1::222 community 65522:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 ext-community rt 65522:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 large-community 999:65522:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::222 community 65523:222 set prepend-neighbor 3 +match to 2001:db8:1:1::222 ext-community rt 65523:222 set prepend-neighbor 3 +match to 2001:db8:1:1::222 large-community 999:65523:222 set prepend-neighbor 3 + +match to 2001:db8:1:1::222 community 65523:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 ext-community rt 65523:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 large-community 999:65523:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::222 community 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::222 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::222 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 2001:db8:1:1::222 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::222 community 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::222 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::222 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 2001:db8:1:1::222 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::222 community 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::222 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::222 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 2001:db8:1:1::222 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS2_1, inbound + + + +# NEXT_HOP +match from 192.0.2.21 set community NO_ADVERTISE +match from 192.0.2.21 nexthop 192.0.2.21 set community delete NO_ADVERTISE +match from 192.0.2.21 nexthop 192.0.2.22 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.21 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.21 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.21 peer-as != 2' - reject code: 6 +allow quick from 192.0.2.21 peer-as != 2 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.21 AS 23456' - reject code: 7 +allow quick from 192.0.2.21 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.21 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.21 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.21 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.21 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 192.0.2.21 AS { 3, 174 }' - reject code: 8 +allow quick from 192.0.2.21 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 192.0.2.21 AS { 666, 777 }' - reject code: 15 +allow quick from 192.0.2.21 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + + +match from 192.0.2.21 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS2_1, AS2: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.21 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS2 referenced but empty. +match from 192.0.2.21 source-as as-set AS_SET_AS_AS2_AS_AS2_CUSTOMERS_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS2_AS_AS2_CUSTOMERS + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS2_1, AS2: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.21 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS2 referenced but empty. +match from 192.0.2.21 prefix-set AS_SET_AS_AS2_AS_AS2_CUSTOMERS_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS2_AS_AS2_CUSTOMERS + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_REGISTROBRDB community have the prefix validated by a NICBR Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_REGISTROBRDB set ext-community delete $INTCOMM_IRR_REJECT + + +# enforcing: origin ASN +# Reject inbound routes when 'from 192.0.2.21 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 192.0.2.21 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 192.0.2.21 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 192.0.2.21 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + +# Blackhole request? +match from 192.0.2.21 set ext-community delete rt 65520:2 + + +# Remove internal communities before accepting the route +match from 192.0.2.21 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.21 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.21 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 192.0.2.21 community BLACKHOLE +allow quick from 192.0.2.21 community 65534:0 +allow quick from 192.0.2.21 large-community 65534:0:0 + + +match from 192.0.2.21 set ext-community rt 65520:2 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 192.0.2.21 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 192.0.2.21 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.21 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.21 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 192.0.2.21 community GRACEFUL_SHUTDOWN set community delete GRACEFUL_SHUTDOWN + +# Remove internal communities before accepting the route +match from 192.0.2.21 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.21 set ext-community delete rt 65520:2 + + + +allow quick from 192.0.2.21 + + + +# --------------------------------------------- +# client AS2_1, outbound + +deny quick to 192.0.2.21 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 192.0.2.21 community 65534:0 set community BLACKHOLE +match to 192.0.2.21 large-community 65534:0:0 set community BLACKHOLE + +match to 192.0.2.21 community BLACKHOLE set community NO_EXPORT +match to 192.0.2.21 community BLACKHOLE set nexthop 192.0.2.66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 192.0.2.21 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 192.0.2.21 community 65507:999 set community NO_EXPORT +match to 192.0.2.21 ext-community rt 65507:999 set community NO_EXPORT +match to 192.0.2.21 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 192.0.2.21 community 65508:999 set community NO_ADVERTISE +match to 192.0.2.21 ext-community rt 65508:999 set community NO_ADVERTISE +match to 192.0.2.21 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 192.0.2.21 community 65509:2 set community NO_EXPORT +match to 192.0.2.21 ext-community rt 65509:2 set community NO_EXPORT +match to 192.0.2.21 large-community 999:65509:2 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 192.0.2.21 community 65510:2 set community NO_ADVERTISE +match to 192.0.2.21 ext-community rt 65510:2 set community NO_ADVERTISE +match to 192.0.2.21 large-community 999:65510:2 set community NO_ADVERTISE + + +# BGP control communities +allow to 192.0.2.21 + +# do_not_announce_to_any +deny to 192.0.2.21 community 0:999 +deny to 192.0.2.21 ext-community rt 0:999 +deny to 192.0.2.21 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 192.0.2.21 community 0:2 +deny quick to 192.0.2.21 ext-community rt 0:2 +deny quick to 192.0.2.21 large-community 999:0:2 + +# announce_to_peer +allow to 192.0.2.21 community 65501:2 +allow to 192.0.2.21 ext-community rt 65501:2 +allow to 192.0.2.21 large-community 999:65501:2 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 65521:2 set prepend-neighbor 1 +match to 192.0.2.21 ext-community rt 65521:2 set prepend-neighbor 1 +match to 192.0.2.21 large-community 999:65521:2 set prepend-neighbor 1 + +match to 192.0.2.21 community 65521:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 65521:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:65521:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 65522:2 set prepend-neighbor 2 +match to 192.0.2.21 ext-community rt 65522:2 set prepend-neighbor 2 +match to 192.0.2.21 large-community 999:65522:2 set prepend-neighbor 2 + +match to 192.0.2.21 community 65522:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 65522:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:65522:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 65523:2 set prepend-neighbor 3 +match to 192.0.2.21 ext-community rt 65523:2 set prepend-neighbor 3 +match to 192.0.2.21 large-community 999:65523:2 set prepend-neighbor 3 + +match to 192.0.2.21 community 65523:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 65523:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:65523:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 65521:65521 set prepend-neighbor 1 +match to 192.0.2.21 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 192.0.2.21 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 192.0.2.21 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 65522:65522 set prepend-neighbor 2 +match to 192.0.2.21 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 192.0.2.21 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 192.0.2.21 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 65523:65523 set prepend-neighbor 3 +match to 192.0.2.21 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 192.0.2.21 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 192.0.2.21 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS2_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::21 set community NO_ADVERTISE +match from 2001:db8:1:1::21 nexthop 2001:db8:1:1::21 set community delete NO_ADVERTISE +match from 2001:db8:1:1::21 nexthop 2001:db8:1:1::22 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::21 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::21 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::21 peer-as != 2' - reject code: 6 +allow quick from 2001:db8:1:1::21 peer-as != 2 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 2001:db8:1:1::21 AS { 3, 174 }' - reject code: 8 +allow quick from 2001:db8:1:1::21 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 2001:db8:1:1::21 AS { 666, 777 }' - reject code: 15 +allow quick from 2001:db8:1:1::21 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + + +match from 2001:db8:1:1::21 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS2_2, AS2: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::21 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS2 referenced but empty. +match from 2001:db8:1:1::21 source-as as-set AS_SET_AS_AS2_AS_AS2_CUSTOMERS_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS2_AS_AS2_CUSTOMERS + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS2_2, AS2: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::21 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS2 referenced but empty. +match from 2001:db8:1:1::21 prefix-set AS_SET_AS_AS2_AS_AS2_CUSTOMERS_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS2_AS_AS2_CUSTOMERS + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_REGISTROBRDB community have the prefix validated by a NICBR Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_REGISTROBRDB set ext-community delete $INTCOMM_IRR_REJECT + + +# enforcing: origin ASN +# Reject inbound routes when 'from 2001:db8:1:1::21 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 2001:db8:1:1::21 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 2001:db8:1:1::21 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 2001:db8:1:1::21 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + +# Blackhole request? +match from 2001:db8:1:1::21 set ext-community delete rt 65520:2 + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::21 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::21 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::21 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 2001:db8:1:1::21 community BLACKHOLE +allow quick from 2001:db8:1:1::21 community 65534:0 +allow quick from 2001:db8:1:1::21 large-community 65534:0:0 + + +match from 2001:db8:1:1::21 set ext-community rt 65520:2 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 2001:db8:1:1::21 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 2001:db8:1:1::21 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::21 prefix ::/0 prefixlen 17 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::21 prefix ::/0 prefixlen 17 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 2001:db8:1:1::21 community GRACEFUL_SHUTDOWN set community delete GRACEFUL_SHUTDOWN + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::21 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::21 set ext-community delete rt 65520:2 + + + +allow quick from 2001:db8:1:1::21 + + + +# --------------------------------------------- +# client AS2_2, outbound + +deny quick to 2001:db8:1:1::21 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 2001:db8:1:1::21 community 65534:0 set community BLACKHOLE +match to 2001:db8:1:1::21 large-community 65534:0:0 set community BLACKHOLE + +match to 2001:db8:1:1::21 community BLACKHOLE set community NO_EXPORT +match to 2001:db8:1:1::21 community BLACKHOLE set nexthop 2001:db8:1:1::66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 2001:db8:1:1::21 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 2001:db8:1:1::21 community 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::21 ext-community rt 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::21 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 2001:db8:1:1::21 community 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::21 ext-community rt 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::21 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 2001:db8:1:1::21 community 65509:2 set community NO_EXPORT +match to 2001:db8:1:1::21 ext-community rt 65509:2 set community NO_EXPORT +match to 2001:db8:1:1::21 large-community 999:65509:2 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 2001:db8:1:1::21 community 65510:2 set community NO_ADVERTISE +match to 2001:db8:1:1::21 ext-community rt 65510:2 set community NO_ADVERTISE +match to 2001:db8:1:1::21 large-community 999:65510:2 set community NO_ADVERTISE + + +# BGP control communities +allow to 2001:db8:1:1::21 + +# do_not_announce_to_any +deny to 2001:db8:1:1::21 community 0:999 +deny to 2001:db8:1:1::21 ext-community rt 0:999 +deny to 2001:db8:1:1::21 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::21 community 0:2 +deny quick to 2001:db8:1:1::21 ext-community rt 0:2 +deny quick to 2001:db8:1:1::21 large-community 999:0:2 + +# do_not_announce_to_peers_with_rtt_lower_than 20 ms +deny to 2001:db8:1:1::21 community 64530:20 +deny to 2001:db8:1:1::21 ext-community rt 64530:20 +deny to 2001:db8:1:1::21 large-community 999:64530:20 + + +# do_not_announce_to_peers_with_rtt_lower_than 30 ms +deny to 2001:db8:1:1::21 community 64530:30 +deny to 2001:db8:1:1::21 ext-community rt 64530:30 +deny to 2001:db8:1:1::21 large-community 999:64530:30 + + +# do_not_announce_to_peers_with_rtt_lower_than 50 ms +deny to 2001:db8:1:1::21 community 64530:50 +deny to 2001:db8:1:1::21 ext-community rt 64530:50 +deny to 2001:db8:1:1::21 large-community 999:64530:50 + + +# do_not_announce_to_peers_with_rtt_lower_than 100 ms +deny to 2001:db8:1:1::21 community 64530:100 +deny to 2001:db8:1:1::21 ext-community rt 64530:100 +deny to 2001:db8:1:1::21 large-community 999:64530:100 + + +# do_not_announce_to_peers_with_rtt_lower_than 200 ms +deny to 2001:db8:1:1::21 community 64530:200 +deny to 2001:db8:1:1::21 ext-community rt 64530:200 +deny to 2001:db8:1:1::21 large-community 999:64530:200 + + +# do_not_announce_to_peers_with_rtt_lower_than 500 ms +deny to 2001:db8:1:1::21 community 64530:500 +deny to 2001:db8:1:1::21 ext-community rt 64530:500 +deny to 2001:db8:1:1::21 large-community 999:64530:500 + + +# announce_to_peers_with_rtt_lower_than 20 ms +allow to 2001:db8:1:1::21 community 64532:20 +allow to 2001:db8:1:1::21 ext-community rt 64532:20 +allow to 2001:db8:1:1::21 large-community 999:64532:20 + + +# announce_to_peers_with_rtt_lower_than 30 ms +allow to 2001:db8:1:1::21 community 64532:30 +allow to 2001:db8:1:1::21 ext-community rt 64532:30 +allow to 2001:db8:1:1::21 large-community 999:64532:30 + + +# announce_to_peers_with_rtt_lower_than 50 ms +allow to 2001:db8:1:1::21 community 64532:50 +allow to 2001:db8:1:1::21 ext-community rt 64532:50 +allow to 2001:db8:1:1::21 large-community 999:64532:50 + + +# announce_to_peers_with_rtt_lower_than 100 ms +allow to 2001:db8:1:1::21 community 64532:100 +allow to 2001:db8:1:1::21 ext-community rt 64532:100 +allow to 2001:db8:1:1::21 large-community 999:64532:100 + + +# announce_to_peers_with_rtt_lower_than 200 ms +allow to 2001:db8:1:1::21 community 64532:200 +allow to 2001:db8:1:1::21 ext-community rt 64532:200 +allow to 2001:db8:1:1::21 large-community 999:64532:200 + + +# announce_to_peers_with_rtt_lower_than 500 ms +allow to 2001:db8:1:1::21 community 64532:500 +allow to 2001:db8:1:1::21 ext-community rt 64532:500 +allow to 2001:db8:1:1::21 large-community 999:64532:500 + + +# do_not_announce_to_peers_with_rtt_higher_than 5 ms +deny to 2001:db8:1:1::21 community 64531:5 +deny to 2001:db8:1:1::21 ext-community rt 64531:5 +deny to 2001:db8:1:1::21 large-community 999:64531:5 + + +# do_not_announce_to_peers_with_rtt_higher_than 10 ms +deny to 2001:db8:1:1::21 community 64531:10 +deny to 2001:db8:1:1::21 ext-community rt 64531:10 +deny to 2001:db8:1:1::21 large-community 999:64531:10 + + +# do_not_announce_to_peers_with_rtt_higher_than 15 ms +deny to 2001:db8:1:1::21 community 64531:15 +deny to 2001:db8:1:1::21 ext-community rt 64531:15 +deny to 2001:db8:1:1::21 large-community 999:64531:15 + + +# announce_to_peers_with_rtt_higher_than 5 ms +allow to 2001:db8:1:1::21 community 64533:5 +allow to 2001:db8:1:1::21 ext-community rt 64533:5 +allow to 2001:db8:1:1::21 large-community 999:64533:5 + + +# announce_to_peers_with_rtt_higher_than 10 ms +allow to 2001:db8:1:1::21 community 64533:10 +allow to 2001:db8:1:1::21 ext-community rt 64533:10 +allow to 2001:db8:1:1::21 large-community 999:64533:10 + + +# announce_to_peers_with_rtt_higher_than 15 ms +allow to 2001:db8:1:1::21 community 64533:15 +allow to 2001:db8:1:1::21 ext-community rt 64533:15 +allow to 2001:db8:1:1::21 large-community 999:64533:15 + + +# announce_to_peer +allow to 2001:db8:1:1::21 community 65501:2 +allow to 2001:db8:1:1::21 ext-community rt 65501:2 +allow to 2001:db8:1:1::21 large-community 999:65501:2 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 65521:2 set prepend-neighbor 1 +match to 2001:db8:1:1::21 ext-community rt 65521:2 set prepend-neighbor 1 +match to 2001:db8:1:1::21 large-community 999:65521:2 set prepend-neighbor 1 + +match to 2001:db8:1:1::21 community 65521:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 65521:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:65521:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 65522:2 set prepend-neighbor 2 +match to 2001:db8:1:1::21 ext-community rt 65522:2 set prepend-neighbor 2 +match to 2001:db8:1:1::21 large-community 999:65522:2 set prepend-neighbor 2 + +match to 2001:db8:1:1::21 community 65522:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 65522:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:65522:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 65523:2 set prepend-neighbor 3 +match to 2001:db8:1:1::21 ext-community rt 65523:2 set prepend-neighbor 3 +match to 2001:db8:1:1::21 large-community 999:65523:2 set prepend-neighbor 3 + +match to 2001:db8:1:1::21 community 65523:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 65523:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:65523:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + +# prepend_once_to_peers_with_rtt_higher_than 15 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 64537:15 set prepend-neighbor 1 +match to 2001:db8:1:1::21 ext-community rt 64537:15 set prepend-neighbor 1 +match to 2001:db8:1:1::21 large-community 999:64537:15 set prepend-neighbor 1 + + +match to 2001:db8:1:1::21 community 64537:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 64537:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:64537:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 15 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 64538:15 set prepend-neighbor 2 +match to 2001:db8:1:1::21 ext-community rt 64538:15 set prepend-neighbor 2 +match to 2001:db8:1:1::21 large-community 999:64538:15 set prepend-neighbor 2 + + +match to 2001:db8:1:1::21 community 64538:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 64538:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:64538:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 15 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 64539:15 set prepend-neighbor 3 +match to 2001:db8:1:1::21 ext-community rt 64539:15 set prepend-neighbor 3 +match to 2001:db8:1:1::21 large-community 999:64539:15 set prepend-neighbor 3 + + +match to 2001:db8:1:1::21 community 64539:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 64539:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:64539:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_higher_than 10 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 64537:10 set prepend-neighbor 1 +match to 2001:db8:1:1::21 ext-community rt 64537:10 set prepend-neighbor 1 +match to 2001:db8:1:1::21 large-community 999:64537:10 set prepend-neighbor 1 + + +match to 2001:db8:1:1::21 community 64537:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 64537:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:64537:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 10 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 64538:10 set prepend-neighbor 2 +match to 2001:db8:1:1::21 ext-community rt 64538:10 set prepend-neighbor 2 +match to 2001:db8:1:1::21 large-community 999:64538:10 set prepend-neighbor 2 + + +match to 2001:db8:1:1::21 community 64538:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 64538:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:64538:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 10 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 64539:10 set prepend-neighbor 3 +match to 2001:db8:1:1::21 ext-community rt 64539:10 set prepend-neighbor 3 +match to 2001:db8:1:1::21 large-community 999:64539:10 set prepend-neighbor 3 + + +match to 2001:db8:1:1::21 community 64539:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 64539:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:64539:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_higher_than 5 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 64537:5 set prepend-neighbor 1 +match to 2001:db8:1:1::21 ext-community rt 64537:5 set prepend-neighbor 1 +match to 2001:db8:1:1::21 large-community 999:64537:5 set prepend-neighbor 1 + + +match to 2001:db8:1:1::21 community 64537:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 64537:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:64537:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 5 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 64538:5 set prepend-neighbor 2 +match to 2001:db8:1:1::21 ext-community rt 64538:5 set prepend-neighbor 2 +match to 2001:db8:1:1::21 large-community 999:64538:5 set prepend-neighbor 2 + + +match to 2001:db8:1:1::21 community 64538:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 64538:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:64538:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 5 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 64539:5 set prepend-neighbor 3 +match to 2001:db8:1:1::21 ext-community rt 64539:5 set prepend-neighbor 3 +match to 2001:db8:1:1::21 large-community 999:64539:5 set prepend-neighbor 3 + + +match to 2001:db8:1:1::21 community 64539:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 64539:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:64539:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 20 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 64534:20 set prepend-neighbor 1 +match to 2001:db8:1:1::21 ext-community rt 64534:20 set prepend-neighbor 1 +match to 2001:db8:1:1::21 large-community 999:64534:20 set prepend-neighbor 1 + + +match to 2001:db8:1:1::21 community 64534:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 64534:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:64534:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 20 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 64535:20 set prepend-neighbor 2 +match to 2001:db8:1:1::21 ext-community rt 64535:20 set prepend-neighbor 2 +match to 2001:db8:1:1::21 large-community 999:64535:20 set prepend-neighbor 2 + + +match to 2001:db8:1:1::21 community 64535:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 64535:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:64535:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 20 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 64536:20 set prepend-neighbor 3 +match to 2001:db8:1:1::21 ext-community rt 64536:20 set prepend-neighbor 3 +match to 2001:db8:1:1::21 large-community 999:64536:20 set prepend-neighbor 3 + + +match to 2001:db8:1:1::21 community 64536:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 64536:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:64536:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 30 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 64534:30 set prepend-neighbor 1 +match to 2001:db8:1:1::21 ext-community rt 64534:30 set prepend-neighbor 1 +match to 2001:db8:1:1::21 large-community 999:64534:30 set prepend-neighbor 1 + + +match to 2001:db8:1:1::21 community 64534:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 64534:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:64534:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 30 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 64535:30 set prepend-neighbor 2 +match to 2001:db8:1:1::21 ext-community rt 64535:30 set prepend-neighbor 2 +match to 2001:db8:1:1::21 large-community 999:64535:30 set prepend-neighbor 2 + + +match to 2001:db8:1:1::21 community 64535:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 64535:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:64535:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 30 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 64536:30 set prepend-neighbor 3 +match to 2001:db8:1:1::21 ext-community rt 64536:30 set prepend-neighbor 3 +match to 2001:db8:1:1::21 large-community 999:64536:30 set prepend-neighbor 3 + + +match to 2001:db8:1:1::21 community 64536:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 64536:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:64536:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 50 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 64534:50 set prepend-neighbor 1 +match to 2001:db8:1:1::21 ext-community rt 64534:50 set prepend-neighbor 1 +match to 2001:db8:1:1::21 large-community 999:64534:50 set prepend-neighbor 1 + + +match to 2001:db8:1:1::21 community 64534:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 64534:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:64534:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 50 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 64535:50 set prepend-neighbor 2 +match to 2001:db8:1:1::21 ext-community rt 64535:50 set prepend-neighbor 2 +match to 2001:db8:1:1::21 large-community 999:64535:50 set prepend-neighbor 2 + + +match to 2001:db8:1:1::21 community 64535:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 64535:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:64535:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 50 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 64536:50 set prepend-neighbor 3 +match to 2001:db8:1:1::21 ext-community rt 64536:50 set prepend-neighbor 3 +match to 2001:db8:1:1::21 large-community 999:64536:50 set prepend-neighbor 3 + + +match to 2001:db8:1:1::21 community 64536:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 64536:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:64536:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 100 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 64534:100 set prepend-neighbor 1 +match to 2001:db8:1:1::21 ext-community rt 64534:100 set prepend-neighbor 1 +match to 2001:db8:1:1::21 large-community 999:64534:100 set prepend-neighbor 1 + + +match to 2001:db8:1:1::21 community 64534:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 64534:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:64534:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 100 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 64535:100 set prepend-neighbor 2 +match to 2001:db8:1:1::21 ext-community rt 64535:100 set prepend-neighbor 2 +match to 2001:db8:1:1::21 large-community 999:64535:100 set prepend-neighbor 2 + + +match to 2001:db8:1:1::21 community 64535:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 64535:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:64535:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 100 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 64536:100 set prepend-neighbor 3 +match to 2001:db8:1:1::21 ext-community rt 64536:100 set prepend-neighbor 3 +match to 2001:db8:1:1::21 large-community 999:64536:100 set prepend-neighbor 3 + + +match to 2001:db8:1:1::21 community 64536:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 64536:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:64536:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 200 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 64534:200 set prepend-neighbor 1 +match to 2001:db8:1:1::21 ext-community rt 64534:200 set prepend-neighbor 1 +match to 2001:db8:1:1::21 large-community 999:64534:200 set prepend-neighbor 1 + + +match to 2001:db8:1:1::21 community 64534:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 64534:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:64534:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 200 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 64535:200 set prepend-neighbor 2 +match to 2001:db8:1:1::21 ext-community rt 64535:200 set prepend-neighbor 2 +match to 2001:db8:1:1::21 large-community 999:64535:200 set prepend-neighbor 2 + + +match to 2001:db8:1:1::21 community 64535:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 64535:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:64535:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 200 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 64536:200 set prepend-neighbor 3 +match to 2001:db8:1:1::21 ext-community rt 64536:200 set prepend-neighbor 3 +match to 2001:db8:1:1::21 large-community 999:64536:200 set prepend-neighbor 3 + + +match to 2001:db8:1:1::21 community 64536:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 64536:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:64536:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 64534:500 set prepend-neighbor 1 +match to 2001:db8:1:1::21 ext-community rt 64534:500 set prepend-neighbor 1 +match to 2001:db8:1:1::21 large-community 999:64534:500 set prepend-neighbor 1 + + +match to 2001:db8:1:1::21 community 64534:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 64534:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:64534:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 64535:500 set prepend-neighbor 2 +match to 2001:db8:1:1::21 ext-community rt 64535:500 set prepend-neighbor 2 +match to 2001:db8:1:1::21 large-community 999:64535:500 set prepend-neighbor 2 + + +match to 2001:db8:1:1::21 community 64535:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 64535:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:64535:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 64536:500 set prepend-neighbor 3 +match to 2001:db8:1:1::21 ext-community rt 64536:500 set prepend-neighbor 3 +match to 2001:db8:1:1::21 large-community 999:64536:500 set prepend-neighbor 3 + + +match to 2001:db8:1:1::21 community 64536:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 64536:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:64536:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::21 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::21 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 2001:db8:1:1::21 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::21 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::21 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 2001:db8:1:1::21 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::21 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::21 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 2001:db8:1:1::21 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS3_1, inbound + + + +# NEXT_HOP +match from 192.0.2.31 set community NO_ADVERTISE +match from 192.0.2.31 nexthop 192.0.2.31 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.31 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.31 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.31 peer-as != 3' - reject code: 6 +allow quick from 192.0.2.31 peer-as != 3 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.31 AS 23456' - reject code: 7 +allow quick from 192.0.2.31 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.31 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.31 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.31 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.31 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 192.0.2.31 AS { 174 }' - reject code: 8 +allow quick from 192.0.2.31 AS { 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 192.0.2.31 AS { 666, 777 }' - reject code: 15 +allow quick from 192.0.2.31 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + + + + +# Prefix: client's blacklist +prefix-set "client_AS3_1_black_list_pref_ipv4" { + 3.0.1.0/24 prefixlen 24 - 32 + +} +# Reject inbound routes when 'from 192.0.2.31 prefix-set client_AS3_1_black_list_pref_ipv4' - reject code: 11 +allow quick from 192.0.2.31 prefix-set client_AS3_1_black_list_pref_ipv4 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:11} + + + + +# Blackhole request? +match from 192.0.2.31 set ext-community delete rt 65520:3 + + +# Remove internal communities before accepting the route +match from 192.0.2.31 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.31 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.31 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 192.0.2.31 community BLACKHOLE +allow quick from 192.0.2.31 community 65534:0 +allow quick from 192.0.2.31 large-community 65534:0:0 + + +match from 192.0.2.31 set ext-community rt 65520:3 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 192.0.2.31 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 192.0.2.31 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.31 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.31 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 192.0.2.31 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 192.0.2.31 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.31 set ext-community delete rt 65520:3 + + + +allow quick from 192.0.2.31 + + + +# --------------------------------------------- +# client AS3_1, outbound + +deny quick to 192.0.2.31 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 192.0.2.31 community 65534:0 set community BLACKHOLE +match to 192.0.2.31 large-community 65534:0:0 set community BLACKHOLE + +match to 192.0.2.31 community BLACKHOLE set community NO_EXPORT +match to 192.0.2.31 community BLACKHOLE set nexthop 192.0.2.66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 192.0.2.31 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 192.0.2.31 community 65507:999 set community NO_EXPORT +match to 192.0.2.31 ext-community rt 65507:999 set community NO_EXPORT +match to 192.0.2.31 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 192.0.2.31 community 65508:999 set community NO_ADVERTISE +match to 192.0.2.31 ext-community rt 65508:999 set community NO_ADVERTISE +match to 192.0.2.31 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 192.0.2.31 community 65509:3 set community NO_EXPORT +match to 192.0.2.31 ext-community rt 65509:3 set community NO_EXPORT +match to 192.0.2.31 large-community 999:65509:3 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 192.0.2.31 community 65510:3 set community NO_ADVERTISE +match to 192.0.2.31 ext-community rt 65510:3 set community NO_ADVERTISE +match to 192.0.2.31 large-community 999:65510:3 set community NO_ADVERTISE + + +# BGP control communities +allow to 192.0.2.31 + +# do_not_announce_to_any +deny to 192.0.2.31 community 0:999 +deny to 192.0.2.31 ext-community rt 0:999 +deny to 192.0.2.31 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 192.0.2.31 community 0:3 +deny quick to 192.0.2.31 ext-community rt 0:3 +deny quick to 192.0.2.31 large-community 999:0:3 + +# announce_to_peer +allow to 192.0.2.31 community 65501:3 +allow to 192.0.2.31 ext-community rt 65501:3 +allow to 192.0.2.31 large-community 999:65501:3 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 65521:3 set prepend-neighbor 1 +match to 192.0.2.31 ext-community rt 65521:3 set prepend-neighbor 1 +match to 192.0.2.31 large-community 999:65521:3 set prepend-neighbor 1 + +match to 192.0.2.31 community 65521:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 65521:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:65521:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 65522:3 set prepend-neighbor 2 +match to 192.0.2.31 ext-community rt 65522:3 set prepend-neighbor 2 +match to 192.0.2.31 large-community 999:65522:3 set prepend-neighbor 2 + +match to 192.0.2.31 community 65522:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 65522:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:65522:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 65523:3 set prepend-neighbor 3 +match to 192.0.2.31 ext-community rt 65523:3 set prepend-neighbor 3 +match to 192.0.2.31 large-community 999:65523:3 set prepend-neighbor 3 + +match to 192.0.2.31 community 65523:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 65523:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:65523:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 65521:65521 set prepend-neighbor 1 +match to 192.0.2.31 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 192.0.2.31 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 192.0.2.31 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 65522:65522 set prepend-neighbor 2 +match to 192.0.2.31 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 192.0.2.31 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 192.0.2.31 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 65523:65523 set prepend-neighbor 3 +match to 192.0.2.31 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 192.0.2.31 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 192.0.2.31 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS3_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::31 set community NO_ADVERTISE +match from 2001:db8:1:1::31 nexthop 2001:db8:1:1::31 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::31 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::31 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::31 peer-as != 3' - reject code: 6 +allow quick from 2001:db8:1:1::31 peer-as != 3 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::31 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::31 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::31 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::31 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::31 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::31 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 2001:db8:1:1::31 AS { 174 }' - reject code: 8 +allow quick from 2001:db8:1:1::31 AS { 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 2001:db8:1:1::31 AS { 666, 777 }' - reject code: 15 +allow quick from 2001:db8:1:1::31 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + + + + +# Prefix: client's blacklist +prefix-set "client_AS3_2_black_list_pref_ipv6" { + 2a03:0:1::/48 prefixlen 48 - 128 + +} +# Reject inbound routes when 'from 2001:db8:1:1::31 prefix-set client_AS3_2_black_list_pref_ipv6' - reject code: 11 +allow quick from 2001:db8:1:1::31 prefix-set client_AS3_2_black_list_pref_ipv6 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:11} + + + + +# Blackhole request? +match from 2001:db8:1:1::31 set ext-community delete rt 65520:3 + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::31 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::31 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::31 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 2001:db8:1:1::31 community BLACKHOLE +allow quick from 2001:db8:1:1::31 community 65534:0 +allow quick from 2001:db8:1:1::31 large-community 65534:0:0 + + +match from 2001:db8:1:1::31 set ext-community rt 65520:3 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 2001:db8:1:1::31 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 2001:db8:1:1::31 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::31 prefix ::/0 prefixlen 17 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::31 prefix ::/0 prefixlen 17 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 2001:db8:1:1::31 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::31 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::31 set ext-community delete rt 65520:3 + + + +allow quick from 2001:db8:1:1::31 + + + +# --------------------------------------------- +# client AS3_2, outbound + +deny quick to 2001:db8:1:1::31 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 2001:db8:1:1::31 community 65534:0 set community BLACKHOLE +match to 2001:db8:1:1::31 large-community 65534:0:0 set community BLACKHOLE + +match to 2001:db8:1:1::31 community BLACKHOLE set community NO_EXPORT +match to 2001:db8:1:1::31 community BLACKHOLE set nexthop 2001:db8:1:1::66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 2001:db8:1:1::31 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 2001:db8:1:1::31 community 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::31 ext-community rt 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::31 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 2001:db8:1:1::31 community 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::31 ext-community rt 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::31 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 2001:db8:1:1::31 community 65509:3 set community NO_EXPORT +match to 2001:db8:1:1::31 ext-community rt 65509:3 set community NO_EXPORT +match to 2001:db8:1:1::31 large-community 999:65509:3 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 2001:db8:1:1::31 community 65510:3 set community NO_ADVERTISE +match to 2001:db8:1:1::31 ext-community rt 65510:3 set community NO_ADVERTISE +match to 2001:db8:1:1::31 large-community 999:65510:3 set community NO_ADVERTISE + + +# BGP control communities +allow to 2001:db8:1:1::31 + +# do_not_announce_to_any +deny to 2001:db8:1:1::31 community 0:999 +deny to 2001:db8:1:1::31 ext-community rt 0:999 +deny to 2001:db8:1:1::31 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::31 community 0:3 +deny quick to 2001:db8:1:1::31 ext-community rt 0:3 +deny quick to 2001:db8:1:1::31 large-community 999:0:3 + +# do_not_announce_to_peers_with_rtt_lower_than 200 ms +deny to 2001:db8:1:1::31 community 64530:200 +deny to 2001:db8:1:1::31 ext-community rt 64530:200 +deny to 2001:db8:1:1::31 large-community 999:64530:200 + + +# do_not_announce_to_peers_with_rtt_lower_than 500 ms +deny to 2001:db8:1:1::31 community 64530:500 +deny to 2001:db8:1:1::31 ext-community rt 64530:500 +deny to 2001:db8:1:1::31 large-community 999:64530:500 + + +# announce_to_peers_with_rtt_lower_than 200 ms +allow to 2001:db8:1:1::31 community 64532:200 +allow to 2001:db8:1:1::31 ext-community rt 64532:200 +allow to 2001:db8:1:1::31 large-community 999:64532:200 + + +# announce_to_peers_with_rtt_lower_than 500 ms +allow to 2001:db8:1:1::31 community 64532:500 +allow to 2001:db8:1:1::31 ext-community rt 64532:500 +allow to 2001:db8:1:1::31 large-community 999:64532:500 + + +# do_not_announce_to_peers_with_rtt_higher_than 5 ms +deny to 2001:db8:1:1::31 community 64531:5 +deny to 2001:db8:1:1::31 ext-community rt 64531:5 +deny to 2001:db8:1:1::31 large-community 999:64531:5 + + +# do_not_announce_to_peers_with_rtt_higher_than 10 ms +deny to 2001:db8:1:1::31 community 64531:10 +deny to 2001:db8:1:1::31 ext-community rt 64531:10 +deny to 2001:db8:1:1::31 large-community 999:64531:10 + + +# do_not_announce_to_peers_with_rtt_higher_than 15 ms +deny to 2001:db8:1:1::31 community 64531:15 +deny to 2001:db8:1:1::31 ext-community rt 64531:15 +deny to 2001:db8:1:1::31 large-community 999:64531:15 + + +# do_not_announce_to_peers_with_rtt_higher_than 20 ms +deny to 2001:db8:1:1::31 community 64531:20 +deny to 2001:db8:1:1::31 ext-community rt 64531:20 +deny to 2001:db8:1:1::31 large-community 999:64531:20 + + +# do_not_announce_to_peers_with_rtt_higher_than 30 ms +deny to 2001:db8:1:1::31 community 64531:30 +deny to 2001:db8:1:1::31 ext-community rt 64531:30 +deny to 2001:db8:1:1::31 large-community 999:64531:30 + + +# do_not_announce_to_peers_with_rtt_higher_than 50 ms +deny to 2001:db8:1:1::31 community 64531:50 +deny to 2001:db8:1:1::31 ext-community rt 64531:50 +deny to 2001:db8:1:1::31 large-community 999:64531:50 + + +# do_not_announce_to_peers_with_rtt_higher_than 100 ms +deny to 2001:db8:1:1::31 community 64531:100 +deny to 2001:db8:1:1::31 ext-community rt 64531:100 +deny to 2001:db8:1:1::31 large-community 999:64531:100 + + +# announce_to_peers_with_rtt_higher_than 5 ms +allow to 2001:db8:1:1::31 community 64533:5 +allow to 2001:db8:1:1::31 ext-community rt 64533:5 +allow to 2001:db8:1:1::31 large-community 999:64533:5 + + +# announce_to_peers_with_rtt_higher_than 10 ms +allow to 2001:db8:1:1::31 community 64533:10 +allow to 2001:db8:1:1::31 ext-community rt 64533:10 +allow to 2001:db8:1:1::31 large-community 999:64533:10 + + +# announce_to_peers_with_rtt_higher_than 15 ms +allow to 2001:db8:1:1::31 community 64533:15 +allow to 2001:db8:1:1::31 ext-community rt 64533:15 +allow to 2001:db8:1:1::31 large-community 999:64533:15 + + +# announce_to_peers_with_rtt_higher_than 20 ms +allow to 2001:db8:1:1::31 community 64533:20 +allow to 2001:db8:1:1::31 ext-community rt 64533:20 +allow to 2001:db8:1:1::31 large-community 999:64533:20 + + +# announce_to_peers_with_rtt_higher_than 30 ms +allow to 2001:db8:1:1::31 community 64533:30 +allow to 2001:db8:1:1::31 ext-community rt 64533:30 +allow to 2001:db8:1:1::31 large-community 999:64533:30 + + +# announce_to_peers_with_rtt_higher_than 50 ms +allow to 2001:db8:1:1::31 community 64533:50 +allow to 2001:db8:1:1::31 ext-community rt 64533:50 +allow to 2001:db8:1:1::31 large-community 999:64533:50 + + +# announce_to_peers_with_rtt_higher_than 100 ms +allow to 2001:db8:1:1::31 community 64533:100 +allow to 2001:db8:1:1::31 ext-community rt 64533:100 +allow to 2001:db8:1:1::31 large-community 999:64533:100 + + +# announce_to_peer +allow to 2001:db8:1:1::31 community 65501:3 +allow to 2001:db8:1:1::31 ext-community rt 65501:3 +allow to 2001:db8:1:1::31 large-community 999:65501:3 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 65521:3 set prepend-neighbor 1 +match to 2001:db8:1:1::31 ext-community rt 65521:3 set prepend-neighbor 1 +match to 2001:db8:1:1::31 large-community 999:65521:3 set prepend-neighbor 1 + +match to 2001:db8:1:1::31 community 65521:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 65521:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:65521:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 65522:3 set prepend-neighbor 2 +match to 2001:db8:1:1::31 ext-community rt 65522:3 set prepend-neighbor 2 +match to 2001:db8:1:1::31 large-community 999:65522:3 set prepend-neighbor 2 + +match to 2001:db8:1:1::31 community 65522:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 65522:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:65522:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 65523:3 set prepend-neighbor 3 +match to 2001:db8:1:1::31 ext-community rt 65523:3 set prepend-neighbor 3 +match to 2001:db8:1:1::31 large-community 999:65523:3 set prepend-neighbor 3 + +match to 2001:db8:1:1::31 community 65523:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 65523:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:65523:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + +# prepend_once_to_peers_with_rtt_higher_than 100 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 64537:100 set prepend-neighbor 1 +match to 2001:db8:1:1::31 ext-community rt 64537:100 set prepend-neighbor 1 +match to 2001:db8:1:1::31 large-community 999:64537:100 set prepend-neighbor 1 + + +match to 2001:db8:1:1::31 community 64537:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 64537:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:64537:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 100 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 64538:100 set prepend-neighbor 2 +match to 2001:db8:1:1::31 ext-community rt 64538:100 set prepend-neighbor 2 +match to 2001:db8:1:1::31 large-community 999:64538:100 set prepend-neighbor 2 + + +match to 2001:db8:1:1::31 community 64538:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 64538:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:64538:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 100 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 64539:100 set prepend-neighbor 3 +match to 2001:db8:1:1::31 ext-community rt 64539:100 set prepend-neighbor 3 +match to 2001:db8:1:1::31 large-community 999:64539:100 set prepend-neighbor 3 + + +match to 2001:db8:1:1::31 community 64539:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 64539:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:64539:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_higher_than 50 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 64537:50 set prepend-neighbor 1 +match to 2001:db8:1:1::31 ext-community rt 64537:50 set prepend-neighbor 1 +match to 2001:db8:1:1::31 large-community 999:64537:50 set prepend-neighbor 1 + + +match to 2001:db8:1:1::31 community 64537:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 64537:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:64537:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 50 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 64538:50 set prepend-neighbor 2 +match to 2001:db8:1:1::31 ext-community rt 64538:50 set prepend-neighbor 2 +match to 2001:db8:1:1::31 large-community 999:64538:50 set prepend-neighbor 2 + + +match to 2001:db8:1:1::31 community 64538:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 64538:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:64538:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 50 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 64539:50 set prepend-neighbor 3 +match to 2001:db8:1:1::31 ext-community rt 64539:50 set prepend-neighbor 3 +match to 2001:db8:1:1::31 large-community 999:64539:50 set prepend-neighbor 3 + + +match to 2001:db8:1:1::31 community 64539:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 64539:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:64539:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_higher_than 30 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 64537:30 set prepend-neighbor 1 +match to 2001:db8:1:1::31 ext-community rt 64537:30 set prepend-neighbor 1 +match to 2001:db8:1:1::31 large-community 999:64537:30 set prepend-neighbor 1 + + +match to 2001:db8:1:1::31 community 64537:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 64537:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:64537:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 30 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 64538:30 set prepend-neighbor 2 +match to 2001:db8:1:1::31 ext-community rt 64538:30 set prepend-neighbor 2 +match to 2001:db8:1:1::31 large-community 999:64538:30 set prepend-neighbor 2 + + +match to 2001:db8:1:1::31 community 64538:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 64538:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:64538:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 30 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 64539:30 set prepend-neighbor 3 +match to 2001:db8:1:1::31 ext-community rt 64539:30 set prepend-neighbor 3 +match to 2001:db8:1:1::31 large-community 999:64539:30 set prepend-neighbor 3 + + +match to 2001:db8:1:1::31 community 64539:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 64539:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:64539:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_higher_than 20 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 64537:20 set prepend-neighbor 1 +match to 2001:db8:1:1::31 ext-community rt 64537:20 set prepend-neighbor 1 +match to 2001:db8:1:1::31 large-community 999:64537:20 set prepend-neighbor 1 + + +match to 2001:db8:1:1::31 community 64537:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 64537:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:64537:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 20 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 64538:20 set prepend-neighbor 2 +match to 2001:db8:1:1::31 ext-community rt 64538:20 set prepend-neighbor 2 +match to 2001:db8:1:1::31 large-community 999:64538:20 set prepend-neighbor 2 + + +match to 2001:db8:1:1::31 community 64538:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 64538:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:64538:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 20 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 64539:20 set prepend-neighbor 3 +match to 2001:db8:1:1::31 ext-community rt 64539:20 set prepend-neighbor 3 +match to 2001:db8:1:1::31 large-community 999:64539:20 set prepend-neighbor 3 + + +match to 2001:db8:1:1::31 community 64539:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 64539:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:64539:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_higher_than 15 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 64537:15 set prepend-neighbor 1 +match to 2001:db8:1:1::31 ext-community rt 64537:15 set prepend-neighbor 1 +match to 2001:db8:1:1::31 large-community 999:64537:15 set prepend-neighbor 1 + + +match to 2001:db8:1:1::31 community 64537:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 64537:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:64537:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 15 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 64538:15 set prepend-neighbor 2 +match to 2001:db8:1:1::31 ext-community rt 64538:15 set prepend-neighbor 2 +match to 2001:db8:1:1::31 large-community 999:64538:15 set prepend-neighbor 2 + + +match to 2001:db8:1:1::31 community 64538:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 64538:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:64538:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 15 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 64539:15 set prepend-neighbor 3 +match to 2001:db8:1:1::31 ext-community rt 64539:15 set prepend-neighbor 3 +match to 2001:db8:1:1::31 large-community 999:64539:15 set prepend-neighbor 3 + + +match to 2001:db8:1:1::31 community 64539:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 64539:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:64539:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_higher_than 10 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 64537:10 set prepend-neighbor 1 +match to 2001:db8:1:1::31 ext-community rt 64537:10 set prepend-neighbor 1 +match to 2001:db8:1:1::31 large-community 999:64537:10 set prepend-neighbor 1 + + +match to 2001:db8:1:1::31 community 64537:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 64537:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:64537:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 10 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 64538:10 set prepend-neighbor 2 +match to 2001:db8:1:1::31 ext-community rt 64538:10 set prepend-neighbor 2 +match to 2001:db8:1:1::31 large-community 999:64538:10 set prepend-neighbor 2 + + +match to 2001:db8:1:1::31 community 64538:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 64538:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:64538:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 10 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 64539:10 set prepend-neighbor 3 +match to 2001:db8:1:1::31 ext-community rt 64539:10 set prepend-neighbor 3 +match to 2001:db8:1:1::31 large-community 999:64539:10 set prepend-neighbor 3 + + +match to 2001:db8:1:1::31 community 64539:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 64539:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:64539:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_higher_than 5 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 64537:5 set prepend-neighbor 1 +match to 2001:db8:1:1::31 ext-community rt 64537:5 set prepend-neighbor 1 +match to 2001:db8:1:1::31 large-community 999:64537:5 set prepend-neighbor 1 + + +match to 2001:db8:1:1::31 community 64537:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 64537:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:64537:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 5 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 64538:5 set prepend-neighbor 2 +match to 2001:db8:1:1::31 ext-community rt 64538:5 set prepend-neighbor 2 +match to 2001:db8:1:1::31 large-community 999:64538:5 set prepend-neighbor 2 + + +match to 2001:db8:1:1::31 community 64538:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 64538:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:64538:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 5 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 64539:5 set prepend-neighbor 3 +match to 2001:db8:1:1::31 ext-community rt 64539:5 set prepend-neighbor 3 +match to 2001:db8:1:1::31 large-community 999:64539:5 set prepend-neighbor 3 + + +match to 2001:db8:1:1::31 community 64539:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 64539:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:64539:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 200 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 64534:200 set prepend-neighbor 1 +match to 2001:db8:1:1::31 ext-community rt 64534:200 set prepend-neighbor 1 +match to 2001:db8:1:1::31 large-community 999:64534:200 set prepend-neighbor 1 + + +match to 2001:db8:1:1::31 community 64534:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 64534:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:64534:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 200 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 64535:200 set prepend-neighbor 2 +match to 2001:db8:1:1::31 ext-community rt 64535:200 set prepend-neighbor 2 +match to 2001:db8:1:1::31 large-community 999:64535:200 set prepend-neighbor 2 + + +match to 2001:db8:1:1::31 community 64535:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 64535:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:64535:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 200 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 64536:200 set prepend-neighbor 3 +match to 2001:db8:1:1::31 ext-community rt 64536:200 set prepend-neighbor 3 +match to 2001:db8:1:1::31 large-community 999:64536:200 set prepend-neighbor 3 + + +match to 2001:db8:1:1::31 community 64536:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 64536:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:64536:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 64534:500 set prepend-neighbor 1 +match to 2001:db8:1:1::31 ext-community rt 64534:500 set prepend-neighbor 1 +match to 2001:db8:1:1::31 large-community 999:64534:500 set prepend-neighbor 1 + + +match to 2001:db8:1:1::31 community 64534:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 64534:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:64534:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 64535:500 set prepend-neighbor 2 +match to 2001:db8:1:1::31 ext-community rt 64535:500 set prepend-neighbor 2 +match to 2001:db8:1:1::31 large-community 999:64535:500 set prepend-neighbor 2 + + +match to 2001:db8:1:1::31 community 64535:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 64535:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:64535:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 64536:500 set prepend-neighbor 3 +match to 2001:db8:1:1::31 ext-community rt 64536:500 set prepend-neighbor 3 +match to 2001:db8:1:1::31 large-community 999:64536:500 set prepend-neighbor 3 + + +match to 2001:db8:1:1::31 community 64536:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 64536:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:64536:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::31 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::31 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 2001:db8:1:1::31 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::31 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::31 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 2001:db8:1:1::31 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::31 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::31 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 2001:db8:1:1::31 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS4_1, inbound + + + +# NEXT_HOP +match from 192.0.2.41 set community NO_ADVERTISE +match from 192.0.2.41 nexthop 192.0.2.41 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.41 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.41 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.41 peer-as != 4' - reject code: 6 +allow quick from 192.0.2.41 peer-as != 4 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.41 AS 23456' - reject code: 7 +allow quick from 192.0.2.41 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.41 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.41 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.41 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.41 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 192.0.2.41 AS { 3, 174 }' - reject code: 8 +allow quick from 192.0.2.41 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 192.0.2.41 AS { 666, 777 }' - reject code: 15 +allow quick from 192.0.2.41 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + + + + + + + +# Blackhole request? +match from 192.0.2.41 set ext-community delete rt 65520:4 + + +# Remove internal communities before accepting the route +match from 192.0.2.41 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.41 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.41 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 192.0.2.41 community BLACKHOLE +allow quick from 192.0.2.41 community 65534:0 +allow quick from 192.0.2.41 large-community 65534:0:0 + + +match from 192.0.2.41 set ext-community rt 65520:4 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 192.0.2.41 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 192.0.2.41 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.41 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.41 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 192.0.2.41 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 192.0.2.41 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.41 set ext-community delete rt 65520:4 + + + +allow quick from 192.0.2.41 + + + +# --------------------------------------------- +# client AS4_1, outbound + +deny quick to 192.0.2.41 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 192.0.2.41 community 65534:0 set community BLACKHOLE +match to 192.0.2.41 large-community 65534:0:0 set community BLACKHOLE + +match to 192.0.2.41 community BLACKHOLE set community NO_EXPORT +match to 192.0.2.41 community BLACKHOLE set nexthop 192.0.2.66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 192.0.2.41 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 192.0.2.41 community 65507:999 set community NO_EXPORT +match to 192.0.2.41 ext-community rt 65507:999 set community NO_EXPORT +match to 192.0.2.41 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 192.0.2.41 community 65508:999 set community NO_ADVERTISE +match to 192.0.2.41 ext-community rt 65508:999 set community NO_ADVERTISE +match to 192.0.2.41 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 192.0.2.41 community 65509:4 set community NO_EXPORT +match to 192.0.2.41 ext-community rt 65509:4 set community NO_EXPORT +match to 192.0.2.41 large-community 999:65509:4 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 192.0.2.41 community 65510:4 set community NO_ADVERTISE +match to 192.0.2.41 ext-community rt 65510:4 set community NO_ADVERTISE +match to 192.0.2.41 large-community 999:65510:4 set community NO_ADVERTISE + + +# BGP control communities +allow to 192.0.2.41 + +# do_not_announce_to_any +deny to 192.0.2.41 community 0:999 +deny to 192.0.2.41 ext-community rt 0:999 +deny to 192.0.2.41 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 192.0.2.41 community 0:4 +deny quick to 192.0.2.41 ext-community rt 0:4 +deny quick to 192.0.2.41 large-community 999:0:4 + +# announce_to_peer +allow to 192.0.2.41 community 65501:4 +allow to 192.0.2.41 ext-community rt 65501:4 +allow to 192.0.2.41 large-community 999:65501:4 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 65521:4 set prepend-neighbor 1 +match to 192.0.2.41 ext-community rt 65521:4 set prepend-neighbor 1 +match to 192.0.2.41 large-community 999:65521:4 set prepend-neighbor 1 + +match to 192.0.2.41 community 65521:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 65521:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:65521:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 65522:4 set prepend-neighbor 2 +match to 192.0.2.41 ext-community rt 65522:4 set prepend-neighbor 2 +match to 192.0.2.41 large-community 999:65522:4 set prepend-neighbor 2 + +match to 192.0.2.41 community 65522:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 65522:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:65522:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 65523:4 set prepend-neighbor 3 +match to 192.0.2.41 ext-community rt 65523:4 set prepend-neighbor 3 +match to 192.0.2.41 large-community 999:65523:4 set prepend-neighbor 3 + +match to 192.0.2.41 community 65523:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 65523:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:65523:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 65521:65521 set prepend-neighbor 1 +match to 192.0.2.41 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 192.0.2.41 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 192.0.2.41 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 65522:65522 set prepend-neighbor 2 +match to 192.0.2.41 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 192.0.2.41 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 192.0.2.41 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 65523:65523 set prepend-neighbor 3 +match to 192.0.2.41 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 192.0.2.41 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 192.0.2.41 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS4_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::41 set community NO_ADVERTISE +match from 2001:db8:1:1::41 nexthop 2001:db8:1:1::41 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::41 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::41 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::41 peer-as != 4' - reject code: 6 +allow quick from 2001:db8:1:1::41 peer-as != 4 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 2001:db8:1:1::41 AS { 3, 174 }' - reject code: 8 +allow quick from 2001:db8:1:1::41 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 2001:db8:1:1::41 AS { 666, 777 }' - reject code: 15 +allow quick from 2001:db8:1:1::41 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + + + + + + + +# Blackhole request? +match from 2001:db8:1:1::41 set ext-community delete rt 65520:4 + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::41 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::41 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::41 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 2001:db8:1:1::41 community BLACKHOLE +allow quick from 2001:db8:1:1::41 community 65534:0 +allow quick from 2001:db8:1:1::41 large-community 65534:0:0 + + +match from 2001:db8:1:1::41 set ext-community rt 65520:4 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 2001:db8:1:1::41 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 2001:db8:1:1::41 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::41 prefix ::/0 prefixlen 17 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::41 prefix ::/0 prefixlen 17 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 2001:db8:1:1::41 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::41 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::41 set ext-community delete rt 65520:4 + + + +allow quick from 2001:db8:1:1::41 + + + +# --------------------------------------------- +# client AS4_2, outbound + +deny quick to 2001:db8:1:1::41 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 2001:db8:1:1::41 community 65534:0 set community BLACKHOLE +match to 2001:db8:1:1::41 large-community 65534:0:0 set community BLACKHOLE + +match to 2001:db8:1:1::41 community BLACKHOLE set community NO_EXPORT +match to 2001:db8:1:1::41 community BLACKHOLE set nexthop 2001:db8:1:1::66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 2001:db8:1:1::41 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 2001:db8:1:1::41 community 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::41 ext-community rt 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::41 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 2001:db8:1:1::41 community 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::41 ext-community rt 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::41 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 2001:db8:1:1::41 community 65509:4 set community NO_EXPORT +match to 2001:db8:1:1::41 ext-community rt 65509:4 set community NO_EXPORT +match to 2001:db8:1:1::41 large-community 999:65509:4 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 2001:db8:1:1::41 community 65510:4 set community NO_ADVERTISE +match to 2001:db8:1:1::41 ext-community rt 65510:4 set community NO_ADVERTISE +match to 2001:db8:1:1::41 large-community 999:65510:4 set community NO_ADVERTISE + + +# BGP control communities +allow to 2001:db8:1:1::41 + +# do_not_announce_to_any +deny to 2001:db8:1:1::41 community 0:999 +deny to 2001:db8:1:1::41 ext-community rt 0:999 +deny to 2001:db8:1:1::41 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::41 community 0:4 +deny quick to 2001:db8:1:1::41 ext-community rt 0:4 +deny quick to 2001:db8:1:1::41 large-community 999:0:4 + +# do_not_announce_to_peers_with_rtt_higher_than 5 ms +deny to 2001:db8:1:1::41 community 64531:5 +deny to 2001:db8:1:1::41 ext-community rt 64531:5 +deny to 2001:db8:1:1::41 large-community 999:64531:5 + + +# do_not_announce_to_peers_with_rtt_higher_than 10 ms +deny to 2001:db8:1:1::41 community 64531:10 +deny to 2001:db8:1:1::41 ext-community rt 64531:10 +deny to 2001:db8:1:1::41 large-community 999:64531:10 + + +# do_not_announce_to_peers_with_rtt_higher_than 15 ms +deny to 2001:db8:1:1::41 community 64531:15 +deny to 2001:db8:1:1::41 ext-community rt 64531:15 +deny to 2001:db8:1:1::41 large-community 999:64531:15 + + +# do_not_announce_to_peers_with_rtt_higher_than 20 ms +deny to 2001:db8:1:1::41 community 64531:20 +deny to 2001:db8:1:1::41 ext-community rt 64531:20 +deny to 2001:db8:1:1::41 large-community 999:64531:20 + + +# do_not_announce_to_peers_with_rtt_higher_than 30 ms +deny to 2001:db8:1:1::41 community 64531:30 +deny to 2001:db8:1:1::41 ext-community rt 64531:30 +deny to 2001:db8:1:1::41 large-community 999:64531:30 + + +# do_not_announce_to_peers_with_rtt_higher_than 50 ms +deny to 2001:db8:1:1::41 community 64531:50 +deny to 2001:db8:1:1::41 ext-community rt 64531:50 +deny to 2001:db8:1:1::41 large-community 999:64531:50 + + +# do_not_announce_to_peers_with_rtt_higher_than 100 ms +deny to 2001:db8:1:1::41 community 64531:100 +deny to 2001:db8:1:1::41 ext-community rt 64531:100 +deny to 2001:db8:1:1::41 large-community 999:64531:100 + + +# do_not_announce_to_peers_with_rtt_higher_than 200 ms +deny to 2001:db8:1:1::41 community 64531:200 +deny to 2001:db8:1:1::41 ext-community rt 64531:200 +deny to 2001:db8:1:1::41 large-community 999:64531:200 + + +# do_not_announce_to_peers_with_rtt_higher_than 500 ms +deny to 2001:db8:1:1::41 community 64531:500 +deny to 2001:db8:1:1::41 ext-community rt 64531:500 +deny to 2001:db8:1:1::41 large-community 999:64531:500 + + +# announce_to_peers_with_rtt_higher_than 5 ms +allow to 2001:db8:1:1::41 community 64533:5 +allow to 2001:db8:1:1::41 ext-community rt 64533:5 +allow to 2001:db8:1:1::41 large-community 999:64533:5 + + +# announce_to_peers_with_rtt_higher_than 10 ms +allow to 2001:db8:1:1::41 community 64533:10 +allow to 2001:db8:1:1::41 ext-community rt 64533:10 +allow to 2001:db8:1:1::41 large-community 999:64533:10 + + +# announce_to_peers_with_rtt_higher_than 15 ms +allow to 2001:db8:1:1::41 community 64533:15 +allow to 2001:db8:1:1::41 ext-community rt 64533:15 +allow to 2001:db8:1:1::41 large-community 999:64533:15 + + +# announce_to_peers_with_rtt_higher_than 20 ms +allow to 2001:db8:1:1::41 community 64533:20 +allow to 2001:db8:1:1::41 ext-community rt 64533:20 +allow to 2001:db8:1:1::41 large-community 999:64533:20 + + +# announce_to_peers_with_rtt_higher_than 30 ms +allow to 2001:db8:1:1::41 community 64533:30 +allow to 2001:db8:1:1::41 ext-community rt 64533:30 +allow to 2001:db8:1:1::41 large-community 999:64533:30 + + +# announce_to_peers_with_rtt_higher_than 50 ms +allow to 2001:db8:1:1::41 community 64533:50 +allow to 2001:db8:1:1::41 ext-community rt 64533:50 +allow to 2001:db8:1:1::41 large-community 999:64533:50 + + +# announce_to_peers_with_rtt_higher_than 100 ms +allow to 2001:db8:1:1::41 community 64533:100 +allow to 2001:db8:1:1::41 ext-community rt 64533:100 +allow to 2001:db8:1:1::41 large-community 999:64533:100 + + +# announce_to_peers_with_rtt_higher_than 200 ms +allow to 2001:db8:1:1::41 community 64533:200 +allow to 2001:db8:1:1::41 ext-community rt 64533:200 +allow to 2001:db8:1:1::41 large-community 999:64533:200 + + +# announce_to_peers_with_rtt_higher_than 500 ms +allow to 2001:db8:1:1::41 community 64533:500 +allow to 2001:db8:1:1::41 ext-community rt 64533:500 +allow to 2001:db8:1:1::41 large-community 999:64533:500 + + +# announce_to_peer +allow to 2001:db8:1:1::41 community 65501:4 +allow to 2001:db8:1:1::41 ext-community rt 65501:4 +allow to 2001:db8:1:1::41 large-community 999:65501:4 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 65521:4 set prepend-neighbor 1 +match to 2001:db8:1:1::41 ext-community rt 65521:4 set prepend-neighbor 1 +match to 2001:db8:1:1::41 large-community 999:65521:4 set prepend-neighbor 1 + +match to 2001:db8:1:1::41 community 65521:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 65521:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:65521:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 65522:4 set prepend-neighbor 2 +match to 2001:db8:1:1::41 ext-community rt 65522:4 set prepend-neighbor 2 +match to 2001:db8:1:1::41 large-community 999:65522:4 set prepend-neighbor 2 + +match to 2001:db8:1:1::41 community 65522:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 65522:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:65522:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 65523:4 set prepend-neighbor 3 +match to 2001:db8:1:1::41 ext-community rt 65523:4 set prepend-neighbor 3 +match to 2001:db8:1:1::41 large-community 999:65523:4 set prepend-neighbor 3 + +match to 2001:db8:1:1::41 community 65523:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 65523:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:65523:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + +# prepend_once_to_peers_with_rtt_higher_than 500 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 64537:500 set prepend-neighbor 1 +match to 2001:db8:1:1::41 ext-community rt 64537:500 set prepend-neighbor 1 +match to 2001:db8:1:1::41 large-community 999:64537:500 set prepend-neighbor 1 + + +match to 2001:db8:1:1::41 community 64537:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 64537:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:64537:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 500 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 64538:500 set prepend-neighbor 2 +match to 2001:db8:1:1::41 ext-community rt 64538:500 set prepend-neighbor 2 +match to 2001:db8:1:1::41 large-community 999:64538:500 set prepend-neighbor 2 + + +match to 2001:db8:1:1::41 community 64538:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 64538:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:64538:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 500 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 64539:500 set prepend-neighbor 3 +match to 2001:db8:1:1::41 ext-community rt 64539:500 set prepend-neighbor 3 +match to 2001:db8:1:1::41 large-community 999:64539:500 set prepend-neighbor 3 + + +match to 2001:db8:1:1::41 community 64539:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 64539:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:64539:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_higher_than 200 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 64537:200 set prepend-neighbor 1 +match to 2001:db8:1:1::41 ext-community rt 64537:200 set prepend-neighbor 1 +match to 2001:db8:1:1::41 large-community 999:64537:200 set prepend-neighbor 1 + + +match to 2001:db8:1:1::41 community 64537:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 64537:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:64537:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 200 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 64538:200 set prepend-neighbor 2 +match to 2001:db8:1:1::41 ext-community rt 64538:200 set prepend-neighbor 2 +match to 2001:db8:1:1::41 large-community 999:64538:200 set prepend-neighbor 2 + + +match to 2001:db8:1:1::41 community 64538:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 64538:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:64538:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 200 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 64539:200 set prepend-neighbor 3 +match to 2001:db8:1:1::41 ext-community rt 64539:200 set prepend-neighbor 3 +match to 2001:db8:1:1::41 large-community 999:64539:200 set prepend-neighbor 3 + + +match to 2001:db8:1:1::41 community 64539:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 64539:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:64539:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_higher_than 100 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 64537:100 set prepend-neighbor 1 +match to 2001:db8:1:1::41 ext-community rt 64537:100 set prepend-neighbor 1 +match to 2001:db8:1:1::41 large-community 999:64537:100 set prepend-neighbor 1 + + +match to 2001:db8:1:1::41 community 64537:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 64537:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:64537:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 100 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 64538:100 set prepend-neighbor 2 +match to 2001:db8:1:1::41 ext-community rt 64538:100 set prepend-neighbor 2 +match to 2001:db8:1:1::41 large-community 999:64538:100 set prepend-neighbor 2 + + +match to 2001:db8:1:1::41 community 64538:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 64538:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:64538:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 100 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 64539:100 set prepend-neighbor 3 +match to 2001:db8:1:1::41 ext-community rt 64539:100 set prepend-neighbor 3 +match to 2001:db8:1:1::41 large-community 999:64539:100 set prepend-neighbor 3 + + +match to 2001:db8:1:1::41 community 64539:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 64539:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:64539:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_higher_than 50 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 64537:50 set prepend-neighbor 1 +match to 2001:db8:1:1::41 ext-community rt 64537:50 set prepend-neighbor 1 +match to 2001:db8:1:1::41 large-community 999:64537:50 set prepend-neighbor 1 + + +match to 2001:db8:1:1::41 community 64537:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 64537:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:64537:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 50 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 64538:50 set prepend-neighbor 2 +match to 2001:db8:1:1::41 ext-community rt 64538:50 set prepend-neighbor 2 +match to 2001:db8:1:1::41 large-community 999:64538:50 set prepend-neighbor 2 + + +match to 2001:db8:1:1::41 community 64538:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 64538:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:64538:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 50 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 64539:50 set prepend-neighbor 3 +match to 2001:db8:1:1::41 ext-community rt 64539:50 set prepend-neighbor 3 +match to 2001:db8:1:1::41 large-community 999:64539:50 set prepend-neighbor 3 + + +match to 2001:db8:1:1::41 community 64539:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 64539:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:64539:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_higher_than 30 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 64537:30 set prepend-neighbor 1 +match to 2001:db8:1:1::41 ext-community rt 64537:30 set prepend-neighbor 1 +match to 2001:db8:1:1::41 large-community 999:64537:30 set prepend-neighbor 1 + + +match to 2001:db8:1:1::41 community 64537:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 64537:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:64537:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 30 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 64538:30 set prepend-neighbor 2 +match to 2001:db8:1:1::41 ext-community rt 64538:30 set prepend-neighbor 2 +match to 2001:db8:1:1::41 large-community 999:64538:30 set prepend-neighbor 2 + + +match to 2001:db8:1:1::41 community 64538:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 64538:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:64538:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 30 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 64539:30 set prepend-neighbor 3 +match to 2001:db8:1:1::41 ext-community rt 64539:30 set prepend-neighbor 3 +match to 2001:db8:1:1::41 large-community 999:64539:30 set prepend-neighbor 3 + + +match to 2001:db8:1:1::41 community 64539:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 64539:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:64539:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_higher_than 20 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 64537:20 set prepend-neighbor 1 +match to 2001:db8:1:1::41 ext-community rt 64537:20 set prepend-neighbor 1 +match to 2001:db8:1:1::41 large-community 999:64537:20 set prepend-neighbor 1 + + +match to 2001:db8:1:1::41 community 64537:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 64537:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:64537:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 20 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 64538:20 set prepend-neighbor 2 +match to 2001:db8:1:1::41 ext-community rt 64538:20 set prepend-neighbor 2 +match to 2001:db8:1:1::41 large-community 999:64538:20 set prepend-neighbor 2 + + +match to 2001:db8:1:1::41 community 64538:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 64538:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:64538:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 20 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 64539:20 set prepend-neighbor 3 +match to 2001:db8:1:1::41 ext-community rt 64539:20 set prepend-neighbor 3 +match to 2001:db8:1:1::41 large-community 999:64539:20 set prepend-neighbor 3 + + +match to 2001:db8:1:1::41 community 64539:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 64539:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:64539:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_higher_than 15 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 64537:15 set prepend-neighbor 1 +match to 2001:db8:1:1::41 ext-community rt 64537:15 set prepend-neighbor 1 +match to 2001:db8:1:1::41 large-community 999:64537:15 set prepend-neighbor 1 + + +match to 2001:db8:1:1::41 community 64537:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 64537:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:64537:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 15 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 64538:15 set prepend-neighbor 2 +match to 2001:db8:1:1::41 ext-community rt 64538:15 set prepend-neighbor 2 +match to 2001:db8:1:1::41 large-community 999:64538:15 set prepend-neighbor 2 + + +match to 2001:db8:1:1::41 community 64538:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 64538:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:64538:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 15 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 64539:15 set prepend-neighbor 3 +match to 2001:db8:1:1::41 ext-community rt 64539:15 set prepend-neighbor 3 +match to 2001:db8:1:1::41 large-community 999:64539:15 set prepend-neighbor 3 + + +match to 2001:db8:1:1::41 community 64539:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 64539:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:64539:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_higher_than 10 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 64537:10 set prepend-neighbor 1 +match to 2001:db8:1:1::41 ext-community rt 64537:10 set prepend-neighbor 1 +match to 2001:db8:1:1::41 large-community 999:64537:10 set prepend-neighbor 1 + + +match to 2001:db8:1:1::41 community 64537:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 64537:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:64537:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 10 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 64538:10 set prepend-neighbor 2 +match to 2001:db8:1:1::41 ext-community rt 64538:10 set prepend-neighbor 2 +match to 2001:db8:1:1::41 large-community 999:64538:10 set prepend-neighbor 2 + + +match to 2001:db8:1:1::41 community 64538:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 64538:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:64538:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 10 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 64539:10 set prepend-neighbor 3 +match to 2001:db8:1:1::41 ext-community rt 64539:10 set prepend-neighbor 3 +match to 2001:db8:1:1::41 large-community 999:64539:10 set prepend-neighbor 3 + + +match to 2001:db8:1:1::41 community 64539:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 64539:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:64539:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_higher_than 5 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 64537:5 set prepend-neighbor 1 +match to 2001:db8:1:1::41 ext-community rt 64537:5 set prepend-neighbor 1 +match to 2001:db8:1:1::41 large-community 999:64537:5 set prepend-neighbor 1 + + +match to 2001:db8:1:1::41 community 64537:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 64537:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:64537:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 5 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 64538:5 set prepend-neighbor 2 +match to 2001:db8:1:1::41 ext-community rt 64538:5 set prepend-neighbor 2 +match to 2001:db8:1:1::41 large-community 999:64538:5 set prepend-neighbor 2 + + +match to 2001:db8:1:1::41 community 64538:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 64538:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:64538:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 5 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 64539:5 set prepend-neighbor 3 +match to 2001:db8:1:1::41 ext-community rt 64539:5 set prepend-neighbor 3 +match to 2001:db8:1:1::41 large-community 999:64539:5 set prepend-neighbor 3 + + +match to 2001:db8:1:1::41 community 64539:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 64539:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:64539:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::41 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::41 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 2001:db8:1:1::41 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::41 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::41 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 2001:db8:1:1::41 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::41 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::41 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 2001:db8:1:1::41 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + + + +# Scrub communities from outbound routes +# add_noadvertise_to_any +match to group clients set community delete 65508:999 +match to group clients set ext-community delete rt 65508:999 +match to group clients set large-community delete 999:65508:999 + +# add_noadvertise_to_peer +match to group clients set community delete 65510:* +# Warning: rt:65510:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:65510:* + +# add_noexport_to_any +match to group clients set community delete 65507:999 +match to group clients set ext-community delete rt 65507:999 +match to group clients set large-community delete 999:65507:999 + +# add_noexport_to_peer +match to group clients set community delete 65509:* +# Warning: rt:65509:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:65509:* + +# announce_to_peer +match to group clients set community delete 65501:* +# Warning: rt:65501:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:65501:* + +# announce_to_peers_with_rtt_higher_than +match to group clients set community delete 64533:* +# Warning: rt:64533:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64533:* + +# announce_to_peers_with_rtt_lower_than +match to group clients set community delete 64532:* +# Warning: rt:64532:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64532:* + +# blackholing +match to group clients set community delete 65534:0 +match to group clients set large-community delete 65534:0:0 + +# do_not_announce_to_any +match to group clients set community delete 0:999 +match to group clients set ext-community delete rt 0:999 +match to group clients set large-community delete 999:0:999 + +# do_not_announce_to_peer +match to group clients set community delete 0:* +# Warning: rt:0:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:0:* + +# do_not_announce_to_peers_with_rtt_higher_than +match to group clients set community delete 64531:* +# Warning: rt:64531:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64531:* + +# do_not_announce_to_peers_with_rtt_lower_than +match to group clients set community delete 64530:* +# Warning: rt:64530:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64530:* + +# prepend_once_to_any +match to group clients set community delete 65521:65521 +match to group clients set ext-community delete rt 65521:65521 +match to group clients set large-community delete 999:65521:65521 + +# prepend_once_to_peer +match to group clients set community delete 65521:* +# Warning: rt:65521:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:65521:* + +# prepend_once_to_peers_with_rtt_higher_than +match to group clients set community delete 64537:* +# Warning: rt:64537:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64537:* + +# prepend_once_to_peers_with_rtt_lower_than +match to group clients set community delete 64534:* +# Warning: rt:64534:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64534:* + +# prepend_thrice_to_any +match to group clients set community delete 65523:65523 +match to group clients set ext-community delete rt 65523:65523 +match to group clients set large-community delete 999:65523:65523 + +# prepend_thrice_to_peer +match to group clients set community delete 65523:* +# Warning: rt:65523:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:65523:* + +# prepend_thrice_to_peers_with_rtt_higher_than +match to group clients set community delete 64539:* +# Warning: rt:64539:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64539:* + +# prepend_thrice_to_peers_with_rtt_lower_than +match to group clients set community delete 64536:* +# Warning: rt:64536:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64536:* + +# prepend_twice_to_any +match to group clients set community delete 65522:65522 +match to group clients set ext-community delete rt 65522:65522 +match to group clients set large-community delete 999:65522:65522 + +# prepend_twice_to_peer +match to group clients set community delete 65522:* +# Warning: rt:65522:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:65522:* + +# prepend_twice_to_peers_with_rtt_higher_than +match to group clients set community delete 64538:* +# Warning: rt:64538:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64538:* + +# prepend_twice_to_peers_with_rtt_lower_than +match to group clients set community delete 64535:* +# Warning: rt:64535:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64535:* + + +# Scrub prepending communities +match to group clients set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 } +match to group clients set { community delete 65521:0 ext-community delete rt 65521:0 large-community delete 999:65521:0 } +match to group clients set { community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* } +match to group clients set { community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* } +match to group clients set { community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 } +match to group clients set { community delete 65523:0 ext-community delete rt 65523:0 large-community delete 999:65523:0 } +match to group clients set { community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* } +match to group clients set { community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* } +match to group clients set { community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 } +match to group clients set { community delete 65522:0 ext-community delete rt 65522:0 large-community delete 999:65522:0 } +match to group clients set { community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* } +match to group clients set { community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# RFC1997 NO_EXPORT/NO_ADVERTISE received from clients and propagated because of pass-through policy +match to group clients ext-community $INTCOMM_NO_EXPORT set community NO_EXPORT +match to group clients ext-community $INTCOMM_NO_ADVERTISE set community NO_ADVERTISE + +# Remove internal communities before announcing the route +match to group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + +include "/etc/bgpd/post-filters.local" + + diff --git a/tests/live_tests/scenarios/global/configs/BasicScenario_OpenBGPDIPv6/openbgpd69p.conf b/tests/live_tests/scenarios/global/configs/BasicScenario_OpenBGPDIPv6/openbgpd69p.conf new file mode 100644 index 00000000..8f61c0d7 --- /dev/null +++ b/tests/live_tests/scenarios/global/configs/BasicScenario_OpenBGPDIPv6/openbgpd69p.conf @@ -0,0 +1,5611 @@ +# built by ARouteServer +AS 999 +router-id 192.0.2.2 + +fib-update no +log updates + +nexthop qualify via default + +rde evaluate all + +INTCOMM_PREF_OK_ROA="soo 65535:1" +INTCOMM_ROUTE_OK_WL="soo 65535:2" +INTCOMM_PREF_OK_ARINDB="soo 65535:3" +INTCOMM_PREF_OK_REGISTROBRDB="soo 65535:12" + +INTCOMM_ORIGIN_OK="soo 65535:4" +INTCOMM_ORIGIN_KO="soo 65535:5" +INTCOMM_PREFIX_OK="soo 65535:6" +INTCOMM_PREFIX_KO="soo 65535:7" +INTCOMM_IRR_REJECT="soo 65535:8" + +INTCOMM_RPKI_UNKNOWN="soo 65535:9" +INTCOMM_RPKI_INVALID="soo 65535:10" +INTCOMM_RPKI_VALID="soo 65535:11" + +INTCOMM_NO_EXPORT="soo 65535:65281" +INTCOMM_NO_ADVERTISE="soo 65535:65282" + +# --------------------------------------------------------- +# IRRDB + +# AS222, used by client AS222_1, client AS222_2 +# no origin ASNs found for AS222 +# no prefixes found for AS222 + +# AS2, used by client AS2_1, client AS2_2 +# no origin ASNs found for AS2 +# no prefixes found for AS2 + +# AS-AS1, AS-AS1_CUSTOMERS, used by client AS1_1, client AS1_2, client AS1_3, client AS1_4 +as-set "AS_SET_AS_AS1_AS_AS1_CUSTOMERS_asns" { + 1 101 103 104 +} +prefix-set "AS_SET_AS_AS1_AS_AS1_CUSTOMERS_prefixes" { + 2a01::/32 prefixlen 32 - 128 + 2a99::/16 prefixlen 16 - 128 + 3101::/32 prefixlen 32 - 128 + 3103::/32 prefixlen 32 - 128 +} + +# AS-AS2, AS-AS2_CUSTOMERS, used by client AS2_1, client AS2_2 +as-set "AS_SET_AS_AS2_AS_AS2_CUSTOMERS_asns" { + 2 101 103 +} +prefix-set "AS_SET_AS_AS2_AS_AS2_CUSTOMERS_prefixes" { + 2a02::/32 prefixlen 32 - 128 + 3101::/32 prefixlen 32 - 128 + 3103::/32 prefixlen 32 - 128 +} + +# WHITE_LIST_AS1_2, used by client AS1_2 white list +as-set "AS_SET_WHITE_LIST_AS1_2_asns" { + 1011 +} +prefix-set "AS_SET_WHITE_LIST_AS1_2_prefixes" { + 11.1.0.0/16 prefixlen 16 - 32 + 2a11:1::/32 prefixlen 32 - 128 +} + +# AS-AS222, used by client AS222_1, client AS222_2 +as-set "AS_SET_AS_AS222_asns" { + 333 +} +prefix-set "AS_SET_AS_AS222_prefixes" { + 3222::/32 prefixlen 32 - 128 +} + +# AS1, used by client AS1_1, client AS1_2, client AS1_3, client AS1_4 +# no origin ASNs found for AS1 +# no prefixes found for AS1 + +# WHITE_LIST_AS1_1, used by client AS1_1 white list +as-set "AS_SET_WHITE_LIST_AS1_1_asns" { + 1011 +} +prefix-set "AS_SET_WHITE_LIST_AS1_1_prefixes" { + 11.1.0.0/16 prefixlen 16 - 32 + 2a11:1::/32 prefixlen 32 - 128 +} + + + + +# --------------------------------------------------------- +# MEMBERS + +group "clients" { + + neighbor 192.0.2.11 { + remote-as 1 + + rde evaluate all + + descr "AS1_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + # RTT: 0.1 ms (normalized value: 1) + neighbor 2001:db8:1:1::11 { + remote-as 1 + + rde evaluate all + + descr "AS1_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.12 { + remote-as 1 + + rde evaluate all + + descr "AS1_2 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + # RTT: 5 ms (normalized value: 5) + neighbor 2001:db8:1:1::12 { + remote-as 1 + + rde evaluate all + + descr "AS1_2 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.222 { + remote-as 222 + + rde evaluate all + + descr "AS222_1 client" + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::222 { + remote-as 222 + + rde evaluate all + + descr "AS222_1 client" + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.21 { + remote-as 2 + + rde evaluate all + + descr "AS2_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + # RTT: 17.3 ms (normalized value: 17) + neighbor 2001:db8:1:1::21 { + remote-as 2 + + rde evaluate all + + descr "AS2_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.31 { + remote-as 3 + + rde evaluate all + + descr "AS3_1 client" + ttl-security no + transparent-as no + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + # RTT: 123.8 ms (normalized value: 124) + neighbor 2001:db8:1:1::31 { + remote-as 3 + + rde evaluate all + + descr "AS3_1 client" + ttl-security no + transparent-as no + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.41 { + remote-as 4 + + rde evaluate all + + descr "AS4_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + # RTT: 600 ms (normalized value: 600) + neighbor 2001:db8:1:1::41 { + remote-as 4 + + rde evaluate all + + descr "AS4_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } +} + +include "/etc/bgpd/post-clients.local" + + + +# --------------------------------------------------------- +# FILTERS + +# NO_ADVERTISE usage notes. +# The NO_ADVERTISE well-know community is used here to handle +# filters that span over multiple steps. At first it is added +# to any route, then it is removed as filters conditions are +# satisfied. Finally, if it is still present, it means that +# the route should be discarded. + + + + +prefix-set "global_black_list_pref" { + 192.0.2.0/24 prefixlen 24 - 32 + 2001:db8::/32 prefixlen 32 - 128 + +} + +prefix-set "bogons" { + 0.0.0.0/0 + 0.0.0.0/8 prefixlen 8 - 32 + 10.0.0.0/8 prefixlen 8 - 32 + 127.0.0.0/8 prefixlen 8 - 32 + 169.254.0.0/16 prefixlen 16 - 32 + 172.16.0.0/12 prefixlen 12 - 32 + 192.0.2.0/24 prefixlen 24 - 32 + 192.88.99.0/24 prefixlen 24 - 32 + 192.168.0.0/16 prefixlen 16 - 32 + 198.18.0.0/15 prefixlen 15 - 32 + 198.51.100.0/24 prefixlen 24 - 32 + 203.0.113.0/24 prefixlen 24 - 32 + 224.0.0.0/3 prefixlen 3 - 32 + 100.64.0.0/10 prefixlen 10 - 32 + ::/0 + ::/8 prefixlen 8 - 128 + 64:ff9b::/96 prefixlen 96 - 128 + 100::/8 prefixlen 8 - 128 + 200::/7 prefixlen 7 - 128 + 400::/6 prefixlen 6 - 128 + 800::/5 prefixlen 5 - 128 + 1000::/4 prefixlen 4 - 128 + 2001::/33 prefixlen 33 - 128 + 2001:0:8000::/33 prefixlen 33 - 128 + 2001:2::/48 prefixlen 48 - 128 + 2001:3::/32 prefixlen 32 - 128 + 2001:10::/28 prefixlen 28 - 128 + 2001:20::/28 prefixlen 28 - 128 + 2001:db8::/32 prefixlen 32 - 128 + 2002::/16 prefixlen 16 - 128 + 3ffe::/16 prefixlen 16 - 128 + 4000::/3 prefixlen 3 - 128 + 5f00::/8 prefixlen 8 - 128 + 6000::/3 prefixlen 3 - 128 + 8000::/3 prefixlen 3 - 128 + a000::/3 prefixlen 3 - 128 + c000::/3 prefixlen 3 - 128 + e000::/4 prefixlen 4 - 128 + f000::/5 prefixlen 5 - 128 + f800::/6 prefixlen 6 - 128 + fc00::/7 prefixlen 7 - 128 + fe80::/10 prefixlen 10 - 128 + fec0::/10 prefixlen 10 - 128 + ff00::/8 prefixlen 8 - 128 + +} + +# ===================================================================================== +# Global rules. + +# This part of configuration is processed at the beginning of the filters. +# The rules defined in this part are applied to all the clients, and not on a +# client-by-client basis (see the 'match from group clients'), so only global policies +# can be implemented here, that is no client-level configuration are allowed. + + + +# Scrub communities from inbound routes +# origin_not_present_in_as_set +match from group clients set community delete 65530:0 +match from group clients set large-community delete 999:65530:0 + +# origin_present_in_as_set +match from group clients set community delete 65530:1 +match from group clients set large-community delete 999:65530:1 + +# prefix_validated_via_arin_whois_db_dump +match from group clients set community delete 65530:3 +match from group clients set large-community delete 999:65530:3 + +# prefix_validated_via_rpki_roas +match from group clients set community delete 65530:2 +match from group clients set large-community delete 999:65530:2 + + +# Scrub internal communities from inbound routes +match from group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + + +# The main goal of this block is to enrich routes received from clients by attaching to them +# internal informational communities which are used later by the rest of the filter rules. + +# Internal communities used for RFC1997 well-known communities handling + +# Transform NO_EXPORT into $INTCOMM_NO_EXPORT +match from group clients community NO_EXPORT set { ext-community $INTCOMM_NO_EXPORT community delete NO_EXPORT } + +# Transform NO_ADVERTISE into $INTCOMM_NO_ADVERTISE +match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ADVERTISE community delete NO_ADVERTISE } + + +# --------------------------------------------------------- +# ROAs source + + +roa-set { + 101.3.0.0/16 maxlen 24 source-as 105 + 101.2.0.0/17 source-as 101 + 101.2.128.0/17 maxlen 24 source-as 101 + 101.0.128.0/20 maxlen 23 source-as 101 + 101.0.8.0/24 source-as 101 + 101.0.9.0/24 source-as 102 + 222.1.1.0/24 source-as 333 + 3101:3::/32 maxlen 48 source-as 105 + 3101:0:8000::/33 maxlen 34 source-as 101 + 3101:2:8000::/33 maxlen 48 source-as 101 + 3101:2::/33 source-as 101 + 3101:0:8::/48 source-as 101 + 3101:0:9::/48 source-as 102 + 3222:0:1::/48 source-as 333 + +} + + + +# --------------------------------------------------------- +# RPKI-based Origin Validation + + +# Add $INTCOMM_RPKI_UNKNOWN, $INTCOMM_RPKI_INVALID and $INTCOMM_RPKI_VALID +# ext community on the basis of ovs. +match from group clients ovs not-found set ext-community $INTCOMM_RPKI_UNKNOWN +match from group clients ovs valid set ext-community $INTCOMM_RPKI_VALID +match from group clients ovs invalid set ext-community $INTCOMM_RPKI_INVALID + + + +# --------------------------------------------------------- +# RPKI ROAs used as route objects. + +# Add the $INTCOMM_PREF_OK_ROA ext community to routes whose +# origin ASN has a ROA for the announced prefix. +# It will be used later during IRRDB validation in +# case the origin ASN is authorized by a client's +# AS-SET but the prefix is not. + +# Since RPKI-based Origin Validation is already performed above, +# use the origin validation state to identify valid routes. +match from group clients ovs valid set ext-community $INTCOMM_PREF_OK_ROA + + +# ARIN Whois records used for preifx validation +# --------------------------------------------- + +# Add the $INTCOMM_PREF_OK_ARINDB ext community to routes whose +# origin ASN has an ARIN Whois record for the announced prefix. +# It will be used later during IRRDB validation in +# case the origin ASN is authorized by a client's +# AS-SET but the prefix is not. +origin-set "ARINDB" { +104.0.0.0/23 prefixlen 23 - 32 source-as 104 +3104::/32 prefixlen 32 - 128 source-as 104 +} +match from group clients origin-set ARINDB set ext-community $INTCOMM_PREF_OK_ARINDB + +# NIC.BR Whois records used for preifx validation +# ----------------------------------------------- + +# Add the $INTCOMM_PREF_OK_REGISTROBRDB ext community to routes whose +# origin ASN has a NIC.BR Whois record for the announced prefix. +# It will be used later during IRRDB validation in +# case the origin ASN is authorized by a client's +# AS-SET but the prefix is not. +origin-set "REGISTROBRDB" { +104.1.1.0/24 prefixlen 24 - 32 source-as 104 +3104:1:1::/48 prefixlen 48 - 128 source-as 104 +} +match from group clients origin-set REGISTROBRDB set ext-community $INTCOMM_PREF_OK_REGISTROBRDB + + + +# Set the 'rejected_route_announced_by' community for all the clients. +# It will be removed later if the route is not invalid +match from 192.0.2.11 set ext-community rt 65520:1 + +match from 2001:db8:1:1::11 set ext-community rt 65520:1 + +match from 192.0.2.12 set ext-community rt 65520:1 + +match from 2001:db8:1:1::12 set ext-community rt 65520:1 + +match from 192.0.2.222 set ext-community rt 65520:222 + +match from 2001:db8:1:1::222 set ext-community rt 65520:222 + +match from 192.0.2.21 set ext-community rt 65520:2 + +match from 2001:db8:1:1::21 set ext-community rt 65520:2 + +match from 192.0.2.31 set ext-community rt 65520:3 + +match from 2001:db8:1:1::31 set ext-community rt 65520:3 + +match from 192.0.2.41 set ext-community rt 65520:4 + +match from 2001:db8:1:1::41 set ext-community rt 65520:4 + + + + +# AS_PATH: length +# Reject inbound routes when 'from group clients max-as-len 6' - reject code: 1 +allow quick from group clients max-as-len 6 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:1} + + +# Prefix: global blacklist +# Reject inbound routes when 'from group clients prefix-set global_black_list_pref' - reject code: 3 +allow quick from group clients prefix-set global_black_list_pref set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:3} + + +# Prefix: only IPv6 Global Unicast space allowed +match from group clients inet6 set community NO_ADVERTISE +match from group clients prefix 2000::/3 or-longer set community delete NO_ADVERTISE +# Reject inbound routes when 'from group clients community NO_ADVERTISE' - reject code: 10 +allow quick from group clients community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:10} + + +# Prefix: bogon +# Reject inbound routes when 'from group clients prefix-set bogons' - reject code: 2 +allow quick from group clients prefix-set bogons set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:2} + + + + +# ===================================================================================== +# Per client rules. + + +# --------------------------------------------- +# client AS1_1, inbound + + + +# NEXT_HOP +match from 192.0.2.11 set community NO_ADVERTISE +match from 192.0.2.11 nexthop 192.0.2.11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.11 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.11 peer-as != 1' - reject code: 6 +allow quick from 192.0.2.11 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.11 AS 23456' - reject code: 7 +allow quick from 192.0.2.11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 192.0.2.11 AS { 3, 174 }' - reject code: 8 +allow quick from 192.0.2.11 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 192.0.2.11 AS { 666, 777 }' - reject code: 15 +allow quick from 192.0.2.11 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + +# client's white list +# Add the $INTCOMM_ROUTE_OK_WL ext community to routes which +# are validated by a client's white list entry. +# It will be used later during IRRDB validation in +# case the route is not authorized by a client's +# AS-SET. +match from 192.0.2.11 prefix 11.3.0.0/16 source-as 1011 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.11 prefix 11.4.0.0/16 prefixlen 16 - 32 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.11 prefix 2a11:3::/32 source-as 1011 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.11 prefix 2a11:4::/32 prefixlen 32 - 128 set ext-community $INTCOMM_ROUTE_OK_WL # None + +match from 192.0.2.11 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS1_1, AS1: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.11 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.11 source-as as-set AS_SET_AS_AS1_AS_AS1_CUSTOMERS_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS1_AS_AS1_CUSTOMERS +# AS-SET AS1 referenced but empty. +match from 192.0.2.11 source-as as-set AS_SET_WHITE_LIST_AS1_1_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # WHITE_LIST_AS1_1 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS1_1, AS1: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.11 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.11 prefix-set AS_SET_AS_AS1_AS_AS1_CUSTOMERS_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS1_AS_AS1_CUSTOMERS +# AS-SET AS1 referenced but empty. +match from 192.0.2.11 prefix-set AS_SET_WHITE_LIST_AS1_1_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # WHITE_LIST_AS1_1 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_REGISTROBRDB community have the prefix validated by a NICBR Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_REGISTROBRDB set ext-community delete $INTCOMM_IRR_REJECT + +# route authorized by a client's white list? +match from 192.0.2.11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set ext-community delete $INTCOMM_IRR_REJECT + +# enforcing: origin ASN +# Reject inbound routes when 'from 192.0.2.11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 192.0.2.11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 192.0.2.11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 192.0.2.11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + +# Blackhole request? +match from 192.0.2.11 set ext-community delete rt 65520:1 + + +# Remove internal communities before accepting the route +match from 192.0.2.11 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.11 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.11 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 192.0.2.11 community BLACKHOLE +allow quick from 192.0.2.11 community 65534:0 +allow quick from 192.0.2.11 large-community 65534:0:0 + + +match from 192.0.2.11 set ext-community rt 65520:1 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 192.0.2.11 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 192.0.2.11 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 192.0.2.11 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 192.0.2.11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.11 set ext-community delete rt 65520:1 + + + +allow quick from 192.0.2.11 + + + +# --------------------------------------------- +# client AS1_1, outbound + +deny quick to 192.0.2.11 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 192.0.2.11 community 65534:0 set community BLACKHOLE +match to 192.0.2.11 large-community 65534:0:0 set community BLACKHOLE + +match to 192.0.2.11 community BLACKHOLE set community NO_EXPORT +match to 192.0.2.11 community BLACKHOLE set nexthop 192.0.2.66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 192.0.2.11 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 192.0.2.11 community 65507:999 set community NO_EXPORT +match to 192.0.2.11 ext-community rt 65507:999 set community NO_EXPORT +match to 192.0.2.11 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 192.0.2.11 community 65508:999 set community NO_ADVERTISE +match to 192.0.2.11 ext-community rt 65508:999 set community NO_ADVERTISE +match to 192.0.2.11 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 192.0.2.11 community 65509:1 set community NO_EXPORT +match to 192.0.2.11 ext-community rt 65509:1 set community NO_EXPORT +match to 192.0.2.11 large-community 999:65509:1 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 192.0.2.11 community 65510:1 set community NO_ADVERTISE +match to 192.0.2.11 ext-community rt 65510:1 set community NO_ADVERTISE +match to 192.0.2.11 large-community 999:65510:1 set community NO_ADVERTISE + + +# BGP control communities +allow to 192.0.2.11 + +# do_not_announce_to_any +deny to 192.0.2.11 community 0:999 +deny to 192.0.2.11 ext-community rt 0:999 +deny to 192.0.2.11 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 192.0.2.11 community 0:1 +deny quick to 192.0.2.11 ext-community rt 0:1 +deny quick to 192.0.2.11 large-community 999:0:1 + +# announce_to_peer +allow to 192.0.2.11 community 65501:1 +allow to 192.0.2.11 ext-community rt 65501:1 +allow to 192.0.2.11 large-community 999:65501:1 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 65521:1 set prepend-neighbor 1 +match to 192.0.2.11 ext-community rt 65521:1 set prepend-neighbor 1 +match to 192.0.2.11 large-community 999:65521:1 set prepend-neighbor 1 + +match to 192.0.2.11 community 65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 65522:1 set prepend-neighbor 2 +match to 192.0.2.11 ext-community rt 65522:1 set prepend-neighbor 2 +match to 192.0.2.11 large-community 999:65522:1 set prepend-neighbor 2 + +match to 192.0.2.11 community 65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 65523:1 set prepend-neighbor 3 +match to 192.0.2.11 ext-community rt 65523:1 set prepend-neighbor 3 +match to 192.0.2.11 large-community 999:65523:1 set prepend-neighbor 3 + +match to 192.0.2.11 community 65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 65521:65521 set prepend-neighbor 1 +match to 192.0.2.11 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 192.0.2.11 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 192.0.2.11 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 65522:65522 set prepend-neighbor 2 +match to 192.0.2.11 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 192.0.2.11 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 192.0.2.11 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 65523:65523 set prepend-neighbor 3 +match to 192.0.2.11 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 192.0.2.11 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 192.0.2.11 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS1_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::11 set community NO_ADVERTISE +match from 2001:db8:1:1::11 nexthop 2001:db8:1:1::11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::11 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::11 peer-as != 1' - reject code: 6 +allow quick from 2001:db8:1:1::11 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 2001:db8:1:1::11 AS { 3, 174 }' - reject code: 8 +allow quick from 2001:db8:1:1::11 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 2001:db8:1:1::11 AS { 666, 777 }' - reject code: 15 +allow quick from 2001:db8:1:1::11 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + +# client's white list +# Add the $INTCOMM_ROUTE_OK_WL ext community to routes which +# are validated by a client's white list entry. +# It will be used later during IRRDB validation in +# case the route is not authorized by a client's +# AS-SET. +match from 2001:db8:1:1::11 prefix 11.3.0.0/16 source-as 1011 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::11 prefix 11.4.0.0/16 prefixlen 16 - 32 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::11 prefix 2a11:3::/32 source-as 1011 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::11 prefix 2a11:4::/32 prefixlen 32 - 128 set ext-community $INTCOMM_ROUTE_OK_WL # None + +match from 2001:db8:1:1::11 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS1_2, AS1: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::11 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::11 source-as as-set AS_SET_AS_AS1_AS_AS1_CUSTOMERS_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS1_AS_AS1_CUSTOMERS +match from 2001:db8:1:1::11 source-as as-set AS_SET_WHITE_LIST_AS1_2_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # WHITE_LIST_AS1_2 +# AS-SET AS1 referenced but empty. + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS1_2, AS1: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::11 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::11 prefix-set AS_SET_AS_AS1_AS_AS1_CUSTOMERS_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS1_AS_AS1_CUSTOMERS +match from 2001:db8:1:1::11 prefix-set AS_SET_WHITE_LIST_AS1_2_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # WHITE_LIST_AS1_2 +# AS-SET AS1 referenced but empty. + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_REGISTROBRDB community have the prefix validated by a NICBR Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_REGISTROBRDB set ext-community delete $INTCOMM_IRR_REJECT + +# route authorized by a client's white list? +match from 2001:db8:1:1::11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set ext-community delete $INTCOMM_IRR_REJECT + +# enforcing: origin ASN +# Reject inbound routes when 'from 2001:db8:1:1::11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 2001:db8:1:1::11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 2001:db8:1:1::11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 2001:db8:1:1::11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + +# Blackhole request? +match from 2001:db8:1:1::11 set ext-community delete rt 65520:1 + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::11 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::11 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::11 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 2001:db8:1:1::11 community BLACKHOLE +allow quick from 2001:db8:1:1::11 community 65534:0 +allow quick from 2001:db8:1:1::11 large-community 65534:0:0 + + +match from 2001:db8:1:1::11 set ext-community rt 65520:1 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 2001:db8:1:1::11 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 2001:db8:1:1::11 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::11 prefix ::/0 prefixlen 17 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::11 prefix ::/0 prefixlen 17 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 2001:db8:1:1::11 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::11 set ext-community delete rt 65520:1 + + + +allow quick from 2001:db8:1:1::11 + + + +# --------------------------------------------- +# client AS1_2, outbound + +deny quick to 2001:db8:1:1::11 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 2001:db8:1:1::11 community 65534:0 set community BLACKHOLE +match to 2001:db8:1:1::11 large-community 65534:0:0 set community BLACKHOLE + +match to 2001:db8:1:1::11 community BLACKHOLE set community NO_EXPORT +match to 2001:db8:1:1::11 community BLACKHOLE set nexthop 2001:db8:1:1::66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 2001:db8:1:1::11 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 2001:db8:1:1::11 community 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::11 ext-community rt 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::11 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 2001:db8:1:1::11 community 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::11 ext-community rt 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::11 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 2001:db8:1:1::11 community 65509:1 set community NO_EXPORT +match to 2001:db8:1:1::11 ext-community rt 65509:1 set community NO_EXPORT +match to 2001:db8:1:1::11 large-community 999:65509:1 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 2001:db8:1:1::11 community 65510:1 set community NO_ADVERTISE +match to 2001:db8:1:1::11 ext-community rt 65510:1 set community NO_ADVERTISE +match to 2001:db8:1:1::11 large-community 999:65510:1 set community NO_ADVERTISE + + +# BGP control communities +allow to 2001:db8:1:1::11 + +# do_not_announce_to_any +deny to 2001:db8:1:1::11 community 0:999 +deny to 2001:db8:1:1::11 ext-community rt 0:999 +deny to 2001:db8:1:1::11 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::11 community 0:1 +deny quick to 2001:db8:1:1::11 ext-community rt 0:1 +deny quick to 2001:db8:1:1::11 large-community 999:0:1 + +# do_not_announce_to_peers_with_rtt_lower_than 5 ms +deny to 2001:db8:1:1::11 community 64530:5 +deny to 2001:db8:1:1::11 ext-community rt 64530:5 +deny to 2001:db8:1:1::11 large-community 999:64530:5 + + +# do_not_announce_to_peers_with_rtt_lower_than 10 ms +deny to 2001:db8:1:1::11 community 64530:10 +deny to 2001:db8:1:1::11 ext-community rt 64530:10 +deny to 2001:db8:1:1::11 large-community 999:64530:10 + + +# do_not_announce_to_peers_with_rtt_lower_than 15 ms +deny to 2001:db8:1:1::11 community 64530:15 +deny to 2001:db8:1:1::11 ext-community rt 64530:15 +deny to 2001:db8:1:1::11 large-community 999:64530:15 + + +# do_not_announce_to_peers_with_rtt_lower_than 20 ms +deny to 2001:db8:1:1::11 community 64530:20 +deny to 2001:db8:1:1::11 ext-community rt 64530:20 +deny to 2001:db8:1:1::11 large-community 999:64530:20 + + +# do_not_announce_to_peers_with_rtt_lower_than 30 ms +deny to 2001:db8:1:1::11 community 64530:30 +deny to 2001:db8:1:1::11 ext-community rt 64530:30 +deny to 2001:db8:1:1::11 large-community 999:64530:30 + + +# do_not_announce_to_peers_with_rtt_lower_than 50 ms +deny to 2001:db8:1:1::11 community 64530:50 +deny to 2001:db8:1:1::11 ext-community rt 64530:50 +deny to 2001:db8:1:1::11 large-community 999:64530:50 + + +# do_not_announce_to_peers_with_rtt_lower_than 100 ms +deny to 2001:db8:1:1::11 community 64530:100 +deny to 2001:db8:1:1::11 ext-community rt 64530:100 +deny to 2001:db8:1:1::11 large-community 999:64530:100 + + +# do_not_announce_to_peers_with_rtt_lower_than 200 ms +deny to 2001:db8:1:1::11 community 64530:200 +deny to 2001:db8:1:1::11 ext-community rt 64530:200 +deny to 2001:db8:1:1::11 large-community 999:64530:200 + + +# do_not_announce_to_peers_with_rtt_lower_than 500 ms +deny to 2001:db8:1:1::11 community 64530:500 +deny to 2001:db8:1:1::11 ext-community rt 64530:500 +deny to 2001:db8:1:1::11 large-community 999:64530:500 + + +# announce_to_peers_with_rtt_lower_than 5 ms +allow to 2001:db8:1:1::11 community 64532:5 +allow to 2001:db8:1:1::11 ext-community rt 64532:5 +allow to 2001:db8:1:1::11 large-community 999:64532:5 + + +# announce_to_peers_with_rtt_lower_than 10 ms +allow to 2001:db8:1:1::11 community 64532:10 +allow to 2001:db8:1:1::11 ext-community rt 64532:10 +allow to 2001:db8:1:1::11 large-community 999:64532:10 + + +# announce_to_peers_with_rtt_lower_than 15 ms +allow to 2001:db8:1:1::11 community 64532:15 +allow to 2001:db8:1:1::11 ext-community rt 64532:15 +allow to 2001:db8:1:1::11 large-community 999:64532:15 + + +# announce_to_peers_with_rtt_lower_than 20 ms +allow to 2001:db8:1:1::11 community 64532:20 +allow to 2001:db8:1:1::11 ext-community rt 64532:20 +allow to 2001:db8:1:1::11 large-community 999:64532:20 + + +# announce_to_peers_with_rtt_lower_than 30 ms +allow to 2001:db8:1:1::11 community 64532:30 +allow to 2001:db8:1:1::11 ext-community rt 64532:30 +allow to 2001:db8:1:1::11 large-community 999:64532:30 + + +# announce_to_peers_with_rtt_lower_than 50 ms +allow to 2001:db8:1:1::11 community 64532:50 +allow to 2001:db8:1:1::11 ext-community rt 64532:50 +allow to 2001:db8:1:1::11 large-community 999:64532:50 + + +# announce_to_peers_with_rtt_lower_than 100 ms +allow to 2001:db8:1:1::11 community 64532:100 +allow to 2001:db8:1:1::11 ext-community rt 64532:100 +allow to 2001:db8:1:1::11 large-community 999:64532:100 + + +# announce_to_peers_with_rtt_lower_than 200 ms +allow to 2001:db8:1:1::11 community 64532:200 +allow to 2001:db8:1:1::11 ext-community rt 64532:200 +allow to 2001:db8:1:1::11 large-community 999:64532:200 + + +# announce_to_peers_with_rtt_lower_than 500 ms +allow to 2001:db8:1:1::11 community 64532:500 +allow to 2001:db8:1:1::11 ext-community rt 64532:500 +allow to 2001:db8:1:1::11 large-community 999:64532:500 + + +# announce_to_peer +allow to 2001:db8:1:1::11 community 65501:1 +allow to 2001:db8:1:1::11 ext-community rt 65501:1 +allow to 2001:db8:1:1::11 large-community 999:65501:1 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 65521:1 set prepend-neighbor 1 +match to 2001:db8:1:1::11 ext-community rt 65521:1 set prepend-neighbor 1 +match to 2001:db8:1:1::11 large-community 999:65521:1 set prepend-neighbor 1 + +match to 2001:db8:1:1::11 community 65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 65522:1 set prepend-neighbor 2 +match to 2001:db8:1:1::11 ext-community rt 65522:1 set prepend-neighbor 2 +match to 2001:db8:1:1::11 large-community 999:65522:1 set prepend-neighbor 2 + +match to 2001:db8:1:1::11 community 65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 65523:1 set prepend-neighbor 3 +match to 2001:db8:1:1::11 ext-community rt 65523:1 set prepend-neighbor 3 +match to 2001:db8:1:1::11 large-community 999:65523:1 set prepend-neighbor 3 + +match to 2001:db8:1:1::11 community 65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + +# prepend_once_to_peers_with_rtt_lower_than 5 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 64534:5 set prepend-neighbor 1 +match to 2001:db8:1:1::11 ext-community rt 64534:5 set prepend-neighbor 1 +match to 2001:db8:1:1::11 large-community 999:64534:5 set prepend-neighbor 1 + + +match to 2001:db8:1:1::11 community 64534:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 64534:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:64534:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 5 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 64535:5 set prepend-neighbor 2 +match to 2001:db8:1:1::11 ext-community rt 64535:5 set prepend-neighbor 2 +match to 2001:db8:1:1::11 large-community 999:64535:5 set prepend-neighbor 2 + + +match to 2001:db8:1:1::11 community 64535:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 64535:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:64535:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 5 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 64536:5 set prepend-neighbor 3 +match to 2001:db8:1:1::11 ext-community rt 64536:5 set prepend-neighbor 3 +match to 2001:db8:1:1::11 large-community 999:64536:5 set prepend-neighbor 3 + + +match to 2001:db8:1:1::11 community 64536:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 64536:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:64536:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 10 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 64534:10 set prepend-neighbor 1 +match to 2001:db8:1:1::11 ext-community rt 64534:10 set prepend-neighbor 1 +match to 2001:db8:1:1::11 large-community 999:64534:10 set prepend-neighbor 1 + + +match to 2001:db8:1:1::11 community 64534:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 64534:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:64534:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 10 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 64535:10 set prepend-neighbor 2 +match to 2001:db8:1:1::11 ext-community rt 64535:10 set prepend-neighbor 2 +match to 2001:db8:1:1::11 large-community 999:64535:10 set prepend-neighbor 2 + + +match to 2001:db8:1:1::11 community 64535:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 64535:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:64535:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 10 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 64536:10 set prepend-neighbor 3 +match to 2001:db8:1:1::11 ext-community rt 64536:10 set prepend-neighbor 3 +match to 2001:db8:1:1::11 large-community 999:64536:10 set prepend-neighbor 3 + + +match to 2001:db8:1:1::11 community 64536:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 64536:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:64536:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 15 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 64534:15 set prepend-neighbor 1 +match to 2001:db8:1:1::11 ext-community rt 64534:15 set prepend-neighbor 1 +match to 2001:db8:1:1::11 large-community 999:64534:15 set prepend-neighbor 1 + + +match to 2001:db8:1:1::11 community 64534:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 64534:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:64534:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 15 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 64535:15 set prepend-neighbor 2 +match to 2001:db8:1:1::11 ext-community rt 64535:15 set prepend-neighbor 2 +match to 2001:db8:1:1::11 large-community 999:64535:15 set prepend-neighbor 2 + + +match to 2001:db8:1:1::11 community 64535:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 64535:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:64535:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 15 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 64536:15 set prepend-neighbor 3 +match to 2001:db8:1:1::11 ext-community rt 64536:15 set prepend-neighbor 3 +match to 2001:db8:1:1::11 large-community 999:64536:15 set prepend-neighbor 3 + + +match to 2001:db8:1:1::11 community 64536:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 64536:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:64536:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 20 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 64534:20 set prepend-neighbor 1 +match to 2001:db8:1:1::11 ext-community rt 64534:20 set prepend-neighbor 1 +match to 2001:db8:1:1::11 large-community 999:64534:20 set prepend-neighbor 1 + + +match to 2001:db8:1:1::11 community 64534:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 64534:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:64534:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 20 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 64535:20 set prepend-neighbor 2 +match to 2001:db8:1:1::11 ext-community rt 64535:20 set prepend-neighbor 2 +match to 2001:db8:1:1::11 large-community 999:64535:20 set prepend-neighbor 2 + + +match to 2001:db8:1:1::11 community 64535:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 64535:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:64535:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 20 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 64536:20 set prepend-neighbor 3 +match to 2001:db8:1:1::11 ext-community rt 64536:20 set prepend-neighbor 3 +match to 2001:db8:1:1::11 large-community 999:64536:20 set prepend-neighbor 3 + + +match to 2001:db8:1:1::11 community 64536:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 64536:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:64536:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 30 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 64534:30 set prepend-neighbor 1 +match to 2001:db8:1:1::11 ext-community rt 64534:30 set prepend-neighbor 1 +match to 2001:db8:1:1::11 large-community 999:64534:30 set prepend-neighbor 1 + + +match to 2001:db8:1:1::11 community 64534:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 64534:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:64534:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 30 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 64535:30 set prepend-neighbor 2 +match to 2001:db8:1:1::11 ext-community rt 64535:30 set prepend-neighbor 2 +match to 2001:db8:1:1::11 large-community 999:64535:30 set prepend-neighbor 2 + + +match to 2001:db8:1:1::11 community 64535:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 64535:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:64535:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 30 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 64536:30 set prepend-neighbor 3 +match to 2001:db8:1:1::11 ext-community rt 64536:30 set prepend-neighbor 3 +match to 2001:db8:1:1::11 large-community 999:64536:30 set prepend-neighbor 3 + + +match to 2001:db8:1:1::11 community 64536:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 64536:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:64536:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 50 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 64534:50 set prepend-neighbor 1 +match to 2001:db8:1:1::11 ext-community rt 64534:50 set prepend-neighbor 1 +match to 2001:db8:1:1::11 large-community 999:64534:50 set prepend-neighbor 1 + + +match to 2001:db8:1:1::11 community 64534:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 64534:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:64534:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 50 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 64535:50 set prepend-neighbor 2 +match to 2001:db8:1:1::11 ext-community rt 64535:50 set prepend-neighbor 2 +match to 2001:db8:1:1::11 large-community 999:64535:50 set prepend-neighbor 2 + + +match to 2001:db8:1:1::11 community 64535:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 64535:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:64535:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 50 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 64536:50 set prepend-neighbor 3 +match to 2001:db8:1:1::11 ext-community rt 64536:50 set prepend-neighbor 3 +match to 2001:db8:1:1::11 large-community 999:64536:50 set prepend-neighbor 3 + + +match to 2001:db8:1:1::11 community 64536:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 64536:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:64536:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 100 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 64534:100 set prepend-neighbor 1 +match to 2001:db8:1:1::11 ext-community rt 64534:100 set prepend-neighbor 1 +match to 2001:db8:1:1::11 large-community 999:64534:100 set prepend-neighbor 1 + + +match to 2001:db8:1:1::11 community 64534:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 64534:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:64534:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 100 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 64535:100 set prepend-neighbor 2 +match to 2001:db8:1:1::11 ext-community rt 64535:100 set prepend-neighbor 2 +match to 2001:db8:1:1::11 large-community 999:64535:100 set prepend-neighbor 2 + + +match to 2001:db8:1:1::11 community 64535:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 64535:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:64535:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 100 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 64536:100 set prepend-neighbor 3 +match to 2001:db8:1:1::11 ext-community rt 64536:100 set prepend-neighbor 3 +match to 2001:db8:1:1::11 large-community 999:64536:100 set prepend-neighbor 3 + + +match to 2001:db8:1:1::11 community 64536:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 64536:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:64536:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 200 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 64534:200 set prepend-neighbor 1 +match to 2001:db8:1:1::11 ext-community rt 64534:200 set prepend-neighbor 1 +match to 2001:db8:1:1::11 large-community 999:64534:200 set prepend-neighbor 1 + + +match to 2001:db8:1:1::11 community 64534:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 64534:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:64534:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 200 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 64535:200 set prepend-neighbor 2 +match to 2001:db8:1:1::11 ext-community rt 64535:200 set prepend-neighbor 2 +match to 2001:db8:1:1::11 large-community 999:64535:200 set prepend-neighbor 2 + + +match to 2001:db8:1:1::11 community 64535:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 64535:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:64535:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 200 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 64536:200 set prepend-neighbor 3 +match to 2001:db8:1:1::11 ext-community rt 64536:200 set prepend-neighbor 3 +match to 2001:db8:1:1::11 large-community 999:64536:200 set prepend-neighbor 3 + + +match to 2001:db8:1:1::11 community 64536:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 64536:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:64536:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 64534:500 set prepend-neighbor 1 +match to 2001:db8:1:1::11 ext-community rt 64534:500 set prepend-neighbor 1 +match to 2001:db8:1:1::11 large-community 999:64534:500 set prepend-neighbor 1 + + +match to 2001:db8:1:1::11 community 64534:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 64534:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:64534:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 64535:500 set prepend-neighbor 2 +match to 2001:db8:1:1::11 ext-community rt 64535:500 set prepend-neighbor 2 +match to 2001:db8:1:1::11 large-community 999:64535:500 set prepend-neighbor 2 + + +match to 2001:db8:1:1::11 community 64535:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 64535:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:64535:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 64536:500 set prepend-neighbor 3 +match to 2001:db8:1:1::11 ext-community rt 64536:500 set prepend-neighbor 3 +match to 2001:db8:1:1::11 large-community 999:64536:500 set prepend-neighbor 3 + + +match to 2001:db8:1:1::11 community 64536:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 64536:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:64536:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::11 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::11 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 2001:db8:1:1::11 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::11 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::11 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 2001:db8:1:1::11 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::11 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::11 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 2001:db8:1:1::11 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS1_3, inbound + + + +# NEXT_HOP +match from 192.0.2.12 set community NO_ADVERTISE +match from 192.0.2.12 nexthop 192.0.2.11 set community delete NO_ADVERTISE +match from 192.0.2.12 nexthop 192.0.2.12 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.12 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.12 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.12 peer-as != 1' - reject code: 6 +allow quick from 192.0.2.12 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.12 AS 23456' - reject code: 7 +allow quick from 192.0.2.12 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.12 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.12 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.12 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.12 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 192.0.2.12 AS { 3, 174 }' - reject code: 8 +allow quick from 192.0.2.12 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 192.0.2.12 AS { 666, 777 }' - reject code: 15 +allow quick from 192.0.2.12 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + + +match from 192.0.2.12 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS1_3, AS1: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.12 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.12 source-as as-set AS_SET_AS_AS1_AS_AS1_CUSTOMERS_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS1_AS_AS1_CUSTOMERS +# AS-SET AS1 referenced but empty. + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS1_3, AS1: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.12 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.12 prefix-set AS_SET_AS_AS1_AS_AS1_CUSTOMERS_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS1_AS_AS1_CUSTOMERS +# AS-SET AS1 referenced but empty. + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.12 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.12 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_REGISTROBRDB community have the prefix validated by a NICBR Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.12 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_REGISTROBRDB set ext-community delete $INTCOMM_IRR_REJECT + + +# enforcing: origin ASN +# Reject inbound routes when 'from 192.0.2.12 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 192.0.2.12 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 192.0.2.12 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 192.0.2.12 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + +# Blackhole request? +match from 192.0.2.12 set ext-community delete rt 65520:1 + + +# Remove internal communities before accepting the route +match from 192.0.2.12 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.12 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.12 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 192.0.2.12 community BLACKHOLE +allow quick from 192.0.2.12 community 65534:0 +allow quick from 192.0.2.12 large-community 65534:0:0 + + +match from 192.0.2.12 set ext-community rt 65520:1 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 192.0.2.12 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 192.0.2.12 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.12 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.12 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 192.0.2.12 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 192.0.2.12 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.12 set ext-community delete rt 65520:1 + + + +allow quick from 192.0.2.12 + + + +# --------------------------------------------- +# client AS1_3, outbound + +deny quick to 192.0.2.12 community 65520:0 + + + +# Blackhole request? +# Client not enabled to receive blackhole routes +deny quick to 192.0.2.12 community BLACKHOLE +deny quick to 192.0.2.12 community 65534:0 +deny quick to 192.0.2.12 large-community 65534:0:0 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 192.0.2.12 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 192.0.2.12 community 65507:999 set community NO_EXPORT +match to 192.0.2.12 ext-community rt 65507:999 set community NO_EXPORT +match to 192.0.2.12 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 192.0.2.12 community 65508:999 set community NO_ADVERTISE +match to 192.0.2.12 ext-community rt 65508:999 set community NO_ADVERTISE +match to 192.0.2.12 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 192.0.2.12 community 65509:1 set community NO_EXPORT +match to 192.0.2.12 ext-community rt 65509:1 set community NO_EXPORT +match to 192.0.2.12 large-community 999:65509:1 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 192.0.2.12 community 65510:1 set community NO_ADVERTISE +match to 192.0.2.12 ext-community rt 65510:1 set community NO_ADVERTISE +match to 192.0.2.12 large-community 999:65510:1 set community NO_ADVERTISE + + +# BGP control communities +allow to 192.0.2.12 + +# do_not_announce_to_any +deny to 192.0.2.12 community 0:999 +deny to 192.0.2.12 ext-community rt 0:999 +deny to 192.0.2.12 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 192.0.2.12 community 0:1 +deny quick to 192.0.2.12 ext-community rt 0:1 +deny quick to 192.0.2.12 large-community 999:0:1 + +# announce_to_peer +allow to 192.0.2.12 community 65501:1 +allow to 192.0.2.12 ext-community rt 65501:1 +allow to 192.0.2.12 large-community 999:65501:1 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 65521:1 set prepend-neighbor 1 +match to 192.0.2.12 ext-community rt 65521:1 set prepend-neighbor 1 +match to 192.0.2.12 large-community 999:65521:1 set prepend-neighbor 1 + +match to 192.0.2.12 community 65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 65522:1 set prepend-neighbor 2 +match to 192.0.2.12 ext-community rt 65522:1 set prepend-neighbor 2 +match to 192.0.2.12 large-community 999:65522:1 set prepend-neighbor 2 + +match to 192.0.2.12 community 65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 65523:1 set prepend-neighbor 3 +match to 192.0.2.12 ext-community rt 65523:1 set prepend-neighbor 3 +match to 192.0.2.12 large-community 999:65523:1 set prepend-neighbor 3 + +match to 192.0.2.12 community 65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 65521:65521 set prepend-neighbor 1 +match to 192.0.2.12 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 192.0.2.12 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 192.0.2.12 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 65522:65522 set prepend-neighbor 2 +match to 192.0.2.12 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 192.0.2.12 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 192.0.2.12 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 65523:65523 set prepend-neighbor 3 +match to 192.0.2.12 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 192.0.2.12 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 192.0.2.12 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS1_4, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::12 set community NO_ADVERTISE +match from 2001:db8:1:1::12 nexthop 2001:db8:1:1::11 set community delete NO_ADVERTISE +match from 2001:db8:1:1::12 nexthop 2001:db8:1:1::12 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::12 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::12 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::12 peer-as != 1' - reject code: 6 +allow quick from 2001:db8:1:1::12 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::12 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::12 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::12 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::12 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::12 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::12 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 2001:db8:1:1::12 AS { 3, 174 }' - reject code: 8 +allow quick from 2001:db8:1:1::12 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 2001:db8:1:1::12 AS { 666, 777 }' - reject code: 15 +allow quick from 2001:db8:1:1::12 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + + +match from 2001:db8:1:1::12 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS1_4, AS1: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::12 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::12 source-as as-set AS_SET_AS_AS1_AS_AS1_CUSTOMERS_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS1_AS_AS1_CUSTOMERS +# AS-SET AS1 referenced but empty. + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS1_4, AS1: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::12 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::12 prefix-set AS_SET_AS_AS1_AS_AS1_CUSTOMERS_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS1_AS_AS1_CUSTOMERS +# AS-SET AS1 referenced but empty. + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::12 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::12 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_REGISTROBRDB community have the prefix validated by a NICBR Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::12 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_REGISTROBRDB set ext-community delete $INTCOMM_IRR_REJECT + + +# enforcing: origin ASN +# Reject inbound routes when 'from 2001:db8:1:1::12 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 2001:db8:1:1::12 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 2001:db8:1:1::12 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 2001:db8:1:1::12 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + +# Blackhole request? +match from 2001:db8:1:1::12 set ext-community delete rt 65520:1 + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::12 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::12 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::12 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 2001:db8:1:1::12 community BLACKHOLE +allow quick from 2001:db8:1:1::12 community 65534:0 +allow quick from 2001:db8:1:1::12 large-community 65534:0:0 + + +match from 2001:db8:1:1::12 set ext-community rt 65520:1 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 2001:db8:1:1::12 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 2001:db8:1:1::12 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::12 prefix ::/0 prefixlen 17 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::12 prefix ::/0 prefixlen 17 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 2001:db8:1:1::12 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::12 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::12 set ext-community delete rt 65520:1 + + + +allow quick from 2001:db8:1:1::12 + + + +# --------------------------------------------- +# client AS1_4, outbound + +deny quick to 2001:db8:1:1::12 community 65520:0 + + + +# Blackhole request? +# Client not enabled to receive blackhole routes +deny quick to 2001:db8:1:1::12 community BLACKHOLE +deny quick to 2001:db8:1:1::12 community 65534:0 +deny quick to 2001:db8:1:1::12 large-community 65534:0:0 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 2001:db8:1:1::12 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 2001:db8:1:1::12 community 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::12 ext-community rt 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::12 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 2001:db8:1:1::12 community 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::12 ext-community rt 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::12 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 2001:db8:1:1::12 community 65509:1 set community NO_EXPORT +match to 2001:db8:1:1::12 ext-community rt 65509:1 set community NO_EXPORT +match to 2001:db8:1:1::12 large-community 999:65509:1 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 2001:db8:1:1::12 community 65510:1 set community NO_ADVERTISE +match to 2001:db8:1:1::12 ext-community rt 65510:1 set community NO_ADVERTISE +match to 2001:db8:1:1::12 large-community 999:65510:1 set community NO_ADVERTISE + + +# BGP control communities +allow to 2001:db8:1:1::12 + +# do_not_announce_to_any +deny to 2001:db8:1:1::12 community 0:999 +deny to 2001:db8:1:1::12 ext-community rt 0:999 +deny to 2001:db8:1:1::12 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::12 community 0:1 +deny quick to 2001:db8:1:1::12 ext-community rt 0:1 +deny quick to 2001:db8:1:1::12 large-community 999:0:1 + +# do_not_announce_to_peers_with_rtt_lower_than 5 ms +deny to 2001:db8:1:1::12 community 64530:5 +deny to 2001:db8:1:1::12 ext-community rt 64530:5 +deny to 2001:db8:1:1::12 large-community 999:64530:5 + + +# do_not_announce_to_peers_with_rtt_lower_than 10 ms +deny to 2001:db8:1:1::12 community 64530:10 +deny to 2001:db8:1:1::12 ext-community rt 64530:10 +deny to 2001:db8:1:1::12 large-community 999:64530:10 + + +# do_not_announce_to_peers_with_rtt_lower_than 15 ms +deny to 2001:db8:1:1::12 community 64530:15 +deny to 2001:db8:1:1::12 ext-community rt 64530:15 +deny to 2001:db8:1:1::12 large-community 999:64530:15 + + +# do_not_announce_to_peers_with_rtt_lower_than 20 ms +deny to 2001:db8:1:1::12 community 64530:20 +deny to 2001:db8:1:1::12 ext-community rt 64530:20 +deny to 2001:db8:1:1::12 large-community 999:64530:20 + + +# do_not_announce_to_peers_with_rtt_lower_than 30 ms +deny to 2001:db8:1:1::12 community 64530:30 +deny to 2001:db8:1:1::12 ext-community rt 64530:30 +deny to 2001:db8:1:1::12 large-community 999:64530:30 + + +# do_not_announce_to_peers_with_rtt_lower_than 50 ms +deny to 2001:db8:1:1::12 community 64530:50 +deny to 2001:db8:1:1::12 ext-community rt 64530:50 +deny to 2001:db8:1:1::12 large-community 999:64530:50 + + +# do_not_announce_to_peers_with_rtt_lower_than 100 ms +deny to 2001:db8:1:1::12 community 64530:100 +deny to 2001:db8:1:1::12 ext-community rt 64530:100 +deny to 2001:db8:1:1::12 large-community 999:64530:100 + + +# do_not_announce_to_peers_with_rtt_lower_than 200 ms +deny to 2001:db8:1:1::12 community 64530:200 +deny to 2001:db8:1:1::12 ext-community rt 64530:200 +deny to 2001:db8:1:1::12 large-community 999:64530:200 + + +# do_not_announce_to_peers_with_rtt_lower_than 500 ms +deny to 2001:db8:1:1::12 community 64530:500 +deny to 2001:db8:1:1::12 ext-community rt 64530:500 +deny to 2001:db8:1:1::12 large-community 999:64530:500 + + +# announce_to_peers_with_rtt_lower_than 5 ms +allow to 2001:db8:1:1::12 community 64532:5 +allow to 2001:db8:1:1::12 ext-community rt 64532:5 +allow to 2001:db8:1:1::12 large-community 999:64532:5 + + +# announce_to_peers_with_rtt_lower_than 10 ms +allow to 2001:db8:1:1::12 community 64532:10 +allow to 2001:db8:1:1::12 ext-community rt 64532:10 +allow to 2001:db8:1:1::12 large-community 999:64532:10 + + +# announce_to_peers_with_rtt_lower_than 15 ms +allow to 2001:db8:1:1::12 community 64532:15 +allow to 2001:db8:1:1::12 ext-community rt 64532:15 +allow to 2001:db8:1:1::12 large-community 999:64532:15 + + +# announce_to_peers_with_rtt_lower_than 20 ms +allow to 2001:db8:1:1::12 community 64532:20 +allow to 2001:db8:1:1::12 ext-community rt 64532:20 +allow to 2001:db8:1:1::12 large-community 999:64532:20 + + +# announce_to_peers_with_rtt_lower_than 30 ms +allow to 2001:db8:1:1::12 community 64532:30 +allow to 2001:db8:1:1::12 ext-community rt 64532:30 +allow to 2001:db8:1:1::12 large-community 999:64532:30 + + +# announce_to_peers_with_rtt_lower_than 50 ms +allow to 2001:db8:1:1::12 community 64532:50 +allow to 2001:db8:1:1::12 ext-community rt 64532:50 +allow to 2001:db8:1:1::12 large-community 999:64532:50 + + +# announce_to_peers_with_rtt_lower_than 100 ms +allow to 2001:db8:1:1::12 community 64532:100 +allow to 2001:db8:1:1::12 ext-community rt 64532:100 +allow to 2001:db8:1:1::12 large-community 999:64532:100 + + +# announce_to_peers_with_rtt_lower_than 200 ms +allow to 2001:db8:1:1::12 community 64532:200 +allow to 2001:db8:1:1::12 ext-community rt 64532:200 +allow to 2001:db8:1:1::12 large-community 999:64532:200 + + +# announce_to_peers_with_rtt_lower_than 500 ms +allow to 2001:db8:1:1::12 community 64532:500 +allow to 2001:db8:1:1::12 ext-community rt 64532:500 +allow to 2001:db8:1:1::12 large-community 999:64532:500 + + +# announce_to_peer +allow to 2001:db8:1:1::12 community 65501:1 +allow to 2001:db8:1:1::12 ext-community rt 65501:1 +allow to 2001:db8:1:1::12 large-community 999:65501:1 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 65521:1 set prepend-neighbor 1 +match to 2001:db8:1:1::12 ext-community rt 65521:1 set prepend-neighbor 1 +match to 2001:db8:1:1::12 large-community 999:65521:1 set prepend-neighbor 1 + +match to 2001:db8:1:1::12 community 65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 65522:1 set prepend-neighbor 2 +match to 2001:db8:1:1::12 ext-community rt 65522:1 set prepend-neighbor 2 +match to 2001:db8:1:1::12 large-community 999:65522:1 set prepend-neighbor 2 + +match to 2001:db8:1:1::12 community 65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 65523:1 set prepend-neighbor 3 +match to 2001:db8:1:1::12 ext-community rt 65523:1 set prepend-neighbor 3 +match to 2001:db8:1:1::12 large-community 999:65523:1 set prepend-neighbor 3 + +match to 2001:db8:1:1::12 community 65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + +# prepend_once_to_peers_with_rtt_lower_than 5 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 64534:5 set prepend-neighbor 1 +match to 2001:db8:1:1::12 ext-community rt 64534:5 set prepend-neighbor 1 +match to 2001:db8:1:1::12 large-community 999:64534:5 set prepend-neighbor 1 + + +match to 2001:db8:1:1::12 community 64534:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 64534:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:64534:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 5 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 64535:5 set prepend-neighbor 2 +match to 2001:db8:1:1::12 ext-community rt 64535:5 set prepend-neighbor 2 +match to 2001:db8:1:1::12 large-community 999:64535:5 set prepend-neighbor 2 + + +match to 2001:db8:1:1::12 community 64535:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 64535:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:64535:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 5 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 64536:5 set prepend-neighbor 3 +match to 2001:db8:1:1::12 ext-community rt 64536:5 set prepend-neighbor 3 +match to 2001:db8:1:1::12 large-community 999:64536:5 set prepend-neighbor 3 + + +match to 2001:db8:1:1::12 community 64536:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 64536:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:64536:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 10 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 64534:10 set prepend-neighbor 1 +match to 2001:db8:1:1::12 ext-community rt 64534:10 set prepend-neighbor 1 +match to 2001:db8:1:1::12 large-community 999:64534:10 set prepend-neighbor 1 + + +match to 2001:db8:1:1::12 community 64534:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 64534:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:64534:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 10 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 64535:10 set prepend-neighbor 2 +match to 2001:db8:1:1::12 ext-community rt 64535:10 set prepend-neighbor 2 +match to 2001:db8:1:1::12 large-community 999:64535:10 set prepend-neighbor 2 + + +match to 2001:db8:1:1::12 community 64535:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 64535:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:64535:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 10 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 64536:10 set prepend-neighbor 3 +match to 2001:db8:1:1::12 ext-community rt 64536:10 set prepend-neighbor 3 +match to 2001:db8:1:1::12 large-community 999:64536:10 set prepend-neighbor 3 + + +match to 2001:db8:1:1::12 community 64536:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 64536:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:64536:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 15 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 64534:15 set prepend-neighbor 1 +match to 2001:db8:1:1::12 ext-community rt 64534:15 set prepend-neighbor 1 +match to 2001:db8:1:1::12 large-community 999:64534:15 set prepend-neighbor 1 + + +match to 2001:db8:1:1::12 community 64534:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 64534:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:64534:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 15 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 64535:15 set prepend-neighbor 2 +match to 2001:db8:1:1::12 ext-community rt 64535:15 set prepend-neighbor 2 +match to 2001:db8:1:1::12 large-community 999:64535:15 set prepend-neighbor 2 + + +match to 2001:db8:1:1::12 community 64535:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 64535:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:64535:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 15 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 64536:15 set prepend-neighbor 3 +match to 2001:db8:1:1::12 ext-community rt 64536:15 set prepend-neighbor 3 +match to 2001:db8:1:1::12 large-community 999:64536:15 set prepend-neighbor 3 + + +match to 2001:db8:1:1::12 community 64536:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 64536:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:64536:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 20 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 64534:20 set prepend-neighbor 1 +match to 2001:db8:1:1::12 ext-community rt 64534:20 set prepend-neighbor 1 +match to 2001:db8:1:1::12 large-community 999:64534:20 set prepend-neighbor 1 + + +match to 2001:db8:1:1::12 community 64534:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 64534:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:64534:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 20 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 64535:20 set prepend-neighbor 2 +match to 2001:db8:1:1::12 ext-community rt 64535:20 set prepend-neighbor 2 +match to 2001:db8:1:1::12 large-community 999:64535:20 set prepend-neighbor 2 + + +match to 2001:db8:1:1::12 community 64535:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 64535:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:64535:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 20 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 64536:20 set prepend-neighbor 3 +match to 2001:db8:1:1::12 ext-community rt 64536:20 set prepend-neighbor 3 +match to 2001:db8:1:1::12 large-community 999:64536:20 set prepend-neighbor 3 + + +match to 2001:db8:1:1::12 community 64536:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 64536:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:64536:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 30 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 64534:30 set prepend-neighbor 1 +match to 2001:db8:1:1::12 ext-community rt 64534:30 set prepend-neighbor 1 +match to 2001:db8:1:1::12 large-community 999:64534:30 set prepend-neighbor 1 + + +match to 2001:db8:1:1::12 community 64534:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 64534:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:64534:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 30 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 64535:30 set prepend-neighbor 2 +match to 2001:db8:1:1::12 ext-community rt 64535:30 set prepend-neighbor 2 +match to 2001:db8:1:1::12 large-community 999:64535:30 set prepend-neighbor 2 + + +match to 2001:db8:1:1::12 community 64535:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 64535:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:64535:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 30 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 64536:30 set prepend-neighbor 3 +match to 2001:db8:1:1::12 ext-community rt 64536:30 set prepend-neighbor 3 +match to 2001:db8:1:1::12 large-community 999:64536:30 set prepend-neighbor 3 + + +match to 2001:db8:1:1::12 community 64536:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 64536:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:64536:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 50 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 64534:50 set prepend-neighbor 1 +match to 2001:db8:1:1::12 ext-community rt 64534:50 set prepend-neighbor 1 +match to 2001:db8:1:1::12 large-community 999:64534:50 set prepend-neighbor 1 + + +match to 2001:db8:1:1::12 community 64534:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 64534:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:64534:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 50 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 64535:50 set prepend-neighbor 2 +match to 2001:db8:1:1::12 ext-community rt 64535:50 set prepend-neighbor 2 +match to 2001:db8:1:1::12 large-community 999:64535:50 set prepend-neighbor 2 + + +match to 2001:db8:1:1::12 community 64535:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 64535:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:64535:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 50 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 64536:50 set prepend-neighbor 3 +match to 2001:db8:1:1::12 ext-community rt 64536:50 set prepend-neighbor 3 +match to 2001:db8:1:1::12 large-community 999:64536:50 set prepend-neighbor 3 + + +match to 2001:db8:1:1::12 community 64536:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 64536:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:64536:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 100 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 64534:100 set prepend-neighbor 1 +match to 2001:db8:1:1::12 ext-community rt 64534:100 set prepend-neighbor 1 +match to 2001:db8:1:1::12 large-community 999:64534:100 set prepend-neighbor 1 + + +match to 2001:db8:1:1::12 community 64534:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 64534:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:64534:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 100 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 64535:100 set prepend-neighbor 2 +match to 2001:db8:1:1::12 ext-community rt 64535:100 set prepend-neighbor 2 +match to 2001:db8:1:1::12 large-community 999:64535:100 set prepend-neighbor 2 + + +match to 2001:db8:1:1::12 community 64535:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 64535:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:64535:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 100 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 64536:100 set prepend-neighbor 3 +match to 2001:db8:1:1::12 ext-community rt 64536:100 set prepend-neighbor 3 +match to 2001:db8:1:1::12 large-community 999:64536:100 set prepend-neighbor 3 + + +match to 2001:db8:1:1::12 community 64536:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 64536:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:64536:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 200 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 64534:200 set prepend-neighbor 1 +match to 2001:db8:1:1::12 ext-community rt 64534:200 set prepend-neighbor 1 +match to 2001:db8:1:1::12 large-community 999:64534:200 set prepend-neighbor 1 + + +match to 2001:db8:1:1::12 community 64534:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 64534:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:64534:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 200 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 64535:200 set prepend-neighbor 2 +match to 2001:db8:1:1::12 ext-community rt 64535:200 set prepend-neighbor 2 +match to 2001:db8:1:1::12 large-community 999:64535:200 set prepend-neighbor 2 + + +match to 2001:db8:1:1::12 community 64535:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 64535:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:64535:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 200 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 64536:200 set prepend-neighbor 3 +match to 2001:db8:1:1::12 ext-community rt 64536:200 set prepend-neighbor 3 +match to 2001:db8:1:1::12 large-community 999:64536:200 set prepend-neighbor 3 + + +match to 2001:db8:1:1::12 community 64536:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 64536:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:64536:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 64534:500 set prepend-neighbor 1 +match to 2001:db8:1:1::12 ext-community rt 64534:500 set prepend-neighbor 1 +match to 2001:db8:1:1::12 large-community 999:64534:500 set prepend-neighbor 1 + + +match to 2001:db8:1:1::12 community 64534:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 64534:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:64534:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 64535:500 set prepend-neighbor 2 +match to 2001:db8:1:1::12 ext-community rt 64535:500 set prepend-neighbor 2 +match to 2001:db8:1:1::12 large-community 999:64535:500 set prepend-neighbor 2 + + +match to 2001:db8:1:1::12 community 64535:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 64535:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:64535:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 64536:500 set prepend-neighbor 3 +match to 2001:db8:1:1::12 ext-community rt 64536:500 set prepend-neighbor 3 +match to 2001:db8:1:1::12 large-community 999:64536:500 set prepend-neighbor 3 + + +match to 2001:db8:1:1::12 community 64536:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 64536:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:64536:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::12 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::12 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 2001:db8:1:1::12 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::12 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::12 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 2001:db8:1:1::12 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::12 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::12 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 2001:db8:1:1::12 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS222_1, inbound + + + +# NEXT_HOP +match from 192.0.2.222 set community NO_ADVERTISE +match from 192.0.2.222 nexthop 192.0.2.222 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.222 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.222 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.222 peer-as != 222' - reject code: 6 +allow quick from 192.0.2.222 peer-as != 222 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.222 AS 23456' - reject code: 7 +allow quick from 192.0.2.222 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.222 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.222 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.222 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.222 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 192.0.2.222 AS { 3, 174 }' - reject code: 8 +allow quick from 192.0.2.222 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 192.0.2.222 AS { 666, 777 }' - reject code: 15 +allow quick from 192.0.2.222 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + +# client's white list +# Add the $INTCOMM_ROUTE_OK_WL ext community to routes which +# are validated by a client's white list entry. +# It will be used later during IRRDB validation in +# case the route is not authorized by a client's +# AS-SET. +match from 192.0.2.222 prefix 222.1.1.0/24 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.222 prefix 3222:0:1::/48 set ext-community $INTCOMM_ROUTE_OK_WL # None + +match from 192.0.2.222 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS222_1, AS222: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.222 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS222 referenced but empty. +match from 192.0.2.222 source-as as-set AS_SET_AS_AS222_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS222 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS222_1, AS222: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.222 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS222 referenced but empty. +match from 192.0.2.222 prefix-set AS_SET_AS_AS222_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS222 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.222 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.222 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_REGISTROBRDB community have the prefix validated by a NICBR Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.222 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_REGISTROBRDB set ext-community delete $INTCOMM_IRR_REJECT + +# route authorized by a client's white list? +match from 192.0.2.222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set ext-community delete $INTCOMM_IRR_REJECT + +# enforcing: origin ASN +# Reject inbound routes when 'from 192.0.2.222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 192.0.2.222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 192.0.2.222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 192.0.2.222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + +# Blackhole request? +match from 192.0.2.222 set ext-community delete rt 65520:222 + + +# Remove internal communities before accepting the route +match from 192.0.2.222 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.222 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.222 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 192.0.2.222 community BLACKHOLE +allow quick from 192.0.2.222 community 65534:0 +allow quick from 192.0.2.222 large-community 65534:0:0 + + +match from 192.0.2.222 set ext-community rt 65520:222 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 192.0.2.222 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 192.0.2.222 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.222 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.222 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 192.0.2.222 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 192.0.2.222 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.222 set ext-community delete rt 65520:222 + + + +allow quick from 192.0.2.222 + + + +# --------------------------------------------- +# client AS222_1, outbound + +deny quick to 192.0.2.222 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 192.0.2.222 community 65534:0 set community BLACKHOLE +match to 192.0.2.222 large-community 65534:0:0 set community BLACKHOLE + +match to 192.0.2.222 community BLACKHOLE set community NO_EXPORT +match to 192.0.2.222 community BLACKHOLE set nexthop 192.0.2.66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 192.0.2.222 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 192.0.2.222 community 65507:999 set community NO_EXPORT +match to 192.0.2.222 ext-community rt 65507:999 set community NO_EXPORT +match to 192.0.2.222 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 192.0.2.222 community 65508:999 set community NO_ADVERTISE +match to 192.0.2.222 ext-community rt 65508:999 set community NO_ADVERTISE +match to 192.0.2.222 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 192.0.2.222 community 65509:222 set community NO_EXPORT +match to 192.0.2.222 ext-community rt 65509:222 set community NO_EXPORT +match to 192.0.2.222 large-community 999:65509:222 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 192.0.2.222 community 65510:222 set community NO_ADVERTISE +match to 192.0.2.222 ext-community rt 65510:222 set community NO_ADVERTISE +match to 192.0.2.222 large-community 999:65510:222 set community NO_ADVERTISE + + +# BGP control communities +allow to 192.0.2.222 + +# do_not_announce_to_any +deny to 192.0.2.222 community 0:999 +deny to 192.0.2.222 ext-community rt 0:999 +deny to 192.0.2.222 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 192.0.2.222 community 0:222 +deny quick to 192.0.2.222 ext-community rt 0:222 +deny quick to 192.0.2.222 large-community 999:0:222 + +# announce_to_peer +allow to 192.0.2.222 community 65501:222 +allow to 192.0.2.222 ext-community rt 65501:222 +allow to 192.0.2.222 large-community 999:65501:222 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.222 community 65521:222 set prepend-neighbor 1 +match to 192.0.2.222 ext-community rt 65521:222 set prepend-neighbor 1 +match to 192.0.2.222 large-community 999:65521:222 set prepend-neighbor 1 + +match to 192.0.2.222 community 65521:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 ext-community rt 65521:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 large-community 999:65521:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.222 community 65522:222 set prepend-neighbor 2 +match to 192.0.2.222 ext-community rt 65522:222 set prepend-neighbor 2 +match to 192.0.2.222 large-community 999:65522:222 set prepend-neighbor 2 + +match to 192.0.2.222 community 65522:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 ext-community rt 65522:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 large-community 999:65522:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.222 community 65523:222 set prepend-neighbor 3 +match to 192.0.2.222 ext-community rt 65523:222 set prepend-neighbor 3 +match to 192.0.2.222 large-community 999:65523:222 set prepend-neighbor 3 + +match to 192.0.2.222 community 65523:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 ext-community rt 65523:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 large-community 999:65523:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.222 community 65521:65521 set prepend-neighbor 1 +match to 192.0.2.222 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 192.0.2.222 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 192.0.2.222 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.222 community 65522:65522 set prepend-neighbor 2 +match to 192.0.2.222 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 192.0.2.222 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 192.0.2.222 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.222 community 65523:65523 set prepend-neighbor 3 +match to 192.0.2.222 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 192.0.2.222 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 192.0.2.222 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS222_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::222 set community NO_ADVERTISE +match from 2001:db8:1:1::222 nexthop 2001:db8:1:1::222 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::222 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::222 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::222 peer-as != 222' - reject code: 6 +allow quick from 2001:db8:1:1::222 peer-as != 222 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::222 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::222 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::222 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::222 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::222 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::222 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 2001:db8:1:1::222 AS { 3, 174 }' - reject code: 8 +allow quick from 2001:db8:1:1::222 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 2001:db8:1:1::222 AS { 666, 777 }' - reject code: 15 +allow quick from 2001:db8:1:1::222 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + +# client's white list +# Add the $INTCOMM_ROUTE_OK_WL ext community to routes which +# are validated by a client's white list entry. +# It will be used later during IRRDB validation in +# case the route is not authorized by a client's +# AS-SET. +match from 2001:db8:1:1::222 prefix 222.1.1.0/24 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::222 prefix 3222:0:1::/48 set ext-community $INTCOMM_ROUTE_OK_WL # None + +match from 2001:db8:1:1::222 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS222_2, AS222: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::222 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS222 referenced but empty. +match from 2001:db8:1:1::222 source-as as-set AS_SET_AS_AS222_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS222 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS222_2, AS222: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::222 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS222 referenced but empty. +match from 2001:db8:1:1::222 prefix-set AS_SET_AS_AS222_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS222 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::222 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::222 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_REGISTROBRDB community have the prefix validated by a NICBR Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::222 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_REGISTROBRDB set ext-community delete $INTCOMM_IRR_REJECT + +# route authorized by a client's white list? +match from 2001:db8:1:1::222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set ext-community delete $INTCOMM_IRR_REJECT + +# enforcing: origin ASN +# Reject inbound routes when 'from 2001:db8:1:1::222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 2001:db8:1:1::222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 2001:db8:1:1::222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 2001:db8:1:1::222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + +# Blackhole request? +match from 2001:db8:1:1::222 set ext-community delete rt 65520:222 + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::222 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::222 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::222 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 2001:db8:1:1::222 community BLACKHOLE +allow quick from 2001:db8:1:1::222 community 65534:0 +allow quick from 2001:db8:1:1::222 large-community 65534:0:0 + + +match from 2001:db8:1:1::222 set ext-community rt 65520:222 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 2001:db8:1:1::222 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 2001:db8:1:1::222 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::222 prefix ::/0 prefixlen 17 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::222 prefix ::/0 prefixlen 17 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 2001:db8:1:1::222 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::222 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::222 set ext-community delete rt 65520:222 + + + +allow quick from 2001:db8:1:1::222 + + + +# --------------------------------------------- +# client AS222_2, outbound + +deny quick to 2001:db8:1:1::222 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 2001:db8:1:1::222 community 65534:0 set community BLACKHOLE +match to 2001:db8:1:1::222 large-community 65534:0:0 set community BLACKHOLE + +match to 2001:db8:1:1::222 community BLACKHOLE set community NO_EXPORT +match to 2001:db8:1:1::222 community BLACKHOLE set nexthop 2001:db8:1:1::66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 2001:db8:1:1::222 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 2001:db8:1:1::222 community 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::222 ext-community rt 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::222 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 2001:db8:1:1::222 community 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::222 ext-community rt 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::222 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 2001:db8:1:1::222 community 65509:222 set community NO_EXPORT +match to 2001:db8:1:1::222 ext-community rt 65509:222 set community NO_EXPORT +match to 2001:db8:1:1::222 large-community 999:65509:222 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 2001:db8:1:1::222 community 65510:222 set community NO_ADVERTISE +match to 2001:db8:1:1::222 ext-community rt 65510:222 set community NO_ADVERTISE +match to 2001:db8:1:1::222 large-community 999:65510:222 set community NO_ADVERTISE + + +# BGP control communities +allow to 2001:db8:1:1::222 + +# do_not_announce_to_any +deny to 2001:db8:1:1::222 community 0:999 +deny to 2001:db8:1:1::222 ext-community rt 0:999 +deny to 2001:db8:1:1::222 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::222 community 0:222 +deny quick to 2001:db8:1:1::222 ext-community rt 0:222 +deny quick to 2001:db8:1:1::222 large-community 999:0:222 + +# announce_to_peer +allow to 2001:db8:1:1::222 community 65501:222 +allow to 2001:db8:1:1::222 ext-community rt 65501:222 +allow to 2001:db8:1:1::222 large-community 999:65501:222 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::222 community 65521:222 set prepend-neighbor 1 +match to 2001:db8:1:1::222 ext-community rt 65521:222 set prepend-neighbor 1 +match to 2001:db8:1:1::222 large-community 999:65521:222 set prepend-neighbor 1 + +match to 2001:db8:1:1::222 community 65521:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 ext-community rt 65521:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 large-community 999:65521:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::222 community 65522:222 set prepend-neighbor 2 +match to 2001:db8:1:1::222 ext-community rt 65522:222 set prepend-neighbor 2 +match to 2001:db8:1:1::222 large-community 999:65522:222 set prepend-neighbor 2 + +match to 2001:db8:1:1::222 community 65522:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 ext-community rt 65522:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 large-community 999:65522:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::222 community 65523:222 set prepend-neighbor 3 +match to 2001:db8:1:1::222 ext-community rt 65523:222 set prepend-neighbor 3 +match to 2001:db8:1:1::222 large-community 999:65523:222 set prepend-neighbor 3 + +match to 2001:db8:1:1::222 community 65523:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 ext-community rt 65523:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 large-community 999:65523:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::222 community 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::222 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::222 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 2001:db8:1:1::222 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::222 community 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::222 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::222 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 2001:db8:1:1::222 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::222 community 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::222 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::222 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 2001:db8:1:1::222 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS2_1, inbound + + + +# NEXT_HOP +match from 192.0.2.21 set community NO_ADVERTISE +match from 192.0.2.21 nexthop 192.0.2.21 set community delete NO_ADVERTISE +match from 192.0.2.21 nexthop 192.0.2.22 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.21 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.21 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.21 peer-as != 2' - reject code: 6 +allow quick from 192.0.2.21 peer-as != 2 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.21 AS 23456' - reject code: 7 +allow quick from 192.0.2.21 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.21 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.21 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.21 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.21 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 192.0.2.21 AS { 3, 174 }' - reject code: 8 +allow quick from 192.0.2.21 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 192.0.2.21 AS { 666, 777 }' - reject code: 15 +allow quick from 192.0.2.21 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + + +match from 192.0.2.21 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS2_1, AS2: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.21 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS2 referenced but empty. +match from 192.0.2.21 source-as as-set AS_SET_AS_AS2_AS_AS2_CUSTOMERS_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS2_AS_AS2_CUSTOMERS + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS2_1, AS2: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.21 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS2 referenced but empty. +match from 192.0.2.21 prefix-set AS_SET_AS_AS2_AS_AS2_CUSTOMERS_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS2_AS_AS2_CUSTOMERS + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_REGISTROBRDB community have the prefix validated by a NICBR Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_REGISTROBRDB set ext-community delete $INTCOMM_IRR_REJECT + + +# enforcing: origin ASN +# Reject inbound routes when 'from 192.0.2.21 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 192.0.2.21 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 192.0.2.21 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 192.0.2.21 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + +# Blackhole request? +match from 192.0.2.21 set ext-community delete rt 65520:2 + + +# Remove internal communities before accepting the route +match from 192.0.2.21 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.21 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.21 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 192.0.2.21 community BLACKHOLE +allow quick from 192.0.2.21 community 65534:0 +allow quick from 192.0.2.21 large-community 65534:0:0 + + +match from 192.0.2.21 set ext-community rt 65520:2 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 192.0.2.21 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 192.0.2.21 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.21 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.21 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 192.0.2.21 community GRACEFUL_SHUTDOWN set community delete GRACEFUL_SHUTDOWN + +# Remove internal communities before accepting the route +match from 192.0.2.21 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.21 set ext-community delete rt 65520:2 + + + +allow quick from 192.0.2.21 + + + +# --------------------------------------------- +# client AS2_1, outbound + +deny quick to 192.0.2.21 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 192.0.2.21 community 65534:0 set community BLACKHOLE +match to 192.0.2.21 large-community 65534:0:0 set community BLACKHOLE + +match to 192.0.2.21 community BLACKHOLE set community NO_EXPORT +match to 192.0.2.21 community BLACKHOLE set nexthop 192.0.2.66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 192.0.2.21 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 192.0.2.21 community 65507:999 set community NO_EXPORT +match to 192.0.2.21 ext-community rt 65507:999 set community NO_EXPORT +match to 192.0.2.21 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 192.0.2.21 community 65508:999 set community NO_ADVERTISE +match to 192.0.2.21 ext-community rt 65508:999 set community NO_ADVERTISE +match to 192.0.2.21 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 192.0.2.21 community 65509:2 set community NO_EXPORT +match to 192.0.2.21 ext-community rt 65509:2 set community NO_EXPORT +match to 192.0.2.21 large-community 999:65509:2 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 192.0.2.21 community 65510:2 set community NO_ADVERTISE +match to 192.0.2.21 ext-community rt 65510:2 set community NO_ADVERTISE +match to 192.0.2.21 large-community 999:65510:2 set community NO_ADVERTISE + + +# BGP control communities +allow to 192.0.2.21 + +# do_not_announce_to_any +deny to 192.0.2.21 community 0:999 +deny to 192.0.2.21 ext-community rt 0:999 +deny to 192.0.2.21 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 192.0.2.21 community 0:2 +deny quick to 192.0.2.21 ext-community rt 0:2 +deny quick to 192.0.2.21 large-community 999:0:2 + +# announce_to_peer +allow to 192.0.2.21 community 65501:2 +allow to 192.0.2.21 ext-community rt 65501:2 +allow to 192.0.2.21 large-community 999:65501:2 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 65521:2 set prepend-neighbor 1 +match to 192.0.2.21 ext-community rt 65521:2 set prepend-neighbor 1 +match to 192.0.2.21 large-community 999:65521:2 set prepend-neighbor 1 + +match to 192.0.2.21 community 65521:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 65521:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:65521:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 65522:2 set prepend-neighbor 2 +match to 192.0.2.21 ext-community rt 65522:2 set prepend-neighbor 2 +match to 192.0.2.21 large-community 999:65522:2 set prepend-neighbor 2 + +match to 192.0.2.21 community 65522:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 65522:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:65522:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 65523:2 set prepend-neighbor 3 +match to 192.0.2.21 ext-community rt 65523:2 set prepend-neighbor 3 +match to 192.0.2.21 large-community 999:65523:2 set prepend-neighbor 3 + +match to 192.0.2.21 community 65523:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 65523:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:65523:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 65521:65521 set prepend-neighbor 1 +match to 192.0.2.21 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 192.0.2.21 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 192.0.2.21 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 65522:65522 set prepend-neighbor 2 +match to 192.0.2.21 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 192.0.2.21 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 192.0.2.21 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 65523:65523 set prepend-neighbor 3 +match to 192.0.2.21 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 192.0.2.21 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 192.0.2.21 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS2_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::21 set community NO_ADVERTISE +match from 2001:db8:1:1::21 nexthop 2001:db8:1:1::21 set community delete NO_ADVERTISE +match from 2001:db8:1:1::21 nexthop 2001:db8:1:1::22 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::21 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::21 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::21 peer-as != 2' - reject code: 6 +allow quick from 2001:db8:1:1::21 peer-as != 2 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 2001:db8:1:1::21 AS { 3, 174 }' - reject code: 8 +allow quick from 2001:db8:1:1::21 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 2001:db8:1:1::21 AS { 666, 777 }' - reject code: 15 +allow quick from 2001:db8:1:1::21 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + + +match from 2001:db8:1:1::21 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS2_2, AS2: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::21 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS2 referenced but empty. +match from 2001:db8:1:1::21 source-as as-set AS_SET_AS_AS2_AS_AS2_CUSTOMERS_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS2_AS_AS2_CUSTOMERS + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS2_2, AS2: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::21 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS2 referenced but empty. +match from 2001:db8:1:1::21 prefix-set AS_SET_AS_AS2_AS_AS2_CUSTOMERS_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS2_AS_AS2_CUSTOMERS + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_REGISTROBRDB community have the prefix validated by a NICBR Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_REGISTROBRDB set ext-community delete $INTCOMM_IRR_REJECT + + +# enforcing: origin ASN +# Reject inbound routes when 'from 2001:db8:1:1::21 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 2001:db8:1:1::21 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 2001:db8:1:1::21 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 2001:db8:1:1::21 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + +# Blackhole request? +match from 2001:db8:1:1::21 set ext-community delete rt 65520:2 + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::21 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::21 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::21 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 2001:db8:1:1::21 community BLACKHOLE +allow quick from 2001:db8:1:1::21 community 65534:0 +allow quick from 2001:db8:1:1::21 large-community 65534:0:0 + + +match from 2001:db8:1:1::21 set ext-community rt 65520:2 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 2001:db8:1:1::21 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 2001:db8:1:1::21 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::21 prefix ::/0 prefixlen 17 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::21 prefix ::/0 prefixlen 17 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 2001:db8:1:1::21 community GRACEFUL_SHUTDOWN set community delete GRACEFUL_SHUTDOWN + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::21 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::21 set ext-community delete rt 65520:2 + + + +allow quick from 2001:db8:1:1::21 + + + +# --------------------------------------------- +# client AS2_2, outbound + +deny quick to 2001:db8:1:1::21 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 2001:db8:1:1::21 community 65534:0 set community BLACKHOLE +match to 2001:db8:1:1::21 large-community 65534:0:0 set community BLACKHOLE + +match to 2001:db8:1:1::21 community BLACKHOLE set community NO_EXPORT +match to 2001:db8:1:1::21 community BLACKHOLE set nexthop 2001:db8:1:1::66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 2001:db8:1:1::21 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 2001:db8:1:1::21 community 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::21 ext-community rt 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::21 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 2001:db8:1:1::21 community 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::21 ext-community rt 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::21 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 2001:db8:1:1::21 community 65509:2 set community NO_EXPORT +match to 2001:db8:1:1::21 ext-community rt 65509:2 set community NO_EXPORT +match to 2001:db8:1:1::21 large-community 999:65509:2 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 2001:db8:1:1::21 community 65510:2 set community NO_ADVERTISE +match to 2001:db8:1:1::21 ext-community rt 65510:2 set community NO_ADVERTISE +match to 2001:db8:1:1::21 large-community 999:65510:2 set community NO_ADVERTISE + + +# BGP control communities +allow to 2001:db8:1:1::21 + +# do_not_announce_to_any +deny to 2001:db8:1:1::21 community 0:999 +deny to 2001:db8:1:1::21 ext-community rt 0:999 +deny to 2001:db8:1:1::21 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::21 community 0:2 +deny quick to 2001:db8:1:1::21 ext-community rt 0:2 +deny quick to 2001:db8:1:1::21 large-community 999:0:2 + +# do_not_announce_to_peers_with_rtt_lower_than 20 ms +deny to 2001:db8:1:1::21 community 64530:20 +deny to 2001:db8:1:1::21 ext-community rt 64530:20 +deny to 2001:db8:1:1::21 large-community 999:64530:20 + + +# do_not_announce_to_peers_with_rtt_lower_than 30 ms +deny to 2001:db8:1:1::21 community 64530:30 +deny to 2001:db8:1:1::21 ext-community rt 64530:30 +deny to 2001:db8:1:1::21 large-community 999:64530:30 + + +# do_not_announce_to_peers_with_rtt_lower_than 50 ms +deny to 2001:db8:1:1::21 community 64530:50 +deny to 2001:db8:1:1::21 ext-community rt 64530:50 +deny to 2001:db8:1:1::21 large-community 999:64530:50 + + +# do_not_announce_to_peers_with_rtt_lower_than 100 ms +deny to 2001:db8:1:1::21 community 64530:100 +deny to 2001:db8:1:1::21 ext-community rt 64530:100 +deny to 2001:db8:1:1::21 large-community 999:64530:100 + + +# do_not_announce_to_peers_with_rtt_lower_than 200 ms +deny to 2001:db8:1:1::21 community 64530:200 +deny to 2001:db8:1:1::21 ext-community rt 64530:200 +deny to 2001:db8:1:1::21 large-community 999:64530:200 + + +# do_not_announce_to_peers_with_rtt_lower_than 500 ms +deny to 2001:db8:1:1::21 community 64530:500 +deny to 2001:db8:1:1::21 ext-community rt 64530:500 +deny to 2001:db8:1:1::21 large-community 999:64530:500 + + +# announce_to_peers_with_rtt_lower_than 20 ms +allow to 2001:db8:1:1::21 community 64532:20 +allow to 2001:db8:1:1::21 ext-community rt 64532:20 +allow to 2001:db8:1:1::21 large-community 999:64532:20 + + +# announce_to_peers_with_rtt_lower_than 30 ms +allow to 2001:db8:1:1::21 community 64532:30 +allow to 2001:db8:1:1::21 ext-community rt 64532:30 +allow to 2001:db8:1:1::21 large-community 999:64532:30 + + +# announce_to_peers_with_rtt_lower_than 50 ms +allow to 2001:db8:1:1::21 community 64532:50 +allow to 2001:db8:1:1::21 ext-community rt 64532:50 +allow to 2001:db8:1:1::21 large-community 999:64532:50 + + +# announce_to_peers_with_rtt_lower_than 100 ms +allow to 2001:db8:1:1::21 community 64532:100 +allow to 2001:db8:1:1::21 ext-community rt 64532:100 +allow to 2001:db8:1:1::21 large-community 999:64532:100 + + +# announce_to_peers_with_rtt_lower_than 200 ms +allow to 2001:db8:1:1::21 community 64532:200 +allow to 2001:db8:1:1::21 ext-community rt 64532:200 +allow to 2001:db8:1:1::21 large-community 999:64532:200 + + +# announce_to_peers_with_rtt_lower_than 500 ms +allow to 2001:db8:1:1::21 community 64532:500 +allow to 2001:db8:1:1::21 ext-community rt 64532:500 +allow to 2001:db8:1:1::21 large-community 999:64532:500 + + +# do_not_announce_to_peers_with_rtt_higher_than 5 ms +deny to 2001:db8:1:1::21 community 64531:5 +deny to 2001:db8:1:1::21 ext-community rt 64531:5 +deny to 2001:db8:1:1::21 large-community 999:64531:5 + + +# do_not_announce_to_peers_with_rtt_higher_than 10 ms +deny to 2001:db8:1:1::21 community 64531:10 +deny to 2001:db8:1:1::21 ext-community rt 64531:10 +deny to 2001:db8:1:1::21 large-community 999:64531:10 + + +# do_not_announce_to_peers_with_rtt_higher_than 15 ms +deny to 2001:db8:1:1::21 community 64531:15 +deny to 2001:db8:1:1::21 ext-community rt 64531:15 +deny to 2001:db8:1:1::21 large-community 999:64531:15 + + +# announce_to_peers_with_rtt_higher_than 5 ms +allow to 2001:db8:1:1::21 community 64533:5 +allow to 2001:db8:1:1::21 ext-community rt 64533:5 +allow to 2001:db8:1:1::21 large-community 999:64533:5 + + +# announce_to_peers_with_rtt_higher_than 10 ms +allow to 2001:db8:1:1::21 community 64533:10 +allow to 2001:db8:1:1::21 ext-community rt 64533:10 +allow to 2001:db8:1:1::21 large-community 999:64533:10 + + +# announce_to_peers_with_rtt_higher_than 15 ms +allow to 2001:db8:1:1::21 community 64533:15 +allow to 2001:db8:1:1::21 ext-community rt 64533:15 +allow to 2001:db8:1:1::21 large-community 999:64533:15 + + +# announce_to_peer +allow to 2001:db8:1:1::21 community 65501:2 +allow to 2001:db8:1:1::21 ext-community rt 65501:2 +allow to 2001:db8:1:1::21 large-community 999:65501:2 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 65521:2 set prepend-neighbor 1 +match to 2001:db8:1:1::21 ext-community rt 65521:2 set prepend-neighbor 1 +match to 2001:db8:1:1::21 large-community 999:65521:2 set prepend-neighbor 1 + +match to 2001:db8:1:1::21 community 65521:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 65521:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:65521:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 65522:2 set prepend-neighbor 2 +match to 2001:db8:1:1::21 ext-community rt 65522:2 set prepend-neighbor 2 +match to 2001:db8:1:1::21 large-community 999:65522:2 set prepend-neighbor 2 + +match to 2001:db8:1:1::21 community 65522:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 65522:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:65522:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 65523:2 set prepend-neighbor 3 +match to 2001:db8:1:1::21 ext-community rt 65523:2 set prepend-neighbor 3 +match to 2001:db8:1:1::21 large-community 999:65523:2 set prepend-neighbor 3 + +match to 2001:db8:1:1::21 community 65523:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 65523:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:65523:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + +# prepend_once_to_peers_with_rtt_higher_than 15 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 64537:15 set prepend-neighbor 1 +match to 2001:db8:1:1::21 ext-community rt 64537:15 set prepend-neighbor 1 +match to 2001:db8:1:1::21 large-community 999:64537:15 set prepend-neighbor 1 + + +match to 2001:db8:1:1::21 community 64537:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 64537:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:64537:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 15 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 64538:15 set prepend-neighbor 2 +match to 2001:db8:1:1::21 ext-community rt 64538:15 set prepend-neighbor 2 +match to 2001:db8:1:1::21 large-community 999:64538:15 set prepend-neighbor 2 + + +match to 2001:db8:1:1::21 community 64538:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 64538:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:64538:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 15 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 64539:15 set prepend-neighbor 3 +match to 2001:db8:1:1::21 ext-community rt 64539:15 set prepend-neighbor 3 +match to 2001:db8:1:1::21 large-community 999:64539:15 set prepend-neighbor 3 + + +match to 2001:db8:1:1::21 community 64539:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 64539:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:64539:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_higher_than 10 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 64537:10 set prepend-neighbor 1 +match to 2001:db8:1:1::21 ext-community rt 64537:10 set prepend-neighbor 1 +match to 2001:db8:1:1::21 large-community 999:64537:10 set prepend-neighbor 1 + + +match to 2001:db8:1:1::21 community 64537:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 64537:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:64537:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 10 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 64538:10 set prepend-neighbor 2 +match to 2001:db8:1:1::21 ext-community rt 64538:10 set prepend-neighbor 2 +match to 2001:db8:1:1::21 large-community 999:64538:10 set prepend-neighbor 2 + + +match to 2001:db8:1:1::21 community 64538:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 64538:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:64538:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 10 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 64539:10 set prepend-neighbor 3 +match to 2001:db8:1:1::21 ext-community rt 64539:10 set prepend-neighbor 3 +match to 2001:db8:1:1::21 large-community 999:64539:10 set prepend-neighbor 3 + + +match to 2001:db8:1:1::21 community 64539:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 64539:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:64539:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_higher_than 5 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 64537:5 set prepend-neighbor 1 +match to 2001:db8:1:1::21 ext-community rt 64537:5 set prepend-neighbor 1 +match to 2001:db8:1:1::21 large-community 999:64537:5 set prepend-neighbor 1 + + +match to 2001:db8:1:1::21 community 64537:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 64537:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:64537:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 5 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 64538:5 set prepend-neighbor 2 +match to 2001:db8:1:1::21 ext-community rt 64538:5 set prepend-neighbor 2 +match to 2001:db8:1:1::21 large-community 999:64538:5 set prepend-neighbor 2 + + +match to 2001:db8:1:1::21 community 64538:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 64538:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:64538:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 5 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 64539:5 set prepend-neighbor 3 +match to 2001:db8:1:1::21 ext-community rt 64539:5 set prepend-neighbor 3 +match to 2001:db8:1:1::21 large-community 999:64539:5 set prepend-neighbor 3 + + +match to 2001:db8:1:1::21 community 64539:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 64539:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:64539:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 20 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 64534:20 set prepend-neighbor 1 +match to 2001:db8:1:1::21 ext-community rt 64534:20 set prepend-neighbor 1 +match to 2001:db8:1:1::21 large-community 999:64534:20 set prepend-neighbor 1 + + +match to 2001:db8:1:1::21 community 64534:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 64534:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:64534:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 20 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 64535:20 set prepend-neighbor 2 +match to 2001:db8:1:1::21 ext-community rt 64535:20 set prepend-neighbor 2 +match to 2001:db8:1:1::21 large-community 999:64535:20 set prepend-neighbor 2 + + +match to 2001:db8:1:1::21 community 64535:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 64535:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:64535:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 20 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 64536:20 set prepend-neighbor 3 +match to 2001:db8:1:1::21 ext-community rt 64536:20 set prepend-neighbor 3 +match to 2001:db8:1:1::21 large-community 999:64536:20 set prepend-neighbor 3 + + +match to 2001:db8:1:1::21 community 64536:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 64536:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:64536:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 30 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 64534:30 set prepend-neighbor 1 +match to 2001:db8:1:1::21 ext-community rt 64534:30 set prepend-neighbor 1 +match to 2001:db8:1:1::21 large-community 999:64534:30 set prepend-neighbor 1 + + +match to 2001:db8:1:1::21 community 64534:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 64534:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:64534:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 30 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 64535:30 set prepend-neighbor 2 +match to 2001:db8:1:1::21 ext-community rt 64535:30 set prepend-neighbor 2 +match to 2001:db8:1:1::21 large-community 999:64535:30 set prepend-neighbor 2 + + +match to 2001:db8:1:1::21 community 64535:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 64535:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:64535:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 30 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 64536:30 set prepend-neighbor 3 +match to 2001:db8:1:1::21 ext-community rt 64536:30 set prepend-neighbor 3 +match to 2001:db8:1:1::21 large-community 999:64536:30 set prepend-neighbor 3 + + +match to 2001:db8:1:1::21 community 64536:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 64536:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:64536:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 50 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 64534:50 set prepend-neighbor 1 +match to 2001:db8:1:1::21 ext-community rt 64534:50 set prepend-neighbor 1 +match to 2001:db8:1:1::21 large-community 999:64534:50 set prepend-neighbor 1 + + +match to 2001:db8:1:1::21 community 64534:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 64534:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:64534:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 50 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 64535:50 set prepend-neighbor 2 +match to 2001:db8:1:1::21 ext-community rt 64535:50 set prepend-neighbor 2 +match to 2001:db8:1:1::21 large-community 999:64535:50 set prepend-neighbor 2 + + +match to 2001:db8:1:1::21 community 64535:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 64535:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:64535:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 50 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 64536:50 set prepend-neighbor 3 +match to 2001:db8:1:1::21 ext-community rt 64536:50 set prepend-neighbor 3 +match to 2001:db8:1:1::21 large-community 999:64536:50 set prepend-neighbor 3 + + +match to 2001:db8:1:1::21 community 64536:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 64536:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:64536:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 100 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 64534:100 set prepend-neighbor 1 +match to 2001:db8:1:1::21 ext-community rt 64534:100 set prepend-neighbor 1 +match to 2001:db8:1:1::21 large-community 999:64534:100 set prepend-neighbor 1 + + +match to 2001:db8:1:1::21 community 64534:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 64534:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:64534:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 100 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 64535:100 set prepend-neighbor 2 +match to 2001:db8:1:1::21 ext-community rt 64535:100 set prepend-neighbor 2 +match to 2001:db8:1:1::21 large-community 999:64535:100 set prepend-neighbor 2 + + +match to 2001:db8:1:1::21 community 64535:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 64535:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:64535:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 100 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 64536:100 set prepend-neighbor 3 +match to 2001:db8:1:1::21 ext-community rt 64536:100 set prepend-neighbor 3 +match to 2001:db8:1:1::21 large-community 999:64536:100 set prepend-neighbor 3 + + +match to 2001:db8:1:1::21 community 64536:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 64536:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:64536:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 200 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 64534:200 set prepend-neighbor 1 +match to 2001:db8:1:1::21 ext-community rt 64534:200 set prepend-neighbor 1 +match to 2001:db8:1:1::21 large-community 999:64534:200 set prepend-neighbor 1 + + +match to 2001:db8:1:1::21 community 64534:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 64534:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:64534:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 200 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 64535:200 set prepend-neighbor 2 +match to 2001:db8:1:1::21 ext-community rt 64535:200 set prepend-neighbor 2 +match to 2001:db8:1:1::21 large-community 999:64535:200 set prepend-neighbor 2 + + +match to 2001:db8:1:1::21 community 64535:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 64535:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:64535:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 200 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 64536:200 set prepend-neighbor 3 +match to 2001:db8:1:1::21 ext-community rt 64536:200 set prepend-neighbor 3 +match to 2001:db8:1:1::21 large-community 999:64536:200 set prepend-neighbor 3 + + +match to 2001:db8:1:1::21 community 64536:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 64536:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:64536:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 64534:500 set prepend-neighbor 1 +match to 2001:db8:1:1::21 ext-community rt 64534:500 set prepend-neighbor 1 +match to 2001:db8:1:1::21 large-community 999:64534:500 set prepend-neighbor 1 + + +match to 2001:db8:1:1::21 community 64534:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 64534:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:64534:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 64535:500 set prepend-neighbor 2 +match to 2001:db8:1:1::21 ext-community rt 64535:500 set prepend-neighbor 2 +match to 2001:db8:1:1::21 large-community 999:64535:500 set prepend-neighbor 2 + + +match to 2001:db8:1:1::21 community 64535:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 64535:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:64535:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 64536:500 set prepend-neighbor 3 +match to 2001:db8:1:1::21 ext-community rt 64536:500 set prepend-neighbor 3 +match to 2001:db8:1:1::21 large-community 999:64536:500 set prepend-neighbor 3 + + +match to 2001:db8:1:1::21 community 64536:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 64536:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:64536:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::21 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::21 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 2001:db8:1:1::21 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::21 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::21 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 2001:db8:1:1::21 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::21 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::21 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 2001:db8:1:1::21 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS3_1, inbound + + + +# NEXT_HOP +match from 192.0.2.31 set community NO_ADVERTISE +match from 192.0.2.31 nexthop 192.0.2.31 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.31 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.31 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.31 peer-as != 3' - reject code: 6 +allow quick from 192.0.2.31 peer-as != 3 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.31 AS 23456' - reject code: 7 +allow quick from 192.0.2.31 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.31 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.31 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.31 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.31 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 192.0.2.31 AS { 174 }' - reject code: 8 +allow quick from 192.0.2.31 AS { 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 192.0.2.31 AS { 666, 777 }' - reject code: 15 +allow quick from 192.0.2.31 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + + + + +# Prefix: client's blacklist +prefix-set "client_AS3_1_black_list_pref_ipv4" { + 3.0.1.0/24 prefixlen 24 - 32 + +} +# Reject inbound routes when 'from 192.0.2.31 prefix-set client_AS3_1_black_list_pref_ipv4' - reject code: 11 +allow quick from 192.0.2.31 prefix-set client_AS3_1_black_list_pref_ipv4 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:11} + + + + +# Blackhole request? +match from 192.0.2.31 set ext-community delete rt 65520:3 + + +# Remove internal communities before accepting the route +match from 192.0.2.31 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.31 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.31 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 192.0.2.31 community BLACKHOLE +allow quick from 192.0.2.31 community 65534:0 +allow quick from 192.0.2.31 large-community 65534:0:0 + + +match from 192.0.2.31 set ext-community rt 65520:3 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 192.0.2.31 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 192.0.2.31 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.31 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.31 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 192.0.2.31 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 192.0.2.31 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.31 set ext-community delete rt 65520:3 + + + +allow quick from 192.0.2.31 + + + +# --------------------------------------------- +# client AS3_1, outbound + +deny quick to 192.0.2.31 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 192.0.2.31 community 65534:0 set community BLACKHOLE +match to 192.0.2.31 large-community 65534:0:0 set community BLACKHOLE + +match to 192.0.2.31 community BLACKHOLE set community NO_EXPORT +match to 192.0.2.31 community BLACKHOLE set nexthop 192.0.2.66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 192.0.2.31 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 192.0.2.31 community 65507:999 set community NO_EXPORT +match to 192.0.2.31 ext-community rt 65507:999 set community NO_EXPORT +match to 192.0.2.31 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 192.0.2.31 community 65508:999 set community NO_ADVERTISE +match to 192.0.2.31 ext-community rt 65508:999 set community NO_ADVERTISE +match to 192.0.2.31 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 192.0.2.31 community 65509:3 set community NO_EXPORT +match to 192.0.2.31 ext-community rt 65509:3 set community NO_EXPORT +match to 192.0.2.31 large-community 999:65509:3 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 192.0.2.31 community 65510:3 set community NO_ADVERTISE +match to 192.0.2.31 ext-community rt 65510:3 set community NO_ADVERTISE +match to 192.0.2.31 large-community 999:65510:3 set community NO_ADVERTISE + + +# BGP control communities +allow to 192.0.2.31 + +# do_not_announce_to_any +deny to 192.0.2.31 community 0:999 +deny to 192.0.2.31 ext-community rt 0:999 +deny to 192.0.2.31 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 192.0.2.31 community 0:3 +deny quick to 192.0.2.31 ext-community rt 0:3 +deny quick to 192.0.2.31 large-community 999:0:3 + +# announce_to_peer +allow to 192.0.2.31 community 65501:3 +allow to 192.0.2.31 ext-community rt 65501:3 +allow to 192.0.2.31 large-community 999:65501:3 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 65521:3 set prepend-neighbor 1 +match to 192.0.2.31 ext-community rt 65521:3 set prepend-neighbor 1 +match to 192.0.2.31 large-community 999:65521:3 set prepend-neighbor 1 + +match to 192.0.2.31 community 65521:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 65521:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:65521:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 65522:3 set prepend-neighbor 2 +match to 192.0.2.31 ext-community rt 65522:3 set prepend-neighbor 2 +match to 192.0.2.31 large-community 999:65522:3 set prepend-neighbor 2 + +match to 192.0.2.31 community 65522:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 65522:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:65522:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 65523:3 set prepend-neighbor 3 +match to 192.0.2.31 ext-community rt 65523:3 set prepend-neighbor 3 +match to 192.0.2.31 large-community 999:65523:3 set prepend-neighbor 3 + +match to 192.0.2.31 community 65523:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 65523:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:65523:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 65521:65521 set prepend-neighbor 1 +match to 192.0.2.31 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 192.0.2.31 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 192.0.2.31 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 65522:65522 set prepend-neighbor 2 +match to 192.0.2.31 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 192.0.2.31 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 192.0.2.31 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 65523:65523 set prepend-neighbor 3 +match to 192.0.2.31 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 192.0.2.31 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 192.0.2.31 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS3_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::31 set community NO_ADVERTISE +match from 2001:db8:1:1::31 nexthop 2001:db8:1:1::31 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::31 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::31 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::31 peer-as != 3' - reject code: 6 +allow quick from 2001:db8:1:1::31 peer-as != 3 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::31 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::31 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::31 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::31 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::31 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::31 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 2001:db8:1:1::31 AS { 174 }' - reject code: 8 +allow quick from 2001:db8:1:1::31 AS { 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 2001:db8:1:1::31 AS { 666, 777 }' - reject code: 15 +allow quick from 2001:db8:1:1::31 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + + + + +# Prefix: client's blacklist +prefix-set "client_AS3_2_black_list_pref_ipv6" { + 2a03:0:1::/48 prefixlen 48 - 128 + +} +# Reject inbound routes when 'from 2001:db8:1:1::31 prefix-set client_AS3_2_black_list_pref_ipv6' - reject code: 11 +allow quick from 2001:db8:1:1::31 prefix-set client_AS3_2_black_list_pref_ipv6 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:11} + + + + +# Blackhole request? +match from 2001:db8:1:1::31 set ext-community delete rt 65520:3 + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::31 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::31 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::31 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 2001:db8:1:1::31 community BLACKHOLE +allow quick from 2001:db8:1:1::31 community 65534:0 +allow quick from 2001:db8:1:1::31 large-community 65534:0:0 + + +match from 2001:db8:1:1::31 set ext-community rt 65520:3 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 2001:db8:1:1::31 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 2001:db8:1:1::31 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::31 prefix ::/0 prefixlen 17 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::31 prefix ::/0 prefixlen 17 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 2001:db8:1:1::31 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::31 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::31 set ext-community delete rt 65520:3 + + + +allow quick from 2001:db8:1:1::31 + + + +# --------------------------------------------- +# client AS3_2, outbound + +deny quick to 2001:db8:1:1::31 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 2001:db8:1:1::31 community 65534:0 set community BLACKHOLE +match to 2001:db8:1:1::31 large-community 65534:0:0 set community BLACKHOLE + +match to 2001:db8:1:1::31 community BLACKHOLE set community NO_EXPORT +match to 2001:db8:1:1::31 community BLACKHOLE set nexthop 2001:db8:1:1::66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 2001:db8:1:1::31 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 2001:db8:1:1::31 community 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::31 ext-community rt 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::31 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 2001:db8:1:1::31 community 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::31 ext-community rt 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::31 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 2001:db8:1:1::31 community 65509:3 set community NO_EXPORT +match to 2001:db8:1:1::31 ext-community rt 65509:3 set community NO_EXPORT +match to 2001:db8:1:1::31 large-community 999:65509:3 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 2001:db8:1:1::31 community 65510:3 set community NO_ADVERTISE +match to 2001:db8:1:1::31 ext-community rt 65510:3 set community NO_ADVERTISE +match to 2001:db8:1:1::31 large-community 999:65510:3 set community NO_ADVERTISE + + +# BGP control communities +allow to 2001:db8:1:1::31 + +# do_not_announce_to_any +deny to 2001:db8:1:1::31 community 0:999 +deny to 2001:db8:1:1::31 ext-community rt 0:999 +deny to 2001:db8:1:1::31 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::31 community 0:3 +deny quick to 2001:db8:1:1::31 ext-community rt 0:3 +deny quick to 2001:db8:1:1::31 large-community 999:0:3 + +# do_not_announce_to_peers_with_rtt_lower_than 200 ms +deny to 2001:db8:1:1::31 community 64530:200 +deny to 2001:db8:1:1::31 ext-community rt 64530:200 +deny to 2001:db8:1:1::31 large-community 999:64530:200 + + +# do_not_announce_to_peers_with_rtt_lower_than 500 ms +deny to 2001:db8:1:1::31 community 64530:500 +deny to 2001:db8:1:1::31 ext-community rt 64530:500 +deny to 2001:db8:1:1::31 large-community 999:64530:500 + + +# announce_to_peers_with_rtt_lower_than 200 ms +allow to 2001:db8:1:1::31 community 64532:200 +allow to 2001:db8:1:1::31 ext-community rt 64532:200 +allow to 2001:db8:1:1::31 large-community 999:64532:200 + + +# announce_to_peers_with_rtt_lower_than 500 ms +allow to 2001:db8:1:1::31 community 64532:500 +allow to 2001:db8:1:1::31 ext-community rt 64532:500 +allow to 2001:db8:1:1::31 large-community 999:64532:500 + + +# do_not_announce_to_peers_with_rtt_higher_than 5 ms +deny to 2001:db8:1:1::31 community 64531:5 +deny to 2001:db8:1:1::31 ext-community rt 64531:5 +deny to 2001:db8:1:1::31 large-community 999:64531:5 + + +# do_not_announce_to_peers_with_rtt_higher_than 10 ms +deny to 2001:db8:1:1::31 community 64531:10 +deny to 2001:db8:1:1::31 ext-community rt 64531:10 +deny to 2001:db8:1:1::31 large-community 999:64531:10 + + +# do_not_announce_to_peers_with_rtt_higher_than 15 ms +deny to 2001:db8:1:1::31 community 64531:15 +deny to 2001:db8:1:1::31 ext-community rt 64531:15 +deny to 2001:db8:1:1::31 large-community 999:64531:15 + + +# do_not_announce_to_peers_with_rtt_higher_than 20 ms +deny to 2001:db8:1:1::31 community 64531:20 +deny to 2001:db8:1:1::31 ext-community rt 64531:20 +deny to 2001:db8:1:1::31 large-community 999:64531:20 + + +# do_not_announce_to_peers_with_rtt_higher_than 30 ms +deny to 2001:db8:1:1::31 community 64531:30 +deny to 2001:db8:1:1::31 ext-community rt 64531:30 +deny to 2001:db8:1:1::31 large-community 999:64531:30 + + +# do_not_announce_to_peers_with_rtt_higher_than 50 ms +deny to 2001:db8:1:1::31 community 64531:50 +deny to 2001:db8:1:1::31 ext-community rt 64531:50 +deny to 2001:db8:1:1::31 large-community 999:64531:50 + + +# do_not_announce_to_peers_with_rtt_higher_than 100 ms +deny to 2001:db8:1:1::31 community 64531:100 +deny to 2001:db8:1:1::31 ext-community rt 64531:100 +deny to 2001:db8:1:1::31 large-community 999:64531:100 + + +# announce_to_peers_with_rtt_higher_than 5 ms +allow to 2001:db8:1:1::31 community 64533:5 +allow to 2001:db8:1:1::31 ext-community rt 64533:5 +allow to 2001:db8:1:1::31 large-community 999:64533:5 + + +# announce_to_peers_with_rtt_higher_than 10 ms +allow to 2001:db8:1:1::31 community 64533:10 +allow to 2001:db8:1:1::31 ext-community rt 64533:10 +allow to 2001:db8:1:1::31 large-community 999:64533:10 + + +# announce_to_peers_with_rtt_higher_than 15 ms +allow to 2001:db8:1:1::31 community 64533:15 +allow to 2001:db8:1:1::31 ext-community rt 64533:15 +allow to 2001:db8:1:1::31 large-community 999:64533:15 + + +# announce_to_peers_with_rtt_higher_than 20 ms +allow to 2001:db8:1:1::31 community 64533:20 +allow to 2001:db8:1:1::31 ext-community rt 64533:20 +allow to 2001:db8:1:1::31 large-community 999:64533:20 + + +# announce_to_peers_with_rtt_higher_than 30 ms +allow to 2001:db8:1:1::31 community 64533:30 +allow to 2001:db8:1:1::31 ext-community rt 64533:30 +allow to 2001:db8:1:1::31 large-community 999:64533:30 + + +# announce_to_peers_with_rtt_higher_than 50 ms +allow to 2001:db8:1:1::31 community 64533:50 +allow to 2001:db8:1:1::31 ext-community rt 64533:50 +allow to 2001:db8:1:1::31 large-community 999:64533:50 + + +# announce_to_peers_with_rtt_higher_than 100 ms +allow to 2001:db8:1:1::31 community 64533:100 +allow to 2001:db8:1:1::31 ext-community rt 64533:100 +allow to 2001:db8:1:1::31 large-community 999:64533:100 + + +# announce_to_peer +allow to 2001:db8:1:1::31 community 65501:3 +allow to 2001:db8:1:1::31 ext-community rt 65501:3 +allow to 2001:db8:1:1::31 large-community 999:65501:3 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 65521:3 set prepend-neighbor 1 +match to 2001:db8:1:1::31 ext-community rt 65521:3 set prepend-neighbor 1 +match to 2001:db8:1:1::31 large-community 999:65521:3 set prepend-neighbor 1 + +match to 2001:db8:1:1::31 community 65521:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 65521:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:65521:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 65522:3 set prepend-neighbor 2 +match to 2001:db8:1:1::31 ext-community rt 65522:3 set prepend-neighbor 2 +match to 2001:db8:1:1::31 large-community 999:65522:3 set prepend-neighbor 2 + +match to 2001:db8:1:1::31 community 65522:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 65522:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:65522:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 65523:3 set prepend-neighbor 3 +match to 2001:db8:1:1::31 ext-community rt 65523:3 set prepend-neighbor 3 +match to 2001:db8:1:1::31 large-community 999:65523:3 set prepend-neighbor 3 + +match to 2001:db8:1:1::31 community 65523:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 65523:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:65523:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + +# prepend_once_to_peers_with_rtt_higher_than 100 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 64537:100 set prepend-neighbor 1 +match to 2001:db8:1:1::31 ext-community rt 64537:100 set prepend-neighbor 1 +match to 2001:db8:1:1::31 large-community 999:64537:100 set prepend-neighbor 1 + + +match to 2001:db8:1:1::31 community 64537:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 64537:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:64537:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 100 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 64538:100 set prepend-neighbor 2 +match to 2001:db8:1:1::31 ext-community rt 64538:100 set prepend-neighbor 2 +match to 2001:db8:1:1::31 large-community 999:64538:100 set prepend-neighbor 2 + + +match to 2001:db8:1:1::31 community 64538:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 64538:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:64538:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 100 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 64539:100 set prepend-neighbor 3 +match to 2001:db8:1:1::31 ext-community rt 64539:100 set prepend-neighbor 3 +match to 2001:db8:1:1::31 large-community 999:64539:100 set prepend-neighbor 3 + + +match to 2001:db8:1:1::31 community 64539:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 64539:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:64539:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_higher_than 50 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 64537:50 set prepend-neighbor 1 +match to 2001:db8:1:1::31 ext-community rt 64537:50 set prepend-neighbor 1 +match to 2001:db8:1:1::31 large-community 999:64537:50 set prepend-neighbor 1 + + +match to 2001:db8:1:1::31 community 64537:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 64537:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:64537:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 50 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 64538:50 set prepend-neighbor 2 +match to 2001:db8:1:1::31 ext-community rt 64538:50 set prepend-neighbor 2 +match to 2001:db8:1:1::31 large-community 999:64538:50 set prepend-neighbor 2 + + +match to 2001:db8:1:1::31 community 64538:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 64538:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:64538:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 50 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 64539:50 set prepend-neighbor 3 +match to 2001:db8:1:1::31 ext-community rt 64539:50 set prepend-neighbor 3 +match to 2001:db8:1:1::31 large-community 999:64539:50 set prepend-neighbor 3 + + +match to 2001:db8:1:1::31 community 64539:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 64539:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:64539:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_higher_than 30 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 64537:30 set prepend-neighbor 1 +match to 2001:db8:1:1::31 ext-community rt 64537:30 set prepend-neighbor 1 +match to 2001:db8:1:1::31 large-community 999:64537:30 set prepend-neighbor 1 + + +match to 2001:db8:1:1::31 community 64537:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 64537:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:64537:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 30 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 64538:30 set prepend-neighbor 2 +match to 2001:db8:1:1::31 ext-community rt 64538:30 set prepend-neighbor 2 +match to 2001:db8:1:1::31 large-community 999:64538:30 set prepend-neighbor 2 + + +match to 2001:db8:1:1::31 community 64538:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 64538:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:64538:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 30 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 64539:30 set prepend-neighbor 3 +match to 2001:db8:1:1::31 ext-community rt 64539:30 set prepend-neighbor 3 +match to 2001:db8:1:1::31 large-community 999:64539:30 set prepend-neighbor 3 + + +match to 2001:db8:1:1::31 community 64539:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 64539:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:64539:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_higher_than 20 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 64537:20 set prepend-neighbor 1 +match to 2001:db8:1:1::31 ext-community rt 64537:20 set prepend-neighbor 1 +match to 2001:db8:1:1::31 large-community 999:64537:20 set prepend-neighbor 1 + + +match to 2001:db8:1:1::31 community 64537:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 64537:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:64537:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 20 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 64538:20 set prepend-neighbor 2 +match to 2001:db8:1:1::31 ext-community rt 64538:20 set prepend-neighbor 2 +match to 2001:db8:1:1::31 large-community 999:64538:20 set prepend-neighbor 2 + + +match to 2001:db8:1:1::31 community 64538:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 64538:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:64538:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 20 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 64539:20 set prepend-neighbor 3 +match to 2001:db8:1:1::31 ext-community rt 64539:20 set prepend-neighbor 3 +match to 2001:db8:1:1::31 large-community 999:64539:20 set prepend-neighbor 3 + + +match to 2001:db8:1:1::31 community 64539:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 64539:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:64539:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_higher_than 15 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 64537:15 set prepend-neighbor 1 +match to 2001:db8:1:1::31 ext-community rt 64537:15 set prepend-neighbor 1 +match to 2001:db8:1:1::31 large-community 999:64537:15 set prepend-neighbor 1 + + +match to 2001:db8:1:1::31 community 64537:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 64537:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:64537:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 15 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 64538:15 set prepend-neighbor 2 +match to 2001:db8:1:1::31 ext-community rt 64538:15 set prepend-neighbor 2 +match to 2001:db8:1:1::31 large-community 999:64538:15 set prepend-neighbor 2 + + +match to 2001:db8:1:1::31 community 64538:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 64538:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:64538:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 15 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 64539:15 set prepend-neighbor 3 +match to 2001:db8:1:1::31 ext-community rt 64539:15 set prepend-neighbor 3 +match to 2001:db8:1:1::31 large-community 999:64539:15 set prepend-neighbor 3 + + +match to 2001:db8:1:1::31 community 64539:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 64539:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:64539:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_higher_than 10 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 64537:10 set prepend-neighbor 1 +match to 2001:db8:1:1::31 ext-community rt 64537:10 set prepend-neighbor 1 +match to 2001:db8:1:1::31 large-community 999:64537:10 set prepend-neighbor 1 + + +match to 2001:db8:1:1::31 community 64537:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 64537:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:64537:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 10 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 64538:10 set prepend-neighbor 2 +match to 2001:db8:1:1::31 ext-community rt 64538:10 set prepend-neighbor 2 +match to 2001:db8:1:1::31 large-community 999:64538:10 set prepend-neighbor 2 + + +match to 2001:db8:1:1::31 community 64538:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 64538:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:64538:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 10 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 64539:10 set prepend-neighbor 3 +match to 2001:db8:1:1::31 ext-community rt 64539:10 set prepend-neighbor 3 +match to 2001:db8:1:1::31 large-community 999:64539:10 set prepend-neighbor 3 + + +match to 2001:db8:1:1::31 community 64539:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 64539:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:64539:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_higher_than 5 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 64537:5 set prepend-neighbor 1 +match to 2001:db8:1:1::31 ext-community rt 64537:5 set prepend-neighbor 1 +match to 2001:db8:1:1::31 large-community 999:64537:5 set prepend-neighbor 1 + + +match to 2001:db8:1:1::31 community 64537:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 64537:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:64537:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 5 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 64538:5 set prepend-neighbor 2 +match to 2001:db8:1:1::31 ext-community rt 64538:5 set prepend-neighbor 2 +match to 2001:db8:1:1::31 large-community 999:64538:5 set prepend-neighbor 2 + + +match to 2001:db8:1:1::31 community 64538:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 64538:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:64538:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 5 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 64539:5 set prepend-neighbor 3 +match to 2001:db8:1:1::31 ext-community rt 64539:5 set prepend-neighbor 3 +match to 2001:db8:1:1::31 large-community 999:64539:5 set prepend-neighbor 3 + + +match to 2001:db8:1:1::31 community 64539:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 64539:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:64539:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 200 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 64534:200 set prepend-neighbor 1 +match to 2001:db8:1:1::31 ext-community rt 64534:200 set prepend-neighbor 1 +match to 2001:db8:1:1::31 large-community 999:64534:200 set prepend-neighbor 1 + + +match to 2001:db8:1:1::31 community 64534:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 64534:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:64534:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 200 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 64535:200 set prepend-neighbor 2 +match to 2001:db8:1:1::31 ext-community rt 64535:200 set prepend-neighbor 2 +match to 2001:db8:1:1::31 large-community 999:64535:200 set prepend-neighbor 2 + + +match to 2001:db8:1:1::31 community 64535:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 64535:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:64535:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 200 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 64536:200 set prepend-neighbor 3 +match to 2001:db8:1:1::31 ext-community rt 64536:200 set prepend-neighbor 3 +match to 2001:db8:1:1::31 large-community 999:64536:200 set prepend-neighbor 3 + + +match to 2001:db8:1:1::31 community 64536:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 64536:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:64536:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 64534:500 set prepend-neighbor 1 +match to 2001:db8:1:1::31 ext-community rt 64534:500 set prepend-neighbor 1 +match to 2001:db8:1:1::31 large-community 999:64534:500 set prepend-neighbor 1 + + +match to 2001:db8:1:1::31 community 64534:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 64534:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:64534:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 64535:500 set prepend-neighbor 2 +match to 2001:db8:1:1::31 ext-community rt 64535:500 set prepend-neighbor 2 +match to 2001:db8:1:1::31 large-community 999:64535:500 set prepend-neighbor 2 + + +match to 2001:db8:1:1::31 community 64535:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 64535:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:64535:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 64536:500 set prepend-neighbor 3 +match to 2001:db8:1:1::31 ext-community rt 64536:500 set prepend-neighbor 3 +match to 2001:db8:1:1::31 large-community 999:64536:500 set prepend-neighbor 3 + + +match to 2001:db8:1:1::31 community 64536:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 64536:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:64536:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::31 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::31 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 2001:db8:1:1::31 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::31 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::31 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 2001:db8:1:1::31 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::31 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::31 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 2001:db8:1:1::31 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS4_1, inbound + + + +# NEXT_HOP +match from 192.0.2.41 set community NO_ADVERTISE +match from 192.0.2.41 nexthop 192.0.2.41 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.41 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.41 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.41 peer-as != 4' - reject code: 6 +allow quick from 192.0.2.41 peer-as != 4 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.41 AS 23456' - reject code: 7 +allow quick from 192.0.2.41 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.41 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.41 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.41 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.41 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 192.0.2.41 AS { 3, 174 }' - reject code: 8 +allow quick from 192.0.2.41 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 192.0.2.41 AS { 666, 777 }' - reject code: 15 +allow quick from 192.0.2.41 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + + + + + + + +# Blackhole request? +match from 192.0.2.41 set ext-community delete rt 65520:4 + + +# Remove internal communities before accepting the route +match from 192.0.2.41 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.41 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.41 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 192.0.2.41 community BLACKHOLE +allow quick from 192.0.2.41 community 65534:0 +allow quick from 192.0.2.41 large-community 65534:0:0 + + +match from 192.0.2.41 set ext-community rt 65520:4 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 192.0.2.41 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 192.0.2.41 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.41 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.41 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 192.0.2.41 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 192.0.2.41 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.41 set ext-community delete rt 65520:4 + + + +allow quick from 192.0.2.41 + + + +# --------------------------------------------- +# client AS4_1, outbound + +deny quick to 192.0.2.41 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 192.0.2.41 community 65534:0 set community BLACKHOLE +match to 192.0.2.41 large-community 65534:0:0 set community BLACKHOLE + +match to 192.0.2.41 community BLACKHOLE set community NO_EXPORT +match to 192.0.2.41 community BLACKHOLE set nexthop 192.0.2.66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 192.0.2.41 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 192.0.2.41 community 65507:999 set community NO_EXPORT +match to 192.0.2.41 ext-community rt 65507:999 set community NO_EXPORT +match to 192.0.2.41 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 192.0.2.41 community 65508:999 set community NO_ADVERTISE +match to 192.0.2.41 ext-community rt 65508:999 set community NO_ADVERTISE +match to 192.0.2.41 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 192.0.2.41 community 65509:4 set community NO_EXPORT +match to 192.0.2.41 ext-community rt 65509:4 set community NO_EXPORT +match to 192.0.2.41 large-community 999:65509:4 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 192.0.2.41 community 65510:4 set community NO_ADVERTISE +match to 192.0.2.41 ext-community rt 65510:4 set community NO_ADVERTISE +match to 192.0.2.41 large-community 999:65510:4 set community NO_ADVERTISE + + +# BGP control communities +allow to 192.0.2.41 + +# do_not_announce_to_any +deny to 192.0.2.41 community 0:999 +deny to 192.0.2.41 ext-community rt 0:999 +deny to 192.0.2.41 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 192.0.2.41 community 0:4 +deny quick to 192.0.2.41 ext-community rt 0:4 +deny quick to 192.0.2.41 large-community 999:0:4 + +# announce_to_peer +allow to 192.0.2.41 community 65501:4 +allow to 192.0.2.41 ext-community rt 65501:4 +allow to 192.0.2.41 large-community 999:65501:4 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 65521:4 set prepend-neighbor 1 +match to 192.0.2.41 ext-community rt 65521:4 set prepend-neighbor 1 +match to 192.0.2.41 large-community 999:65521:4 set prepend-neighbor 1 + +match to 192.0.2.41 community 65521:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 65521:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:65521:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 65522:4 set prepend-neighbor 2 +match to 192.0.2.41 ext-community rt 65522:4 set prepend-neighbor 2 +match to 192.0.2.41 large-community 999:65522:4 set prepend-neighbor 2 + +match to 192.0.2.41 community 65522:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 65522:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:65522:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 65523:4 set prepend-neighbor 3 +match to 192.0.2.41 ext-community rt 65523:4 set prepend-neighbor 3 +match to 192.0.2.41 large-community 999:65523:4 set prepend-neighbor 3 + +match to 192.0.2.41 community 65523:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 65523:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:65523:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 65521:65521 set prepend-neighbor 1 +match to 192.0.2.41 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 192.0.2.41 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 192.0.2.41 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 65522:65522 set prepend-neighbor 2 +match to 192.0.2.41 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 192.0.2.41 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 192.0.2.41 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 65523:65523 set prepend-neighbor 3 +match to 192.0.2.41 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 192.0.2.41 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 192.0.2.41 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS4_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::41 set community NO_ADVERTISE +match from 2001:db8:1:1::41 nexthop 2001:db8:1:1::41 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::41 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::41 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::41 peer-as != 4' - reject code: 6 +allow quick from 2001:db8:1:1::41 peer-as != 4 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 2001:db8:1:1::41 AS { 3, 174 }' - reject code: 8 +allow quick from 2001:db8:1:1::41 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 2001:db8:1:1::41 AS { 666, 777 }' - reject code: 15 +allow quick from 2001:db8:1:1::41 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + + + + + + + +# Blackhole request? +match from 2001:db8:1:1::41 set ext-community delete rt 65520:4 + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::41 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::41 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::41 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 2001:db8:1:1::41 community BLACKHOLE +allow quick from 2001:db8:1:1::41 community 65534:0 +allow quick from 2001:db8:1:1::41 large-community 65534:0:0 + + +match from 2001:db8:1:1::41 set ext-community rt 65520:4 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 2001:db8:1:1::41 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 2001:db8:1:1::41 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::41 prefix ::/0 prefixlen 17 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::41 prefix ::/0 prefixlen 17 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 2001:db8:1:1::41 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::41 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::41 set ext-community delete rt 65520:4 + + + +allow quick from 2001:db8:1:1::41 + + + +# --------------------------------------------- +# client AS4_2, outbound + +deny quick to 2001:db8:1:1::41 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 2001:db8:1:1::41 community 65534:0 set community BLACKHOLE +match to 2001:db8:1:1::41 large-community 65534:0:0 set community BLACKHOLE + +match to 2001:db8:1:1::41 community BLACKHOLE set community NO_EXPORT +match to 2001:db8:1:1::41 community BLACKHOLE set nexthop 2001:db8:1:1::66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 2001:db8:1:1::41 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 2001:db8:1:1::41 community 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::41 ext-community rt 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::41 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 2001:db8:1:1::41 community 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::41 ext-community rt 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::41 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 2001:db8:1:1::41 community 65509:4 set community NO_EXPORT +match to 2001:db8:1:1::41 ext-community rt 65509:4 set community NO_EXPORT +match to 2001:db8:1:1::41 large-community 999:65509:4 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 2001:db8:1:1::41 community 65510:4 set community NO_ADVERTISE +match to 2001:db8:1:1::41 ext-community rt 65510:4 set community NO_ADVERTISE +match to 2001:db8:1:1::41 large-community 999:65510:4 set community NO_ADVERTISE + + +# BGP control communities +allow to 2001:db8:1:1::41 + +# do_not_announce_to_any +deny to 2001:db8:1:1::41 community 0:999 +deny to 2001:db8:1:1::41 ext-community rt 0:999 +deny to 2001:db8:1:1::41 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::41 community 0:4 +deny quick to 2001:db8:1:1::41 ext-community rt 0:4 +deny quick to 2001:db8:1:1::41 large-community 999:0:4 + +# do_not_announce_to_peers_with_rtt_higher_than 5 ms +deny to 2001:db8:1:1::41 community 64531:5 +deny to 2001:db8:1:1::41 ext-community rt 64531:5 +deny to 2001:db8:1:1::41 large-community 999:64531:5 + + +# do_not_announce_to_peers_with_rtt_higher_than 10 ms +deny to 2001:db8:1:1::41 community 64531:10 +deny to 2001:db8:1:1::41 ext-community rt 64531:10 +deny to 2001:db8:1:1::41 large-community 999:64531:10 + + +# do_not_announce_to_peers_with_rtt_higher_than 15 ms +deny to 2001:db8:1:1::41 community 64531:15 +deny to 2001:db8:1:1::41 ext-community rt 64531:15 +deny to 2001:db8:1:1::41 large-community 999:64531:15 + + +# do_not_announce_to_peers_with_rtt_higher_than 20 ms +deny to 2001:db8:1:1::41 community 64531:20 +deny to 2001:db8:1:1::41 ext-community rt 64531:20 +deny to 2001:db8:1:1::41 large-community 999:64531:20 + + +# do_not_announce_to_peers_with_rtt_higher_than 30 ms +deny to 2001:db8:1:1::41 community 64531:30 +deny to 2001:db8:1:1::41 ext-community rt 64531:30 +deny to 2001:db8:1:1::41 large-community 999:64531:30 + + +# do_not_announce_to_peers_with_rtt_higher_than 50 ms +deny to 2001:db8:1:1::41 community 64531:50 +deny to 2001:db8:1:1::41 ext-community rt 64531:50 +deny to 2001:db8:1:1::41 large-community 999:64531:50 + + +# do_not_announce_to_peers_with_rtt_higher_than 100 ms +deny to 2001:db8:1:1::41 community 64531:100 +deny to 2001:db8:1:1::41 ext-community rt 64531:100 +deny to 2001:db8:1:1::41 large-community 999:64531:100 + + +# do_not_announce_to_peers_with_rtt_higher_than 200 ms +deny to 2001:db8:1:1::41 community 64531:200 +deny to 2001:db8:1:1::41 ext-community rt 64531:200 +deny to 2001:db8:1:1::41 large-community 999:64531:200 + + +# do_not_announce_to_peers_with_rtt_higher_than 500 ms +deny to 2001:db8:1:1::41 community 64531:500 +deny to 2001:db8:1:1::41 ext-community rt 64531:500 +deny to 2001:db8:1:1::41 large-community 999:64531:500 + + +# announce_to_peers_with_rtt_higher_than 5 ms +allow to 2001:db8:1:1::41 community 64533:5 +allow to 2001:db8:1:1::41 ext-community rt 64533:5 +allow to 2001:db8:1:1::41 large-community 999:64533:5 + + +# announce_to_peers_with_rtt_higher_than 10 ms +allow to 2001:db8:1:1::41 community 64533:10 +allow to 2001:db8:1:1::41 ext-community rt 64533:10 +allow to 2001:db8:1:1::41 large-community 999:64533:10 + + +# announce_to_peers_with_rtt_higher_than 15 ms +allow to 2001:db8:1:1::41 community 64533:15 +allow to 2001:db8:1:1::41 ext-community rt 64533:15 +allow to 2001:db8:1:1::41 large-community 999:64533:15 + + +# announce_to_peers_with_rtt_higher_than 20 ms +allow to 2001:db8:1:1::41 community 64533:20 +allow to 2001:db8:1:1::41 ext-community rt 64533:20 +allow to 2001:db8:1:1::41 large-community 999:64533:20 + + +# announce_to_peers_with_rtt_higher_than 30 ms +allow to 2001:db8:1:1::41 community 64533:30 +allow to 2001:db8:1:1::41 ext-community rt 64533:30 +allow to 2001:db8:1:1::41 large-community 999:64533:30 + + +# announce_to_peers_with_rtt_higher_than 50 ms +allow to 2001:db8:1:1::41 community 64533:50 +allow to 2001:db8:1:1::41 ext-community rt 64533:50 +allow to 2001:db8:1:1::41 large-community 999:64533:50 + + +# announce_to_peers_with_rtt_higher_than 100 ms +allow to 2001:db8:1:1::41 community 64533:100 +allow to 2001:db8:1:1::41 ext-community rt 64533:100 +allow to 2001:db8:1:1::41 large-community 999:64533:100 + + +# announce_to_peers_with_rtt_higher_than 200 ms +allow to 2001:db8:1:1::41 community 64533:200 +allow to 2001:db8:1:1::41 ext-community rt 64533:200 +allow to 2001:db8:1:1::41 large-community 999:64533:200 + + +# announce_to_peers_with_rtt_higher_than 500 ms +allow to 2001:db8:1:1::41 community 64533:500 +allow to 2001:db8:1:1::41 ext-community rt 64533:500 +allow to 2001:db8:1:1::41 large-community 999:64533:500 + + +# announce_to_peer +allow to 2001:db8:1:1::41 community 65501:4 +allow to 2001:db8:1:1::41 ext-community rt 65501:4 +allow to 2001:db8:1:1::41 large-community 999:65501:4 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 65521:4 set prepend-neighbor 1 +match to 2001:db8:1:1::41 ext-community rt 65521:4 set prepend-neighbor 1 +match to 2001:db8:1:1::41 large-community 999:65521:4 set prepend-neighbor 1 + +match to 2001:db8:1:1::41 community 65521:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 65521:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:65521:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 65522:4 set prepend-neighbor 2 +match to 2001:db8:1:1::41 ext-community rt 65522:4 set prepend-neighbor 2 +match to 2001:db8:1:1::41 large-community 999:65522:4 set prepend-neighbor 2 + +match to 2001:db8:1:1::41 community 65522:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 65522:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:65522:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 65523:4 set prepend-neighbor 3 +match to 2001:db8:1:1::41 ext-community rt 65523:4 set prepend-neighbor 3 +match to 2001:db8:1:1::41 large-community 999:65523:4 set prepend-neighbor 3 + +match to 2001:db8:1:1::41 community 65523:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 65523:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:65523:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + +# prepend_once_to_peers_with_rtt_higher_than 500 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 64537:500 set prepend-neighbor 1 +match to 2001:db8:1:1::41 ext-community rt 64537:500 set prepend-neighbor 1 +match to 2001:db8:1:1::41 large-community 999:64537:500 set prepend-neighbor 1 + + +match to 2001:db8:1:1::41 community 64537:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 64537:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:64537:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 500 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 64538:500 set prepend-neighbor 2 +match to 2001:db8:1:1::41 ext-community rt 64538:500 set prepend-neighbor 2 +match to 2001:db8:1:1::41 large-community 999:64538:500 set prepend-neighbor 2 + + +match to 2001:db8:1:1::41 community 64538:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 64538:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:64538:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 500 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 64539:500 set prepend-neighbor 3 +match to 2001:db8:1:1::41 ext-community rt 64539:500 set prepend-neighbor 3 +match to 2001:db8:1:1::41 large-community 999:64539:500 set prepend-neighbor 3 + + +match to 2001:db8:1:1::41 community 64539:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 64539:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:64539:500 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_higher_than 200 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 64537:200 set prepend-neighbor 1 +match to 2001:db8:1:1::41 ext-community rt 64537:200 set prepend-neighbor 1 +match to 2001:db8:1:1::41 large-community 999:64537:200 set prepend-neighbor 1 + + +match to 2001:db8:1:1::41 community 64537:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 64537:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:64537:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 200 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 64538:200 set prepend-neighbor 2 +match to 2001:db8:1:1::41 ext-community rt 64538:200 set prepend-neighbor 2 +match to 2001:db8:1:1::41 large-community 999:64538:200 set prepend-neighbor 2 + + +match to 2001:db8:1:1::41 community 64538:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 64538:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:64538:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 200 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 64539:200 set prepend-neighbor 3 +match to 2001:db8:1:1::41 ext-community rt 64539:200 set prepend-neighbor 3 +match to 2001:db8:1:1::41 large-community 999:64539:200 set prepend-neighbor 3 + + +match to 2001:db8:1:1::41 community 64539:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 64539:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:64539:200 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_higher_than 100 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 64537:100 set prepend-neighbor 1 +match to 2001:db8:1:1::41 ext-community rt 64537:100 set prepend-neighbor 1 +match to 2001:db8:1:1::41 large-community 999:64537:100 set prepend-neighbor 1 + + +match to 2001:db8:1:1::41 community 64537:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 64537:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:64537:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 100 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 64538:100 set prepend-neighbor 2 +match to 2001:db8:1:1::41 ext-community rt 64538:100 set prepend-neighbor 2 +match to 2001:db8:1:1::41 large-community 999:64538:100 set prepend-neighbor 2 + + +match to 2001:db8:1:1::41 community 64538:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 64538:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:64538:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 100 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 64539:100 set prepend-neighbor 3 +match to 2001:db8:1:1::41 ext-community rt 64539:100 set prepend-neighbor 3 +match to 2001:db8:1:1::41 large-community 999:64539:100 set prepend-neighbor 3 + + +match to 2001:db8:1:1::41 community 64539:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 64539:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:64539:100 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_higher_than 50 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 64537:50 set prepend-neighbor 1 +match to 2001:db8:1:1::41 ext-community rt 64537:50 set prepend-neighbor 1 +match to 2001:db8:1:1::41 large-community 999:64537:50 set prepend-neighbor 1 + + +match to 2001:db8:1:1::41 community 64537:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 64537:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:64537:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 50 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 64538:50 set prepend-neighbor 2 +match to 2001:db8:1:1::41 ext-community rt 64538:50 set prepend-neighbor 2 +match to 2001:db8:1:1::41 large-community 999:64538:50 set prepend-neighbor 2 + + +match to 2001:db8:1:1::41 community 64538:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 64538:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:64538:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 50 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 64539:50 set prepend-neighbor 3 +match to 2001:db8:1:1::41 ext-community rt 64539:50 set prepend-neighbor 3 +match to 2001:db8:1:1::41 large-community 999:64539:50 set prepend-neighbor 3 + + +match to 2001:db8:1:1::41 community 64539:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 64539:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:64539:50 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_higher_than 30 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 64537:30 set prepend-neighbor 1 +match to 2001:db8:1:1::41 ext-community rt 64537:30 set prepend-neighbor 1 +match to 2001:db8:1:1::41 large-community 999:64537:30 set prepend-neighbor 1 + + +match to 2001:db8:1:1::41 community 64537:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 64537:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:64537:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 30 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 64538:30 set prepend-neighbor 2 +match to 2001:db8:1:1::41 ext-community rt 64538:30 set prepend-neighbor 2 +match to 2001:db8:1:1::41 large-community 999:64538:30 set prepend-neighbor 2 + + +match to 2001:db8:1:1::41 community 64538:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 64538:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:64538:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 30 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 64539:30 set prepend-neighbor 3 +match to 2001:db8:1:1::41 ext-community rt 64539:30 set prepend-neighbor 3 +match to 2001:db8:1:1::41 large-community 999:64539:30 set prepend-neighbor 3 + + +match to 2001:db8:1:1::41 community 64539:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 64539:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:64539:30 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_higher_than 20 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 64537:20 set prepend-neighbor 1 +match to 2001:db8:1:1::41 ext-community rt 64537:20 set prepend-neighbor 1 +match to 2001:db8:1:1::41 large-community 999:64537:20 set prepend-neighbor 1 + + +match to 2001:db8:1:1::41 community 64537:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 64537:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:64537:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 20 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 64538:20 set prepend-neighbor 2 +match to 2001:db8:1:1::41 ext-community rt 64538:20 set prepend-neighbor 2 +match to 2001:db8:1:1::41 large-community 999:64538:20 set prepend-neighbor 2 + + +match to 2001:db8:1:1::41 community 64538:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 64538:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:64538:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 20 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 64539:20 set prepend-neighbor 3 +match to 2001:db8:1:1::41 ext-community rt 64539:20 set prepend-neighbor 3 +match to 2001:db8:1:1::41 large-community 999:64539:20 set prepend-neighbor 3 + + +match to 2001:db8:1:1::41 community 64539:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 64539:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:64539:20 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_higher_than 15 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 64537:15 set prepend-neighbor 1 +match to 2001:db8:1:1::41 ext-community rt 64537:15 set prepend-neighbor 1 +match to 2001:db8:1:1::41 large-community 999:64537:15 set prepend-neighbor 1 + + +match to 2001:db8:1:1::41 community 64537:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 64537:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:64537:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 15 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 64538:15 set prepend-neighbor 2 +match to 2001:db8:1:1::41 ext-community rt 64538:15 set prepend-neighbor 2 +match to 2001:db8:1:1::41 large-community 999:64538:15 set prepend-neighbor 2 + + +match to 2001:db8:1:1::41 community 64538:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 64538:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:64538:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 15 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 64539:15 set prepend-neighbor 3 +match to 2001:db8:1:1::41 ext-community rt 64539:15 set prepend-neighbor 3 +match to 2001:db8:1:1::41 large-community 999:64539:15 set prepend-neighbor 3 + + +match to 2001:db8:1:1::41 community 64539:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 64539:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:64539:15 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_higher_than 10 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 64537:10 set prepend-neighbor 1 +match to 2001:db8:1:1::41 ext-community rt 64537:10 set prepend-neighbor 1 +match to 2001:db8:1:1::41 large-community 999:64537:10 set prepend-neighbor 1 + + +match to 2001:db8:1:1::41 community 64537:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 64537:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:64537:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 10 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 64538:10 set prepend-neighbor 2 +match to 2001:db8:1:1::41 ext-community rt 64538:10 set prepend-neighbor 2 +match to 2001:db8:1:1::41 large-community 999:64538:10 set prepend-neighbor 2 + + +match to 2001:db8:1:1::41 community 64538:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 64538:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:64538:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 10 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 64539:10 set prepend-neighbor 3 +match to 2001:db8:1:1::41 ext-community rt 64539:10 set prepend-neighbor 3 +match to 2001:db8:1:1::41 large-community 999:64539:10 set prepend-neighbor 3 + + +match to 2001:db8:1:1::41 community 64539:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 64539:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:64539:10 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_once_to_peers_with_rtt_higher_than 5 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 64537:5 set prepend-neighbor 1 +match to 2001:db8:1:1::41 ext-community rt 64537:5 set prepend-neighbor 1 +match to 2001:db8:1:1::41 large-community 999:64537:5 set prepend-neighbor 1 + + +match to 2001:db8:1:1::41 community 64537:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 64537:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:64537:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 5 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 64538:5 set prepend-neighbor 2 +match to 2001:db8:1:1::41 ext-community rt 64538:5 set prepend-neighbor 2 +match to 2001:db8:1:1::41 large-community 999:64538:5 set prepend-neighbor 2 + + +match to 2001:db8:1:1::41 community 64538:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 64538:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:64538:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 5 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 64539:5 set prepend-neighbor 3 +match to 2001:db8:1:1::41 ext-community rt 64539:5 set prepend-neighbor 3 +match to 2001:db8:1:1::41 large-community 999:64539:5 set prepend-neighbor 3 + + +match to 2001:db8:1:1::41 community 64539:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 64539:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:64539:5 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::41 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::41 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 2001:db8:1:1::41 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::41 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::41 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 2001:db8:1:1::41 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::41 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::41 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 2001:db8:1:1::41 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + + + +# Scrub communities from outbound routes +# add_noadvertise_to_any +match to group clients set community delete 65508:999 +match to group clients set ext-community delete rt 65508:999 +match to group clients set large-community delete 999:65508:999 + +# add_noadvertise_to_peer +match to group clients set community delete 65510:* +# Warning: rt:65510:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:65510:* + +# add_noexport_to_any +match to group clients set community delete 65507:999 +match to group clients set ext-community delete rt 65507:999 +match to group clients set large-community delete 999:65507:999 + +# add_noexport_to_peer +match to group clients set community delete 65509:* +# Warning: rt:65509:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:65509:* + +# announce_to_peer +match to group clients set community delete 65501:* +# Warning: rt:65501:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:65501:* + +# announce_to_peers_with_rtt_higher_than +match to group clients set community delete 64533:* +# Warning: rt:64533:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64533:* + +# announce_to_peers_with_rtt_lower_than +match to group clients set community delete 64532:* +# Warning: rt:64532:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64532:* + +# blackholing +match to group clients set community delete 65534:0 +match to group clients set large-community delete 65534:0:0 + +# do_not_announce_to_any +match to group clients set community delete 0:999 +match to group clients set ext-community delete rt 0:999 +match to group clients set large-community delete 999:0:999 + +# do_not_announce_to_peer +match to group clients set community delete 0:* +# Warning: rt:0:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:0:* + +# do_not_announce_to_peers_with_rtt_higher_than +match to group clients set community delete 64531:* +# Warning: rt:64531:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64531:* + +# do_not_announce_to_peers_with_rtt_lower_than +match to group clients set community delete 64530:* +# Warning: rt:64530:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64530:* + +# prepend_once_to_any +match to group clients set community delete 65521:65521 +match to group clients set ext-community delete rt 65521:65521 +match to group clients set large-community delete 999:65521:65521 + +# prepend_once_to_peer +match to group clients set community delete 65521:* +# Warning: rt:65521:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:65521:* + +# prepend_once_to_peers_with_rtt_higher_than +match to group clients set community delete 64537:* +# Warning: rt:64537:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64537:* + +# prepend_once_to_peers_with_rtt_lower_than +match to group clients set community delete 64534:* +# Warning: rt:64534:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64534:* + +# prepend_thrice_to_any +match to group clients set community delete 65523:65523 +match to group clients set ext-community delete rt 65523:65523 +match to group clients set large-community delete 999:65523:65523 + +# prepend_thrice_to_peer +match to group clients set community delete 65523:* +# Warning: rt:65523:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:65523:* + +# prepend_thrice_to_peers_with_rtt_higher_than +match to group clients set community delete 64539:* +# Warning: rt:64539:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64539:* + +# prepend_thrice_to_peers_with_rtt_lower_than +match to group clients set community delete 64536:* +# Warning: rt:64536:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64536:* + +# prepend_twice_to_any +match to group clients set community delete 65522:65522 +match to group clients set ext-community delete rt 65522:65522 +match to group clients set large-community delete 999:65522:65522 + +# prepend_twice_to_peer +match to group clients set community delete 65522:* +# Warning: rt:65522:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:65522:* + +# prepend_twice_to_peers_with_rtt_higher_than +match to group clients set community delete 64538:* +# Warning: rt:64538:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64538:* + +# prepend_twice_to_peers_with_rtt_lower_than +match to group clients set community delete 64535:* +# Warning: rt:64535:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64535:* + + +# Scrub prepending communities +match to group clients set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 } +match to group clients set { community delete 65521:0 ext-community delete rt 65521:0 large-community delete 999:65521:0 } +match to group clients set { community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* } +match to group clients set { community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* } +match to group clients set { community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 } +match to group clients set { community delete 65523:0 ext-community delete rt 65523:0 large-community delete 999:65523:0 } +match to group clients set { community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* } +match to group clients set { community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* } +match to group clients set { community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 } +match to group clients set { community delete 65522:0 ext-community delete rt 65522:0 large-community delete 999:65522:0 } +match to group clients set { community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* } +match to group clients set { community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# RFC1997 NO_EXPORT/NO_ADVERTISE received from clients and propagated because of pass-through policy +match to group clients ext-community $INTCOMM_NO_EXPORT set community NO_EXPORT +match to group clients ext-community $INTCOMM_NO_ADVERTISE set community NO_ADVERTISE + +# Remove internal communities before announcing the route +match to group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + +include "/etc/bgpd/post-filters.local" + + diff --git a/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv4/openbgpd69/AS101.txt b/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv4/openbgpd69/AS101.txt new file mode 100644 index 00000000..6fcbe9f9 --- /dev/null +++ b/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv4/openbgpd69/AS101.txt @@ -0,0 +1,588 @@ +1.0.1.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +1.0.1.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.12, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +1.0.1.0/24, AS_PATH: 2 1, NEXT_HOP: 192.0.2.11, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +1.0.2.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +1.0.2.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.12, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +1.0.2.0/24, AS_PATH: 2 1, NEXT_HOP: 192.0.2.11, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +1.0.3.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.12, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +1.0.3.0/24, AS_PATH: 2 1, NEXT_HOP: 192.0.2.11, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +10.0.0.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +11.1.1.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +11.1.1.0/24, AS_PATH: 2 1 1011, NEXT_HOP: 192.0.2.11, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +11.1.2.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +11.2.1.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +11.3.0.0/16, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +11.3.0.0/16, AS_PATH: 2 1 1011, NEXT_HOP: 192.0.2.11, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +11.3.1.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +11.4.1.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +11.4.1.0/24, AS_PATH: 2 1 1000, NEXT_HOP: 192.0.2.11, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +128.0.0.0/10, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +128.0.0.0/7, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +128.0.0.0/8, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +128.0.0.0/9, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +192.0.2.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.1.0/24, AS_PATH: 1 2, NEXT_HOP: 192.0.2.21, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2.0.1.0/24, AS_PATH: 1 2, NEXT_HOP: 192.0.2.21, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2.0.1.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.2.0/24, AS_PATH: 1 2, NEXT_HOP: 192.0.2.21, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2.0.2.0/24, AS_PATH: 1 2, NEXT_HOP: 192.0.2.21, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2.0.2.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.1/32, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.2/32, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.3/32, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.4.0/24, AS_PATH: 1 2, NEXT_HOP: 192.0.2.22, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2.0.4.0/24, AS_PATH: 1 2, NEXT_HOP: 192.0.2.22, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2.0.4.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.5.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +222.2.2.0/24, AS_PATH: 1 222 333, NEXT_HOP: 192.0.2.222, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +222.2.2.0/24, AS_PATH: 1 222 333, NEXT_HOP: 192.0.2.222, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +222.2.2.0/24, AS_PATH: 2 222 333, NEXT_HOP: 192.0.2.222, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +222.3.3.0/24, AS_PATH: 1 222 333, NEXT_HOP: 192.0.2.222, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +222.3.3.0/24, AS_PATH: 1 222 333, NEXT_HOP: 192.0.2.222, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +222.3.3.0/24, AS_PATH: 2 222 333, NEXT_HOP: 192.0.2.222, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3.0.10.0/24, AS_PATH: 1 3 3 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3.0.10.0/24, AS_PATH: 1 3 3 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3.0.10.0/24, AS_PATH: 2 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.12.0/24, AS_PATH: 2 3 3 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.2.0/24, AS_PATH: 1 3, NEXT_HOP: 192.0.2.31, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.2.0/24, AS_PATH: 1 3, NEXT_HOP: 192.0.2.31, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3.0.3.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.31, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.5.0/24, AS_PATH: 1 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.5.0/24, AS_PATH: 1 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3.0.5.0/24, AS_PATH: 2 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3.0.6.0/24, AS_PATH: 1 3 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.6.0/24, AS_PATH: 1 3 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3.0.6.0/24, AS_PATH: 2 3 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3.0.7.0/24, AS_PATH: 1 3 3 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.7.0/24, AS_PATH: 1 3 3 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3.0.7.0/24, AS_PATH: 2 3 3 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3.0.8.0/24, AS_PATH: 1 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3.0.8.0/24, AS_PATH: 1 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3.0.8.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.31, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.9.0/24, AS_PATH: 1 3, NEXT_HOP: 192.0.2.31, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.9.0/24, AS_PATH: 1 3, NEXT_HOP: 192.0.2.31, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3.0.9.0/24, AS_PATH: 2 3 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +4.0.1.0/24, AS_PATH: 1 4, NEXT_HOP: 192.0.2.41, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.1.0/24, AS_PATH: 1 4, NEXT_HOP: 192.0.2.41, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +4.0.10.0/24, AS_PATH: 1 4, NEXT_HOP: 192.0.2.41, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.10.0/24, AS_PATH: 1 4, NEXT_HOP: 192.0.2.41, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +4.0.10.0/24, AS_PATH: 2 4 4, NEXT_HOP: 192.0.2.41, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +4.0.2.0/24, AS_PATH: 1 4, NEXT_HOP: 192.0.2.41, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.2.0/24, AS_PATH: 1 4, NEXT_HOP: 192.0.2.41, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +4.0.3.0/24, AS_PATH: 1 4, NEXT_HOP: 192.0.2.41, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.3.0/24, AS_PATH: 1 4, NEXT_HOP: 192.0.2.41, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +4.0.4.0/24, AS_PATH: 1 4, NEXT_HOP: 192.0.2.41, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.4.0/24, AS_PATH: 1 4, NEXT_HOP: 192.0.2.41, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +4.0.5.0/24, AS_PATH: 1 4, NEXT_HOP: 192.0.2.41, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.5.0/24, AS_PATH: 1 4, NEXT_HOP: 192.0.2.41, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +4.0.6.0/24, AS_PATH: 2 4, NEXT_HOP: 192.0.2.41, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.8.0/24, AS_PATH: 1 4, NEXT_HOP: 192.0.2.41, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.8.0/24, AS_PATH: 1 4, NEXT_HOP: 192.0.2.41, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +4.0.8.0/24, AS_PATH: 2 4 4 4, NEXT_HOP: 192.0.2.41, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +4.0.9.0/24, AS_PATH: 1 4 4 4 4, NEXT_HOP: 192.0.2.41, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +4.0.9.0/24, AS_PATH: 1 4 4 4 4, NEXT_HOP: 192.0.2.41, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +4.0.9.0/24, AS_PATH: 2 4 4 4, NEXT_HOP: 192.0.2.41, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv4/openbgpd69/AS1_1.txt b/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv4/openbgpd69/AS1_1.txt new file mode 100644 index 00000000..13a8125f --- /dev/null +++ b/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv4/openbgpd69/AS1_1.txt @@ -0,0 +1,350 @@ +101.0.1.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.10.0/24, AS_PATH: 101 666, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.11.0/24, AS_PATH: 101 777, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.128.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.128.1/32, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.2.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: 65530:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.3.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: 999:65530:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.4.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: 888:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.5.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: 888:0:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.6.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: 65530:1, 777:0 + ext comms: + lrg comms: 777:0:0, 999:65530:1 + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.7.0/24, AS_PATH: 101 174, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.8.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.9.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.1.0.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.2.0.0/17, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.2.1.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.2.128.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.3.0.0/24, AS_PATH: 101 105, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +102.0.1.0/24, AS_PATH: 101 102, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +103.0.1.0/24, AS_PATH: 101 103, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +103.0.2.0/24, AS_PATH: 101 101 103, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +104.0.1.0/24, AS_PATH: 101 104, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +104.1.1.0/24, AS_PATH: 101 104, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.1.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.2.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.1/32, AS_PATH: 2, NEXT_HOP: 192.0.2.66, via 192.0.2.2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.2/32, AS_PATH: 2, NEXT_HOP: 192.0.2.66, via 192.0.2.2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.3/32, AS_PATH: 2, NEXT_HOP: 192.0.2.66, via 192.0.2.2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.4.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.22, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +222.2.2.0/24, AS_PATH: 222 333, NEXT_HOP: 192.0.2.222, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +222.3.3.0/24, AS_PATH: 222 333, NEXT_HOP: 192.0.2.222, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.10.0/24, AS_PATH: 3 3 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.11.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: 65535:65281 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.12.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: 65535:65281 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.13.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: 65535:65281 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.2.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.5.0/24, AS_PATH: 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.6.0/24, AS_PATH: 3 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.7.0/24, AS_PATH: 3 3 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.8.0/24, AS_PATH: 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.9.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.1.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.10.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.2.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.3.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.4.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.5.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.7.1/32, AS_PATH: 4, NEXT_HOP: 192.0.2.66, via 192.0.2.2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.8.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.9.0/24, AS_PATH: 4 4 4 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv4/openbgpd69/AS1_2.txt b/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv4/openbgpd69/AS1_2.txt new file mode 100644 index 00000000..8642e190 --- /dev/null +++ b/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv4/openbgpd69/AS1_2.txt @@ -0,0 +1,322 @@ +101.0.1.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.10.0/24, AS_PATH: 101 666, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.11.0/24, AS_PATH: 101 777, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.128.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.128.1/32, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.2.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: 65530:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.3.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: 999:65530:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.4.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: 888:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.5.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: 888:0:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.6.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: 65530:1, 777:0 + ext comms: + lrg comms: 777:0:0, 999:65530:1 + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.7.0/24, AS_PATH: 101 174, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.8.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.9.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.1.0.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.2.0.0/17, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.2.1.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.2.128.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.3.0.0/24, AS_PATH: 101 105, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +102.0.1.0/24, AS_PATH: 101 102, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +103.0.1.0/24, AS_PATH: 101 103, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +103.0.2.0/24, AS_PATH: 101 101 103, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +104.0.1.0/24, AS_PATH: 101 104, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +104.1.1.0/24, AS_PATH: 101 104, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.1.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.2.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.4.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.22, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +222.2.2.0/24, AS_PATH: 222 333, NEXT_HOP: 192.0.2.222, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +222.3.3.0/24, AS_PATH: 222 333, NEXT_HOP: 192.0.2.222, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.10.0/24, AS_PATH: 3 3 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.11.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: 65535:65281 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.12.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: 65535:65281 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.13.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: 65535:65281 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.2.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.5.0/24, AS_PATH: 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.6.0/24, AS_PATH: 3 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.7.0/24, AS_PATH: 3 3 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.8.0/24, AS_PATH: 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.9.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.1.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.10.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.2.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.3.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.4.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.5.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.8.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.9.0/24, AS_PATH: 4 4 4 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv4/openbgpd69/AS2.txt b/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv4/openbgpd69/AS2.txt new file mode 100644 index 00000000..8a2c1842 --- /dev/null +++ b/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv4/openbgpd69/AS2.txt @@ -0,0 +1,406 @@ +1.0.1.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +1.0.2.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +1.0.3.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.1.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +101.0.1.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.10.0/24, AS_PATH: 101 666, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.11.0/24, AS_PATH: 101 777, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.128.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.128.1/32, AS_PATH: 1 101, NEXT_HOP: 192.0.2.66, via 192.0.2.2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +101.0.128.1/32, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.2.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +101.0.2.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: 65530:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.3.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +101.0.3.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: 999:65530:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.4.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: 888:0 + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +101.0.4.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: 888:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.5.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: 888:0:0 + best: False, LOCAL_PREF: 100 + filtered: False () + +101.0.5.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: 888:0:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.6.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: 777:0 + ext comms: + lrg comms: 777:0:0 + best: False, LOCAL_PREF: 100 + filtered: False () + +101.0.6.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: 65530:1, 777:0 + ext comms: + lrg comms: 777:0:0, 999:65530:1 + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.7.0/24, AS_PATH: 101 174, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.8.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +101.0.8.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.9.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.1.0.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.2.0.0/17, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +101.2.0.0/17, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.2.1.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.2.128.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +101.2.128.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.3.0.0/24, AS_PATH: 101 105, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +102.0.1.0/24, AS_PATH: 101 102, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +103.0.1.0/24, AS_PATH: 101 101 103, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +103.0.2.0/24, AS_PATH: 101 103, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +104.0.1.0/24, AS_PATH: 1 101 104, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +104.0.1.0/24, AS_PATH: 101 104, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +104.1.1.0/24, AS_PATH: 1 101 104, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +104.1.1.0/24, AS_PATH: 101 104, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +11.1.1.0/24, AS_PATH: 1 1011, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +11.3.0.0/16, AS_PATH: 1 1011, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +11.4.1.0/24, AS_PATH: 1 1000, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +222.2.2.0/24, AS_PATH: 222 333, NEXT_HOP: 192.0.2.222, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +222.3.3.0/24, AS_PATH: 222 333, NEXT_HOP: 192.0.2.222, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.10.0/24, AS_PATH: 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.11.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: 65535:65281 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.12.0/24, AS_PATH: 3 3 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.13.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: 65535:65281 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.3.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.5.0/24, AS_PATH: 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.6.0/24, AS_PATH: 3 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.7.0/24, AS_PATH: 3 3 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.8.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.9.0/24, AS_PATH: 3 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.10.0/24, AS_PATH: 4 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.6.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.7.1/32, AS_PATH: 4, NEXT_HOP: 192.0.2.66, via 192.0.2.2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.8.0/24, AS_PATH: 4 4 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.9.0/24, AS_PATH: 4 4 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv4/openbgpd69/AS222.txt b/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv4/openbgpd69/AS222.txt new file mode 100644 index 00000000..e69de29b diff --git a/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv4/openbgpd69/AS3.txt b/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv4/openbgpd69/AS3.txt new file mode 100644 index 00000000..90c174a9 --- /dev/null +++ b/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv4/openbgpd69/AS3.txt @@ -0,0 +1,224 @@ +1.0.1.0/24, AS_PATH: 999 1, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +1.0.2.0/24, AS_PATH: 999 1, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +1.0.3.0/24, AS_PATH: 999 1, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +101.0.1.0/24, AS_PATH: 999 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +101.0.128.1/32, AS_PATH: 999 1 101, NEXT_HOP: 192.0.2.66, via 192.0.2.2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +101.0.2.0/24, AS_PATH: 999 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +101.0.3.0/24, AS_PATH: 999 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +101.0.4.0/24, AS_PATH: 999 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: 888:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +101.0.5.0/24, AS_PATH: 999 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: 888:0:0 + best: True, LOCAL_PREF: 101 + filtered: False () + +101.0.6.0/24, AS_PATH: 999 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: 777:0 + ext comms: + lrg comms: 777:0:0 + best: True, LOCAL_PREF: 101 + filtered: False () + +101.0.8.0/24, AS_PATH: 999 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +101.2.0.0/17, AS_PATH: 999 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +101.2.128.0/24, AS_PATH: 999 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +103.0.1.0/24, AS_PATH: 999 2 101 101 103, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +103.0.2.0/24, AS_PATH: 999 2 101 103, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +104.0.1.0/24, AS_PATH: 999 1 101 104, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +104.1.1.0/24, AS_PATH: 999 1 101 104, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +11.1.1.0/24, AS_PATH: 999 1 1011, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +11.3.0.0/16, AS_PATH: 999 1 1011, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +11.4.1.0/24, AS_PATH: 999 1 1000, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +2.0.1.0/24, AS_PATH: 999 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.2.0/24, AS_PATH: 999 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.1/32, AS_PATH: 999 2, NEXT_HOP: 192.0.2.66, via 192.0.2.2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.2/32, AS_PATH: 999 2, NEXT_HOP: 192.0.2.66, via 192.0.2.2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.3/32, AS_PATH: 999 2, NEXT_HOP: 192.0.2.66, via 192.0.2.2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.4.0/24, AS_PATH: 999 2, NEXT_HOP: 192.0.2.22, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +222.2.2.0/24, AS_PATH: 999 222 333, NEXT_HOP: 192.0.2.222, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +222.3.3.0/24, AS_PATH: 999 222 333, NEXT_HOP: 192.0.2.222, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.10.0/24, AS_PATH: 999 4 4 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.5.0/24, AS_PATH: 999 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.8.0/24, AS_PATH: 999 4 4 4 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.9.0/24, AS_PATH: 999 4 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv4/openbgpd69/AS4.txt b/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv4/openbgpd69/AS4.txt new file mode 100644 index 00000000..acf9f82f --- /dev/null +++ b/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv4/openbgpd69/AS4.txt @@ -0,0 +1,266 @@ +1.0.1.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +1.0.2.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +1.0.3.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.1.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.128.1/32, AS_PATH: 1 101, NEXT_HOP: 192.0.2.66, via 192.0.2.2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.2.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.3.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.4.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: 888:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.5.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: 888:0:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.6.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: 777:0 + ext comms: + lrg comms: 777:0:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.8.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.2.0.0/17, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.2.128.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +103.0.1.0/24, AS_PATH: 2 101 101 103, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +103.0.2.0/24, AS_PATH: 2 101 103, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +104.0.1.0/24, AS_PATH: 1 101 104, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +104.1.1.0/24, AS_PATH: 1 101 104, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +11.1.1.0/24, AS_PATH: 1 1011, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +11.3.0.0/16, AS_PATH: 1 1011, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +11.4.1.0/24, AS_PATH: 1 1000, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.1.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.2.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.1/32, AS_PATH: 2, NEXT_HOP: 192.0.2.66, via 192.0.2.2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.2/32, AS_PATH: 2, NEXT_HOP: 192.0.2.66, via 192.0.2.2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.3/32, AS_PATH: 2, NEXT_HOP: 192.0.2.66, via 192.0.2.2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.4.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.22, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +222.2.2.0/24, AS_PATH: 222 333, NEXT_HOP: 192.0.2.222, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +222.3.3.0/24, AS_PATH: 222 333, NEXT_HOP: 192.0.2.222, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.10.0/24, AS_PATH: 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.11.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: 65535:65281 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.12.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.13.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: 65535:65281 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.3.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.5.0/24, AS_PATH: 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.6.0/24, AS_PATH: 3 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.7.0/24, AS_PATH: 3 3 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.8.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.9.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv4/openbgpd69/rs.txt b/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv4/openbgpd69/rs.txt new file mode 100644 index 00000000..9cb43841 --- /dev/null +++ b/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv4/openbgpd69/rs.txt @@ -0,0 +1,847 @@ +0.0.0.0/0, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.31 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (2) + +1.0.1.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +1.0.1.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.12, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +1.0.2.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +1.0.2.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.12, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +1.0.3.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +10.0.0.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (2) + +101.0.1.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +101.0.1.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.1.0/24, AS_PATH: 2 101, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +101.0.10.0/24, AS_PATH: 1 101 666, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +101.0.10.0/24, AS_PATH: 1 101 666, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (15) + +101.0.10.0/24, AS_PATH: 2 101 666, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (15) + +101.0.11.0/24, AS_PATH: 1 101 777, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +101.0.11.0/24, AS_PATH: 1 101 777, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (15) + +101.0.11.0/24, AS_PATH: 2 101 777, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (15) + +101.0.128.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +101.0.128.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (14) + +101.0.128.0/24, AS_PATH: 2 101, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (14) + +101.0.128.1/32, AS_PATH: 1 101, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: 65535:666 + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +101.0.128.1/32, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.128.1/32, AS_PATH: 2 101, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 65535:666 + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +101.0.2.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +101.0.2.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.2.0/24, AS_PATH: 2 101, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +101.0.3.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +101.0.3.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.3.0/24, AS_PATH: 2 101, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +101.0.4.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: 888:0 + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +101.0.4.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: 888:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.4.0/24, AS_PATH: 2 101, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 888:0 + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +101.0.5.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: + ext comms: + lrg comms: 888:0:0 + best: False, LOCAL_PREF: 1 + filtered: True (5) + +101.0.5.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: 888:0:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.5.0/24, AS_PATH: 2 101, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: 888:0:0 + best: False, LOCAL_PREF: 100 + filtered: False () + +101.0.6.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: 777:0 + ext comms: + lrg comms: 777:0:0 + best: False, LOCAL_PREF: 1 + filtered: True (5) + +101.0.6.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: 777:0 + ext comms: + lrg comms: 777:0:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.6.0/24, AS_PATH: 2 101, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 777:0 + ext comms: + lrg comms: 777:0:0 + best: False, LOCAL_PREF: 100 + filtered: False () + +101.0.7.0/24, AS_PATH: 1 101 174, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +101.0.7.0/24, AS_PATH: 1 101 174, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (8) + +101.0.7.0/24, AS_PATH: 2 101 174, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (8) + +101.0.8.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +101.0.8.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.8.0/24, AS_PATH: 2 101, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +101.0.9.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +101.0.9.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (14) + +101.0.9.0/24, AS_PATH: 2 101, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (14) + +101.1.0.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +101.1.0.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (12) + +101.1.0.0/24, AS_PATH: 2 101, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (12) + +101.2.0.0/17, AS_PATH: 1 101, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +101.2.0.0/17, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.2.0.0/17, AS_PATH: 2 101, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +101.2.1.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +101.2.1.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (12) + +101.2.1.0/24, AS_PATH: 2 101, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (12) + +101.2.128.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +101.2.128.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.2.128.0/24, AS_PATH: 2 101, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +101.3.0.0/24, AS_PATH: 1 101 105, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +101.3.0.0/24, AS_PATH: 1 101 105, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (9) + +101.3.0.0/24, AS_PATH: 2 101 105, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (9) + +102.0.1.0/24, AS_PATH: 1 101 102, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +102.0.1.0/24, AS_PATH: 1 101 102, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (9) + +102.0.1.0/24, AS_PATH: 2 101 102, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (9) + +103.0.1.0/24, AS_PATH: 1 101 103, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: 65535:0 + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +103.0.1.0/24, AS_PATH: 1 101 103, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: 65535:0 + ext comms: + lrg comms: + best: False, LOCAL_PREF: 5 + filtered: False () + +103.0.1.0/24, AS_PATH: 2 101 101 103, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +103.0.2.0/24, AS_PATH: 1 101 101 103, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +103.0.2.0/24, AS_PATH: 1 101 101 103, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +103.0.2.0/24, AS_PATH: 2 101 103, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +104.0.1.0/24, AS_PATH: 1 101 104, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +104.0.1.0/24, AS_PATH: 1 101 104, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +104.0.1.0/24, AS_PATH: 2 101 104, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (9) + +104.1.1.0/24, AS_PATH: 1 101 104, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +104.1.1.0/24, AS_PATH: 1 101 104, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +104.1.1.0/24, AS_PATH: 2 101 104, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (9) + +11.1.1.0/24, AS_PATH: 1 1011, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +11.1.2.0/24, AS_PATH: 1 1000, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (9) + +11.2.1.0/24, AS_PATH: 1 1011, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (12) + +11.3.0.0/16, AS_PATH: 1 1011, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +11.3.1.0/24, AS_PATH: 1 1011, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (12) + +11.4.1.0/24, AS_PATH: 1 1000, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +128.0.0.0/10, AS_PATH: 1 2 2 2 2 2 2 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (1) + +128.0.0.0/7, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (13) + +128.0.0.0/8, AS_PATH: 2 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (6) + +128.0.0.0/9, AS_PATH: 1 65536 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (7) + +192.0.2.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (3) + +2.0.1.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.2.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.1/32, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.2/32, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 65534:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.3/32, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: 65534:0:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.4.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.22, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.5.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.23, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (5) + +222.1.1.0/24, AS_PATH: 222 333, NEXT_HOP: 192.0.2.222, via 192.0.2.222 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (14) + +222.2.2.0/24, AS_PATH: 222 333, NEXT_HOP: 192.0.2.222, via 192.0.2.222 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +222.3.3.0/24, AS_PATH: 222 333, NEXT_HOP: 192.0.2.222, via 192.0.2.222 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.1.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.31 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (11) + +3.0.10.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.31 + std comms: 65521:65521, 65523:1 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.11.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.31 + std comms: 65507:999 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.12.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.31 + std comms: 65509:1, 65523:2 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.13.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.31 + std comms: + ext comms: soo:65535:65281 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.14.0/24, AS_PATH: 3 174 33, NEXT_HOP: 192.0.2.31, via 192.0.2.31 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (8) + +3.0.2.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.31 + std comms: 0:999, 65501:1 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.3.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.31 + std comms: 0:1 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.4.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.31 + std comms: 0:999 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.5.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.31 + std comms: 65521:65521 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.6.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.31 + std comms: 65522:65522 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.7.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.31 + std comms: 65523:65523 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.8.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.31 + std comms: 65521:1 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.9.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.31 + std comms: 65522:2 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.1.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 0:999, 64532:15 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.10.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: + ext comms: rt:64537:10, rt:64538:20 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.2.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 0:999, 64532:5 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.3.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 64531:15 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.4.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 64531:5 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.5.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 64531:5, 65501:3 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.6.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 64530:5, 64531:100 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.7.1/32, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 64531:20, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.8.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 64538:10, 64539:100 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.9.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 64535:20, 64536:5, 65521:65521 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv4/openbgpd69p/AS101.txt b/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv4/openbgpd69p/AS101.txt new file mode 100644 index 00000000..6fcbe9f9 --- /dev/null +++ b/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv4/openbgpd69p/AS101.txt @@ -0,0 +1,588 @@ +1.0.1.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +1.0.1.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.12, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +1.0.1.0/24, AS_PATH: 2 1, NEXT_HOP: 192.0.2.11, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +1.0.2.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +1.0.2.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.12, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +1.0.2.0/24, AS_PATH: 2 1, NEXT_HOP: 192.0.2.11, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +1.0.3.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.12, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +1.0.3.0/24, AS_PATH: 2 1, NEXT_HOP: 192.0.2.11, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +10.0.0.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +11.1.1.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +11.1.1.0/24, AS_PATH: 2 1 1011, NEXT_HOP: 192.0.2.11, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +11.1.2.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +11.2.1.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +11.3.0.0/16, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +11.3.0.0/16, AS_PATH: 2 1 1011, NEXT_HOP: 192.0.2.11, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +11.3.1.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +11.4.1.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +11.4.1.0/24, AS_PATH: 2 1 1000, NEXT_HOP: 192.0.2.11, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +128.0.0.0/10, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +128.0.0.0/7, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +128.0.0.0/8, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +128.0.0.0/9, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +192.0.2.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.1.0/24, AS_PATH: 1 2, NEXT_HOP: 192.0.2.21, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2.0.1.0/24, AS_PATH: 1 2, NEXT_HOP: 192.0.2.21, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2.0.1.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.2.0/24, AS_PATH: 1 2, NEXT_HOP: 192.0.2.21, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2.0.2.0/24, AS_PATH: 1 2, NEXT_HOP: 192.0.2.21, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2.0.2.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.1/32, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.2/32, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.3/32, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.4.0/24, AS_PATH: 1 2, NEXT_HOP: 192.0.2.22, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2.0.4.0/24, AS_PATH: 1 2, NEXT_HOP: 192.0.2.22, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2.0.4.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.5.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +222.2.2.0/24, AS_PATH: 1 222 333, NEXT_HOP: 192.0.2.222, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +222.2.2.0/24, AS_PATH: 1 222 333, NEXT_HOP: 192.0.2.222, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +222.2.2.0/24, AS_PATH: 2 222 333, NEXT_HOP: 192.0.2.222, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +222.3.3.0/24, AS_PATH: 1 222 333, NEXT_HOP: 192.0.2.222, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +222.3.3.0/24, AS_PATH: 1 222 333, NEXT_HOP: 192.0.2.222, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +222.3.3.0/24, AS_PATH: 2 222 333, NEXT_HOP: 192.0.2.222, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3.0.10.0/24, AS_PATH: 1 3 3 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3.0.10.0/24, AS_PATH: 1 3 3 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3.0.10.0/24, AS_PATH: 2 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.12.0/24, AS_PATH: 2 3 3 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.2.0/24, AS_PATH: 1 3, NEXT_HOP: 192.0.2.31, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.2.0/24, AS_PATH: 1 3, NEXT_HOP: 192.0.2.31, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3.0.3.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.31, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.5.0/24, AS_PATH: 1 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.5.0/24, AS_PATH: 1 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3.0.5.0/24, AS_PATH: 2 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3.0.6.0/24, AS_PATH: 1 3 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.6.0/24, AS_PATH: 1 3 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3.0.6.0/24, AS_PATH: 2 3 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3.0.7.0/24, AS_PATH: 1 3 3 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.7.0/24, AS_PATH: 1 3 3 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3.0.7.0/24, AS_PATH: 2 3 3 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3.0.8.0/24, AS_PATH: 1 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3.0.8.0/24, AS_PATH: 1 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3.0.8.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.31, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.9.0/24, AS_PATH: 1 3, NEXT_HOP: 192.0.2.31, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.9.0/24, AS_PATH: 1 3, NEXT_HOP: 192.0.2.31, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3.0.9.0/24, AS_PATH: 2 3 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +4.0.1.0/24, AS_PATH: 1 4, NEXT_HOP: 192.0.2.41, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.1.0/24, AS_PATH: 1 4, NEXT_HOP: 192.0.2.41, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +4.0.10.0/24, AS_PATH: 1 4, NEXT_HOP: 192.0.2.41, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.10.0/24, AS_PATH: 1 4, NEXT_HOP: 192.0.2.41, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +4.0.10.0/24, AS_PATH: 2 4 4, NEXT_HOP: 192.0.2.41, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +4.0.2.0/24, AS_PATH: 1 4, NEXT_HOP: 192.0.2.41, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.2.0/24, AS_PATH: 1 4, NEXT_HOP: 192.0.2.41, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +4.0.3.0/24, AS_PATH: 1 4, NEXT_HOP: 192.0.2.41, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.3.0/24, AS_PATH: 1 4, NEXT_HOP: 192.0.2.41, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +4.0.4.0/24, AS_PATH: 1 4, NEXT_HOP: 192.0.2.41, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.4.0/24, AS_PATH: 1 4, NEXT_HOP: 192.0.2.41, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +4.0.5.0/24, AS_PATH: 1 4, NEXT_HOP: 192.0.2.41, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.5.0/24, AS_PATH: 1 4, NEXT_HOP: 192.0.2.41, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +4.0.6.0/24, AS_PATH: 2 4, NEXT_HOP: 192.0.2.41, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.8.0/24, AS_PATH: 1 4, NEXT_HOP: 192.0.2.41, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.8.0/24, AS_PATH: 1 4, NEXT_HOP: 192.0.2.41, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +4.0.8.0/24, AS_PATH: 2 4 4 4, NEXT_HOP: 192.0.2.41, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +4.0.9.0/24, AS_PATH: 1 4 4 4 4, NEXT_HOP: 192.0.2.41, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +4.0.9.0/24, AS_PATH: 1 4 4 4 4, NEXT_HOP: 192.0.2.41, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +4.0.9.0/24, AS_PATH: 2 4 4 4, NEXT_HOP: 192.0.2.41, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv4/openbgpd69p/AS1_1.txt b/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv4/openbgpd69p/AS1_1.txt new file mode 100644 index 00000000..13a8125f --- /dev/null +++ b/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv4/openbgpd69p/AS1_1.txt @@ -0,0 +1,350 @@ +101.0.1.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.10.0/24, AS_PATH: 101 666, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.11.0/24, AS_PATH: 101 777, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.128.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.128.1/32, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.2.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: 65530:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.3.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: 999:65530:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.4.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: 888:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.5.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: 888:0:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.6.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: 65530:1, 777:0 + ext comms: + lrg comms: 777:0:0, 999:65530:1 + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.7.0/24, AS_PATH: 101 174, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.8.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.9.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.1.0.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.2.0.0/17, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.2.1.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.2.128.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.3.0.0/24, AS_PATH: 101 105, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +102.0.1.0/24, AS_PATH: 101 102, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +103.0.1.0/24, AS_PATH: 101 103, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +103.0.2.0/24, AS_PATH: 101 101 103, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +104.0.1.0/24, AS_PATH: 101 104, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +104.1.1.0/24, AS_PATH: 101 104, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.1.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.2.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.1/32, AS_PATH: 2, NEXT_HOP: 192.0.2.66, via 192.0.2.2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.2/32, AS_PATH: 2, NEXT_HOP: 192.0.2.66, via 192.0.2.2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.3/32, AS_PATH: 2, NEXT_HOP: 192.0.2.66, via 192.0.2.2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.4.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.22, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +222.2.2.0/24, AS_PATH: 222 333, NEXT_HOP: 192.0.2.222, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +222.3.3.0/24, AS_PATH: 222 333, NEXT_HOP: 192.0.2.222, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.10.0/24, AS_PATH: 3 3 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.11.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: 65535:65281 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.12.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: 65535:65281 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.13.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: 65535:65281 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.2.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.5.0/24, AS_PATH: 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.6.0/24, AS_PATH: 3 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.7.0/24, AS_PATH: 3 3 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.8.0/24, AS_PATH: 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.9.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.1.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.10.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.2.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.3.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.4.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.5.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.7.1/32, AS_PATH: 4, NEXT_HOP: 192.0.2.66, via 192.0.2.2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.8.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.9.0/24, AS_PATH: 4 4 4 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv4/openbgpd69p/AS1_2.txt b/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv4/openbgpd69p/AS1_2.txt new file mode 100644 index 00000000..8642e190 --- /dev/null +++ b/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv4/openbgpd69p/AS1_2.txt @@ -0,0 +1,322 @@ +101.0.1.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.10.0/24, AS_PATH: 101 666, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.11.0/24, AS_PATH: 101 777, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.128.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.128.1/32, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.2.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: 65530:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.3.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: 999:65530:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.4.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: 888:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.5.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: 888:0:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.6.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: 65530:1, 777:0 + ext comms: + lrg comms: 777:0:0, 999:65530:1 + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.7.0/24, AS_PATH: 101 174, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.8.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.9.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.1.0.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.2.0.0/17, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.2.1.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.2.128.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.3.0.0/24, AS_PATH: 101 105, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +102.0.1.0/24, AS_PATH: 101 102, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +103.0.1.0/24, AS_PATH: 101 103, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +103.0.2.0/24, AS_PATH: 101 101 103, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +104.0.1.0/24, AS_PATH: 101 104, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +104.1.1.0/24, AS_PATH: 101 104, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.1.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.2.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.4.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.22, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +222.2.2.0/24, AS_PATH: 222 333, NEXT_HOP: 192.0.2.222, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +222.3.3.0/24, AS_PATH: 222 333, NEXT_HOP: 192.0.2.222, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.10.0/24, AS_PATH: 3 3 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.11.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: 65535:65281 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.12.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: 65535:65281 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.13.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: 65535:65281 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.2.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.5.0/24, AS_PATH: 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.6.0/24, AS_PATH: 3 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.7.0/24, AS_PATH: 3 3 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.8.0/24, AS_PATH: 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.9.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.1.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.10.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.2.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.3.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.4.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.5.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.8.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.9.0/24, AS_PATH: 4 4 4 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv4/openbgpd69p/AS2.txt b/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv4/openbgpd69p/AS2.txt new file mode 100644 index 00000000..8a2c1842 --- /dev/null +++ b/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv4/openbgpd69p/AS2.txt @@ -0,0 +1,406 @@ +1.0.1.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +1.0.2.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +1.0.3.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.1.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +101.0.1.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.10.0/24, AS_PATH: 101 666, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.11.0/24, AS_PATH: 101 777, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.128.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.128.1/32, AS_PATH: 1 101, NEXT_HOP: 192.0.2.66, via 192.0.2.2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +101.0.128.1/32, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.2.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +101.0.2.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: 65530:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.3.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +101.0.3.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: 999:65530:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.4.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: 888:0 + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +101.0.4.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: 888:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.5.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: 888:0:0 + best: False, LOCAL_PREF: 100 + filtered: False () + +101.0.5.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: 888:0:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.6.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: 777:0 + ext comms: + lrg comms: 777:0:0 + best: False, LOCAL_PREF: 100 + filtered: False () + +101.0.6.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: 65530:1, 777:0 + ext comms: + lrg comms: 777:0:0, 999:65530:1 + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.7.0/24, AS_PATH: 101 174, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.8.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +101.0.8.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.9.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.1.0.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.2.0.0/17, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +101.2.0.0/17, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.2.1.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.2.128.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +101.2.128.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.3.0.0/24, AS_PATH: 101 105, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +102.0.1.0/24, AS_PATH: 101 102, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +103.0.1.0/24, AS_PATH: 101 101 103, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +103.0.2.0/24, AS_PATH: 101 103, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +104.0.1.0/24, AS_PATH: 1 101 104, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +104.0.1.0/24, AS_PATH: 101 104, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +104.1.1.0/24, AS_PATH: 1 101 104, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +104.1.1.0/24, AS_PATH: 101 104, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +11.1.1.0/24, AS_PATH: 1 1011, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +11.3.0.0/16, AS_PATH: 1 1011, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +11.4.1.0/24, AS_PATH: 1 1000, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +222.2.2.0/24, AS_PATH: 222 333, NEXT_HOP: 192.0.2.222, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +222.3.3.0/24, AS_PATH: 222 333, NEXT_HOP: 192.0.2.222, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.10.0/24, AS_PATH: 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.11.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: 65535:65281 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.12.0/24, AS_PATH: 3 3 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.13.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: 65535:65281 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.3.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.5.0/24, AS_PATH: 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.6.0/24, AS_PATH: 3 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.7.0/24, AS_PATH: 3 3 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.8.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.9.0/24, AS_PATH: 3 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.10.0/24, AS_PATH: 4 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.6.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.7.1/32, AS_PATH: 4, NEXT_HOP: 192.0.2.66, via 192.0.2.2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.8.0/24, AS_PATH: 4 4 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.9.0/24, AS_PATH: 4 4 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv4/openbgpd69p/AS222.txt b/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv4/openbgpd69p/AS222.txt new file mode 100644 index 00000000..e69de29b diff --git a/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv4/openbgpd69p/AS3.txt b/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv4/openbgpd69p/AS3.txt new file mode 100644 index 00000000..90c174a9 --- /dev/null +++ b/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv4/openbgpd69p/AS3.txt @@ -0,0 +1,224 @@ +1.0.1.0/24, AS_PATH: 999 1, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +1.0.2.0/24, AS_PATH: 999 1, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +1.0.3.0/24, AS_PATH: 999 1, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +101.0.1.0/24, AS_PATH: 999 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +101.0.128.1/32, AS_PATH: 999 1 101, NEXT_HOP: 192.0.2.66, via 192.0.2.2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +101.0.2.0/24, AS_PATH: 999 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +101.0.3.0/24, AS_PATH: 999 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +101.0.4.0/24, AS_PATH: 999 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: 888:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +101.0.5.0/24, AS_PATH: 999 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: 888:0:0 + best: True, LOCAL_PREF: 101 + filtered: False () + +101.0.6.0/24, AS_PATH: 999 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: 777:0 + ext comms: + lrg comms: 777:0:0 + best: True, LOCAL_PREF: 101 + filtered: False () + +101.0.8.0/24, AS_PATH: 999 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +101.2.0.0/17, AS_PATH: 999 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +101.2.128.0/24, AS_PATH: 999 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +103.0.1.0/24, AS_PATH: 999 2 101 101 103, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +103.0.2.0/24, AS_PATH: 999 2 101 103, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +104.0.1.0/24, AS_PATH: 999 1 101 104, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +104.1.1.0/24, AS_PATH: 999 1 101 104, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +11.1.1.0/24, AS_PATH: 999 1 1011, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +11.3.0.0/16, AS_PATH: 999 1 1011, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +11.4.1.0/24, AS_PATH: 999 1 1000, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +2.0.1.0/24, AS_PATH: 999 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.2.0/24, AS_PATH: 999 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.1/32, AS_PATH: 999 2, NEXT_HOP: 192.0.2.66, via 192.0.2.2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.2/32, AS_PATH: 999 2, NEXT_HOP: 192.0.2.66, via 192.0.2.2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.3/32, AS_PATH: 999 2, NEXT_HOP: 192.0.2.66, via 192.0.2.2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.4.0/24, AS_PATH: 999 2, NEXT_HOP: 192.0.2.22, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +222.2.2.0/24, AS_PATH: 999 222 333, NEXT_HOP: 192.0.2.222, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +222.3.3.0/24, AS_PATH: 999 222 333, NEXT_HOP: 192.0.2.222, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.10.0/24, AS_PATH: 999 4 4 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.5.0/24, AS_PATH: 999 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.8.0/24, AS_PATH: 999 4 4 4 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.9.0/24, AS_PATH: 999 4 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv4/openbgpd69p/AS4.txt b/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv4/openbgpd69p/AS4.txt new file mode 100644 index 00000000..acf9f82f --- /dev/null +++ b/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv4/openbgpd69p/AS4.txt @@ -0,0 +1,266 @@ +1.0.1.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +1.0.2.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +1.0.3.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.1.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.128.1/32, AS_PATH: 1 101, NEXT_HOP: 192.0.2.66, via 192.0.2.2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.2.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.3.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.4.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: 888:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.5.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: 888:0:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.6.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: 777:0 + ext comms: + lrg comms: 777:0:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.8.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.2.0.0/17, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.2.128.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +103.0.1.0/24, AS_PATH: 2 101 101 103, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +103.0.2.0/24, AS_PATH: 2 101 103, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +104.0.1.0/24, AS_PATH: 1 101 104, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +104.1.1.0/24, AS_PATH: 1 101 104, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +11.1.1.0/24, AS_PATH: 1 1011, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +11.3.0.0/16, AS_PATH: 1 1011, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +11.4.1.0/24, AS_PATH: 1 1000, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.1.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.2.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.1/32, AS_PATH: 2, NEXT_HOP: 192.0.2.66, via 192.0.2.2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.2/32, AS_PATH: 2, NEXT_HOP: 192.0.2.66, via 192.0.2.2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.3/32, AS_PATH: 2, NEXT_HOP: 192.0.2.66, via 192.0.2.2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.4.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.22, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +222.2.2.0/24, AS_PATH: 222 333, NEXT_HOP: 192.0.2.222, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +222.3.3.0/24, AS_PATH: 222 333, NEXT_HOP: 192.0.2.222, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.10.0/24, AS_PATH: 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.11.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: 65535:65281 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.12.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.13.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: 65535:65281 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.3.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.5.0/24, AS_PATH: 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.6.0/24, AS_PATH: 3 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.7.0/24, AS_PATH: 3 3 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.8.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.9.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv4/openbgpd69p/rs.txt b/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv4/openbgpd69p/rs.txt new file mode 100644 index 00000000..9cb43841 --- /dev/null +++ b/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv4/openbgpd69p/rs.txt @@ -0,0 +1,847 @@ +0.0.0.0/0, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.31 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (2) + +1.0.1.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +1.0.1.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.12, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +1.0.2.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +1.0.2.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.12, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +1.0.3.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +10.0.0.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (2) + +101.0.1.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +101.0.1.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.1.0/24, AS_PATH: 2 101, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +101.0.10.0/24, AS_PATH: 1 101 666, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +101.0.10.0/24, AS_PATH: 1 101 666, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (15) + +101.0.10.0/24, AS_PATH: 2 101 666, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (15) + +101.0.11.0/24, AS_PATH: 1 101 777, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +101.0.11.0/24, AS_PATH: 1 101 777, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (15) + +101.0.11.0/24, AS_PATH: 2 101 777, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (15) + +101.0.128.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +101.0.128.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (14) + +101.0.128.0/24, AS_PATH: 2 101, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (14) + +101.0.128.1/32, AS_PATH: 1 101, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: 65535:666 + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +101.0.128.1/32, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.128.1/32, AS_PATH: 2 101, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 65535:666 + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +101.0.2.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +101.0.2.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.2.0/24, AS_PATH: 2 101, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +101.0.3.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +101.0.3.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.3.0/24, AS_PATH: 2 101, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +101.0.4.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: 888:0 + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +101.0.4.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: 888:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.4.0/24, AS_PATH: 2 101, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 888:0 + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +101.0.5.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: + ext comms: + lrg comms: 888:0:0 + best: False, LOCAL_PREF: 1 + filtered: True (5) + +101.0.5.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: 888:0:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.5.0/24, AS_PATH: 2 101, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: 888:0:0 + best: False, LOCAL_PREF: 100 + filtered: False () + +101.0.6.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: 777:0 + ext comms: + lrg comms: 777:0:0 + best: False, LOCAL_PREF: 1 + filtered: True (5) + +101.0.6.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: 777:0 + ext comms: + lrg comms: 777:0:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.6.0/24, AS_PATH: 2 101, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 777:0 + ext comms: + lrg comms: 777:0:0 + best: False, LOCAL_PREF: 100 + filtered: False () + +101.0.7.0/24, AS_PATH: 1 101 174, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +101.0.7.0/24, AS_PATH: 1 101 174, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (8) + +101.0.7.0/24, AS_PATH: 2 101 174, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (8) + +101.0.8.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +101.0.8.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.8.0/24, AS_PATH: 2 101, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +101.0.9.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +101.0.9.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (14) + +101.0.9.0/24, AS_PATH: 2 101, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (14) + +101.1.0.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +101.1.0.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (12) + +101.1.0.0/24, AS_PATH: 2 101, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (12) + +101.2.0.0/17, AS_PATH: 1 101, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +101.2.0.0/17, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.2.0.0/17, AS_PATH: 2 101, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +101.2.1.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +101.2.1.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (12) + +101.2.1.0/24, AS_PATH: 2 101, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (12) + +101.2.128.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +101.2.128.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.2.128.0/24, AS_PATH: 2 101, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +101.3.0.0/24, AS_PATH: 1 101 105, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +101.3.0.0/24, AS_PATH: 1 101 105, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (9) + +101.3.0.0/24, AS_PATH: 2 101 105, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (9) + +102.0.1.0/24, AS_PATH: 1 101 102, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +102.0.1.0/24, AS_PATH: 1 101 102, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (9) + +102.0.1.0/24, AS_PATH: 2 101 102, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (9) + +103.0.1.0/24, AS_PATH: 1 101 103, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: 65535:0 + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +103.0.1.0/24, AS_PATH: 1 101 103, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: 65535:0 + ext comms: + lrg comms: + best: False, LOCAL_PREF: 5 + filtered: False () + +103.0.1.0/24, AS_PATH: 2 101 101 103, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +103.0.2.0/24, AS_PATH: 1 101 101 103, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +103.0.2.0/24, AS_PATH: 1 101 101 103, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +103.0.2.0/24, AS_PATH: 2 101 103, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +104.0.1.0/24, AS_PATH: 1 101 104, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +104.0.1.0/24, AS_PATH: 1 101 104, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +104.0.1.0/24, AS_PATH: 2 101 104, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (9) + +104.1.1.0/24, AS_PATH: 1 101 104, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +104.1.1.0/24, AS_PATH: 1 101 104, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +104.1.1.0/24, AS_PATH: 2 101 104, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (9) + +11.1.1.0/24, AS_PATH: 1 1011, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +11.1.2.0/24, AS_PATH: 1 1000, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (9) + +11.2.1.0/24, AS_PATH: 1 1011, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (12) + +11.3.0.0/16, AS_PATH: 1 1011, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +11.3.1.0/24, AS_PATH: 1 1011, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (12) + +11.4.1.0/24, AS_PATH: 1 1000, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +128.0.0.0/10, AS_PATH: 1 2 2 2 2 2 2 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (1) + +128.0.0.0/7, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (13) + +128.0.0.0/8, AS_PATH: 2 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (6) + +128.0.0.0/9, AS_PATH: 1 65536 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (7) + +192.0.2.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (3) + +2.0.1.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.2.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.1/32, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.2/32, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 65534:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.3/32, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: 65534:0:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.4.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.22, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.5.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.23, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (5) + +222.1.1.0/24, AS_PATH: 222 333, NEXT_HOP: 192.0.2.222, via 192.0.2.222 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (14) + +222.2.2.0/24, AS_PATH: 222 333, NEXT_HOP: 192.0.2.222, via 192.0.2.222 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +222.3.3.0/24, AS_PATH: 222 333, NEXT_HOP: 192.0.2.222, via 192.0.2.222 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.1.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.31 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (11) + +3.0.10.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.31 + std comms: 65521:65521, 65523:1 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.11.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.31 + std comms: 65507:999 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.12.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.31 + std comms: 65509:1, 65523:2 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.13.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.31 + std comms: + ext comms: soo:65535:65281 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.14.0/24, AS_PATH: 3 174 33, NEXT_HOP: 192.0.2.31, via 192.0.2.31 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (8) + +3.0.2.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.31 + std comms: 0:999, 65501:1 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.3.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.31 + std comms: 0:1 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.4.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.31 + std comms: 0:999 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.5.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.31 + std comms: 65521:65521 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.6.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.31 + std comms: 65522:65522 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.7.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.31 + std comms: 65523:65523 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.8.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.31 + std comms: 65521:1 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.9.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.31 + std comms: 65522:2 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.1.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 0:999, 64532:15 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.10.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: + ext comms: rt:64537:10, rt:64538:20 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.2.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 0:999, 64532:5 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.3.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 64531:15 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.4.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 64531:5 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.5.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 64531:5, 65501:3 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.6.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 64530:5, 64531:100 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.7.1/32, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 64531:20, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.8.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 64538:10, 64539:100 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.9.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 64535:20, 64536:5, 65521:65521 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv6/openbgpd69/AS101.txt b/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv6/openbgpd69/AS101.txt new file mode 100644 index 00000000..022728e9 --- /dev/null +++ b/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv6/openbgpd69/AS101.txt @@ -0,0 +1,588 @@ +2001::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2001:db8:1::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a01:0:1::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a01:0:1::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a01:0:1::/48, AS_PATH: 2 1, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a01:0:2::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a01:0:2::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a01:0:2::/48, AS_PATH: 2 1, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a01:0:3::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a01:0:3::/48, AS_PATH: 2 1, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a02:0:1::/48, AS_PATH: 1 2, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a02:0:1::/48, AS_PATH: 1 2, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a02:0:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:2::/48, AS_PATH: 1 2, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a02:0:2::/48, AS_PATH: 1 2, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a02:0:2::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::1/128, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::2/128, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::3/128, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:4::/48, AS_PATH: 1 2, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a02:0:4::/48, AS_PATH: 1 2, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a02:0:4::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:5::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:2::/48, AS_PATH: 1 3, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:2::/48, AS_PATH: 1 3, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a03:0:3::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:5::/48, AS_PATH: 1 3 3, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:5::/48, AS_PATH: 1 3 3, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a03:0:5::/48, AS_PATH: 2 3 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a03:0:6::/48, AS_PATH: 1 3 3 3, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:6::/48, AS_PATH: 1 3 3 3, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a03:0:6::/48, AS_PATH: 2 3 3 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a03:0:7::/48, AS_PATH: 1 3 3 3 3, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:7::/48, AS_PATH: 1 3 3 3 3, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a03:0:7::/48, AS_PATH: 2 3 3 3 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a03:0:8::/48, AS_PATH: 1 3 3, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a03:0:8::/48, AS_PATH: 1 3 3, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a03:0:8::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:9::/48, AS_PATH: 1 3, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:9::/48, AS_PATH: 1 3, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a03:0:9::/48, AS_PATH: 2 3 3 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a03:0:a::/48, AS_PATH: 1 3 3 3 3, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a03:0:a::/48, AS_PATH: 1 3 3 3 3, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a03:0:a::/48, AS_PATH: 2 3 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:c::/48, AS_PATH: 2 3 3 3 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:1::/48, AS_PATH: 1 4, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:1::/48, AS_PATH: 1 4, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a04:0:2::/48, AS_PATH: 1 4, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:2::/48, AS_PATH: 1 4, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a04:0:3::/48, AS_PATH: 1 4, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:3::/48, AS_PATH: 1 4, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a04:0:4::/48, AS_PATH: 1 4, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:4::/48, AS_PATH: 1 4, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a04:0:5::/48, AS_PATH: 1 4, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:5::/48, AS_PATH: 1 4, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a04:0:6::/48, AS_PATH: 2 4, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:8::/48, AS_PATH: 1 4, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:8::/48, AS_PATH: 1 4, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a04:0:8::/48, AS_PATH: 2 4 4 4, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a04:0:9::/48, AS_PATH: 1 4 4 4 4, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a04:0:9::/48, AS_PATH: 1 4 4 4 4, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a04:0:9::/48, AS_PATH: 2 4 4 4, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:a::/48, AS_PATH: 1 4, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:a::/48, AS_PATH: 1 4, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a04:0:a::/48, AS_PATH: 2 4 4, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a11:1:1::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a11:1:1::/48, AS_PATH: 2 1 1011, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a11:1:2::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a11:2:1::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a11:3:1::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a11:3::/32, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a11:3::/32, AS_PATH: 2 1 1011, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a11:4:1::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a11:4:1::/48, AS_PATH: 2 1 1000, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a99:1::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a99:2::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a99::/16, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a99::/32, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3222:0:2::/48, AS_PATH: 1 222 333, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3222:0:2::/48, AS_PATH: 1 222 333, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3222:0:2::/48, AS_PATH: 2 222 333, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3222:0:3::/48, AS_PATH: 1 222 333, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3222:0:3::/48, AS_PATH: 1 222 333, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3222:0:3::/48, AS_PATH: 2 222 333, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv6/openbgpd69/AS1_1.txt b/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv6/openbgpd69/AS1_1.txt new file mode 100644 index 00000000..b40caf05 --- /dev/null +++ b/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv6/openbgpd69/AS1_1.txt @@ -0,0 +1,357 @@ +2a02:0:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:2::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::1/128, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::66, via 2001:db8:1:1::2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::2/128, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::66, via 2001:db8:1:1::2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::3/128, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::66, via 2001:db8:1:1::2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:4::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::22, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:2::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:5::/48, AS_PATH: 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:6::/48, AS_PATH: 3 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:7::/48, AS_PATH: 3 3 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:8::/48, AS_PATH: 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:9::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:a::/48, AS_PATH: 3 3 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:b::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: 65535:65281 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:c::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: 65535:65281 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:d::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: 65535:65281 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:1::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:2::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:3::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:4::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:5::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:7::1/128, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::66, via 2001:db8:1:1::2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:8::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:9::/48, AS_PATH: 4 4 4 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:a::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:10::/48, AS_PATH: 101 666, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:11::/48, AS_PATH: 101 777, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:1::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:2::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: 65530:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:3::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: 999:65530:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:4::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: 888:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:5::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: 888:0:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:6::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: 65530:1, 777:0 + ext comms: + lrg comms: 777:0:0, 999:65530:1 + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:7::/48, AS_PATH: 101 174, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:8000::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:8000::1/128, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:8::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:9::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:1::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:2:4000::/34, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:2:8000::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:2::/33, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:3:1::/48, AS_PATH: 101 105, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3102:0:1::/48, AS_PATH: 101 102, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3103:0:1::/48, AS_PATH: 101 103, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3103:0:2::/48, AS_PATH: 101 101 103, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3104:0:1::/48, AS_PATH: 101 104, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3104:1:1::/48, AS_PATH: 101 104, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3222:0:2::/48, AS_PATH: 222 333, NEXT_HOP: 2001:db8:1:1::222, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3222:0:3::/48, AS_PATH: 222 333, NEXT_HOP: 2001:db8:1:1::222, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +8000:1::/32, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv6/openbgpd69/AS1_2.txt b/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv6/openbgpd69/AS1_2.txt new file mode 100644 index 00000000..5e6299fb --- /dev/null +++ b/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv6/openbgpd69/AS1_2.txt @@ -0,0 +1,329 @@ +2a02:0:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:2::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:4::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::22, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:2::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:5::/48, AS_PATH: 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:6::/48, AS_PATH: 3 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:7::/48, AS_PATH: 3 3 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:8::/48, AS_PATH: 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:9::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:a::/48, AS_PATH: 3 3 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:b::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: 65535:65281 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:c::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: 65535:65281 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:d::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: 65535:65281 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:1::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:2::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:3::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:4::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:5::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:8::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:9::/48, AS_PATH: 4 4 4 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:a::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:10::/48, AS_PATH: 101 666, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:11::/48, AS_PATH: 101 777, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:1::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:2::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: 65530:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:3::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: 999:65530:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:4::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: 888:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:5::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: 888:0:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:6::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: 65530:1, 777:0 + ext comms: + lrg comms: 777:0:0, 999:65530:1 + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:7::/48, AS_PATH: 101 174, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:8000::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:8000::1/128, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:8::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:9::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:1::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:2:4000::/34, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:2:8000::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:2::/33, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:3:1::/48, AS_PATH: 101 105, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3102:0:1::/48, AS_PATH: 101 102, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3103:0:1::/48, AS_PATH: 101 103, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3103:0:2::/48, AS_PATH: 101 101 103, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3104:0:1::/48, AS_PATH: 101 104, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3104:1:1::/48, AS_PATH: 101 104, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3222:0:2::/48, AS_PATH: 222 333, NEXT_HOP: 2001:db8:1:1::222, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3222:0:3::/48, AS_PATH: 222 333, NEXT_HOP: 2001:db8:1:1::222, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +8000:1::/32, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv6/openbgpd69/AS2.txt b/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv6/openbgpd69/AS2.txt new file mode 100644 index 00000000..1b3d2dc4 --- /dev/null +++ b/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv6/openbgpd69/AS2.txt @@ -0,0 +1,413 @@ +2a01:0:1::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a01:0:2::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a01:0:3::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:3::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:5::/48, AS_PATH: 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:6::/48, AS_PATH: 3 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:7::/48, AS_PATH: 3 3 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:8::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:9::/48, AS_PATH: 3 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:a::/48, AS_PATH: 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:b::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: 65535:65281 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:c::/48, AS_PATH: 3 3 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:d::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: 65535:65281 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:6::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:7::1/128, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::66, via 2001:db8:1:1::2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:8::/48, AS_PATH: 4 4 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:9::/48, AS_PATH: 4 4 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:a::/48, AS_PATH: 4 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a11:1:1::/48, AS_PATH: 1 1011, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a11:3::/32, AS_PATH: 1 1011, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a11:4:1::/48, AS_PATH: 1 1000, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:10::/48, AS_PATH: 101 666, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:11::/48, AS_PATH: 101 777, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:1::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:0:1::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:2::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:0:2::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: 65530:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:3::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:0:3::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: 999:65530:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:4::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 888:0 + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:0:4::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: 888:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:5::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: 888:0:0 + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:0:5::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: 888:0:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:6::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 777:0 + ext comms: + lrg comms: 777:0:0 + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:0:6::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: 65530:1, 777:0 + ext comms: + lrg comms: 777:0:0, 999:65530:1 + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:7::/48, AS_PATH: 101 174, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:8000::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:8000::1/128, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::66, via 2001:db8:1:1::2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:0:8000::1/128, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:8::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:0:8::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:9::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:1::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:2:4000::/34, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:2:8000::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:2:8000::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:2::/33, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:2::/33, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:3:1::/48, AS_PATH: 101 105, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3102:0:1::/48, AS_PATH: 101 102, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3103:0:1::/48, AS_PATH: 101 101 103, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3103:0:2::/48, AS_PATH: 101 103, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3104:0:1::/48, AS_PATH: 1 101 104, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3104:0:1::/48, AS_PATH: 101 104, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3104:1:1::/48, AS_PATH: 1 101 104, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3104:1:1::/48, AS_PATH: 101 104, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3222:0:2::/48, AS_PATH: 222 333, NEXT_HOP: 2001:db8:1:1::222, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3222:0:3::/48, AS_PATH: 222 333, NEXT_HOP: 2001:db8:1:1::222, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +8000:1::/32, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv6/openbgpd69/AS222.txt b/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv6/openbgpd69/AS222.txt new file mode 100644 index 00000000..e69de29b diff --git a/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv6/openbgpd69/AS3.txt b/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv6/openbgpd69/AS3.txt new file mode 100644 index 00000000..bc41e8b5 --- /dev/null +++ b/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv6/openbgpd69/AS3.txt @@ -0,0 +1,224 @@ +2a01:0:1::/48, AS_PATH: 999 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +2a01:0:2::/48, AS_PATH: 999 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +2a01:0:3::/48, AS_PATH: 999 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +2a02:0:1::/48, AS_PATH: 999 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:2::/48, AS_PATH: 999 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::1/128, AS_PATH: 999 2, NEXT_HOP: 2001:db8:1:1::66, via 2001:db8:1:1::2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::2/128, AS_PATH: 999 2, NEXT_HOP: 2001:db8:1:1::66, via 2001:db8:1:1::2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::3/128, AS_PATH: 999 2, NEXT_HOP: 2001:db8:1:1::66, via 2001:db8:1:1::2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:4::/48, AS_PATH: 999 2, NEXT_HOP: 2001:db8:1:1::22, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:5::/48, AS_PATH: 999 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:8::/48, AS_PATH: 999 4 4 4 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:9::/48, AS_PATH: 999 4 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:a::/48, AS_PATH: 999 4 4 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a11:1:1::/48, AS_PATH: 999 1 1011, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +2a11:3::/32, AS_PATH: 999 1 1011, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +2a11:4:1::/48, AS_PATH: 999 1 1000, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +3101:0:1::/48, AS_PATH: 999 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +3101:0:2::/48, AS_PATH: 999 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +3101:0:3::/48, AS_PATH: 999 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +3101:0:4::/48, AS_PATH: 999 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 888:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +3101:0:5::/48, AS_PATH: 999 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: 888:0:0 + best: True, LOCAL_PREF: 101 + filtered: False () + +3101:0:6::/48, AS_PATH: 999 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 777:0 + ext comms: + lrg comms: 777:0:0 + best: True, LOCAL_PREF: 101 + filtered: False () + +3101:0:8000::1/128, AS_PATH: 999 1 101, NEXT_HOP: 2001:db8:1:1::66, via 2001:db8:1:1::2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +3101:0:8::/48, AS_PATH: 999 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +3101:2:8000::/48, AS_PATH: 999 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +3101:2::/33, AS_PATH: 999 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +3103:0:1::/48, AS_PATH: 999 2 101 101 103, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3103:0:2::/48, AS_PATH: 999 2 101 103, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3104:0:1::/48, AS_PATH: 999 1 101 104, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +3104:1:1::/48, AS_PATH: 999 1 101 104, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +3222:0:2::/48, AS_PATH: 999 222 333, NEXT_HOP: 2001:db8:1:1::222, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3222:0:3::/48, AS_PATH: 999 222 333, NEXT_HOP: 2001:db8:1:1::222, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv6/openbgpd69/AS4.txt b/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv6/openbgpd69/AS4.txt new file mode 100644 index 00000000..dfba8479 --- /dev/null +++ b/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv6/openbgpd69/AS4.txt @@ -0,0 +1,266 @@ +2a01:0:1::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a01:0:2::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a01:0:3::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:2::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::1/128, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::66, via 2001:db8:1:1::2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::2/128, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::66, via 2001:db8:1:1::2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::3/128, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::66, via 2001:db8:1:1::2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:4::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::22, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:3::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:5::/48, AS_PATH: 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:6::/48, AS_PATH: 3 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:7::/48, AS_PATH: 3 3 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:8::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:9::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:a::/48, AS_PATH: 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:b::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: 65535:65281 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:c::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:d::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: 65535:65281 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a11:1:1::/48, AS_PATH: 1 1011, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a11:3::/32, AS_PATH: 1 1011, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a11:4:1::/48, AS_PATH: 1 1000, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:1::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:2::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:3::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:4::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 888:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:5::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: 888:0:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:6::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 777:0 + ext comms: + lrg comms: 777:0:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:8000::1/128, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::66, via 2001:db8:1:1::2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:8::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:2:8000::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:2::/33, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3103:0:1::/48, AS_PATH: 2 101 101 103, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3103:0:2::/48, AS_PATH: 2 101 103, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3104:0:1::/48, AS_PATH: 1 101 104, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3104:1:1::/48, AS_PATH: 1 101 104, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3222:0:2::/48, AS_PATH: 222 333, NEXT_HOP: 2001:db8:1:1::222, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3222:0:3::/48, AS_PATH: 222 333, NEXT_HOP: 2001:db8:1:1::222, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv6/openbgpd69/rs.txt b/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv6/openbgpd69/rs.txt new file mode 100644 index 00000000..8823fa54 --- /dev/null +++ b/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv6/openbgpd69/rs.txt @@ -0,0 +1,868 @@ +2001::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (2) + +2001:db8:1::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (3) + +2a01:0:1::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a01:0:1::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a01:0:2::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a01:0:2::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a01:0:3::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:2::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::1/128, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::2/128, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 65534:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::3/128, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: 65534:0:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:4::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::22, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:5::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::23, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (5) + +2a03:0:1::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::31 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (11) + +2a03:0:2::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::31 + std comms: 0:999, 65501:1 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:3::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::31 + std comms: 0:1 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:4::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::31 + std comms: 0:999 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:5::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::31 + std comms: 65521:65521 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:6::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::31 + std comms: 65522:65522 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:7::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::31 + std comms: 65523:65523 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:8::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::31 + std comms: 65521:1 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:9::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::31 + std comms: 65522:2 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:a::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::31 + std comms: 65521:65521, 65523:1 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:b::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::31 + std comms: 65507:999 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:c::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::31 + std comms: 65509:1, 65523:2 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:d::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::31 + std comms: + ext comms: soo:65535:65281 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:e::/48, AS_PATH: 3 174 33, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::31 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (8) + +2a04:0:1::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 0:999, 64532:15 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:2::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 0:999, 64532:5 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:3::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 64531:15 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:4::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 64531:5 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:5::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 64531:5, 65501:3 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:6::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 64530:5, 64531:100 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:7::1/128, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 64531:20, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:8::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 64538:10, 64539:100 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:9::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 64535:20, 64536:5, 65521:65521 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:a::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: + ext comms: rt:64537:10, rt:64538:20 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a11:1:1::/48, AS_PATH: 1 1011, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a11:1:2::/48, AS_PATH: 1 1000, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (9) + +2a11:2:1::/48, AS_PATH: 1 1011, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (12) + +2a11:3:1::/48, AS_PATH: 1 1011, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (12) + +2a11:3::/32, AS_PATH: 1 1011, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a11:4:1::/48, AS_PATH: 1 1000, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a99:1::/48, AS_PATH: 1 65536 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (7) + +2a99:2::/48, AS_PATH: 1 2 2 2 2 2 2 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (1) + +2a99::/16, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (13) + +2a99::/32, AS_PATH: 2 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (6) + +3101:0:10::/48, AS_PATH: 1 101 666, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +3101:0:10::/48, AS_PATH: 1 101 666, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (15) + +3101:0:10::/48, AS_PATH: 2 101 666, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (15) + +3101:0:11::/48, AS_PATH: 1 101 777, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +3101:0:11::/48, AS_PATH: 1 101 777, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (15) + +3101:0:11::/48, AS_PATH: 2 101 777, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (15) + +3101:0:1::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +3101:0:1::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:1::/48, AS_PATH: 2 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:0:2::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +3101:0:2::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:2::/48, AS_PATH: 2 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:0:3::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +3101:0:3::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:3::/48, AS_PATH: 2 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:0:4::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: 888:0 + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +3101:0:4::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 888:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:4::/48, AS_PATH: 2 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 888:0 + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:0:5::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: 888:0:0 + best: False, LOCAL_PREF: 1 + filtered: True (5) + +3101:0:5::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: 888:0:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:5::/48, AS_PATH: 2 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: 888:0:0 + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:0:6::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: 777:0 + ext comms: + lrg comms: 777:0:0 + best: False, LOCAL_PREF: 1 + filtered: True (5) + +3101:0:6::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 777:0 + ext comms: + lrg comms: 777:0:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:6::/48, AS_PATH: 2 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 777:0 + ext comms: + lrg comms: 777:0:0 + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:0:7::/48, AS_PATH: 1 101 174, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +3101:0:7::/48, AS_PATH: 1 101 174, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (8) + +3101:0:7::/48, AS_PATH: 2 101 174, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (8) + +3101:0:8000::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +3101:0:8000::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (14) + +3101:0:8000::/48, AS_PATH: 2 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (14) + +3101:0:8000::1/128, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: 65535:666 + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +3101:0:8000::1/128, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:8000::1/128, AS_PATH: 2 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 65535:666 + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:0:8::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +3101:0:8::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:8::/48, AS_PATH: 2 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:0:9::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +3101:0:9::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (14) + +3101:0:9::/48, AS_PATH: 2 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (14) + +3101:1::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +3101:1::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (12) + +3101:1::/48, AS_PATH: 2 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (12) + +3101:2:4000::/34, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +3101:2:4000::/34, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (12) + +3101:2:4000::/34, AS_PATH: 2 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (12) + +3101:2:8000::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +3101:2:8000::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:2:8000::/48, AS_PATH: 2 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:2::/33, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +3101:2::/33, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:2::/33, AS_PATH: 2 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:3:1::/48, AS_PATH: 1 101 105, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +3101:3:1::/48, AS_PATH: 1 101 105, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (9) + +3101:3:1::/48, AS_PATH: 2 101 105, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (9) + +3102:0:1::/48, AS_PATH: 1 101 102, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +3102:0:1::/48, AS_PATH: 1 101 102, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (9) + +3102:0:1::/48, AS_PATH: 2 101 102, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (9) + +3103:0:1::/48, AS_PATH: 1 101 103, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: 65535:0 + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +3103:0:1::/48, AS_PATH: 1 101 103, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 65535:0 + ext comms: + lrg comms: + best: False, LOCAL_PREF: 5 + filtered: False () + +3103:0:1::/48, AS_PATH: 2 101 101 103, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3103:0:2::/48, AS_PATH: 1 101 101 103, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +3103:0:2::/48, AS_PATH: 1 101 101 103, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3103:0:2::/48, AS_PATH: 2 101 103, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3104:0:1::/48, AS_PATH: 1 101 104, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +3104:0:1::/48, AS_PATH: 1 101 104, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3104:0:1::/48, AS_PATH: 2 101 104, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (9) + +3104:1:1::/48, AS_PATH: 1 101 104, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +3104:1:1::/48, AS_PATH: 1 101 104, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3104:1:1::/48, AS_PATH: 2 101 104, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (9) + +3222:0:1::/48, AS_PATH: 222 333, NEXT_HOP: 2001:db8:1:1::222, via 2001:db8:1:1::222 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (14) + +3222:0:2::/48, AS_PATH: 222 333, NEXT_HOP: 2001:db8:1:1::222, via 2001:db8:1:1::222 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3222:0:3::/48, AS_PATH: 222 333, NEXT_HOP: 2001:db8:1:1::222, via 2001:db8:1:1::222 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +8000:1::/32, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (10) + +8000:1::/32, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (10) + +8000:1::/32, AS_PATH: 2 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (10) + +::/0, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::31 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (10) + diff --git a/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv6/openbgpd69p/AS101.txt b/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv6/openbgpd69p/AS101.txt new file mode 100644 index 00000000..022728e9 --- /dev/null +++ b/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv6/openbgpd69p/AS101.txt @@ -0,0 +1,588 @@ +2001::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2001:db8:1::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a01:0:1::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a01:0:1::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a01:0:1::/48, AS_PATH: 2 1, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a01:0:2::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a01:0:2::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a01:0:2::/48, AS_PATH: 2 1, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a01:0:3::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a01:0:3::/48, AS_PATH: 2 1, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a02:0:1::/48, AS_PATH: 1 2, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a02:0:1::/48, AS_PATH: 1 2, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a02:0:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:2::/48, AS_PATH: 1 2, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a02:0:2::/48, AS_PATH: 1 2, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a02:0:2::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::1/128, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::2/128, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::3/128, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:4::/48, AS_PATH: 1 2, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a02:0:4::/48, AS_PATH: 1 2, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a02:0:4::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:5::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:2::/48, AS_PATH: 1 3, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:2::/48, AS_PATH: 1 3, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a03:0:3::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:5::/48, AS_PATH: 1 3 3, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:5::/48, AS_PATH: 1 3 3, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a03:0:5::/48, AS_PATH: 2 3 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a03:0:6::/48, AS_PATH: 1 3 3 3, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:6::/48, AS_PATH: 1 3 3 3, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a03:0:6::/48, AS_PATH: 2 3 3 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a03:0:7::/48, AS_PATH: 1 3 3 3 3, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:7::/48, AS_PATH: 1 3 3 3 3, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a03:0:7::/48, AS_PATH: 2 3 3 3 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a03:0:8::/48, AS_PATH: 1 3 3, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a03:0:8::/48, AS_PATH: 1 3 3, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a03:0:8::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:9::/48, AS_PATH: 1 3, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:9::/48, AS_PATH: 1 3, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a03:0:9::/48, AS_PATH: 2 3 3 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a03:0:a::/48, AS_PATH: 1 3 3 3 3, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a03:0:a::/48, AS_PATH: 1 3 3 3 3, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a03:0:a::/48, AS_PATH: 2 3 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:c::/48, AS_PATH: 2 3 3 3 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:1::/48, AS_PATH: 1 4, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:1::/48, AS_PATH: 1 4, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a04:0:2::/48, AS_PATH: 1 4, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:2::/48, AS_PATH: 1 4, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a04:0:3::/48, AS_PATH: 1 4, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:3::/48, AS_PATH: 1 4, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a04:0:4::/48, AS_PATH: 1 4, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:4::/48, AS_PATH: 1 4, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a04:0:5::/48, AS_PATH: 1 4, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:5::/48, AS_PATH: 1 4, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a04:0:6::/48, AS_PATH: 2 4, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:8::/48, AS_PATH: 1 4, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:8::/48, AS_PATH: 1 4, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a04:0:8::/48, AS_PATH: 2 4 4 4, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a04:0:9::/48, AS_PATH: 1 4 4 4 4, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a04:0:9::/48, AS_PATH: 1 4 4 4 4, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a04:0:9::/48, AS_PATH: 2 4 4 4, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:a::/48, AS_PATH: 1 4, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:a::/48, AS_PATH: 1 4, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a04:0:a::/48, AS_PATH: 2 4 4, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a11:1:1::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a11:1:1::/48, AS_PATH: 2 1 1011, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a11:1:2::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a11:2:1::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a11:3:1::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a11:3::/32, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a11:3::/32, AS_PATH: 2 1 1011, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a11:4:1::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a11:4:1::/48, AS_PATH: 2 1 1000, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a99:1::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a99:2::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a99::/16, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a99::/32, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3222:0:2::/48, AS_PATH: 1 222 333, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3222:0:2::/48, AS_PATH: 1 222 333, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3222:0:2::/48, AS_PATH: 2 222 333, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3222:0:3::/48, AS_PATH: 1 222 333, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3222:0:3::/48, AS_PATH: 1 222 333, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3222:0:3::/48, AS_PATH: 2 222 333, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv6/openbgpd69p/AS1_1.txt b/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv6/openbgpd69p/AS1_1.txt new file mode 100644 index 00000000..b40caf05 --- /dev/null +++ b/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv6/openbgpd69p/AS1_1.txt @@ -0,0 +1,357 @@ +2a02:0:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:2::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::1/128, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::66, via 2001:db8:1:1::2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::2/128, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::66, via 2001:db8:1:1::2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::3/128, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::66, via 2001:db8:1:1::2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:4::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::22, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:2::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:5::/48, AS_PATH: 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:6::/48, AS_PATH: 3 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:7::/48, AS_PATH: 3 3 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:8::/48, AS_PATH: 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:9::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:a::/48, AS_PATH: 3 3 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:b::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: 65535:65281 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:c::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: 65535:65281 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:d::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: 65535:65281 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:1::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:2::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:3::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:4::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:5::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:7::1/128, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::66, via 2001:db8:1:1::2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:8::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:9::/48, AS_PATH: 4 4 4 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:a::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:10::/48, AS_PATH: 101 666, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:11::/48, AS_PATH: 101 777, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:1::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:2::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: 65530:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:3::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: 999:65530:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:4::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: 888:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:5::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: 888:0:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:6::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: 65530:1, 777:0 + ext comms: + lrg comms: 777:0:0, 999:65530:1 + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:7::/48, AS_PATH: 101 174, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:8000::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:8000::1/128, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:8::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:9::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:1::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:2:4000::/34, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:2:8000::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:2::/33, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:3:1::/48, AS_PATH: 101 105, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3102:0:1::/48, AS_PATH: 101 102, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3103:0:1::/48, AS_PATH: 101 103, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3103:0:2::/48, AS_PATH: 101 101 103, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3104:0:1::/48, AS_PATH: 101 104, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3104:1:1::/48, AS_PATH: 101 104, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3222:0:2::/48, AS_PATH: 222 333, NEXT_HOP: 2001:db8:1:1::222, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3222:0:3::/48, AS_PATH: 222 333, NEXT_HOP: 2001:db8:1:1::222, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +8000:1::/32, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv6/openbgpd69p/AS1_2.txt b/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv6/openbgpd69p/AS1_2.txt new file mode 100644 index 00000000..5e6299fb --- /dev/null +++ b/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv6/openbgpd69p/AS1_2.txt @@ -0,0 +1,329 @@ +2a02:0:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:2::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:4::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::22, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:2::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:5::/48, AS_PATH: 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:6::/48, AS_PATH: 3 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:7::/48, AS_PATH: 3 3 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:8::/48, AS_PATH: 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:9::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:a::/48, AS_PATH: 3 3 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:b::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: 65535:65281 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:c::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: 65535:65281 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:d::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: 65535:65281 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:1::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:2::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:3::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:4::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:5::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:8::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:9::/48, AS_PATH: 4 4 4 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:a::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:10::/48, AS_PATH: 101 666, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:11::/48, AS_PATH: 101 777, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:1::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:2::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: 65530:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:3::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: 999:65530:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:4::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: 888:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:5::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: 888:0:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:6::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: 65530:1, 777:0 + ext comms: + lrg comms: 777:0:0, 999:65530:1 + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:7::/48, AS_PATH: 101 174, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:8000::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:8000::1/128, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:8::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:9::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:1::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:2:4000::/34, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:2:8000::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:2::/33, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:3:1::/48, AS_PATH: 101 105, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3102:0:1::/48, AS_PATH: 101 102, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3103:0:1::/48, AS_PATH: 101 103, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3103:0:2::/48, AS_PATH: 101 101 103, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3104:0:1::/48, AS_PATH: 101 104, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3104:1:1::/48, AS_PATH: 101 104, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3222:0:2::/48, AS_PATH: 222 333, NEXT_HOP: 2001:db8:1:1::222, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3222:0:3::/48, AS_PATH: 222 333, NEXT_HOP: 2001:db8:1:1::222, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +8000:1::/32, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv6/openbgpd69p/AS2.txt b/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv6/openbgpd69p/AS2.txt new file mode 100644 index 00000000..1b3d2dc4 --- /dev/null +++ b/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv6/openbgpd69p/AS2.txt @@ -0,0 +1,413 @@ +2a01:0:1::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a01:0:2::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a01:0:3::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:3::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:5::/48, AS_PATH: 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:6::/48, AS_PATH: 3 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:7::/48, AS_PATH: 3 3 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:8::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:9::/48, AS_PATH: 3 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:a::/48, AS_PATH: 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:b::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: 65535:65281 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:c::/48, AS_PATH: 3 3 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:d::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: 65535:65281 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:6::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:7::1/128, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::66, via 2001:db8:1:1::2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:8::/48, AS_PATH: 4 4 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:9::/48, AS_PATH: 4 4 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:a::/48, AS_PATH: 4 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a11:1:1::/48, AS_PATH: 1 1011, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a11:3::/32, AS_PATH: 1 1011, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a11:4:1::/48, AS_PATH: 1 1000, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:10::/48, AS_PATH: 101 666, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:11::/48, AS_PATH: 101 777, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:1::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:0:1::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:2::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:0:2::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: 65530:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:3::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:0:3::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: 999:65530:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:4::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 888:0 + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:0:4::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: 888:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:5::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: 888:0:0 + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:0:5::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: 888:0:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:6::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 777:0 + ext comms: + lrg comms: 777:0:0 + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:0:6::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: 65530:1, 777:0 + ext comms: + lrg comms: 777:0:0, 999:65530:1 + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:7::/48, AS_PATH: 101 174, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:8000::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:8000::1/128, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::66, via 2001:db8:1:1::2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:0:8000::1/128, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:8::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:0:8::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:9::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:1::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:2:4000::/34, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:2:8000::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:2:8000::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:2::/33, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:2::/33, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:3:1::/48, AS_PATH: 101 105, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3102:0:1::/48, AS_PATH: 101 102, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3103:0:1::/48, AS_PATH: 101 101 103, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3103:0:2::/48, AS_PATH: 101 103, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3104:0:1::/48, AS_PATH: 1 101 104, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3104:0:1::/48, AS_PATH: 101 104, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3104:1:1::/48, AS_PATH: 1 101 104, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3104:1:1::/48, AS_PATH: 101 104, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3222:0:2::/48, AS_PATH: 222 333, NEXT_HOP: 2001:db8:1:1::222, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3222:0:3::/48, AS_PATH: 222 333, NEXT_HOP: 2001:db8:1:1::222, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +8000:1::/32, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv6/openbgpd69p/AS222.txt b/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv6/openbgpd69p/AS222.txt new file mode 100644 index 00000000..e69de29b diff --git a/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv6/openbgpd69p/AS3.txt b/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv6/openbgpd69p/AS3.txt new file mode 100644 index 00000000..bc41e8b5 --- /dev/null +++ b/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv6/openbgpd69p/AS3.txt @@ -0,0 +1,224 @@ +2a01:0:1::/48, AS_PATH: 999 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +2a01:0:2::/48, AS_PATH: 999 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +2a01:0:3::/48, AS_PATH: 999 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +2a02:0:1::/48, AS_PATH: 999 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:2::/48, AS_PATH: 999 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::1/128, AS_PATH: 999 2, NEXT_HOP: 2001:db8:1:1::66, via 2001:db8:1:1::2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::2/128, AS_PATH: 999 2, NEXT_HOP: 2001:db8:1:1::66, via 2001:db8:1:1::2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::3/128, AS_PATH: 999 2, NEXT_HOP: 2001:db8:1:1::66, via 2001:db8:1:1::2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:4::/48, AS_PATH: 999 2, NEXT_HOP: 2001:db8:1:1::22, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:5::/48, AS_PATH: 999 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:8::/48, AS_PATH: 999 4 4 4 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:9::/48, AS_PATH: 999 4 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:a::/48, AS_PATH: 999 4 4 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a11:1:1::/48, AS_PATH: 999 1 1011, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +2a11:3::/32, AS_PATH: 999 1 1011, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +2a11:4:1::/48, AS_PATH: 999 1 1000, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +3101:0:1::/48, AS_PATH: 999 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +3101:0:2::/48, AS_PATH: 999 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +3101:0:3::/48, AS_PATH: 999 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +3101:0:4::/48, AS_PATH: 999 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 888:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +3101:0:5::/48, AS_PATH: 999 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: 888:0:0 + best: True, LOCAL_PREF: 101 + filtered: False () + +3101:0:6::/48, AS_PATH: 999 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 777:0 + ext comms: + lrg comms: 777:0:0 + best: True, LOCAL_PREF: 101 + filtered: False () + +3101:0:8000::1/128, AS_PATH: 999 1 101, NEXT_HOP: 2001:db8:1:1::66, via 2001:db8:1:1::2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +3101:0:8::/48, AS_PATH: 999 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +3101:2:8000::/48, AS_PATH: 999 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +3101:2::/33, AS_PATH: 999 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +3103:0:1::/48, AS_PATH: 999 2 101 101 103, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3103:0:2::/48, AS_PATH: 999 2 101 103, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3104:0:1::/48, AS_PATH: 999 1 101 104, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +3104:1:1::/48, AS_PATH: 999 1 101 104, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +3222:0:2::/48, AS_PATH: 999 222 333, NEXT_HOP: 2001:db8:1:1::222, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3222:0:3::/48, AS_PATH: 999 222 333, NEXT_HOP: 2001:db8:1:1::222, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv6/openbgpd69p/AS4.txt b/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv6/openbgpd69p/AS4.txt new file mode 100644 index 00000000..dfba8479 --- /dev/null +++ b/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv6/openbgpd69p/AS4.txt @@ -0,0 +1,266 @@ +2a01:0:1::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a01:0:2::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a01:0:3::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:2::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::1/128, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::66, via 2001:db8:1:1::2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::2/128, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::66, via 2001:db8:1:1::2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::3/128, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::66, via 2001:db8:1:1::2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:4::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::22, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:3::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:5::/48, AS_PATH: 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:6::/48, AS_PATH: 3 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:7::/48, AS_PATH: 3 3 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:8::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:9::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:a::/48, AS_PATH: 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:b::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: 65535:65281 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:c::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:d::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: 65535:65281 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a11:1:1::/48, AS_PATH: 1 1011, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a11:3::/32, AS_PATH: 1 1011, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a11:4:1::/48, AS_PATH: 1 1000, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:1::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:2::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:3::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:4::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 888:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:5::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: 888:0:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:6::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 777:0 + ext comms: + lrg comms: 777:0:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:8000::1/128, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::66, via 2001:db8:1:1::2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:8::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:2:8000::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:2::/33, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3103:0:1::/48, AS_PATH: 2 101 101 103, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3103:0:2::/48, AS_PATH: 2 101 103, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3104:0:1::/48, AS_PATH: 1 101 104, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3104:1:1::/48, AS_PATH: 1 101 104, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3222:0:2::/48, AS_PATH: 222 333, NEXT_HOP: 2001:db8:1:1::222, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3222:0:3::/48, AS_PATH: 222 333, NEXT_HOP: 2001:db8:1:1::222, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv6/openbgpd69p/rs.txt b/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv6/openbgpd69p/rs.txt new file mode 100644 index 00000000..8823fa54 --- /dev/null +++ b/tests/live_tests/scenarios/global/routes/BasicScenario_OpenBGPDIPv6/openbgpd69p/rs.txt @@ -0,0 +1,868 @@ +2001::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (2) + +2001:db8:1::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (3) + +2a01:0:1::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a01:0:1::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a01:0:2::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a01:0:2::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a01:0:3::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:2::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::1/128, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::2/128, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 65534:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::3/128, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: 65534:0:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:4::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::22, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:5::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::23, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (5) + +2a03:0:1::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::31 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (11) + +2a03:0:2::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::31 + std comms: 0:999, 65501:1 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:3::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::31 + std comms: 0:1 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:4::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::31 + std comms: 0:999 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:5::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::31 + std comms: 65521:65521 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:6::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::31 + std comms: 65522:65522 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:7::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::31 + std comms: 65523:65523 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:8::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::31 + std comms: 65521:1 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:9::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::31 + std comms: 65522:2 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:a::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::31 + std comms: 65521:65521, 65523:1 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:b::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::31 + std comms: 65507:999 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:c::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::31 + std comms: 65509:1, 65523:2 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:d::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::31 + std comms: + ext comms: soo:65535:65281 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:e::/48, AS_PATH: 3 174 33, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::31 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (8) + +2a04:0:1::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 0:999, 64532:15 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:2::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 0:999, 64532:5 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:3::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 64531:15 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:4::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 64531:5 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:5::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 64531:5, 65501:3 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:6::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 64530:5, 64531:100 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:7::1/128, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 64531:20, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:8::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 64538:10, 64539:100 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:9::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 64535:20, 64536:5, 65521:65521 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:a::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: + ext comms: rt:64537:10, rt:64538:20 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a11:1:1::/48, AS_PATH: 1 1011, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a11:1:2::/48, AS_PATH: 1 1000, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (9) + +2a11:2:1::/48, AS_PATH: 1 1011, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (12) + +2a11:3:1::/48, AS_PATH: 1 1011, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (12) + +2a11:3::/32, AS_PATH: 1 1011, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a11:4:1::/48, AS_PATH: 1 1000, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a99:1::/48, AS_PATH: 1 65536 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (7) + +2a99:2::/48, AS_PATH: 1 2 2 2 2 2 2 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (1) + +2a99::/16, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (13) + +2a99::/32, AS_PATH: 2 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (6) + +3101:0:10::/48, AS_PATH: 1 101 666, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +3101:0:10::/48, AS_PATH: 1 101 666, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (15) + +3101:0:10::/48, AS_PATH: 2 101 666, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (15) + +3101:0:11::/48, AS_PATH: 1 101 777, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +3101:0:11::/48, AS_PATH: 1 101 777, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (15) + +3101:0:11::/48, AS_PATH: 2 101 777, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (15) + +3101:0:1::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +3101:0:1::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:1::/48, AS_PATH: 2 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:0:2::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +3101:0:2::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:2::/48, AS_PATH: 2 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:0:3::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +3101:0:3::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:3::/48, AS_PATH: 2 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:0:4::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: 888:0 + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +3101:0:4::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 888:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:4::/48, AS_PATH: 2 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 888:0 + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:0:5::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: 888:0:0 + best: False, LOCAL_PREF: 1 + filtered: True (5) + +3101:0:5::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: 888:0:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:5::/48, AS_PATH: 2 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: 888:0:0 + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:0:6::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: 777:0 + ext comms: + lrg comms: 777:0:0 + best: False, LOCAL_PREF: 1 + filtered: True (5) + +3101:0:6::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 777:0 + ext comms: + lrg comms: 777:0:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:6::/48, AS_PATH: 2 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 777:0 + ext comms: + lrg comms: 777:0:0 + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:0:7::/48, AS_PATH: 1 101 174, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +3101:0:7::/48, AS_PATH: 1 101 174, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (8) + +3101:0:7::/48, AS_PATH: 2 101 174, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (8) + +3101:0:8000::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +3101:0:8000::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (14) + +3101:0:8000::/48, AS_PATH: 2 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (14) + +3101:0:8000::1/128, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: 65535:666 + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +3101:0:8000::1/128, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:8000::1/128, AS_PATH: 2 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 65535:666 + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:0:8::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +3101:0:8::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:8::/48, AS_PATH: 2 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:0:9::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +3101:0:9::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (14) + +3101:0:9::/48, AS_PATH: 2 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (14) + +3101:1::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +3101:1::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (12) + +3101:1::/48, AS_PATH: 2 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (12) + +3101:2:4000::/34, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +3101:2:4000::/34, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (12) + +3101:2:4000::/34, AS_PATH: 2 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (12) + +3101:2:8000::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +3101:2:8000::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:2:8000::/48, AS_PATH: 2 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:2::/33, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +3101:2::/33, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:2::/33, AS_PATH: 2 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:3:1::/48, AS_PATH: 1 101 105, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +3101:3:1::/48, AS_PATH: 1 101 105, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (9) + +3101:3:1::/48, AS_PATH: 2 101 105, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (9) + +3102:0:1::/48, AS_PATH: 1 101 102, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +3102:0:1::/48, AS_PATH: 1 101 102, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (9) + +3102:0:1::/48, AS_PATH: 2 101 102, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (9) + +3103:0:1::/48, AS_PATH: 1 101 103, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: 65535:0 + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +3103:0:1::/48, AS_PATH: 1 101 103, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 65535:0 + ext comms: + lrg comms: + best: False, LOCAL_PREF: 5 + filtered: False () + +3103:0:1::/48, AS_PATH: 2 101 101 103, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3103:0:2::/48, AS_PATH: 1 101 101 103, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +3103:0:2::/48, AS_PATH: 1 101 101 103, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3103:0:2::/48, AS_PATH: 2 101 103, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3104:0:1::/48, AS_PATH: 1 101 104, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +3104:0:1::/48, AS_PATH: 1 101 104, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3104:0:1::/48, AS_PATH: 2 101 104, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (9) + +3104:1:1::/48, AS_PATH: 1 101 104, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (5) + +3104:1:1::/48, AS_PATH: 1 101 104, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3104:1:1::/48, AS_PATH: 2 101 104, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (9) + +3222:0:1::/48, AS_PATH: 222 333, NEXT_HOP: 2001:db8:1:1::222, via 2001:db8:1:1::222 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (14) + +3222:0:2::/48, AS_PATH: 222 333, NEXT_HOP: 2001:db8:1:1::222, via 2001:db8:1:1::222 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3222:0:3::/48, AS_PATH: 222 333, NEXT_HOP: 2001:db8:1:1::222, via 2001:db8:1:1::222 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +8000:1::/32, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (10) + +8000:1::/32, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (10) + +8000:1::/32, AS_PATH: 2 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: True (10) + +::/0, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::31 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: True (10) + diff --git a/tests/live_tests/scenarios/global/test_openbgpd_portable_4.py b/tests/live_tests/scenarios/global/test_openbgpd_portable_latest_4.py similarity index 100% rename from tests/live_tests/scenarios/global/test_openbgpd_portable_4.py rename to tests/live_tests/scenarios/global/test_openbgpd_portable_latest_4.py diff --git a/tests/live_tests/scenarios/global/test_openbgpd_portable_6.py b/tests/live_tests/scenarios/global/test_openbgpd_portable_latest_6.py similarity index 100% rename from tests/live_tests/scenarios/global/test_openbgpd_portable_6.py rename to tests/live_tests/scenarios/global/test_openbgpd_portable_latest_6.py diff --git a/tests/live_tests/scenarios/global/test_openbgpd_portable_previous_4.py b/tests/live_tests/scenarios/global/test_openbgpd_portable_previous_4.py new file mode 100644 index 00000000..337f5145 --- /dev/null +++ b/tests/live_tests/scenarios/global/test_openbgpd_portable_previous_4.py @@ -0,0 +1,32 @@ +# Copyright (C) 2017-2021 Pier Carlo Chiodi +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +import os +import unittest + +from .base import BasicScenarioOpenBGPDPrevious +from .data4 import BasicScenario_Data4 +from pierky.arouteserver.tests.live_tests.bird import BIRDInstanceIPv4 +from pierky.arouteserver.tests.live_tests.openbgpd import OpenBGPDPortablePreviousInstance + +class BasicScenario_OpenBGPDIPv4(BasicScenario_Data4, BasicScenarioOpenBGPDPrevious): + + __test__ = True + + SHORT_DESCR = "Live test, OpenBGPD {}, global scenario, IPv4".format( + OpenBGPDPortablePreviousInstance.BGP_SPEAKER_VERSION + ) + RS_INSTANCE_CLASS = OpenBGPDPortablePreviousInstance + CLIENT_INSTANCE_CLASS = BIRDInstanceIPv4 diff --git a/tests/live_tests/scenarios/global/test_openbgpd_portable_previous_6.py b/tests/live_tests/scenarios/global/test_openbgpd_portable_previous_6.py new file mode 100644 index 00000000..a574c999 --- /dev/null +++ b/tests/live_tests/scenarios/global/test_openbgpd_portable_previous_6.py @@ -0,0 +1,32 @@ +# Copyright (C) 2017-2021 Pier Carlo Chiodi +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +import os +import unittest + +from .base import BasicScenarioOpenBGPDPrevious +from .data6 import BasicScenario_Data6 +from pierky.arouteserver.tests.live_tests.bird import BIRDInstanceIPv6 +from pierky.arouteserver.tests.live_tests.openbgpd import OpenBGPDPortablePreviousInstance + +class BasicScenario_OpenBGPDIPv6(BasicScenario_Data6, BasicScenarioOpenBGPDPrevious): + + __test__ = True + + SHORT_DESCR = "Live test, OpenBGPD {}, global scenario, IPv6".format( + OpenBGPDPortablePreviousInstance.BGP_SPEAKER_VERSION + ) + RS_INSTANCE_CLASS = OpenBGPDPortablePreviousInstance + CLIENT_INSTANCE_CLASS = BIRDInstanceIPv6 diff --git a/tests/live_tests/scenarios/gshut/configs/GShutScenario_OpenBGPDIPv4/openbgpd68.conf b/tests/live_tests/scenarios/gshut/configs/GShutScenario_OpenBGPDIPv4/openbgpd68.conf index 1a40dfb1..24259e33 100644 --- a/tests/live_tests/scenarios/gshut/configs/GShutScenario_OpenBGPDIPv4/openbgpd68.conf +++ b/tests/live_tests/scenarios/gshut/configs/GShutScenario_OpenBGPDIPv4/openbgpd68.conf @@ -7,6 +7,7 @@ log updates nexthop qualify via default + INTCOMM_PREF_OK_ROA="soo 65535:1" INTCOMM_ROUTE_OK_WL="soo 65535:2" INTCOMM_PREF_OK_ARINDB="soo 65535:3" @@ -39,6 +40,7 @@ group "clients" { neighbor 192.0.2.11 { remote-as 1 + descr "AS1_1 client" passive ttl-security no @@ -55,6 +57,7 @@ group "clients" { neighbor 2001:db8:1:1::11 { remote-as 1 + descr "AS1_1 client" passive ttl-security no @@ -71,6 +74,7 @@ group "clients" { neighbor 192.0.2.21 { remote-as 2 + descr "AS2_1 client" passive ttl-security no @@ -87,6 +91,7 @@ group "clients" { neighbor 2001:db8:1:1::21 { remote-as 2 + descr "AS2_1 client" passive ttl-security no @@ -203,6 +208,7 @@ match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ + # AS_PATH: length # Reject inbound routes when 'from group clients max-as-len 32' - reject code: 1 deny quick from group clients max-as-len 32 diff --git a/tests/live_tests/scenarios/gshut/configs/GShutScenario_OpenBGPDIPv4/openbgpd69.conf b/tests/live_tests/scenarios/gshut/configs/GShutScenario_OpenBGPDIPv4/openbgpd69.conf new file mode 100644 index 00000000..9c206a47 --- /dev/null +++ b/tests/live_tests/scenarios/gshut/configs/GShutScenario_OpenBGPDIPv4/openbgpd69.conf @@ -0,0 +1,552 @@ +# built by ARouteServer +AS 999 +router-id 192.0.2.2 + +fib-update no +log updates + +nexthop qualify via default + +rde evaluate all + +INTCOMM_PREF_OK_ROA="soo 65535:1" +INTCOMM_ROUTE_OK_WL="soo 65535:2" +INTCOMM_PREF_OK_ARINDB="soo 65535:3" +INTCOMM_PREF_OK_REGISTROBRDB="soo 65535:12" + +INTCOMM_ORIGIN_OK="soo 65535:4" +INTCOMM_ORIGIN_KO="soo 65535:5" +INTCOMM_PREFIX_OK="soo 65535:6" +INTCOMM_PREFIX_KO="soo 65535:7" +INTCOMM_IRR_REJECT="soo 65535:8" + +INTCOMM_RPKI_UNKNOWN="soo 65535:9" +INTCOMM_RPKI_INVALID="soo 65535:10" +INTCOMM_RPKI_VALID="soo 65535:11" + +INTCOMM_NO_EXPORT="soo 65535:65281" +INTCOMM_NO_ADVERTISE="soo 65535:65282" + +# --------------------------------------------------------- +# IRRDB + + + + +# --------------------------------------------------------- +# MEMBERS + +group "clients" { + + neighbor 192.0.2.11 { + remote-as 1 + + rde evaluate all + + descr "AS1_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::11 { + remote-as 1 + + rde evaluate all + + descr "AS1_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.21 { + remote-as 2 + + rde evaluate all + + descr "AS2_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::21 { + remote-as 2 + + rde evaluate all + + descr "AS2_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } +} + + + +# --------------------------------------------------------- +# FILTERS + +# NO_ADVERTISE usage notes. +# The NO_ADVERTISE well-know community is used here to handle +# filters that span over multiple steps. At first it is added +# to any route, then it is removed as filters conditions are +# satisfied. Finally, if it is still present, it means that +# the route should be discarded. + + + + + +prefix-set "bogons" { + 0.0.0.0/0 + 0.0.0.0/8 prefixlen 8 - 32 + 10.0.0.0/8 prefixlen 8 - 32 + 127.0.0.0/8 prefixlen 8 - 32 + 169.254.0.0/16 prefixlen 16 - 32 + 172.16.0.0/12 prefixlen 12 - 32 + 192.0.2.0/24 prefixlen 24 - 32 + 192.88.99.0/24 prefixlen 24 - 32 + 192.168.0.0/16 prefixlen 16 - 32 + 198.18.0.0/15 prefixlen 15 - 32 + 198.51.100.0/24 prefixlen 24 - 32 + 203.0.113.0/24 prefixlen 24 - 32 + 224.0.0.0/3 prefixlen 3 - 32 + 100.64.0.0/10 prefixlen 10 - 32 + ::/0 + ::/8 prefixlen 8 - 128 + 64:ff9b::/96 prefixlen 96 - 128 + 100::/8 prefixlen 8 - 128 + 200::/7 prefixlen 7 - 128 + 400::/6 prefixlen 6 - 128 + 800::/5 prefixlen 5 - 128 + 1000::/4 prefixlen 4 - 128 + 2001::/33 prefixlen 33 - 128 + 2001:0:8000::/33 prefixlen 33 - 128 + 2001:2::/48 prefixlen 48 - 128 + 2001:3::/32 prefixlen 32 - 128 + 2001:10::/28 prefixlen 28 - 128 + 2001:20::/28 prefixlen 28 - 128 + 2001:db8::/32 prefixlen 32 - 128 + 2002::/16 prefixlen 16 - 128 + 3ffe::/16 prefixlen 16 - 128 + 4000::/3 prefixlen 3 - 128 + 5f00::/8 prefixlen 8 - 128 + 6000::/3 prefixlen 3 - 128 + 8000::/3 prefixlen 3 - 128 + a000::/3 prefixlen 3 - 128 + c000::/3 prefixlen 3 - 128 + e000::/4 prefixlen 4 - 128 + f000::/5 prefixlen 5 - 128 + f800::/6 prefixlen 6 - 128 + fc00::/7 prefixlen 7 - 128 + fe80::/10 prefixlen 10 - 128 + fec0::/10 prefixlen 10 - 128 + ff00::/8 prefixlen 8 - 128 + +} + +# ===================================================================================== +# Global rules. + +# This part of configuration is processed at the beginning of the filters. +# The rules defined in this part are applied to all the clients, and not on a +# client-by-client basis (see the 'match from group clients'), so only global policies +# can be implemented here, that is no client-level configuration are allowed. + + + +# Scrub communities from inbound routes + +# Scrub internal communities from inbound routes +match from group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + + +# The main goal of this block is to enrich routes received from clients by attaching to them +# internal informational communities which are used later by the rest of the filter rules. + +# Internal communities used for RFC1997 well-known communities handling + +# Transform NO_EXPORT into $INTCOMM_NO_EXPORT +match from group clients community NO_EXPORT set { ext-community $INTCOMM_NO_EXPORT community delete NO_EXPORT } + +# Transform NO_ADVERTISE into $INTCOMM_NO_ADVERTISE +match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ADVERTISE community delete NO_ADVERTISE } + + + + + + + + + + + + +# AS_PATH: length +# Reject inbound routes when 'from group clients max-as-len 32' - reject code: 1 +deny quick from group clients max-as-len 32 + + + +# Prefix: only IPv6 Global Unicast space allowed +match from group clients inet6 set community NO_ADVERTISE +match from group clients prefix 2000::/3 or-longer set community delete NO_ADVERTISE +# Reject inbound routes when 'from group clients community NO_ADVERTISE' - reject code: 10 +deny quick from group clients community NO_ADVERTISE + + +# Prefix: bogon +# Reject inbound routes when 'from group clients prefix-set bogons' - reject code: 2 +deny quick from group clients prefix-set bogons + + + + +# ===================================================================================== +# Per client rules. + + +# --------------------------------------------- +# client AS1_1, inbound + + + +# NEXT_HOP +match from 192.0.2.11 set community NO_ADVERTISE +match from 192.0.2.11 nexthop 192.0.2.11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.11 community NO_ADVERTISE' - reject code: 5 +deny quick from 192.0.2.11 community NO_ADVERTISE + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.11 peer-as != 1' - reject code: 6 +deny quick from 192.0.2.11 peer-as != 1 + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.11 AS 23456' - reject code: 7 +deny quick from 192.0.2.11 AS 23456 + +# Reject inbound routes when 'from 192.0.2.11 AS 64496 - 131071' - reject code: 7 +deny quick from 192.0.2.11 AS 64496 - 131071 + +# Reject inbound routes when 'from 192.0.2.11 AS 4200000000 - 4294967295' - reject code: 7 +deny quick from 192.0.2.11 AS 4200000000 - 4294967295 + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +deny quick from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24 + + + +# Remove internal communities before accepting the route +match from 192.0.2.11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + + + +allow quick from 192.0.2.11 + + + +# --------------------------------------------- +# client AS1_1, outbound + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.11 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.11 + + + + + + +# --------------------------------------------- +# client AS1_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::11 set community NO_ADVERTISE +match from 2001:db8:1:1::11 nexthop 2001:db8:1:1::11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::11 community NO_ADVERTISE' - reject code: 5 +deny quick from 2001:db8:1:1::11 community NO_ADVERTISE + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::11 peer-as != 1' - reject code: 6 +deny quick from 2001:db8:1:1::11 peer-as != 1 + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 23456' - reject code: 7 +deny quick from 2001:db8:1:1::11 AS 23456 + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 64496 - 131071' - reject code: 7 +deny quick from 2001:db8:1:1::11 AS 64496 - 131071 + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 4200000000 - 4294967295' - reject code: 7 +deny quick from 2001:db8:1:1::11 AS 4200000000 - 4294967295 + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::11 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +deny quick from 2001:db8:1:1::11 prefix ::/0 prefixlen 12 >< 48 + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + + + +allow quick from 2001:db8:1:1::11 + + + +# --------------------------------------------- +# client AS1_2, outbound + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::11 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::11 + + + + + + +# --------------------------------------------- +# client AS2_1, inbound + + + +# NEXT_HOP +match from 192.0.2.21 set community NO_ADVERTISE +match from 192.0.2.21 nexthop 192.0.2.21 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.21 community NO_ADVERTISE' - reject code: 5 +deny quick from 192.0.2.21 community NO_ADVERTISE + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.21 peer-as != 2' - reject code: 6 +deny quick from 192.0.2.21 peer-as != 2 + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.21 AS 23456' - reject code: 7 +deny quick from 192.0.2.21 AS 23456 + +# Reject inbound routes when 'from 192.0.2.21 AS 64496 - 131071' - reject code: 7 +deny quick from 192.0.2.21 AS 64496 - 131071 + +# Reject inbound routes when 'from 192.0.2.21 AS 4200000000 - 4294967295' - reject code: 7 +deny quick from 192.0.2.21 AS 4200000000 - 4294967295 + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.21 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +deny quick from 192.0.2.21 prefix 0.0.0.0/0 prefixlen 8 >< 24 + + + +# Remove internal communities before accepting the route +match from 192.0.2.21 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + + + +allow quick from 192.0.2.21 + + + +# --------------------------------------------- +# client AS2_1, outbound + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.21 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.21 + + + + + + +# --------------------------------------------- +# client AS2_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::21 set community NO_ADVERTISE +match from 2001:db8:1:1::21 nexthop 2001:db8:1:1::21 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::21 community NO_ADVERTISE' - reject code: 5 +deny quick from 2001:db8:1:1::21 community NO_ADVERTISE + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::21 peer-as != 2' - reject code: 6 +deny quick from 2001:db8:1:1::21 peer-as != 2 + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 23456' - reject code: 7 +deny quick from 2001:db8:1:1::21 AS 23456 + +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 64496 - 131071' - reject code: 7 +deny quick from 2001:db8:1:1::21 AS 64496 - 131071 + +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 4200000000 - 4294967295' - reject code: 7 +deny quick from 2001:db8:1:1::21 AS 4200000000 - 4294967295 + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::21 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +deny quick from 2001:db8:1:1::21 prefix ::/0 prefixlen 12 >< 48 + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::21 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + + + +allow quick from 2001:db8:1:1::21 + + + +# --------------------------------------------- +# client AS2_2, outbound + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::21 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::21 + + + + + + + + +# Scrub communities from outbound routes + +# Scrub prepending communities + +match to group clients set community GRACEFUL_SHUTDOWN + +# RFC1997 NO_EXPORT/NO_ADVERTISE received from clients and propagated because of pass-through policy +match to group clients ext-community $INTCOMM_NO_EXPORT set community NO_EXPORT +match to group clients ext-community $INTCOMM_NO_ADVERTISE set community NO_ADVERTISE + +# Remove internal communities before announcing the route +match to group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + diff --git a/tests/live_tests/scenarios/gshut/configs/GShutScenario_OpenBGPDIPv4/openbgpd69p.conf b/tests/live_tests/scenarios/gshut/configs/GShutScenario_OpenBGPDIPv4/openbgpd69p.conf new file mode 100644 index 00000000..9c206a47 --- /dev/null +++ b/tests/live_tests/scenarios/gshut/configs/GShutScenario_OpenBGPDIPv4/openbgpd69p.conf @@ -0,0 +1,552 @@ +# built by ARouteServer +AS 999 +router-id 192.0.2.2 + +fib-update no +log updates + +nexthop qualify via default + +rde evaluate all + +INTCOMM_PREF_OK_ROA="soo 65535:1" +INTCOMM_ROUTE_OK_WL="soo 65535:2" +INTCOMM_PREF_OK_ARINDB="soo 65535:3" +INTCOMM_PREF_OK_REGISTROBRDB="soo 65535:12" + +INTCOMM_ORIGIN_OK="soo 65535:4" +INTCOMM_ORIGIN_KO="soo 65535:5" +INTCOMM_PREFIX_OK="soo 65535:6" +INTCOMM_PREFIX_KO="soo 65535:7" +INTCOMM_IRR_REJECT="soo 65535:8" + +INTCOMM_RPKI_UNKNOWN="soo 65535:9" +INTCOMM_RPKI_INVALID="soo 65535:10" +INTCOMM_RPKI_VALID="soo 65535:11" + +INTCOMM_NO_EXPORT="soo 65535:65281" +INTCOMM_NO_ADVERTISE="soo 65535:65282" + +# --------------------------------------------------------- +# IRRDB + + + + +# --------------------------------------------------------- +# MEMBERS + +group "clients" { + + neighbor 192.0.2.11 { + remote-as 1 + + rde evaluate all + + descr "AS1_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::11 { + remote-as 1 + + rde evaluate all + + descr "AS1_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.21 { + remote-as 2 + + rde evaluate all + + descr "AS2_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::21 { + remote-as 2 + + rde evaluate all + + descr "AS2_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } +} + + + +# --------------------------------------------------------- +# FILTERS + +# NO_ADVERTISE usage notes. +# The NO_ADVERTISE well-know community is used here to handle +# filters that span over multiple steps. At first it is added +# to any route, then it is removed as filters conditions are +# satisfied. Finally, if it is still present, it means that +# the route should be discarded. + + + + + +prefix-set "bogons" { + 0.0.0.0/0 + 0.0.0.0/8 prefixlen 8 - 32 + 10.0.0.0/8 prefixlen 8 - 32 + 127.0.0.0/8 prefixlen 8 - 32 + 169.254.0.0/16 prefixlen 16 - 32 + 172.16.0.0/12 prefixlen 12 - 32 + 192.0.2.0/24 prefixlen 24 - 32 + 192.88.99.0/24 prefixlen 24 - 32 + 192.168.0.0/16 prefixlen 16 - 32 + 198.18.0.0/15 prefixlen 15 - 32 + 198.51.100.0/24 prefixlen 24 - 32 + 203.0.113.0/24 prefixlen 24 - 32 + 224.0.0.0/3 prefixlen 3 - 32 + 100.64.0.0/10 prefixlen 10 - 32 + ::/0 + ::/8 prefixlen 8 - 128 + 64:ff9b::/96 prefixlen 96 - 128 + 100::/8 prefixlen 8 - 128 + 200::/7 prefixlen 7 - 128 + 400::/6 prefixlen 6 - 128 + 800::/5 prefixlen 5 - 128 + 1000::/4 prefixlen 4 - 128 + 2001::/33 prefixlen 33 - 128 + 2001:0:8000::/33 prefixlen 33 - 128 + 2001:2::/48 prefixlen 48 - 128 + 2001:3::/32 prefixlen 32 - 128 + 2001:10::/28 prefixlen 28 - 128 + 2001:20::/28 prefixlen 28 - 128 + 2001:db8::/32 prefixlen 32 - 128 + 2002::/16 prefixlen 16 - 128 + 3ffe::/16 prefixlen 16 - 128 + 4000::/3 prefixlen 3 - 128 + 5f00::/8 prefixlen 8 - 128 + 6000::/3 prefixlen 3 - 128 + 8000::/3 prefixlen 3 - 128 + a000::/3 prefixlen 3 - 128 + c000::/3 prefixlen 3 - 128 + e000::/4 prefixlen 4 - 128 + f000::/5 prefixlen 5 - 128 + f800::/6 prefixlen 6 - 128 + fc00::/7 prefixlen 7 - 128 + fe80::/10 prefixlen 10 - 128 + fec0::/10 prefixlen 10 - 128 + ff00::/8 prefixlen 8 - 128 + +} + +# ===================================================================================== +# Global rules. + +# This part of configuration is processed at the beginning of the filters. +# The rules defined in this part are applied to all the clients, and not on a +# client-by-client basis (see the 'match from group clients'), so only global policies +# can be implemented here, that is no client-level configuration are allowed. + + + +# Scrub communities from inbound routes + +# Scrub internal communities from inbound routes +match from group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + + +# The main goal of this block is to enrich routes received from clients by attaching to them +# internal informational communities which are used later by the rest of the filter rules. + +# Internal communities used for RFC1997 well-known communities handling + +# Transform NO_EXPORT into $INTCOMM_NO_EXPORT +match from group clients community NO_EXPORT set { ext-community $INTCOMM_NO_EXPORT community delete NO_EXPORT } + +# Transform NO_ADVERTISE into $INTCOMM_NO_ADVERTISE +match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ADVERTISE community delete NO_ADVERTISE } + + + + + + + + + + + + +# AS_PATH: length +# Reject inbound routes when 'from group clients max-as-len 32' - reject code: 1 +deny quick from group clients max-as-len 32 + + + +# Prefix: only IPv6 Global Unicast space allowed +match from group clients inet6 set community NO_ADVERTISE +match from group clients prefix 2000::/3 or-longer set community delete NO_ADVERTISE +# Reject inbound routes when 'from group clients community NO_ADVERTISE' - reject code: 10 +deny quick from group clients community NO_ADVERTISE + + +# Prefix: bogon +# Reject inbound routes when 'from group clients prefix-set bogons' - reject code: 2 +deny quick from group clients prefix-set bogons + + + + +# ===================================================================================== +# Per client rules. + + +# --------------------------------------------- +# client AS1_1, inbound + + + +# NEXT_HOP +match from 192.0.2.11 set community NO_ADVERTISE +match from 192.0.2.11 nexthop 192.0.2.11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.11 community NO_ADVERTISE' - reject code: 5 +deny quick from 192.0.2.11 community NO_ADVERTISE + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.11 peer-as != 1' - reject code: 6 +deny quick from 192.0.2.11 peer-as != 1 + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.11 AS 23456' - reject code: 7 +deny quick from 192.0.2.11 AS 23456 + +# Reject inbound routes when 'from 192.0.2.11 AS 64496 - 131071' - reject code: 7 +deny quick from 192.0.2.11 AS 64496 - 131071 + +# Reject inbound routes when 'from 192.0.2.11 AS 4200000000 - 4294967295' - reject code: 7 +deny quick from 192.0.2.11 AS 4200000000 - 4294967295 + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +deny quick from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24 + + + +# Remove internal communities before accepting the route +match from 192.0.2.11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + + + +allow quick from 192.0.2.11 + + + +# --------------------------------------------- +# client AS1_1, outbound + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.11 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.11 + + + + + + +# --------------------------------------------- +# client AS1_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::11 set community NO_ADVERTISE +match from 2001:db8:1:1::11 nexthop 2001:db8:1:1::11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::11 community NO_ADVERTISE' - reject code: 5 +deny quick from 2001:db8:1:1::11 community NO_ADVERTISE + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::11 peer-as != 1' - reject code: 6 +deny quick from 2001:db8:1:1::11 peer-as != 1 + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 23456' - reject code: 7 +deny quick from 2001:db8:1:1::11 AS 23456 + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 64496 - 131071' - reject code: 7 +deny quick from 2001:db8:1:1::11 AS 64496 - 131071 + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 4200000000 - 4294967295' - reject code: 7 +deny quick from 2001:db8:1:1::11 AS 4200000000 - 4294967295 + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::11 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +deny quick from 2001:db8:1:1::11 prefix ::/0 prefixlen 12 >< 48 + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + + + +allow quick from 2001:db8:1:1::11 + + + +# --------------------------------------------- +# client AS1_2, outbound + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::11 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::11 + + + + + + +# --------------------------------------------- +# client AS2_1, inbound + + + +# NEXT_HOP +match from 192.0.2.21 set community NO_ADVERTISE +match from 192.0.2.21 nexthop 192.0.2.21 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.21 community NO_ADVERTISE' - reject code: 5 +deny quick from 192.0.2.21 community NO_ADVERTISE + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.21 peer-as != 2' - reject code: 6 +deny quick from 192.0.2.21 peer-as != 2 + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.21 AS 23456' - reject code: 7 +deny quick from 192.0.2.21 AS 23456 + +# Reject inbound routes when 'from 192.0.2.21 AS 64496 - 131071' - reject code: 7 +deny quick from 192.0.2.21 AS 64496 - 131071 + +# Reject inbound routes when 'from 192.0.2.21 AS 4200000000 - 4294967295' - reject code: 7 +deny quick from 192.0.2.21 AS 4200000000 - 4294967295 + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.21 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +deny quick from 192.0.2.21 prefix 0.0.0.0/0 prefixlen 8 >< 24 + + + +# Remove internal communities before accepting the route +match from 192.0.2.21 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + + + +allow quick from 192.0.2.21 + + + +# --------------------------------------------- +# client AS2_1, outbound + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.21 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.21 + + + + + + +# --------------------------------------------- +# client AS2_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::21 set community NO_ADVERTISE +match from 2001:db8:1:1::21 nexthop 2001:db8:1:1::21 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::21 community NO_ADVERTISE' - reject code: 5 +deny quick from 2001:db8:1:1::21 community NO_ADVERTISE + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::21 peer-as != 2' - reject code: 6 +deny quick from 2001:db8:1:1::21 peer-as != 2 + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 23456' - reject code: 7 +deny quick from 2001:db8:1:1::21 AS 23456 + +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 64496 - 131071' - reject code: 7 +deny quick from 2001:db8:1:1::21 AS 64496 - 131071 + +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 4200000000 - 4294967295' - reject code: 7 +deny quick from 2001:db8:1:1::21 AS 4200000000 - 4294967295 + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::21 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +deny quick from 2001:db8:1:1::21 prefix ::/0 prefixlen 12 >< 48 + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::21 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + + + +allow quick from 2001:db8:1:1::21 + + + +# --------------------------------------------- +# client AS2_2, outbound + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::21 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::21 + + + + + + + + +# Scrub communities from outbound routes + +# Scrub prepending communities + +match to group clients set community GRACEFUL_SHUTDOWN + +# RFC1997 NO_EXPORT/NO_ADVERTISE received from clients and propagated because of pass-through policy +match to group clients ext-community $INTCOMM_NO_EXPORT set community NO_EXPORT +match to group clients ext-community $INTCOMM_NO_ADVERTISE set community NO_ADVERTISE + +# Remove internal communities before announcing the route +match to group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + diff --git a/tests/live_tests/scenarios/gshut/configs/GShutScenario_OpenBGPDIPv6/openbgpd68.conf b/tests/live_tests/scenarios/gshut/configs/GShutScenario_OpenBGPDIPv6/openbgpd68.conf index 1a40dfb1..24259e33 100644 --- a/tests/live_tests/scenarios/gshut/configs/GShutScenario_OpenBGPDIPv6/openbgpd68.conf +++ b/tests/live_tests/scenarios/gshut/configs/GShutScenario_OpenBGPDIPv6/openbgpd68.conf @@ -7,6 +7,7 @@ log updates nexthop qualify via default + INTCOMM_PREF_OK_ROA="soo 65535:1" INTCOMM_ROUTE_OK_WL="soo 65535:2" INTCOMM_PREF_OK_ARINDB="soo 65535:3" @@ -39,6 +40,7 @@ group "clients" { neighbor 192.0.2.11 { remote-as 1 + descr "AS1_1 client" passive ttl-security no @@ -55,6 +57,7 @@ group "clients" { neighbor 2001:db8:1:1::11 { remote-as 1 + descr "AS1_1 client" passive ttl-security no @@ -71,6 +74,7 @@ group "clients" { neighbor 192.0.2.21 { remote-as 2 + descr "AS2_1 client" passive ttl-security no @@ -87,6 +91,7 @@ group "clients" { neighbor 2001:db8:1:1::21 { remote-as 2 + descr "AS2_1 client" passive ttl-security no @@ -203,6 +208,7 @@ match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ + # AS_PATH: length # Reject inbound routes when 'from group clients max-as-len 32' - reject code: 1 deny quick from group clients max-as-len 32 diff --git a/tests/live_tests/scenarios/gshut/configs/GShutScenario_OpenBGPDIPv6/openbgpd69.conf b/tests/live_tests/scenarios/gshut/configs/GShutScenario_OpenBGPDIPv6/openbgpd69.conf new file mode 100644 index 00000000..9c206a47 --- /dev/null +++ b/tests/live_tests/scenarios/gshut/configs/GShutScenario_OpenBGPDIPv6/openbgpd69.conf @@ -0,0 +1,552 @@ +# built by ARouteServer +AS 999 +router-id 192.0.2.2 + +fib-update no +log updates + +nexthop qualify via default + +rde evaluate all + +INTCOMM_PREF_OK_ROA="soo 65535:1" +INTCOMM_ROUTE_OK_WL="soo 65535:2" +INTCOMM_PREF_OK_ARINDB="soo 65535:3" +INTCOMM_PREF_OK_REGISTROBRDB="soo 65535:12" + +INTCOMM_ORIGIN_OK="soo 65535:4" +INTCOMM_ORIGIN_KO="soo 65535:5" +INTCOMM_PREFIX_OK="soo 65535:6" +INTCOMM_PREFIX_KO="soo 65535:7" +INTCOMM_IRR_REJECT="soo 65535:8" + +INTCOMM_RPKI_UNKNOWN="soo 65535:9" +INTCOMM_RPKI_INVALID="soo 65535:10" +INTCOMM_RPKI_VALID="soo 65535:11" + +INTCOMM_NO_EXPORT="soo 65535:65281" +INTCOMM_NO_ADVERTISE="soo 65535:65282" + +# --------------------------------------------------------- +# IRRDB + + + + +# --------------------------------------------------------- +# MEMBERS + +group "clients" { + + neighbor 192.0.2.11 { + remote-as 1 + + rde evaluate all + + descr "AS1_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::11 { + remote-as 1 + + rde evaluate all + + descr "AS1_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.21 { + remote-as 2 + + rde evaluate all + + descr "AS2_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::21 { + remote-as 2 + + rde evaluate all + + descr "AS2_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } +} + + + +# --------------------------------------------------------- +# FILTERS + +# NO_ADVERTISE usage notes. +# The NO_ADVERTISE well-know community is used here to handle +# filters that span over multiple steps. At first it is added +# to any route, then it is removed as filters conditions are +# satisfied. Finally, if it is still present, it means that +# the route should be discarded. + + + + + +prefix-set "bogons" { + 0.0.0.0/0 + 0.0.0.0/8 prefixlen 8 - 32 + 10.0.0.0/8 prefixlen 8 - 32 + 127.0.0.0/8 prefixlen 8 - 32 + 169.254.0.0/16 prefixlen 16 - 32 + 172.16.0.0/12 prefixlen 12 - 32 + 192.0.2.0/24 prefixlen 24 - 32 + 192.88.99.0/24 prefixlen 24 - 32 + 192.168.0.0/16 prefixlen 16 - 32 + 198.18.0.0/15 prefixlen 15 - 32 + 198.51.100.0/24 prefixlen 24 - 32 + 203.0.113.0/24 prefixlen 24 - 32 + 224.0.0.0/3 prefixlen 3 - 32 + 100.64.0.0/10 prefixlen 10 - 32 + ::/0 + ::/8 prefixlen 8 - 128 + 64:ff9b::/96 prefixlen 96 - 128 + 100::/8 prefixlen 8 - 128 + 200::/7 prefixlen 7 - 128 + 400::/6 prefixlen 6 - 128 + 800::/5 prefixlen 5 - 128 + 1000::/4 prefixlen 4 - 128 + 2001::/33 prefixlen 33 - 128 + 2001:0:8000::/33 prefixlen 33 - 128 + 2001:2::/48 prefixlen 48 - 128 + 2001:3::/32 prefixlen 32 - 128 + 2001:10::/28 prefixlen 28 - 128 + 2001:20::/28 prefixlen 28 - 128 + 2001:db8::/32 prefixlen 32 - 128 + 2002::/16 prefixlen 16 - 128 + 3ffe::/16 prefixlen 16 - 128 + 4000::/3 prefixlen 3 - 128 + 5f00::/8 prefixlen 8 - 128 + 6000::/3 prefixlen 3 - 128 + 8000::/3 prefixlen 3 - 128 + a000::/3 prefixlen 3 - 128 + c000::/3 prefixlen 3 - 128 + e000::/4 prefixlen 4 - 128 + f000::/5 prefixlen 5 - 128 + f800::/6 prefixlen 6 - 128 + fc00::/7 prefixlen 7 - 128 + fe80::/10 prefixlen 10 - 128 + fec0::/10 prefixlen 10 - 128 + ff00::/8 prefixlen 8 - 128 + +} + +# ===================================================================================== +# Global rules. + +# This part of configuration is processed at the beginning of the filters. +# The rules defined in this part are applied to all the clients, and not on a +# client-by-client basis (see the 'match from group clients'), so only global policies +# can be implemented here, that is no client-level configuration are allowed. + + + +# Scrub communities from inbound routes + +# Scrub internal communities from inbound routes +match from group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + + +# The main goal of this block is to enrich routes received from clients by attaching to them +# internal informational communities which are used later by the rest of the filter rules. + +# Internal communities used for RFC1997 well-known communities handling + +# Transform NO_EXPORT into $INTCOMM_NO_EXPORT +match from group clients community NO_EXPORT set { ext-community $INTCOMM_NO_EXPORT community delete NO_EXPORT } + +# Transform NO_ADVERTISE into $INTCOMM_NO_ADVERTISE +match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ADVERTISE community delete NO_ADVERTISE } + + + + + + + + + + + + +# AS_PATH: length +# Reject inbound routes when 'from group clients max-as-len 32' - reject code: 1 +deny quick from group clients max-as-len 32 + + + +# Prefix: only IPv6 Global Unicast space allowed +match from group clients inet6 set community NO_ADVERTISE +match from group clients prefix 2000::/3 or-longer set community delete NO_ADVERTISE +# Reject inbound routes when 'from group clients community NO_ADVERTISE' - reject code: 10 +deny quick from group clients community NO_ADVERTISE + + +# Prefix: bogon +# Reject inbound routes when 'from group clients prefix-set bogons' - reject code: 2 +deny quick from group clients prefix-set bogons + + + + +# ===================================================================================== +# Per client rules. + + +# --------------------------------------------- +# client AS1_1, inbound + + + +# NEXT_HOP +match from 192.0.2.11 set community NO_ADVERTISE +match from 192.0.2.11 nexthop 192.0.2.11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.11 community NO_ADVERTISE' - reject code: 5 +deny quick from 192.0.2.11 community NO_ADVERTISE + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.11 peer-as != 1' - reject code: 6 +deny quick from 192.0.2.11 peer-as != 1 + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.11 AS 23456' - reject code: 7 +deny quick from 192.0.2.11 AS 23456 + +# Reject inbound routes when 'from 192.0.2.11 AS 64496 - 131071' - reject code: 7 +deny quick from 192.0.2.11 AS 64496 - 131071 + +# Reject inbound routes when 'from 192.0.2.11 AS 4200000000 - 4294967295' - reject code: 7 +deny quick from 192.0.2.11 AS 4200000000 - 4294967295 + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +deny quick from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24 + + + +# Remove internal communities before accepting the route +match from 192.0.2.11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + + + +allow quick from 192.0.2.11 + + + +# --------------------------------------------- +# client AS1_1, outbound + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.11 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.11 + + + + + + +# --------------------------------------------- +# client AS1_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::11 set community NO_ADVERTISE +match from 2001:db8:1:1::11 nexthop 2001:db8:1:1::11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::11 community NO_ADVERTISE' - reject code: 5 +deny quick from 2001:db8:1:1::11 community NO_ADVERTISE + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::11 peer-as != 1' - reject code: 6 +deny quick from 2001:db8:1:1::11 peer-as != 1 + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 23456' - reject code: 7 +deny quick from 2001:db8:1:1::11 AS 23456 + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 64496 - 131071' - reject code: 7 +deny quick from 2001:db8:1:1::11 AS 64496 - 131071 + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 4200000000 - 4294967295' - reject code: 7 +deny quick from 2001:db8:1:1::11 AS 4200000000 - 4294967295 + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::11 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +deny quick from 2001:db8:1:1::11 prefix ::/0 prefixlen 12 >< 48 + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + + + +allow quick from 2001:db8:1:1::11 + + + +# --------------------------------------------- +# client AS1_2, outbound + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::11 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::11 + + + + + + +# --------------------------------------------- +# client AS2_1, inbound + + + +# NEXT_HOP +match from 192.0.2.21 set community NO_ADVERTISE +match from 192.0.2.21 nexthop 192.0.2.21 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.21 community NO_ADVERTISE' - reject code: 5 +deny quick from 192.0.2.21 community NO_ADVERTISE + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.21 peer-as != 2' - reject code: 6 +deny quick from 192.0.2.21 peer-as != 2 + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.21 AS 23456' - reject code: 7 +deny quick from 192.0.2.21 AS 23456 + +# Reject inbound routes when 'from 192.0.2.21 AS 64496 - 131071' - reject code: 7 +deny quick from 192.0.2.21 AS 64496 - 131071 + +# Reject inbound routes when 'from 192.0.2.21 AS 4200000000 - 4294967295' - reject code: 7 +deny quick from 192.0.2.21 AS 4200000000 - 4294967295 + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.21 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +deny quick from 192.0.2.21 prefix 0.0.0.0/0 prefixlen 8 >< 24 + + + +# Remove internal communities before accepting the route +match from 192.0.2.21 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + + + +allow quick from 192.0.2.21 + + + +# --------------------------------------------- +# client AS2_1, outbound + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.21 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.21 + + + + + + +# --------------------------------------------- +# client AS2_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::21 set community NO_ADVERTISE +match from 2001:db8:1:1::21 nexthop 2001:db8:1:1::21 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::21 community NO_ADVERTISE' - reject code: 5 +deny quick from 2001:db8:1:1::21 community NO_ADVERTISE + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::21 peer-as != 2' - reject code: 6 +deny quick from 2001:db8:1:1::21 peer-as != 2 + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 23456' - reject code: 7 +deny quick from 2001:db8:1:1::21 AS 23456 + +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 64496 - 131071' - reject code: 7 +deny quick from 2001:db8:1:1::21 AS 64496 - 131071 + +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 4200000000 - 4294967295' - reject code: 7 +deny quick from 2001:db8:1:1::21 AS 4200000000 - 4294967295 + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::21 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +deny quick from 2001:db8:1:1::21 prefix ::/0 prefixlen 12 >< 48 + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::21 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + + + +allow quick from 2001:db8:1:1::21 + + + +# --------------------------------------------- +# client AS2_2, outbound + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::21 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::21 + + + + + + + + +# Scrub communities from outbound routes + +# Scrub prepending communities + +match to group clients set community GRACEFUL_SHUTDOWN + +# RFC1997 NO_EXPORT/NO_ADVERTISE received from clients and propagated because of pass-through policy +match to group clients ext-community $INTCOMM_NO_EXPORT set community NO_EXPORT +match to group clients ext-community $INTCOMM_NO_ADVERTISE set community NO_ADVERTISE + +# Remove internal communities before announcing the route +match to group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + diff --git a/tests/live_tests/scenarios/gshut/routes/GShutScenario_OpenBGPDIPv4/openbgpd69/AS1.txt b/tests/live_tests/scenarios/gshut/routes/GShutScenario_OpenBGPDIPv4/openbgpd69/AS1.txt new file mode 100644 index 00000000..c1b0841e --- /dev/null +++ b/tests/live_tests/scenarios/gshut/routes/GShutScenario_OpenBGPDIPv4/openbgpd69/AS1.txt @@ -0,0 +1,14 @@ +2.0.1.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 65535:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.2.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 65535:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/gshut/routes/GShutScenario_OpenBGPDIPv4/openbgpd69/AS2.txt b/tests/live_tests/scenarios/gshut/routes/GShutScenario_OpenBGPDIPv4/openbgpd69/AS2.txt new file mode 100644 index 00000000..860e6c7f --- /dev/null +++ b/tests/live_tests/scenarios/gshut/routes/GShutScenario_OpenBGPDIPv4/openbgpd69/AS2.txt @@ -0,0 +1,14 @@ +1.0.1.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: 65535:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +1.0.2.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: 65535:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/gshut/routes/GShutScenario_OpenBGPDIPv4/openbgpd69/rs.txt b/tests/live_tests/scenarios/gshut/routes/GShutScenario_OpenBGPDIPv4/openbgpd69/rs.txt new file mode 100644 index 00000000..564973d9 --- /dev/null +++ b/tests/live_tests/scenarios/gshut/routes/GShutScenario_OpenBGPDIPv4/openbgpd69/rs.txt @@ -0,0 +1,28 @@ +1.0.1.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +1.0.2.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.1.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.2.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/gshut/routes/GShutScenario_OpenBGPDIPv4/openbgpd69p/AS1.txt b/tests/live_tests/scenarios/gshut/routes/GShutScenario_OpenBGPDIPv4/openbgpd69p/AS1.txt new file mode 100644 index 00000000..6a695ab1 --- /dev/null +++ b/tests/live_tests/scenarios/gshut/routes/GShutScenario_OpenBGPDIPv4/openbgpd69p/AS1.txt @@ -0,0 +1,14 @@ +2a02:2:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 65535:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:2::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 65535:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/gshut/routes/GShutScenario_OpenBGPDIPv4/openbgpd69p/AS2.txt b/tests/live_tests/scenarios/gshut/routes/GShutScenario_OpenBGPDIPv4/openbgpd69p/AS2.txt new file mode 100644 index 00000000..4d268b5f --- /dev/null +++ b/tests/live_tests/scenarios/gshut/routes/GShutScenario_OpenBGPDIPv4/openbgpd69p/AS2.txt @@ -0,0 +1,14 @@ +2a02:1:1::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 65535:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:1:2::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 65535:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/gshut/routes/GShutScenario_OpenBGPDIPv4/openbgpd69p/rs.txt b/tests/live_tests/scenarios/gshut/routes/GShutScenario_OpenBGPDIPv4/openbgpd69p/rs.txt new file mode 100644 index 00000000..3f3e8bb6 --- /dev/null +++ b/tests/live_tests/scenarios/gshut/routes/GShutScenario_OpenBGPDIPv4/openbgpd69p/rs.txt @@ -0,0 +1,28 @@ +2a02:1:1::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:1:2::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:2::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/gshut/routes/GShutScenario_OpenBGPDIPv6/openbgpd69/AS1.txt b/tests/live_tests/scenarios/gshut/routes/GShutScenario_OpenBGPDIPv6/openbgpd69/AS1.txt new file mode 100644 index 00000000..6a695ab1 --- /dev/null +++ b/tests/live_tests/scenarios/gshut/routes/GShutScenario_OpenBGPDIPv6/openbgpd69/AS1.txt @@ -0,0 +1,14 @@ +2a02:2:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 65535:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:2::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 65535:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/gshut/routes/GShutScenario_OpenBGPDIPv6/openbgpd69/AS2.txt b/tests/live_tests/scenarios/gshut/routes/GShutScenario_OpenBGPDIPv6/openbgpd69/AS2.txt new file mode 100644 index 00000000..4d268b5f --- /dev/null +++ b/tests/live_tests/scenarios/gshut/routes/GShutScenario_OpenBGPDIPv6/openbgpd69/AS2.txt @@ -0,0 +1,14 @@ +2a02:1:1::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 65535:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:1:2::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 65535:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/gshut/routes/GShutScenario_OpenBGPDIPv6/openbgpd69/rs.txt b/tests/live_tests/scenarios/gshut/routes/GShutScenario_OpenBGPDIPv6/openbgpd69/rs.txt new file mode 100644 index 00000000..3f3e8bb6 --- /dev/null +++ b/tests/live_tests/scenarios/gshut/routes/GShutScenario_OpenBGPDIPv6/openbgpd69/rs.txt @@ -0,0 +1,28 @@ +2a02:1:1::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:1:2::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:2::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/max_prefix/configs/MaxPrefixScenario_OpenBGPDIPv4/openbgpd68.conf b/tests/live_tests/scenarios/max_prefix/configs/MaxPrefixScenario_OpenBGPDIPv4/openbgpd68.conf index 0f5a9289..2e3e8ae1 100644 --- a/tests/live_tests/scenarios/max_prefix/configs/MaxPrefixScenario_OpenBGPDIPv4/openbgpd68.conf +++ b/tests/live_tests/scenarios/max_prefix/configs/MaxPrefixScenario_OpenBGPDIPv4/openbgpd68.conf @@ -7,6 +7,7 @@ log updates nexthop qualify via default + INTCOMM_PREF_OK_ROA="soo 65535:1" INTCOMM_ROUTE_OK_WL="soo 65535:2" INTCOMM_PREF_OK_ARINDB="soo 65535:3" @@ -39,6 +40,7 @@ group "clients" { neighbor 192.0.2.11 { remote-as 1 + passive ttl-security no max-prefix 4 @@ -55,6 +57,7 @@ group "clients" { neighbor 2001:db8:1:1::11 { remote-as 1 + passive ttl-security no max-prefix 4 @@ -71,6 +74,7 @@ group "clients" { neighbor 192.0.2.21 { remote-as 2 + passive ttl-security no max-prefix 3 @@ -87,6 +91,7 @@ group "clients" { neighbor 2001:db8:1:1::21 { remote-as 2 + passive ttl-security no max-prefix 3 @@ -103,6 +108,7 @@ group "clients" { neighbor 192.0.2.31 { remote-as 3 + passive ttl-security no max-prefix 2 @@ -119,6 +125,7 @@ group "clients" { neighbor 2001:db8:1:1::31 { remote-as 3 + passive ttl-security no max-prefix 2 @@ -135,6 +142,7 @@ group "clients" { neighbor 192.0.2.41 { remote-as 4 + passive ttl-security no max-prefix 6 @@ -151,6 +159,7 @@ group "clients" { neighbor 2001:db8:1:1::41 { remote-as 4 + passive ttl-security no max-prefix 6 @@ -264,6 +273,7 @@ match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ + # Set the 'rejected_route_announced_by' community for all the clients. # It will be removed later if the route is not invalid match from 192.0.2.11 set ext-community rt 65520:1 diff --git a/tests/live_tests/scenarios/max_prefix/configs/MaxPrefixScenario_OpenBGPDIPv4/openbgpd69.conf b/tests/live_tests/scenarios/max_prefix/configs/MaxPrefixScenario_OpenBGPDIPv4/openbgpd69.conf new file mode 100644 index 00000000..19371bc5 --- /dev/null +++ b/tests/live_tests/scenarios/max_prefix/configs/MaxPrefixScenario_OpenBGPDIPv4/openbgpd69.conf @@ -0,0 +1,969 @@ +# built by ARouteServer +AS 999 +router-id 192.0.2.2 + +fib-update no +log updates + +nexthop qualify via default + +rde evaluate all + +INTCOMM_PREF_OK_ROA="soo 65535:1" +INTCOMM_ROUTE_OK_WL="soo 65535:2" +INTCOMM_PREF_OK_ARINDB="soo 65535:3" +INTCOMM_PREF_OK_REGISTROBRDB="soo 65535:12" + +INTCOMM_ORIGIN_OK="soo 65535:4" +INTCOMM_ORIGIN_KO="soo 65535:5" +INTCOMM_PREFIX_OK="soo 65535:6" +INTCOMM_PREFIX_KO="soo 65535:7" +INTCOMM_IRR_REJECT="soo 65535:8" + +INTCOMM_RPKI_UNKNOWN="soo 65535:9" +INTCOMM_RPKI_INVALID="soo 65535:10" +INTCOMM_RPKI_VALID="soo 65535:11" + +INTCOMM_NO_EXPORT="soo 65535:65281" +INTCOMM_NO_ADVERTISE="soo 65535:65282" + +# --------------------------------------------------------- +# IRRDB + + + + +# --------------------------------------------------------- +# MEMBERS + +group "clients" { + + neighbor 192.0.2.11 { + remote-as 1 + + rde evaluate all + + passive + ttl-security no + max-prefix 4 + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::11 { + remote-as 1 + + rde evaluate all + + passive + ttl-security no + max-prefix 4 + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.21 { + remote-as 2 + + rde evaluate all + + passive + ttl-security no + max-prefix 3 + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::21 { + remote-as 2 + + rde evaluate all + + passive + ttl-security no + max-prefix 3 + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.31 { + remote-as 3 + + rde evaluate all + + passive + ttl-security no + max-prefix 2 + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::31 { + remote-as 3 + + rde evaluate all + + passive + ttl-security no + max-prefix 2 + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.41 { + remote-as 4 + + rde evaluate all + + passive + ttl-security no + max-prefix 6 + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::41 { + remote-as 4 + + rde evaluate all + + passive + ttl-security no + max-prefix 6 + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } +} + + + +# --------------------------------------------------------- +# FILTERS + +# NO_ADVERTISE usage notes. +# The NO_ADVERTISE well-know community is used here to handle +# filters that span over multiple steps. At first it is added +# to any route, then it is removed as filters conditions are +# satisfied. Finally, if it is still present, it means that +# the route should be discarded. + + + + + +prefix-set "bogons" { + 0.0.0.0/0 + 0.0.0.0/8 prefixlen 8 - 32 + 10.0.0.0/8 prefixlen 8 - 32 + 127.0.0.0/8 prefixlen 8 - 32 + 169.254.0.0/16 prefixlen 16 - 32 + 172.16.0.0/12 prefixlen 12 - 32 + 192.0.2.0/24 prefixlen 24 - 32 + 192.88.99.0/24 prefixlen 24 - 32 + 192.168.0.0/16 prefixlen 16 - 32 + 198.18.0.0/15 prefixlen 15 - 32 + 198.51.100.0/24 prefixlen 24 - 32 + 203.0.113.0/24 prefixlen 24 - 32 + 224.0.0.0/3 prefixlen 3 - 32 + 100.64.0.0/10 prefixlen 10 - 32 + ::/0 + ::/8 prefixlen 8 - 128 + 64:ff9b::/96 prefixlen 96 - 128 + 100::/8 prefixlen 8 - 128 + 200::/7 prefixlen 7 - 128 + 400::/6 prefixlen 6 - 128 + 800::/5 prefixlen 5 - 128 + 1000::/4 prefixlen 4 - 128 + 2001::/33 prefixlen 33 - 128 + 2001:0:8000::/33 prefixlen 33 - 128 + 2001:2::/48 prefixlen 48 - 128 + 2001:3::/32 prefixlen 32 - 128 + 2001:10::/28 prefixlen 28 - 128 + 2001:20::/28 prefixlen 28 - 128 + 2001:db8::/32 prefixlen 32 - 128 + 2002::/16 prefixlen 16 - 128 + 3ffe::/16 prefixlen 16 - 128 + 4000::/3 prefixlen 3 - 128 + 5f00::/8 prefixlen 8 - 128 + 6000::/3 prefixlen 3 - 128 + 8000::/3 prefixlen 3 - 128 + a000::/3 prefixlen 3 - 128 + c000::/3 prefixlen 3 - 128 + e000::/4 prefixlen 4 - 128 + f000::/5 prefixlen 5 - 128 + f800::/6 prefixlen 6 - 128 + fc00::/7 prefixlen 7 - 128 + fe80::/10 prefixlen 10 - 128 + fec0::/10 prefixlen 10 - 128 + ff00::/8 prefixlen 8 - 128 + +} + +# ===================================================================================== +# Global rules. + +# This part of configuration is processed at the beginning of the filters. +# The rules defined in this part are applied to all the clients, and not on a +# client-by-client basis (see the 'match from group clients'), so only global policies +# can be implemented here, that is no client-level configuration are allowed. + + + +# Scrub communities from inbound routes + +# Scrub internal communities from inbound routes +match from group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + + +# The main goal of this block is to enrich routes received from clients by attaching to them +# internal informational communities which are used later by the rest of the filter rules. + +# Internal communities used for RFC1997 well-known communities handling + +# Transform NO_EXPORT into $INTCOMM_NO_EXPORT +match from group clients community NO_EXPORT set { ext-community $INTCOMM_NO_EXPORT community delete NO_EXPORT } + +# Transform NO_ADVERTISE into $INTCOMM_NO_ADVERTISE +match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ADVERTISE community delete NO_ADVERTISE } + + + + + + + + + +# Set the 'rejected_route_announced_by' community for all the clients. +# It will be removed later if the route is not invalid +match from 192.0.2.11 set ext-community rt 65520:1 + +match from 2001:db8:1:1::11 set ext-community rt 65520:1 + +match from 192.0.2.21 set ext-community rt 65520:2 + +match from 2001:db8:1:1::21 set ext-community rt 65520:2 + +match from 192.0.2.31 set ext-community rt 65520:3 + +match from 2001:db8:1:1::31 set ext-community rt 65520:3 + +match from 192.0.2.41 set ext-community rt 65520:4 + +match from 2001:db8:1:1::41 set ext-community rt 65520:4 + + + + +# AS_PATH: length +# Reject inbound routes when 'from group clients max-as-len 32' - reject code: 1 +allow quick from group clients max-as-len 32 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:1} + + + +# Prefix: only IPv6 Global Unicast space allowed +match from group clients inet6 set community NO_ADVERTISE +match from group clients prefix 2000::/3 or-longer set community delete NO_ADVERTISE +# Reject inbound routes when 'from group clients community NO_ADVERTISE' - reject code: 10 +allow quick from group clients community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:10} + + +# Prefix: bogon +# Reject inbound routes when 'from group clients prefix-set bogons' - reject code: 2 +allow quick from group clients prefix-set bogons set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:2} + + + + +# ===================================================================================== +# Per client rules. + + +# --------------------------------------------- +# client AS1_1, inbound + + + +# NEXT_HOP +match from 192.0.2.11 set community NO_ADVERTISE +match from 192.0.2.11 nexthop 192.0.2.11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.11 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.11 peer-as != 1' - reject code: 6 +allow quick from 192.0.2.11 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.11 AS 23456' - reject code: 7 +allow quick from 192.0.2.11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.11 set ext-community delete rt 65520:1 + + + +allow quick from 192.0.2.11 + + + +# --------------------------------------------- +# client AS1_1, outbound + +deny quick to 192.0.2.11 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.11 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.11 + + + + + + +# --------------------------------------------- +# client AS1_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::11 set community NO_ADVERTISE +match from 2001:db8:1:1::11 nexthop 2001:db8:1:1::11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::11 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::11 peer-as != 1' - reject code: 6 +allow quick from 2001:db8:1:1::11 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::11 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::11 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::11 set ext-community delete rt 65520:1 + + + +allow quick from 2001:db8:1:1::11 + + + +# --------------------------------------------- +# client AS1_2, outbound + +deny quick to 2001:db8:1:1::11 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::11 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::11 + + + + + + +# --------------------------------------------- +# client AS2_1, inbound + + + +# NEXT_HOP +match from 192.0.2.21 set community NO_ADVERTISE +match from 192.0.2.21 nexthop 192.0.2.21 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.21 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.21 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.21 peer-as != 2' - reject code: 6 +allow quick from 192.0.2.21 peer-as != 2 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.21 AS 23456' - reject code: 7 +allow quick from 192.0.2.21 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.21 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.21 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.21 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.21 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.21 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.21 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.21 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.21 set ext-community delete rt 65520:2 + + + +allow quick from 192.0.2.21 + + + +# --------------------------------------------- +# client AS2_1, outbound + +deny quick to 192.0.2.21 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.21 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.21 + + + + + + +# --------------------------------------------- +# client AS2_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::21 set community NO_ADVERTISE +match from 2001:db8:1:1::21 nexthop 2001:db8:1:1::21 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::21 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::21 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::21 peer-as != 2' - reject code: 6 +allow quick from 2001:db8:1:1::21 peer-as != 2 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::21 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::21 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::21 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::21 set ext-community delete rt 65520:2 + + + +allow quick from 2001:db8:1:1::21 + + + +# --------------------------------------------- +# client AS2_2, outbound + +deny quick to 2001:db8:1:1::21 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::21 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::21 + + + + + + +# --------------------------------------------- +# client AS3_1, inbound + + + +# NEXT_HOP +match from 192.0.2.31 set community NO_ADVERTISE +match from 192.0.2.31 nexthop 192.0.2.31 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.31 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.31 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.31 peer-as != 3' - reject code: 6 +allow quick from 192.0.2.31 peer-as != 3 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.31 AS 23456' - reject code: 7 +allow quick from 192.0.2.31 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.31 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.31 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.31 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.31 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.31 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.31 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.31 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.31 set ext-community delete rt 65520:3 + + + +allow quick from 192.0.2.31 + + + +# --------------------------------------------- +# client AS3_1, outbound + +deny quick to 192.0.2.31 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.31 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.31 + + + + + + +# --------------------------------------------- +# client AS3_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::31 set community NO_ADVERTISE +match from 2001:db8:1:1::31 nexthop 2001:db8:1:1::31 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::31 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::31 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::31 peer-as != 3' - reject code: 6 +allow quick from 2001:db8:1:1::31 peer-as != 3 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::31 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::31 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::31 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::31 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::31 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::31 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::31 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::31 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::31 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::31 set ext-community delete rt 65520:3 + + + +allow quick from 2001:db8:1:1::31 + + + +# --------------------------------------------- +# client AS3_2, outbound + +deny quick to 2001:db8:1:1::31 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::31 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::31 + + + + + + +# --------------------------------------------- +# client AS4_1, inbound + + + +# NEXT_HOP +match from 192.0.2.41 set community NO_ADVERTISE +match from 192.0.2.41 nexthop 192.0.2.41 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.41 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.41 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.41 peer-as != 4' - reject code: 6 +allow quick from 192.0.2.41 peer-as != 4 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.41 AS 23456' - reject code: 7 +allow quick from 192.0.2.41 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.41 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.41 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.41 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.41 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.41 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.41 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.41 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.41 set ext-community delete rt 65520:4 + + + +allow quick from 192.0.2.41 + + + +# --------------------------------------------- +# client AS4_1, outbound + +deny quick to 192.0.2.41 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.41 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.41 + + + + + + +# --------------------------------------------- +# client AS4_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::41 set community NO_ADVERTISE +match from 2001:db8:1:1::41 nexthop 2001:db8:1:1::41 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::41 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::41 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::41 peer-as != 4' - reject code: 6 +allow quick from 2001:db8:1:1::41 peer-as != 4 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::41 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::41 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::41 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::41 set ext-community delete rt 65520:4 + + + +allow quick from 2001:db8:1:1::41 + + + +# --------------------------------------------- +# client AS4_2, outbound + +deny quick to 2001:db8:1:1::41 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::41 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::41 + + + + + + + + +# Scrub communities from outbound routes + +# Scrub prepending communities + + +# RFC1997 NO_EXPORT/NO_ADVERTISE received from clients and propagated because of pass-through policy +match to group clients ext-community $INTCOMM_NO_EXPORT set community NO_EXPORT +match to group clients ext-community $INTCOMM_NO_ADVERTISE set community NO_ADVERTISE + +# Remove internal communities before announcing the route +match to group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + diff --git a/tests/live_tests/scenarios/max_prefix/configs/MaxPrefixScenario_OpenBGPDIPv4/openbgpd69p.conf b/tests/live_tests/scenarios/max_prefix/configs/MaxPrefixScenario_OpenBGPDIPv4/openbgpd69p.conf new file mode 100644 index 00000000..19371bc5 --- /dev/null +++ b/tests/live_tests/scenarios/max_prefix/configs/MaxPrefixScenario_OpenBGPDIPv4/openbgpd69p.conf @@ -0,0 +1,969 @@ +# built by ARouteServer +AS 999 +router-id 192.0.2.2 + +fib-update no +log updates + +nexthop qualify via default + +rde evaluate all + +INTCOMM_PREF_OK_ROA="soo 65535:1" +INTCOMM_ROUTE_OK_WL="soo 65535:2" +INTCOMM_PREF_OK_ARINDB="soo 65535:3" +INTCOMM_PREF_OK_REGISTROBRDB="soo 65535:12" + +INTCOMM_ORIGIN_OK="soo 65535:4" +INTCOMM_ORIGIN_KO="soo 65535:5" +INTCOMM_PREFIX_OK="soo 65535:6" +INTCOMM_PREFIX_KO="soo 65535:7" +INTCOMM_IRR_REJECT="soo 65535:8" + +INTCOMM_RPKI_UNKNOWN="soo 65535:9" +INTCOMM_RPKI_INVALID="soo 65535:10" +INTCOMM_RPKI_VALID="soo 65535:11" + +INTCOMM_NO_EXPORT="soo 65535:65281" +INTCOMM_NO_ADVERTISE="soo 65535:65282" + +# --------------------------------------------------------- +# IRRDB + + + + +# --------------------------------------------------------- +# MEMBERS + +group "clients" { + + neighbor 192.0.2.11 { + remote-as 1 + + rde evaluate all + + passive + ttl-security no + max-prefix 4 + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::11 { + remote-as 1 + + rde evaluate all + + passive + ttl-security no + max-prefix 4 + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.21 { + remote-as 2 + + rde evaluate all + + passive + ttl-security no + max-prefix 3 + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::21 { + remote-as 2 + + rde evaluate all + + passive + ttl-security no + max-prefix 3 + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.31 { + remote-as 3 + + rde evaluate all + + passive + ttl-security no + max-prefix 2 + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::31 { + remote-as 3 + + rde evaluate all + + passive + ttl-security no + max-prefix 2 + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.41 { + remote-as 4 + + rde evaluate all + + passive + ttl-security no + max-prefix 6 + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::41 { + remote-as 4 + + rde evaluate all + + passive + ttl-security no + max-prefix 6 + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } +} + + + +# --------------------------------------------------------- +# FILTERS + +# NO_ADVERTISE usage notes. +# The NO_ADVERTISE well-know community is used here to handle +# filters that span over multiple steps. At first it is added +# to any route, then it is removed as filters conditions are +# satisfied. Finally, if it is still present, it means that +# the route should be discarded. + + + + + +prefix-set "bogons" { + 0.0.0.0/0 + 0.0.0.0/8 prefixlen 8 - 32 + 10.0.0.0/8 prefixlen 8 - 32 + 127.0.0.0/8 prefixlen 8 - 32 + 169.254.0.0/16 prefixlen 16 - 32 + 172.16.0.0/12 prefixlen 12 - 32 + 192.0.2.0/24 prefixlen 24 - 32 + 192.88.99.0/24 prefixlen 24 - 32 + 192.168.0.0/16 prefixlen 16 - 32 + 198.18.0.0/15 prefixlen 15 - 32 + 198.51.100.0/24 prefixlen 24 - 32 + 203.0.113.0/24 prefixlen 24 - 32 + 224.0.0.0/3 prefixlen 3 - 32 + 100.64.0.0/10 prefixlen 10 - 32 + ::/0 + ::/8 prefixlen 8 - 128 + 64:ff9b::/96 prefixlen 96 - 128 + 100::/8 prefixlen 8 - 128 + 200::/7 prefixlen 7 - 128 + 400::/6 prefixlen 6 - 128 + 800::/5 prefixlen 5 - 128 + 1000::/4 prefixlen 4 - 128 + 2001::/33 prefixlen 33 - 128 + 2001:0:8000::/33 prefixlen 33 - 128 + 2001:2::/48 prefixlen 48 - 128 + 2001:3::/32 prefixlen 32 - 128 + 2001:10::/28 prefixlen 28 - 128 + 2001:20::/28 prefixlen 28 - 128 + 2001:db8::/32 prefixlen 32 - 128 + 2002::/16 prefixlen 16 - 128 + 3ffe::/16 prefixlen 16 - 128 + 4000::/3 prefixlen 3 - 128 + 5f00::/8 prefixlen 8 - 128 + 6000::/3 prefixlen 3 - 128 + 8000::/3 prefixlen 3 - 128 + a000::/3 prefixlen 3 - 128 + c000::/3 prefixlen 3 - 128 + e000::/4 prefixlen 4 - 128 + f000::/5 prefixlen 5 - 128 + f800::/6 prefixlen 6 - 128 + fc00::/7 prefixlen 7 - 128 + fe80::/10 prefixlen 10 - 128 + fec0::/10 prefixlen 10 - 128 + ff00::/8 prefixlen 8 - 128 + +} + +# ===================================================================================== +# Global rules. + +# This part of configuration is processed at the beginning of the filters. +# The rules defined in this part are applied to all the clients, and not on a +# client-by-client basis (see the 'match from group clients'), so only global policies +# can be implemented here, that is no client-level configuration are allowed. + + + +# Scrub communities from inbound routes + +# Scrub internal communities from inbound routes +match from group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + + +# The main goal of this block is to enrich routes received from clients by attaching to them +# internal informational communities which are used later by the rest of the filter rules. + +# Internal communities used for RFC1997 well-known communities handling + +# Transform NO_EXPORT into $INTCOMM_NO_EXPORT +match from group clients community NO_EXPORT set { ext-community $INTCOMM_NO_EXPORT community delete NO_EXPORT } + +# Transform NO_ADVERTISE into $INTCOMM_NO_ADVERTISE +match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ADVERTISE community delete NO_ADVERTISE } + + + + + + + + + +# Set the 'rejected_route_announced_by' community for all the clients. +# It will be removed later if the route is not invalid +match from 192.0.2.11 set ext-community rt 65520:1 + +match from 2001:db8:1:1::11 set ext-community rt 65520:1 + +match from 192.0.2.21 set ext-community rt 65520:2 + +match from 2001:db8:1:1::21 set ext-community rt 65520:2 + +match from 192.0.2.31 set ext-community rt 65520:3 + +match from 2001:db8:1:1::31 set ext-community rt 65520:3 + +match from 192.0.2.41 set ext-community rt 65520:4 + +match from 2001:db8:1:1::41 set ext-community rt 65520:4 + + + + +# AS_PATH: length +# Reject inbound routes when 'from group clients max-as-len 32' - reject code: 1 +allow quick from group clients max-as-len 32 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:1} + + + +# Prefix: only IPv6 Global Unicast space allowed +match from group clients inet6 set community NO_ADVERTISE +match from group clients prefix 2000::/3 or-longer set community delete NO_ADVERTISE +# Reject inbound routes when 'from group clients community NO_ADVERTISE' - reject code: 10 +allow quick from group clients community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:10} + + +# Prefix: bogon +# Reject inbound routes when 'from group clients prefix-set bogons' - reject code: 2 +allow quick from group clients prefix-set bogons set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:2} + + + + +# ===================================================================================== +# Per client rules. + + +# --------------------------------------------- +# client AS1_1, inbound + + + +# NEXT_HOP +match from 192.0.2.11 set community NO_ADVERTISE +match from 192.0.2.11 nexthop 192.0.2.11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.11 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.11 peer-as != 1' - reject code: 6 +allow quick from 192.0.2.11 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.11 AS 23456' - reject code: 7 +allow quick from 192.0.2.11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.11 set ext-community delete rt 65520:1 + + + +allow quick from 192.0.2.11 + + + +# --------------------------------------------- +# client AS1_1, outbound + +deny quick to 192.0.2.11 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.11 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.11 + + + + + + +# --------------------------------------------- +# client AS1_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::11 set community NO_ADVERTISE +match from 2001:db8:1:1::11 nexthop 2001:db8:1:1::11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::11 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::11 peer-as != 1' - reject code: 6 +allow quick from 2001:db8:1:1::11 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::11 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::11 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::11 set ext-community delete rt 65520:1 + + + +allow quick from 2001:db8:1:1::11 + + + +# --------------------------------------------- +# client AS1_2, outbound + +deny quick to 2001:db8:1:1::11 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::11 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::11 + + + + + + +# --------------------------------------------- +# client AS2_1, inbound + + + +# NEXT_HOP +match from 192.0.2.21 set community NO_ADVERTISE +match from 192.0.2.21 nexthop 192.0.2.21 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.21 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.21 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.21 peer-as != 2' - reject code: 6 +allow quick from 192.0.2.21 peer-as != 2 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.21 AS 23456' - reject code: 7 +allow quick from 192.0.2.21 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.21 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.21 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.21 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.21 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.21 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.21 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.21 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.21 set ext-community delete rt 65520:2 + + + +allow quick from 192.0.2.21 + + + +# --------------------------------------------- +# client AS2_1, outbound + +deny quick to 192.0.2.21 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.21 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.21 + + + + + + +# --------------------------------------------- +# client AS2_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::21 set community NO_ADVERTISE +match from 2001:db8:1:1::21 nexthop 2001:db8:1:1::21 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::21 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::21 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::21 peer-as != 2' - reject code: 6 +allow quick from 2001:db8:1:1::21 peer-as != 2 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::21 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::21 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::21 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::21 set ext-community delete rt 65520:2 + + + +allow quick from 2001:db8:1:1::21 + + + +# --------------------------------------------- +# client AS2_2, outbound + +deny quick to 2001:db8:1:1::21 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::21 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::21 + + + + + + +# --------------------------------------------- +# client AS3_1, inbound + + + +# NEXT_HOP +match from 192.0.2.31 set community NO_ADVERTISE +match from 192.0.2.31 nexthop 192.0.2.31 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.31 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.31 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.31 peer-as != 3' - reject code: 6 +allow quick from 192.0.2.31 peer-as != 3 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.31 AS 23456' - reject code: 7 +allow quick from 192.0.2.31 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.31 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.31 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.31 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.31 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.31 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.31 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.31 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.31 set ext-community delete rt 65520:3 + + + +allow quick from 192.0.2.31 + + + +# --------------------------------------------- +# client AS3_1, outbound + +deny quick to 192.0.2.31 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.31 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.31 + + + + + + +# --------------------------------------------- +# client AS3_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::31 set community NO_ADVERTISE +match from 2001:db8:1:1::31 nexthop 2001:db8:1:1::31 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::31 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::31 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::31 peer-as != 3' - reject code: 6 +allow quick from 2001:db8:1:1::31 peer-as != 3 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::31 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::31 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::31 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::31 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::31 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::31 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::31 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::31 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::31 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::31 set ext-community delete rt 65520:3 + + + +allow quick from 2001:db8:1:1::31 + + + +# --------------------------------------------- +# client AS3_2, outbound + +deny quick to 2001:db8:1:1::31 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::31 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::31 + + + + + + +# --------------------------------------------- +# client AS4_1, inbound + + + +# NEXT_HOP +match from 192.0.2.41 set community NO_ADVERTISE +match from 192.0.2.41 nexthop 192.0.2.41 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.41 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.41 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.41 peer-as != 4' - reject code: 6 +allow quick from 192.0.2.41 peer-as != 4 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.41 AS 23456' - reject code: 7 +allow quick from 192.0.2.41 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.41 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.41 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.41 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.41 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.41 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.41 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.41 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.41 set ext-community delete rt 65520:4 + + + +allow quick from 192.0.2.41 + + + +# --------------------------------------------- +# client AS4_1, outbound + +deny quick to 192.0.2.41 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.41 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.41 + + + + + + +# --------------------------------------------- +# client AS4_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::41 set community NO_ADVERTISE +match from 2001:db8:1:1::41 nexthop 2001:db8:1:1::41 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::41 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::41 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::41 peer-as != 4' - reject code: 6 +allow quick from 2001:db8:1:1::41 peer-as != 4 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::41 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::41 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::41 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::41 set ext-community delete rt 65520:4 + + + +allow quick from 2001:db8:1:1::41 + + + +# --------------------------------------------- +# client AS4_2, outbound + +deny quick to 2001:db8:1:1::41 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::41 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::41 + + + + + + + + +# Scrub communities from outbound routes + +# Scrub prepending communities + + +# RFC1997 NO_EXPORT/NO_ADVERTISE received from clients and propagated because of pass-through policy +match to group clients ext-community $INTCOMM_NO_EXPORT set community NO_EXPORT +match to group clients ext-community $INTCOMM_NO_ADVERTISE set community NO_ADVERTISE + +# Remove internal communities before announcing the route +match to group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + diff --git a/tests/live_tests/scenarios/max_prefix/configs/MaxPrefixScenario_OpenBGPDIPv6/openbgpd68.conf b/tests/live_tests/scenarios/max_prefix/configs/MaxPrefixScenario_OpenBGPDIPv6/openbgpd68.conf index 0f5a9289..2e3e8ae1 100644 --- a/tests/live_tests/scenarios/max_prefix/configs/MaxPrefixScenario_OpenBGPDIPv6/openbgpd68.conf +++ b/tests/live_tests/scenarios/max_prefix/configs/MaxPrefixScenario_OpenBGPDIPv6/openbgpd68.conf @@ -7,6 +7,7 @@ log updates nexthop qualify via default + INTCOMM_PREF_OK_ROA="soo 65535:1" INTCOMM_ROUTE_OK_WL="soo 65535:2" INTCOMM_PREF_OK_ARINDB="soo 65535:3" @@ -39,6 +40,7 @@ group "clients" { neighbor 192.0.2.11 { remote-as 1 + passive ttl-security no max-prefix 4 @@ -55,6 +57,7 @@ group "clients" { neighbor 2001:db8:1:1::11 { remote-as 1 + passive ttl-security no max-prefix 4 @@ -71,6 +74,7 @@ group "clients" { neighbor 192.0.2.21 { remote-as 2 + passive ttl-security no max-prefix 3 @@ -87,6 +91,7 @@ group "clients" { neighbor 2001:db8:1:1::21 { remote-as 2 + passive ttl-security no max-prefix 3 @@ -103,6 +108,7 @@ group "clients" { neighbor 192.0.2.31 { remote-as 3 + passive ttl-security no max-prefix 2 @@ -119,6 +125,7 @@ group "clients" { neighbor 2001:db8:1:1::31 { remote-as 3 + passive ttl-security no max-prefix 2 @@ -135,6 +142,7 @@ group "clients" { neighbor 192.0.2.41 { remote-as 4 + passive ttl-security no max-prefix 6 @@ -151,6 +159,7 @@ group "clients" { neighbor 2001:db8:1:1::41 { remote-as 4 + passive ttl-security no max-prefix 6 @@ -264,6 +273,7 @@ match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ + # Set the 'rejected_route_announced_by' community for all the clients. # It will be removed later if the route is not invalid match from 192.0.2.11 set ext-community rt 65520:1 diff --git a/tests/live_tests/scenarios/max_prefix/configs/MaxPrefixScenario_OpenBGPDIPv6/openbgpd69.conf b/tests/live_tests/scenarios/max_prefix/configs/MaxPrefixScenario_OpenBGPDIPv6/openbgpd69.conf new file mode 100644 index 00000000..19371bc5 --- /dev/null +++ b/tests/live_tests/scenarios/max_prefix/configs/MaxPrefixScenario_OpenBGPDIPv6/openbgpd69.conf @@ -0,0 +1,969 @@ +# built by ARouteServer +AS 999 +router-id 192.0.2.2 + +fib-update no +log updates + +nexthop qualify via default + +rde evaluate all + +INTCOMM_PREF_OK_ROA="soo 65535:1" +INTCOMM_ROUTE_OK_WL="soo 65535:2" +INTCOMM_PREF_OK_ARINDB="soo 65535:3" +INTCOMM_PREF_OK_REGISTROBRDB="soo 65535:12" + +INTCOMM_ORIGIN_OK="soo 65535:4" +INTCOMM_ORIGIN_KO="soo 65535:5" +INTCOMM_PREFIX_OK="soo 65535:6" +INTCOMM_PREFIX_KO="soo 65535:7" +INTCOMM_IRR_REJECT="soo 65535:8" + +INTCOMM_RPKI_UNKNOWN="soo 65535:9" +INTCOMM_RPKI_INVALID="soo 65535:10" +INTCOMM_RPKI_VALID="soo 65535:11" + +INTCOMM_NO_EXPORT="soo 65535:65281" +INTCOMM_NO_ADVERTISE="soo 65535:65282" + +# --------------------------------------------------------- +# IRRDB + + + + +# --------------------------------------------------------- +# MEMBERS + +group "clients" { + + neighbor 192.0.2.11 { + remote-as 1 + + rde evaluate all + + passive + ttl-security no + max-prefix 4 + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::11 { + remote-as 1 + + rde evaluate all + + passive + ttl-security no + max-prefix 4 + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.21 { + remote-as 2 + + rde evaluate all + + passive + ttl-security no + max-prefix 3 + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::21 { + remote-as 2 + + rde evaluate all + + passive + ttl-security no + max-prefix 3 + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.31 { + remote-as 3 + + rde evaluate all + + passive + ttl-security no + max-prefix 2 + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::31 { + remote-as 3 + + rde evaluate all + + passive + ttl-security no + max-prefix 2 + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.41 { + remote-as 4 + + rde evaluate all + + passive + ttl-security no + max-prefix 6 + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::41 { + remote-as 4 + + rde evaluate all + + passive + ttl-security no + max-prefix 6 + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } +} + + + +# --------------------------------------------------------- +# FILTERS + +# NO_ADVERTISE usage notes. +# The NO_ADVERTISE well-know community is used here to handle +# filters that span over multiple steps. At first it is added +# to any route, then it is removed as filters conditions are +# satisfied. Finally, if it is still present, it means that +# the route should be discarded. + + + + + +prefix-set "bogons" { + 0.0.0.0/0 + 0.0.0.0/8 prefixlen 8 - 32 + 10.0.0.0/8 prefixlen 8 - 32 + 127.0.0.0/8 prefixlen 8 - 32 + 169.254.0.0/16 prefixlen 16 - 32 + 172.16.0.0/12 prefixlen 12 - 32 + 192.0.2.0/24 prefixlen 24 - 32 + 192.88.99.0/24 prefixlen 24 - 32 + 192.168.0.0/16 prefixlen 16 - 32 + 198.18.0.0/15 prefixlen 15 - 32 + 198.51.100.0/24 prefixlen 24 - 32 + 203.0.113.0/24 prefixlen 24 - 32 + 224.0.0.0/3 prefixlen 3 - 32 + 100.64.0.0/10 prefixlen 10 - 32 + ::/0 + ::/8 prefixlen 8 - 128 + 64:ff9b::/96 prefixlen 96 - 128 + 100::/8 prefixlen 8 - 128 + 200::/7 prefixlen 7 - 128 + 400::/6 prefixlen 6 - 128 + 800::/5 prefixlen 5 - 128 + 1000::/4 prefixlen 4 - 128 + 2001::/33 prefixlen 33 - 128 + 2001:0:8000::/33 prefixlen 33 - 128 + 2001:2::/48 prefixlen 48 - 128 + 2001:3::/32 prefixlen 32 - 128 + 2001:10::/28 prefixlen 28 - 128 + 2001:20::/28 prefixlen 28 - 128 + 2001:db8::/32 prefixlen 32 - 128 + 2002::/16 prefixlen 16 - 128 + 3ffe::/16 prefixlen 16 - 128 + 4000::/3 prefixlen 3 - 128 + 5f00::/8 prefixlen 8 - 128 + 6000::/3 prefixlen 3 - 128 + 8000::/3 prefixlen 3 - 128 + a000::/3 prefixlen 3 - 128 + c000::/3 prefixlen 3 - 128 + e000::/4 prefixlen 4 - 128 + f000::/5 prefixlen 5 - 128 + f800::/6 prefixlen 6 - 128 + fc00::/7 prefixlen 7 - 128 + fe80::/10 prefixlen 10 - 128 + fec0::/10 prefixlen 10 - 128 + ff00::/8 prefixlen 8 - 128 + +} + +# ===================================================================================== +# Global rules. + +# This part of configuration is processed at the beginning of the filters. +# The rules defined in this part are applied to all the clients, and not on a +# client-by-client basis (see the 'match from group clients'), so only global policies +# can be implemented here, that is no client-level configuration are allowed. + + + +# Scrub communities from inbound routes + +# Scrub internal communities from inbound routes +match from group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + + +# The main goal of this block is to enrich routes received from clients by attaching to them +# internal informational communities which are used later by the rest of the filter rules. + +# Internal communities used for RFC1997 well-known communities handling + +# Transform NO_EXPORT into $INTCOMM_NO_EXPORT +match from group clients community NO_EXPORT set { ext-community $INTCOMM_NO_EXPORT community delete NO_EXPORT } + +# Transform NO_ADVERTISE into $INTCOMM_NO_ADVERTISE +match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ADVERTISE community delete NO_ADVERTISE } + + + + + + + + + +# Set the 'rejected_route_announced_by' community for all the clients. +# It will be removed later if the route is not invalid +match from 192.0.2.11 set ext-community rt 65520:1 + +match from 2001:db8:1:1::11 set ext-community rt 65520:1 + +match from 192.0.2.21 set ext-community rt 65520:2 + +match from 2001:db8:1:1::21 set ext-community rt 65520:2 + +match from 192.0.2.31 set ext-community rt 65520:3 + +match from 2001:db8:1:1::31 set ext-community rt 65520:3 + +match from 192.0.2.41 set ext-community rt 65520:4 + +match from 2001:db8:1:1::41 set ext-community rt 65520:4 + + + + +# AS_PATH: length +# Reject inbound routes when 'from group clients max-as-len 32' - reject code: 1 +allow quick from group clients max-as-len 32 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:1} + + + +# Prefix: only IPv6 Global Unicast space allowed +match from group clients inet6 set community NO_ADVERTISE +match from group clients prefix 2000::/3 or-longer set community delete NO_ADVERTISE +# Reject inbound routes when 'from group clients community NO_ADVERTISE' - reject code: 10 +allow quick from group clients community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:10} + + +# Prefix: bogon +# Reject inbound routes when 'from group clients prefix-set bogons' - reject code: 2 +allow quick from group clients prefix-set bogons set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:2} + + + + +# ===================================================================================== +# Per client rules. + + +# --------------------------------------------- +# client AS1_1, inbound + + + +# NEXT_HOP +match from 192.0.2.11 set community NO_ADVERTISE +match from 192.0.2.11 nexthop 192.0.2.11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.11 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.11 peer-as != 1' - reject code: 6 +allow quick from 192.0.2.11 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.11 AS 23456' - reject code: 7 +allow quick from 192.0.2.11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.11 set ext-community delete rt 65520:1 + + + +allow quick from 192.0.2.11 + + + +# --------------------------------------------- +# client AS1_1, outbound + +deny quick to 192.0.2.11 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.11 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.11 + + + + + + +# --------------------------------------------- +# client AS1_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::11 set community NO_ADVERTISE +match from 2001:db8:1:1::11 nexthop 2001:db8:1:1::11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::11 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::11 peer-as != 1' - reject code: 6 +allow quick from 2001:db8:1:1::11 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::11 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::11 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::11 set ext-community delete rt 65520:1 + + + +allow quick from 2001:db8:1:1::11 + + + +# --------------------------------------------- +# client AS1_2, outbound + +deny quick to 2001:db8:1:1::11 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::11 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::11 + + + + + + +# --------------------------------------------- +# client AS2_1, inbound + + + +# NEXT_HOP +match from 192.0.2.21 set community NO_ADVERTISE +match from 192.0.2.21 nexthop 192.0.2.21 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.21 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.21 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.21 peer-as != 2' - reject code: 6 +allow quick from 192.0.2.21 peer-as != 2 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.21 AS 23456' - reject code: 7 +allow quick from 192.0.2.21 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.21 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.21 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.21 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.21 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.21 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.21 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.21 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.21 set ext-community delete rt 65520:2 + + + +allow quick from 192.0.2.21 + + + +# --------------------------------------------- +# client AS2_1, outbound + +deny quick to 192.0.2.21 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.21 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.21 + + + + + + +# --------------------------------------------- +# client AS2_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::21 set community NO_ADVERTISE +match from 2001:db8:1:1::21 nexthop 2001:db8:1:1::21 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::21 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::21 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::21 peer-as != 2' - reject code: 6 +allow quick from 2001:db8:1:1::21 peer-as != 2 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::21 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::21 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::21 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::21 set ext-community delete rt 65520:2 + + + +allow quick from 2001:db8:1:1::21 + + + +# --------------------------------------------- +# client AS2_2, outbound + +deny quick to 2001:db8:1:1::21 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::21 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::21 + + + + + + +# --------------------------------------------- +# client AS3_1, inbound + + + +# NEXT_HOP +match from 192.0.2.31 set community NO_ADVERTISE +match from 192.0.2.31 nexthop 192.0.2.31 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.31 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.31 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.31 peer-as != 3' - reject code: 6 +allow quick from 192.0.2.31 peer-as != 3 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.31 AS 23456' - reject code: 7 +allow quick from 192.0.2.31 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.31 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.31 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.31 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.31 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.31 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.31 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.31 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.31 set ext-community delete rt 65520:3 + + + +allow quick from 192.0.2.31 + + + +# --------------------------------------------- +# client AS3_1, outbound + +deny quick to 192.0.2.31 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.31 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.31 + + + + + + +# --------------------------------------------- +# client AS3_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::31 set community NO_ADVERTISE +match from 2001:db8:1:1::31 nexthop 2001:db8:1:1::31 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::31 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::31 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::31 peer-as != 3' - reject code: 6 +allow quick from 2001:db8:1:1::31 peer-as != 3 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::31 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::31 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::31 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::31 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::31 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::31 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::31 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::31 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::31 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::31 set ext-community delete rt 65520:3 + + + +allow quick from 2001:db8:1:1::31 + + + +# --------------------------------------------- +# client AS3_2, outbound + +deny quick to 2001:db8:1:1::31 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::31 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::31 + + + + + + +# --------------------------------------------- +# client AS4_1, inbound + + + +# NEXT_HOP +match from 192.0.2.41 set community NO_ADVERTISE +match from 192.0.2.41 nexthop 192.0.2.41 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.41 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.41 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.41 peer-as != 4' - reject code: 6 +allow quick from 192.0.2.41 peer-as != 4 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.41 AS 23456' - reject code: 7 +allow quick from 192.0.2.41 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.41 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.41 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.41 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.41 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.41 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.41 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.41 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.41 set ext-community delete rt 65520:4 + + + +allow quick from 192.0.2.41 + + + +# --------------------------------------------- +# client AS4_1, outbound + +deny quick to 192.0.2.41 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.41 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.41 + + + + + + +# --------------------------------------------- +# client AS4_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::41 set community NO_ADVERTISE +match from 2001:db8:1:1::41 nexthop 2001:db8:1:1::41 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::41 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::41 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::41 peer-as != 4' - reject code: 6 +allow quick from 2001:db8:1:1::41 peer-as != 4 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::41 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::41 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::41 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::41 set ext-community delete rt 65520:4 + + + +allow quick from 2001:db8:1:1::41 + + + +# --------------------------------------------- +# client AS4_2, outbound + +deny quick to 2001:db8:1:1::41 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::41 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::41 + + + + + + + + +# Scrub communities from outbound routes + +# Scrub prepending communities + + +# RFC1997 NO_EXPORT/NO_ADVERTISE received from clients and propagated because of pass-through policy +match to group clients ext-community $INTCOMM_NO_EXPORT set community NO_EXPORT +match to group clients ext-community $INTCOMM_NO_ADVERTISE set community NO_ADVERTISE + +# Remove internal communities before announcing the route +match to group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + diff --git a/tests/live_tests/scenarios/max_prefix/configs/MaxPrefixScenario_OpenBGPDIPv6/openbgpd69p.conf b/tests/live_tests/scenarios/max_prefix/configs/MaxPrefixScenario_OpenBGPDIPv6/openbgpd69p.conf new file mode 100644 index 00000000..19371bc5 --- /dev/null +++ b/tests/live_tests/scenarios/max_prefix/configs/MaxPrefixScenario_OpenBGPDIPv6/openbgpd69p.conf @@ -0,0 +1,969 @@ +# built by ARouteServer +AS 999 +router-id 192.0.2.2 + +fib-update no +log updates + +nexthop qualify via default + +rde evaluate all + +INTCOMM_PREF_OK_ROA="soo 65535:1" +INTCOMM_ROUTE_OK_WL="soo 65535:2" +INTCOMM_PREF_OK_ARINDB="soo 65535:3" +INTCOMM_PREF_OK_REGISTROBRDB="soo 65535:12" + +INTCOMM_ORIGIN_OK="soo 65535:4" +INTCOMM_ORIGIN_KO="soo 65535:5" +INTCOMM_PREFIX_OK="soo 65535:6" +INTCOMM_PREFIX_KO="soo 65535:7" +INTCOMM_IRR_REJECT="soo 65535:8" + +INTCOMM_RPKI_UNKNOWN="soo 65535:9" +INTCOMM_RPKI_INVALID="soo 65535:10" +INTCOMM_RPKI_VALID="soo 65535:11" + +INTCOMM_NO_EXPORT="soo 65535:65281" +INTCOMM_NO_ADVERTISE="soo 65535:65282" + +# --------------------------------------------------------- +# IRRDB + + + + +# --------------------------------------------------------- +# MEMBERS + +group "clients" { + + neighbor 192.0.2.11 { + remote-as 1 + + rde evaluate all + + passive + ttl-security no + max-prefix 4 + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::11 { + remote-as 1 + + rde evaluate all + + passive + ttl-security no + max-prefix 4 + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.21 { + remote-as 2 + + rde evaluate all + + passive + ttl-security no + max-prefix 3 + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::21 { + remote-as 2 + + rde evaluate all + + passive + ttl-security no + max-prefix 3 + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.31 { + remote-as 3 + + rde evaluate all + + passive + ttl-security no + max-prefix 2 + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::31 { + remote-as 3 + + rde evaluate all + + passive + ttl-security no + max-prefix 2 + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.41 { + remote-as 4 + + rde evaluate all + + passive + ttl-security no + max-prefix 6 + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::41 { + remote-as 4 + + rde evaluate all + + passive + ttl-security no + max-prefix 6 + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } +} + + + +# --------------------------------------------------------- +# FILTERS + +# NO_ADVERTISE usage notes. +# The NO_ADVERTISE well-know community is used here to handle +# filters that span over multiple steps. At first it is added +# to any route, then it is removed as filters conditions are +# satisfied. Finally, if it is still present, it means that +# the route should be discarded. + + + + + +prefix-set "bogons" { + 0.0.0.0/0 + 0.0.0.0/8 prefixlen 8 - 32 + 10.0.0.0/8 prefixlen 8 - 32 + 127.0.0.0/8 prefixlen 8 - 32 + 169.254.0.0/16 prefixlen 16 - 32 + 172.16.0.0/12 prefixlen 12 - 32 + 192.0.2.0/24 prefixlen 24 - 32 + 192.88.99.0/24 prefixlen 24 - 32 + 192.168.0.0/16 prefixlen 16 - 32 + 198.18.0.0/15 prefixlen 15 - 32 + 198.51.100.0/24 prefixlen 24 - 32 + 203.0.113.0/24 prefixlen 24 - 32 + 224.0.0.0/3 prefixlen 3 - 32 + 100.64.0.0/10 prefixlen 10 - 32 + ::/0 + ::/8 prefixlen 8 - 128 + 64:ff9b::/96 prefixlen 96 - 128 + 100::/8 prefixlen 8 - 128 + 200::/7 prefixlen 7 - 128 + 400::/6 prefixlen 6 - 128 + 800::/5 prefixlen 5 - 128 + 1000::/4 prefixlen 4 - 128 + 2001::/33 prefixlen 33 - 128 + 2001:0:8000::/33 prefixlen 33 - 128 + 2001:2::/48 prefixlen 48 - 128 + 2001:3::/32 prefixlen 32 - 128 + 2001:10::/28 prefixlen 28 - 128 + 2001:20::/28 prefixlen 28 - 128 + 2001:db8::/32 prefixlen 32 - 128 + 2002::/16 prefixlen 16 - 128 + 3ffe::/16 prefixlen 16 - 128 + 4000::/3 prefixlen 3 - 128 + 5f00::/8 prefixlen 8 - 128 + 6000::/3 prefixlen 3 - 128 + 8000::/3 prefixlen 3 - 128 + a000::/3 prefixlen 3 - 128 + c000::/3 prefixlen 3 - 128 + e000::/4 prefixlen 4 - 128 + f000::/5 prefixlen 5 - 128 + f800::/6 prefixlen 6 - 128 + fc00::/7 prefixlen 7 - 128 + fe80::/10 prefixlen 10 - 128 + fec0::/10 prefixlen 10 - 128 + ff00::/8 prefixlen 8 - 128 + +} + +# ===================================================================================== +# Global rules. + +# This part of configuration is processed at the beginning of the filters. +# The rules defined in this part are applied to all the clients, and not on a +# client-by-client basis (see the 'match from group clients'), so only global policies +# can be implemented here, that is no client-level configuration are allowed. + + + +# Scrub communities from inbound routes + +# Scrub internal communities from inbound routes +match from group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + + +# The main goal of this block is to enrich routes received from clients by attaching to them +# internal informational communities which are used later by the rest of the filter rules. + +# Internal communities used for RFC1997 well-known communities handling + +# Transform NO_EXPORT into $INTCOMM_NO_EXPORT +match from group clients community NO_EXPORT set { ext-community $INTCOMM_NO_EXPORT community delete NO_EXPORT } + +# Transform NO_ADVERTISE into $INTCOMM_NO_ADVERTISE +match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ADVERTISE community delete NO_ADVERTISE } + + + + + + + + + +# Set the 'rejected_route_announced_by' community for all the clients. +# It will be removed later if the route is not invalid +match from 192.0.2.11 set ext-community rt 65520:1 + +match from 2001:db8:1:1::11 set ext-community rt 65520:1 + +match from 192.0.2.21 set ext-community rt 65520:2 + +match from 2001:db8:1:1::21 set ext-community rt 65520:2 + +match from 192.0.2.31 set ext-community rt 65520:3 + +match from 2001:db8:1:1::31 set ext-community rt 65520:3 + +match from 192.0.2.41 set ext-community rt 65520:4 + +match from 2001:db8:1:1::41 set ext-community rt 65520:4 + + + + +# AS_PATH: length +# Reject inbound routes when 'from group clients max-as-len 32' - reject code: 1 +allow quick from group clients max-as-len 32 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:1} + + + +# Prefix: only IPv6 Global Unicast space allowed +match from group clients inet6 set community NO_ADVERTISE +match from group clients prefix 2000::/3 or-longer set community delete NO_ADVERTISE +# Reject inbound routes when 'from group clients community NO_ADVERTISE' - reject code: 10 +allow quick from group clients community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:10} + + +# Prefix: bogon +# Reject inbound routes when 'from group clients prefix-set bogons' - reject code: 2 +allow quick from group clients prefix-set bogons set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:2} + + + + +# ===================================================================================== +# Per client rules. + + +# --------------------------------------------- +# client AS1_1, inbound + + + +# NEXT_HOP +match from 192.0.2.11 set community NO_ADVERTISE +match from 192.0.2.11 nexthop 192.0.2.11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.11 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.11 peer-as != 1' - reject code: 6 +allow quick from 192.0.2.11 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.11 AS 23456' - reject code: 7 +allow quick from 192.0.2.11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.11 set ext-community delete rt 65520:1 + + + +allow quick from 192.0.2.11 + + + +# --------------------------------------------- +# client AS1_1, outbound + +deny quick to 192.0.2.11 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.11 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.11 + + + + + + +# --------------------------------------------- +# client AS1_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::11 set community NO_ADVERTISE +match from 2001:db8:1:1::11 nexthop 2001:db8:1:1::11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::11 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::11 peer-as != 1' - reject code: 6 +allow quick from 2001:db8:1:1::11 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::11 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::11 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::11 set ext-community delete rt 65520:1 + + + +allow quick from 2001:db8:1:1::11 + + + +# --------------------------------------------- +# client AS1_2, outbound + +deny quick to 2001:db8:1:1::11 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::11 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::11 + + + + + + +# --------------------------------------------- +# client AS2_1, inbound + + + +# NEXT_HOP +match from 192.0.2.21 set community NO_ADVERTISE +match from 192.0.2.21 nexthop 192.0.2.21 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.21 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.21 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.21 peer-as != 2' - reject code: 6 +allow quick from 192.0.2.21 peer-as != 2 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.21 AS 23456' - reject code: 7 +allow quick from 192.0.2.21 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.21 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.21 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.21 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.21 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.21 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.21 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.21 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.21 set ext-community delete rt 65520:2 + + + +allow quick from 192.0.2.21 + + + +# --------------------------------------------- +# client AS2_1, outbound + +deny quick to 192.0.2.21 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.21 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.21 + + + + + + +# --------------------------------------------- +# client AS2_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::21 set community NO_ADVERTISE +match from 2001:db8:1:1::21 nexthop 2001:db8:1:1::21 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::21 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::21 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::21 peer-as != 2' - reject code: 6 +allow quick from 2001:db8:1:1::21 peer-as != 2 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::21 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::21 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::21 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::21 set ext-community delete rt 65520:2 + + + +allow quick from 2001:db8:1:1::21 + + + +# --------------------------------------------- +# client AS2_2, outbound + +deny quick to 2001:db8:1:1::21 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::21 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::21 + + + + + + +# --------------------------------------------- +# client AS3_1, inbound + + + +# NEXT_HOP +match from 192.0.2.31 set community NO_ADVERTISE +match from 192.0.2.31 nexthop 192.0.2.31 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.31 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.31 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.31 peer-as != 3' - reject code: 6 +allow quick from 192.0.2.31 peer-as != 3 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.31 AS 23456' - reject code: 7 +allow quick from 192.0.2.31 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.31 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.31 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.31 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.31 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.31 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.31 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.31 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.31 set ext-community delete rt 65520:3 + + + +allow quick from 192.0.2.31 + + + +# --------------------------------------------- +# client AS3_1, outbound + +deny quick to 192.0.2.31 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.31 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.31 + + + + + + +# --------------------------------------------- +# client AS3_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::31 set community NO_ADVERTISE +match from 2001:db8:1:1::31 nexthop 2001:db8:1:1::31 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::31 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::31 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::31 peer-as != 3' - reject code: 6 +allow quick from 2001:db8:1:1::31 peer-as != 3 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::31 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::31 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::31 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::31 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::31 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::31 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::31 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::31 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::31 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::31 set ext-community delete rt 65520:3 + + + +allow quick from 2001:db8:1:1::31 + + + +# --------------------------------------------- +# client AS3_2, outbound + +deny quick to 2001:db8:1:1::31 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::31 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::31 + + + + + + +# --------------------------------------------- +# client AS4_1, inbound + + + +# NEXT_HOP +match from 192.0.2.41 set community NO_ADVERTISE +match from 192.0.2.41 nexthop 192.0.2.41 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.41 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.41 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.41 peer-as != 4' - reject code: 6 +allow quick from 192.0.2.41 peer-as != 4 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.41 AS 23456' - reject code: 7 +allow quick from 192.0.2.41 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.41 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.41 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.41 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.41 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.41 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.41 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.41 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.41 set ext-community delete rt 65520:4 + + + +allow quick from 192.0.2.41 + + + +# --------------------------------------------- +# client AS4_1, outbound + +deny quick to 192.0.2.41 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.41 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.41 + + + + + + +# --------------------------------------------- +# client AS4_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::41 set community NO_ADVERTISE +match from 2001:db8:1:1::41 nexthop 2001:db8:1:1::41 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::41 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::41 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::41 peer-as != 4' - reject code: 6 +allow quick from 2001:db8:1:1::41 peer-as != 4 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::41 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::41 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::41 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::41 set ext-community delete rt 65520:4 + + + +allow quick from 2001:db8:1:1::41 + + + +# --------------------------------------------- +# client AS4_2, outbound + +deny quick to 2001:db8:1:1::41 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::41 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::41 + + + + + + + + +# Scrub communities from outbound routes + +# Scrub prepending communities + + +# RFC1997 NO_EXPORT/NO_ADVERTISE received from clients and propagated because of pass-through policy +match to group clients ext-community $INTCOMM_NO_EXPORT set community NO_EXPORT +match to group clients ext-community $INTCOMM_NO_ADVERTISE set community NO_ADVERTISE + +# Remove internal communities before announcing the route +match to group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + diff --git a/tests/live_tests/scenarios/max_prefix/routes/MaxPrefixScenario_OpenBGPDIPv4/openbgpd69/AS1.txt b/tests/live_tests/scenarios/max_prefix/routes/MaxPrefixScenario_OpenBGPDIPv4/openbgpd69/AS1.txt new file mode 100644 index 00000000..e69de29b diff --git a/tests/live_tests/scenarios/max_prefix/routes/MaxPrefixScenario_OpenBGPDIPv4/openbgpd69/AS2.txt b/tests/live_tests/scenarios/max_prefix/routes/MaxPrefixScenario_OpenBGPDIPv4/openbgpd69/AS2.txt new file mode 100644 index 00000000..e69de29b diff --git a/tests/live_tests/scenarios/max_prefix/routes/MaxPrefixScenario_OpenBGPDIPv4/openbgpd69/AS3.txt b/tests/live_tests/scenarios/max_prefix/routes/MaxPrefixScenario_OpenBGPDIPv4/openbgpd69/AS3.txt new file mode 100644 index 00000000..e69de29b diff --git a/tests/live_tests/scenarios/max_prefix/routes/MaxPrefixScenario_OpenBGPDIPv4/openbgpd69/AS4.txt b/tests/live_tests/scenarios/max_prefix/routes/MaxPrefixScenario_OpenBGPDIPv4/openbgpd69/AS4.txt new file mode 100644 index 00000000..e69de29b diff --git a/tests/live_tests/scenarios/max_prefix/routes/MaxPrefixScenario_OpenBGPDIPv4/openbgpd69/rs.txt b/tests/live_tests/scenarios/max_prefix/routes/MaxPrefixScenario_OpenBGPDIPv4/openbgpd69/rs.txt new file mode 100644 index 00000000..e69de29b diff --git a/tests/live_tests/scenarios/max_prefix/routes/MaxPrefixScenario_OpenBGPDIPv4/openbgpd69p/AS1.txt b/tests/live_tests/scenarios/max_prefix/routes/MaxPrefixScenario_OpenBGPDIPv4/openbgpd69p/AS1.txt new file mode 100644 index 00000000..e69de29b diff --git a/tests/live_tests/scenarios/max_prefix/routes/MaxPrefixScenario_OpenBGPDIPv4/openbgpd69p/AS2.txt b/tests/live_tests/scenarios/max_prefix/routes/MaxPrefixScenario_OpenBGPDIPv4/openbgpd69p/AS2.txt new file mode 100644 index 00000000..e69de29b diff --git a/tests/live_tests/scenarios/max_prefix/routes/MaxPrefixScenario_OpenBGPDIPv4/openbgpd69p/AS3.txt b/tests/live_tests/scenarios/max_prefix/routes/MaxPrefixScenario_OpenBGPDIPv4/openbgpd69p/AS3.txt new file mode 100644 index 00000000..e69de29b diff --git a/tests/live_tests/scenarios/max_prefix/routes/MaxPrefixScenario_OpenBGPDIPv4/openbgpd69p/AS4.txt b/tests/live_tests/scenarios/max_prefix/routes/MaxPrefixScenario_OpenBGPDIPv4/openbgpd69p/AS4.txt new file mode 100644 index 00000000..e69de29b diff --git a/tests/live_tests/scenarios/max_prefix/routes/MaxPrefixScenario_OpenBGPDIPv4/openbgpd69p/rs.txt b/tests/live_tests/scenarios/max_prefix/routes/MaxPrefixScenario_OpenBGPDIPv4/openbgpd69p/rs.txt new file mode 100644 index 00000000..e69de29b diff --git a/tests/live_tests/scenarios/max_prefix/routes/MaxPrefixScenario_OpenBGPDIPv6/openbgpd69/AS1.txt b/tests/live_tests/scenarios/max_prefix/routes/MaxPrefixScenario_OpenBGPDIPv6/openbgpd69/AS1.txt new file mode 100644 index 00000000..e69de29b diff --git a/tests/live_tests/scenarios/max_prefix/routes/MaxPrefixScenario_OpenBGPDIPv6/openbgpd69/AS2.txt b/tests/live_tests/scenarios/max_prefix/routes/MaxPrefixScenario_OpenBGPDIPv6/openbgpd69/AS2.txt new file mode 100644 index 00000000..e69de29b diff --git a/tests/live_tests/scenarios/max_prefix/routes/MaxPrefixScenario_OpenBGPDIPv6/openbgpd69/AS3.txt b/tests/live_tests/scenarios/max_prefix/routes/MaxPrefixScenario_OpenBGPDIPv6/openbgpd69/AS3.txt new file mode 100644 index 00000000..e69de29b diff --git a/tests/live_tests/scenarios/max_prefix/routes/MaxPrefixScenario_OpenBGPDIPv6/openbgpd69/AS4.txt b/tests/live_tests/scenarios/max_prefix/routes/MaxPrefixScenario_OpenBGPDIPv6/openbgpd69/AS4.txt new file mode 100644 index 00000000..e69de29b diff --git a/tests/live_tests/scenarios/max_prefix/routes/MaxPrefixScenario_OpenBGPDIPv6/openbgpd69/rs.txt b/tests/live_tests/scenarios/max_prefix/routes/MaxPrefixScenario_OpenBGPDIPv6/openbgpd69/rs.txt new file mode 100644 index 00000000..e69de29b diff --git a/tests/live_tests/scenarios/max_prefix/routes/MaxPrefixScenario_OpenBGPDIPv6/openbgpd69p/AS1.txt b/tests/live_tests/scenarios/max_prefix/routes/MaxPrefixScenario_OpenBGPDIPv6/openbgpd69p/AS1.txt new file mode 100644 index 00000000..e69de29b diff --git a/tests/live_tests/scenarios/max_prefix/routes/MaxPrefixScenario_OpenBGPDIPv6/openbgpd69p/AS2.txt b/tests/live_tests/scenarios/max_prefix/routes/MaxPrefixScenario_OpenBGPDIPv6/openbgpd69p/AS2.txt new file mode 100644 index 00000000..e69de29b diff --git a/tests/live_tests/scenarios/max_prefix/routes/MaxPrefixScenario_OpenBGPDIPv6/openbgpd69p/AS3.txt b/tests/live_tests/scenarios/max_prefix/routes/MaxPrefixScenario_OpenBGPDIPv6/openbgpd69p/AS3.txt new file mode 100644 index 00000000..e69de29b diff --git a/tests/live_tests/scenarios/max_prefix/routes/MaxPrefixScenario_OpenBGPDIPv6/openbgpd69p/AS4.txt b/tests/live_tests/scenarios/max_prefix/routes/MaxPrefixScenario_OpenBGPDIPv6/openbgpd69p/AS4.txt new file mode 100644 index 00000000..e69de29b diff --git a/tests/live_tests/scenarios/max_prefix/routes/MaxPrefixScenario_OpenBGPDIPv6/openbgpd69p/rs.txt b/tests/live_tests/scenarios/max_prefix/routes/MaxPrefixScenario_OpenBGPDIPv6/openbgpd69p/rs.txt new file mode 100644 index 00000000..e69de29b diff --git a/tests/live_tests/scenarios/path_hiding/base.py b/tests/live_tests/scenarios/path_hiding/base.py index 4d71a8a4..4b4b4837 100644 --- a/tests/live_tests/scenarios/path_hiding/base.py +++ b/tests/live_tests/scenarios/path_hiding/base.py @@ -15,13 +15,15 @@ import six import unittest +from packaging import version from pierky.arouteserver.builder import OpenBGPDConfigBuilder, BIRDConfigBuilder from pierky.arouteserver.tests.live_tests.base import LiveScenario, \ LiveScenario_TagRejectPolicy from pierky.arouteserver.tests.live_tests.openbgpd import OpenBGPDInstance, \ OpenBGPDPreviousInstance, \ - OpenBGPDLatestInstance + OpenBGPDLatestInstance, \ + OpenBGPDPortableLatestInstance from pierky.arouteserver.tests.live_tests.bird import BIRDInstance class PathHidingScenario(LiveScenario): @@ -208,8 +210,9 @@ class PathHidingScenario_MitigationOn(object): def test_040_AS3_and_AS4_prefix_via_AS2(self): """{}: AS3 and AS4 receive prefix with sub-optimal path via AS2""" - if isinstance(self.rs, OpenBGPDInstance): - raise unittest.SkipTest("Work in progress") + if isinstance(self.rs, OpenBGPDInstance) and \ + version.parse(self.TARGET_VERSION.replace("p0", "")) < version.parse("6.9"): + raise unittest.SkipTest("Path hiding mititaion not supported on OpenBGPD < 6.9") for inst in (self.AS3, self.AS4): self.receive_route(inst, self.DATA["AS101_pref_ok1"], self.rs, @@ -223,6 +226,25 @@ def test_041_AS3_and_AS4_no_prefix_via_AS1(self): self.receive_route(inst, self.DATA["AS101_pref_ok1"], self.rs, next_hop=self.AS1) + def test_061_2nd_best_withdrawn(self): + """{}: 2nd best is withdrawn and AS3 should not see it anymore""" + + if not isinstance(self.rs, OpenBGPDPortableLatestInstance): + raise unittest.SkipTest("OpenBSD version not patched") + + # Details on: + # https://github.com/openbgpd-portable/openbgpd-portable/issues/21# + + self.AS101._birdcl("disable AS2") + + self.rs.clear_cached_routes() + self.receive_route(self.rs, self.DATA["AS101_pref_ok1"], self.AS1, + as_path="1 101") + + self.AS3.clear_cached_routes() + with six.assertRaisesRegex(self, AssertionError, "Routes not found."): + self.receive_route(self.AS3, self.DATA["AS101_pref_ok1"]) + class PathHidingScenario_MitigationOff(object): CFG_GENERAL = "general_off.yml" diff --git a/tests/live_tests/scenarios/path_hiding/configs/PathHidingScenario_MitigationOff_OpenBGPDIPv4/openbgpd68.conf b/tests/live_tests/scenarios/path_hiding/configs/PathHidingScenario_MitigationOff_OpenBGPDIPv4/openbgpd68.conf index 232d0e3c..3ba2c5ba 100644 --- a/tests/live_tests/scenarios/path_hiding/configs/PathHidingScenario_MitigationOff_OpenBGPDIPv4/openbgpd68.conf +++ b/tests/live_tests/scenarios/path_hiding/configs/PathHidingScenario_MitigationOff_OpenBGPDIPv4/openbgpd68.conf @@ -7,6 +7,7 @@ log updates nexthop qualify via default + INTCOMM_PREF_OK_ROA="soo 65535:1" INTCOMM_ROUTE_OK_WL="soo 65535:2" INTCOMM_PREF_OK_ARINDB="soo 65535:3" @@ -39,6 +40,7 @@ group "clients" { neighbor 192.0.2.11 { remote-as 1 + passive ttl-security no transparent-as yes @@ -54,6 +56,7 @@ group "clients" { neighbor 2001:db8:1:1::11 { remote-as 1 + passive ttl-security no transparent-as yes @@ -69,6 +72,7 @@ group "clients" { neighbor 192.0.2.21 { remote-as 2 + passive ttl-security no transparent-as yes @@ -84,6 +88,7 @@ group "clients" { neighbor 2001:db8:1:1::21 { remote-as 2 + passive ttl-security no transparent-as yes @@ -99,6 +104,7 @@ group "clients" { neighbor 192.0.2.31 { remote-as 3 + passive ttl-security no transparent-as yes @@ -114,6 +120,7 @@ group "clients" { neighbor 2001:db8:1:1::31 { remote-as 3 + passive ttl-security no transparent-as yes @@ -129,6 +136,7 @@ group "clients" { neighbor 192.0.2.41 { remote-as 4 + passive ttl-security no transparent-as yes @@ -144,6 +152,7 @@ group "clients" { neighbor 2001:db8:1:1::41 { remote-as 4 + passive ttl-security no transparent-as yes @@ -256,6 +265,7 @@ match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ + # Set the 'rejected_route_announced_by' community for all the clients. # It will be removed later if the route is not invalid match from 192.0.2.11 set ext-community rt 65520:1 diff --git a/tests/live_tests/scenarios/path_hiding/configs/PathHidingScenario_MitigationOff_OpenBGPDIPv4/openbgpd69.conf b/tests/live_tests/scenarios/path_hiding/configs/PathHidingScenario_MitigationOff_OpenBGPDIPv4/openbgpd69.conf new file mode 100644 index 00000000..3ba2c5ba --- /dev/null +++ b/tests/live_tests/scenarios/path_hiding/configs/PathHidingScenario_MitigationOff_OpenBGPDIPv4/openbgpd69.conf @@ -0,0 +1,979 @@ +# built by ARouteServer +AS 999 +router-id 192.0.2.2 + +fib-update no +log updates + +nexthop qualify via default + + +INTCOMM_PREF_OK_ROA="soo 65535:1" +INTCOMM_ROUTE_OK_WL="soo 65535:2" +INTCOMM_PREF_OK_ARINDB="soo 65535:3" +INTCOMM_PREF_OK_REGISTROBRDB="soo 65535:12" + +INTCOMM_ORIGIN_OK="soo 65535:4" +INTCOMM_ORIGIN_KO="soo 65535:5" +INTCOMM_PREFIX_OK="soo 65535:6" +INTCOMM_PREFIX_KO="soo 65535:7" +INTCOMM_IRR_REJECT="soo 65535:8" + +INTCOMM_RPKI_UNKNOWN="soo 65535:9" +INTCOMM_RPKI_INVALID="soo 65535:10" +INTCOMM_RPKI_VALID="soo 65535:11" + +INTCOMM_NO_EXPORT="soo 65535:65281" +INTCOMM_NO_ADVERTISE="soo 65535:65282" + +# --------------------------------------------------------- +# IRRDB + + + + +# --------------------------------------------------------- +# MEMBERS + +group "clients" { + + neighbor 192.0.2.11 { + remote-as 1 + + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::11 { + remote-as 1 + + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.21 { + remote-as 2 + + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::21 { + remote-as 2 + + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.31 { + remote-as 3 + + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::31 { + remote-as 3 + + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.41 { + remote-as 4 + + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::41 { + remote-as 4 + + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } +} + + + +# --------------------------------------------------------- +# FILTERS + +# NO_ADVERTISE usage notes. +# The NO_ADVERTISE well-know community is used here to handle +# filters that span over multiple steps. At first it is added +# to any route, then it is removed as filters conditions are +# satisfied. Finally, if it is still present, it means that +# the route should be discarded. + + + + + +prefix-set "bogons" { + 0.0.0.0/0 + 0.0.0.0/8 prefixlen 8 - 32 + 10.0.0.0/8 prefixlen 8 - 32 + 127.0.0.0/8 prefixlen 8 - 32 + 169.254.0.0/16 prefixlen 16 - 32 + 172.16.0.0/12 prefixlen 12 - 32 + 192.0.2.0/24 prefixlen 24 - 32 + 192.88.99.0/24 prefixlen 24 - 32 + 192.168.0.0/16 prefixlen 16 - 32 + 198.18.0.0/15 prefixlen 15 - 32 + 198.51.100.0/24 prefixlen 24 - 32 + 203.0.113.0/24 prefixlen 24 - 32 + 224.0.0.0/3 prefixlen 3 - 32 + 100.64.0.0/10 prefixlen 10 - 32 + ::/0 + ::/8 prefixlen 8 - 128 + 64:ff9b::/96 prefixlen 96 - 128 + 100::/8 prefixlen 8 - 128 + 200::/7 prefixlen 7 - 128 + 400::/6 prefixlen 6 - 128 + 800::/5 prefixlen 5 - 128 + 1000::/4 prefixlen 4 - 128 + 2001::/33 prefixlen 33 - 128 + 2001:0:8000::/33 prefixlen 33 - 128 + 2001:2::/48 prefixlen 48 - 128 + 2001:3::/32 prefixlen 32 - 128 + 2001:10::/28 prefixlen 28 - 128 + 2001:20::/28 prefixlen 28 - 128 + 2001:db8::/32 prefixlen 32 - 128 + 2002::/16 prefixlen 16 - 128 + 3ffe::/16 prefixlen 16 - 128 + 4000::/3 prefixlen 3 - 128 + 5f00::/8 prefixlen 8 - 128 + 6000::/3 prefixlen 3 - 128 + 8000::/3 prefixlen 3 - 128 + a000::/3 prefixlen 3 - 128 + c000::/3 prefixlen 3 - 128 + e000::/4 prefixlen 4 - 128 + f000::/5 prefixlen 5 - 128 + f800::/6 prefixlen 6 - 128 + fc00::/7 prefixlen 7 - 128 + fe80::/10 prefixlen 10 - 128 + fec0::/10 prefixlen 10 - 128 + ff00::/8 prefixlen 8 - 128 + +} + +# ===================================================================================== +# Global rules. + +# This part of configuration is processed at the beginning of the filters. +# The rules defined in this part are applied to all the clients, and not on a +# client-by-client basis (see the 'match from group clients'), so only global policies +# can be implemented here, that is no client-level configuration are allowed. + + + +# Scrub communities from inbound routes + +# Scrub internal communities from inbound routes +match from group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + + +# The main goal of this block is to enrich routes received from clients by attaching to them +# internal informational communities which are used later by the rest of the filter rules. + +# Internal communities used for RFC1997 well-known communities handling + +# Transform NO_EXPORT into $INTCOMM_NO_EXPORT +match from group clients community NO_EXPORT set { ext-community $INTCOMM_NO_EXPORT community delete NO_EXPORT } + +# Transform NO_ADVERTISE into $INTCOMM_NO_ADVERTISE +match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ADVERTISE community delete NO_ADVERTISE } + + + + + + + + + +# Set the 'rejected_route_announced_by' community for all the clients. +# It will be removed later if the route is not invalid +match from 192.0.2.11 set ext-community rt 65520:1 + +match from 2001:db8:1:1::11 set ext-community rt 65520:1 + +match from 192.0.2.21 set ext-community rt 65520:2 + +match from 2001:db8:1:1::21 set ext-community rt 65520:2 + +match from 192.0.2.31 set ext-community rt 65520:3 + +match from 2001:db8:1:1::31 set ext-community rt 65520:3 + +match from 192.0.2.41 set ext-community rt 65520:4 + +match from 2001:db8:1:1::41 set ext-community rt 65520:4 + + + + +# AS_PATH: length +# Reject inbound routes when 'from group clients max-as-len 32' - reject code: 1 +allow quick from group clients max-as-len 32 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:1} + + + +# Prefix: only IPv6 Global Unicast space allowed +match from group clients inet6 set community NO_ADVERTISE +match from group clients prefix 2000::/3 or-longer set community delete NO_ADVERTISE +# Reject inbound routes when 'from group clients community NO_ADVERTISE' - reject code: 10 +allow quick from group clients community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:10} + + +# Prefix: bogon +# Reject inbound routes when 'from group clients prefix-set bogons' - reject code: 2 +allow quick from group clients prefix-set bogons set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:2} + + + + +# ===================================================================================== +# Per client rules. + + +# --------------------------------------------- +# client AS1_1, inbound + + + +# NEXT_HOP +match from 192.0.2.11 set community NO_ADVERTISE +match from 192.0.2.11 nexthop 192.0.2.11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.11 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.11 peer-as != 1' - reject code: 6 +allow quick from 192.0.2.11 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.11 AS 23456' - reject code: 7 +allow quick from 192.0.2.11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.11 set ext-community delete rt 65520:1 + + + +allow quick from 192.0.2.11 + + + +# --------------------------------------------- +# client AS1_1, outbound + +deny quick to 192.0.2.11 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.11 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.11 + +# do_not_announce_to_peer +deny quick to 192.0.2.11 community 0:1 + + + + + + +# --------------------------------------------- +# client AS1_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::11 set community NO_ADVERTISE +match from 2001:db8:1:1::11 nexthop 2001:db8:1:1::11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::11 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::11 peer-as != 1' - reject code: 6 +allow quick from 2001:db8:1:1::11 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::11 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::11 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::11 set ext-community delete rt 65520:1 + + + +allow quick from 2001:db8:1:1::11 + + + +# --------------------------------------------- +# client AS1_2, outbound + +deny quick to 2001:db8:1:1::11 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::11 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::11 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::11 community 0:1 + + + + + + +# --------------------------------------------- +# client AS2_1, inbound + + + +# NEXT_HOP +match from 192.0.2.21 set community NO_ADVERTISE +match from 192.0.2.21 nexthop 192.0.2.21 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.21 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.21 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.21 peer-as != 2' - reject code: 6 +allow quick from 192.0.2.21 peer-as != 2 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.21 AS 23456' - reject code: 7 +allow quick from 192.0.2.21 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.21 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.21 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.21 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.21 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.21 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.21 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.21 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.21 set ext-community delete rt 65520:2 + + + +allow quick from 192.0.2.21 + + + +# --------------------------------------------- +# client AS2_1, outbound + +deny quick to 192.0.2.21 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.21 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.21 + +# do_not_announce_to_peer +deny quick to 192.0.2.21 community 0:2 + + + + + + +# --------------------------------------------- +# client AS2_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::21 set community NO_ADVERTISE +match from 2001:db8:1:1::21 nexthop 2001:db8:1:1::21 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::21 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::21 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::21 peer-as != 2' - reject code: 6 +allow quick from 2001:db8:1:1::21 peer-as != 2 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::21 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::21 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::21 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::21 set ext-community delete rt 65520:2 + + + +allow quick from 2001:db8:1:1::21 + + + +# --------------------------------------------- +# client AS2_2, outbound + +deny quick to 2001:db8:1:1::21 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::21 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::21 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::21 community 0:2 + + + + + + +# --------------------------------------------- +# client AS3_1, inbound + + + +# NEXT_HOP +match from 192.0.2.31 set community NO_ADVERTISE +match from 192.0.2.31 nexthop 192.0.2.31 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.31 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.31 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.31 peer-as != 3' - reject code: 6 +allow quick from 192.0.2.31 peer-as != 3 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.31 AS 23456' - reject code: 7 +allow quick from 192.0.2.31 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.31 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.31 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.31 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.31 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.31 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.31 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.31 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.31 set ext-community delete rt 65520:3 + + + +allow quick from 192.0.2.31 + + + +# --------------------------------------------- +# client AS3_1, outbound + +deny quick to 192.0.2.31 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.31 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.31 + +# do_not_announce_to_peer +deny quick to 192.0.2.31 community 0:3 + + + + + + +# --------------------------------------------- +# client AS3_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::31 set community NO_ADVERTISE +match from 2001:db8:1:1::31 nexthop 2001:db8:1:1::31 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::31 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::31 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::31 peer-as != 3' - reject code: 6 +allow quick from 2001:db8:1:1::31 peer-as != 3 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::31 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::31 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::31 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::31 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::31 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::31 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::31 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::31 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::31 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::31 set ext-community delete rt 65520:3 + + + +allow quick from 2001:db8:1:1::31 + + + +# --------------------------------------------- +# client AS3_2, outbound + +deny quick to 2001:db8:1:1::31 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::31 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::31 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::31 community 0:3 + + + + + + +# --------------------------------------------- +# client AS4_1, inbound + + + +# NEXT_HOP +match from 192.0.2.41 set community NO_ADVERTISE +match from 192.0.2.41 nexthop 192.0.2.41 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.41 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.41 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.41 peer-as != 4' - reject code: 6 +allow quick from 192.0.2.41 peer-as != 4 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.41 AS 23456' - reject code: 7 +allow quick from 192.0.2.41 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.41 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.41 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.41 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.41 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.41 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.41 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.41 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.41 set ext-community delete rt 65520:4 + + + +allow quick from 192.0.2.41 + + + +# --------------------------------------------- +# client AS4_1, outbound + +deny quick to 192.0.2.41 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.41 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.41 + +# do_not_announce_to_peer +deny quick to 192.0.2.41 community 0:4 + + + + + + +# --------------------------------------------- +# client AS4_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::41 set community NO_ADVERTISE +match from 2001:db8:1:1::41 nexthop 2001:db8:1:1::41 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::41 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::41 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::41 peer-as != 4' - reject code: 6 +allow quick from 2001:db8:1:1::41 peer-as != 4 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::41 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::41 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::41 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::41 set ext-community delete rt 65520:4 + + + +allow quick from 2001:db8:1:1::41 + + + +# --------------------------------------------- +# client AS4_2, outbound + +deny quick to 2001:db8:1:1::41 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::41 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::41 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::41 community 0:4 + + + + + + + + +# Scrub communities from outbound routes +# do_not_announce_to_peer +match to group clients set community delete 0:* + + +# Scrub prepending communities + + +# RFC1997 NO_EXPORT/NO_ADVERTISE received from clients and propagated because of pass-through policy +match to group clients ext-community $INTCOMM_NO_EXPORT set community NO_EXPORT +match to group clients ext-community $INTCOMM_NO_ADVERTISE set community NO_ADVERTISE + +# Remove internal communities before announcing the route +match to group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + diff --git a/tests/live_tests/scenarios/path_hiding/configs/PathHidingScenario_MitigationOff_OpenBGPDIPv4/openbgpd69p.conf b/tests/live_tests/scenarios/path_hiding/configs/PathHidingScenario_MitigationOff_OpenBGPDIPv4/openbgpd69p.conf new file mode 100644 index 00000000..3ba2c5ba --- /dev/null +++ b/tests/live_tests/scenarios/path_hiding/configs/PathHidingScenario_MitigationOff_OpenBGPDIPv4/openbgpd69p.conf @@ -0,0 +1,979 @@ +# built by ARouteServer +AS 999 +router-id 192.0.2.2 + +fib-update no +log updates + +nexthop qualify via default + + +INTCOMM_PREF_OK_ROA="soo 65535:1" +INTCOMM_ROUTE_OK_WL="soo 65535:2" +INTCOMM_PREF_OK_ARINDB="soo 65535:3" +INTCOMM_PREF_OK_REGISTROBRDB="soo 65535:12" + +INTCOMM_ORIGIN_OK="soo 65535:4" +INTCOMM_ORIGIN_KO="soo 65535:5" +INTCOMM_PREFIX_OK="soo 65535:6" +INTCOMM_PREFIX_KO="soo 65535:7" +INTCOMM_IRR_REJECT="soo 65535:8" + +INTCOMM_RPKI_UNKNOWN="soo 65535:9" +INTCOMM_RPKI_INVALID="soo 65535:10" +INTCOMM_RPKI_VALID="soo 65535:11" + +INTCOMM_NO_EXPORT="soo 65535:65281" +INTCOMM_NO_ADVERTISE="soo 65535:65282" + +# --------------------------------------------------------- +# IRRDB + + + + +# --------------------------------------------------------- +# MEMBERS + +group "clients" { + + neighbor 192.0.2.11 { + remote-as 1 + + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::11 { + remote-as 1 + + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.21 { + remote-as 2 + + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::21 { + remote-as 2 + + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.31 { + remote-as 3 + + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::31 { + remote-as 3 + + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.41 { + remote-as 4 + + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::41 { + remote-as 4 + + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } +} + + + +# --------------------------------------------------------- +# FILTERS + +# NO_ADVERTISE usage notes. +# The NO_ADVERTISE well-know community is used here to handle +# filters that span over multiple steps. At first it is added +# to any route, then it is removed as filters conditions are +# satisfied. Finally, if it is still present, it means that +# the route should be discarded. + + + + + +prefix-set "bogons" { + 0.0.0.0/0 + 0.0.0.0/8 prefixlen 8 - 32 + 10.0.0.0/8 prefixlen 8 - 32 + 127.0.0.0/8 prefixlen 8 - 32 + 169.254.0.0/16 prefixlen 16 - 32 + 172.16.0.0/12 prefixlen 12 - 32 + 192.0.2.0/24 prefixlen 24 - 32 + 192.88.99.0/24 prefixlen 24 - 32 + 192.168.0.0/16 prefixlen 16 - 32 + 198.18.0.0/15 prefixlen 15 - 32 + 198.51.100.0/24 prefixlen 24 - 32 + 203.0.113.0/24 prefixlen 24 - 32 + 224.0.0.0/3 prefixlen 3 - 32 + 100.64.0.0/10 prefixlen 10 - 32 + ::/0 + ::/8 prefixlen 8 - 128 + 64:ff9b::/96 prefixlen 96 - 128 + 100::/8 prefixlen 8 - 128 + 200::/7 prefixlen 7 - 128 + 400::/6 prefixlen 6 - 128 + 800::/5 prefixlen 5 - 128 + 1000::/4 prefixlen 4 - 128 + 2001::/33 prefixlen 33 - 128 + 2001:0:8000::/33 prefixlen 33 - 128 + 2001:2::/48 prefixlen 48 - 128 + 2001:3::/32 prefixlen 32 - 128 + 2001:10::/28 prefixlen 28 - 128 + 2001:20::/28 prefixlen 28 - 128 + 2001:db8::/32 prefixlen 32 - 128 + 2002::/16 prefixlen 16 - 128 + 3ffe::/16 prefixlen 16 - 128 + 4000::/3 prefixlen 3 - 128 + 5f00::/8 prefixlen 8 - 128 + 6000::/3 prefixlen 3 - 128 + 8000::/3 prefixlen 3 - 128 + a000::/3 prefixlen 3 - 128 + c000::/3 prefixlen 3 - 128 + e000::/4 prefixlen 4 - 128 + f000::/5 prefixlen 5 - 128 + f800::/6 prefixlen 6 - 128 + fc00::/7 prefixlen 7 - 128 + fe80::/10 prefixlen 10 - 128 + fec0::/10 prefixlen 10 - 128 + ff00::/8 prefixlen 8 - 128 + +} + +# ===================================================================================== +# Global rules. + +# This part of configuration is processed at the beginning of the filters. +# The rules defined in this part are applied to all the clients, and not on a +# client-by-client basis (see the 'match from group clients'), so only global policies +# can be implemented here, that is no client-level configuration are allowed. + + + +# Scrub communities from inbound routes + +# Scrub internal communities from inbound routes +match from group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + + +# The main goal of this block is to enrich routes received from clients by attaching to them +# internal informational communities which are used later by the rest of the filter rules. + +# Internal communities used for RFC1997 well-known communities handling + +# Transform NO_EXPORT into $INTCOMM_NO_EXPORT +match from group clients community NO_EXPORT set { ext-community $INTCOMM_NO_EXPORT community delete NO_EXPORT } + +# Transform NO_ADVERTISE into $INTCOMM_NO_ADVERTISE +match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ADVERTISE community delete NO_ADVERTISE } + + + + + + + + + +# Set the 'rejected_route_announced_by' community for all the clients. +# It will be removed later if the route is not invalid +match from 192.0.2.11 set ext-community rt 65520:1 + +match from 2001:db8:1:1::11 set ext-community rt 65520:1 + +match from 192.0.2.21 set ext-community rt 65520:2 + +match from 2001:db8:1:1::21 set ext-community rt 65520:2 + +match from 192.0.2.31 set ext-community rt 65520:3 + +match from 2001:db8:1:1::31 set ext-community rt 65520:3 + +match from 192.0.2.41 set ext-community rt 65520:4 + +match from 2001:db8:1:1::41 set ext-community rt 65520:4 + + + + +# AS_PATH: length +# Reject inbound routes when 'from group clients max-as-len 32' - reject code: 1 +allow quick from group clients max-as-len 32 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:1} + + + +# Prefix: only IPv6 Global Unicast space allowed +match from group clients inet6 set community NO_ADVERTISE +match from group clients prefix 2000::/3 or-longer set community delete NO_ADVERTISE +# Reject inbound routes when 'from group clients community NO_ADVERTISE' - reject code: 10 +allow quick from group clients community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:10} + + +# Prefix: bogon +# Reject inbound routes when 'from group clients prefix-set bogons' - reject code: 2 +allow quick from group clients prefix-set bogons set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:2} + + + + +# ===================================================================================== +# Per client rules. + + +# --------------------------------------------- +# client AS1_1, inbound + + + +# NEXT_HOP +match from 192.0.2.11 set community NO_ADVERTISE +match from 192.0.2.11 nexthop 192.0.2.11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.11 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.11 peer-as != 1' - reject code: 6 +allow quick from 192.0.2.11 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.11 AS 23456' - reject code: 7 +allow quick from 192.0.2.11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.11 set ext-community delete rt 65520:1 + + + +allow quick from 192.0.2.11 + + + +# --------------------------------------------- +# client AS1_1, outbound + +deny quick to 192.0.2.11 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.11 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.11 + +# do_not_announce_to_peer +deny quick to 192.0.2.11 community 0:1 + + + + + + +# --------------------------------------------- +# client AS1_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::11 set community NO_ADVERTISE +match from 2001:db8:1:1::11 nexthop 2001:db8:1:1::11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::11 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::11 peer-as != 1' - reject code: 6 +allow quick from 2001:db8:1:1::11 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::11 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::11 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::11 set ext-community delete rt 65520:1 + + + +allow quick from 2001:db8:1:1::11 + + + +# --------------------------------------------- +# client AS1_2, outbound + +deny quick to 2001:db8:1:1::11 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::11 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::11 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::11 community 0:1 + + + + + + +# --------------------------------------------- +# client AS2_1, inbound + + + +# NEXT_HOP +match from 192.0.2.21 set community NO_ADVERTISE +match from 192.0.2.21 nexthop 192.0.2.21 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.21 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.21 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.21 peer-as != 2' - reject code: 6 +allow quick from 192.0.2.21 peer-as != 2 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.21 AS 23456' - reject code: 7 +allow quick from 192.0.2.21 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.21 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.21 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.21 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.21 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.21 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.21 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.21 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.21 set ext-community delete rt 65520:2 + + + +allow quick from 192.0.2.21 + + + +# --------------------------------------------- +# client AS2_1, outbound + +deny quick to 192.0.2.21 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.21 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.21 + +# do_not_announce_to_peer +deny quick to 192.0.2.21 community 0:2 + + + + + + +# --------------------------------------------- +# client AS2_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::21 set community NO_ADVERTISE +match from 2001:db8:1:1::21 nexthop 2001:db8:1:1::21 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::21 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::21 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::21 peer-as != 2' - reject code: 6 +allow quick from 2001:db8:1:1::21 peer-as != 2 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::21 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::21 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::21 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::21 set ext-community delete rt 65520:2 + + + +allow quick from 2001:db8:1:1::21 + + + +# --------------------------------------------- +# client AS2_2, outbound + +deny quick to 2001:db8:1:1::21 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::21 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::21 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::21 community 0:2 + + + + + + +# --------------------------------------------- +# client AS3_1, inbound + + + +# NEXT_HOP +match from 192.0.2.31 set community NO_ADVERTISE +match from 192.0.2.31 nexthop 192.0.2.31 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.31 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.31 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.31 peer-as != 3' - reject code: 6 +allow quick from 192.0.2.31 peer-as != 3 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.31 AS 23456' - reject code: 7 +allow quick from 192.0.2.31 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.31 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.31 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.31 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.31 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.31 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.31 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.31 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.31 set ext-community delete rt 65520:3 + + + +allow quick from 192.0.2.31 + + + +# --------------------------------------------- +# client AS3_1, outbound + +deny quick to 192.0.2.31 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.31 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.31 + +# do_not_announce_to_peer +deny quick to 192.0.2.31 community 0:3 + + + + + + +# --------------------------------------------- +# client AS3_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::31 set community NO_ADVERTISE +match from 2001:db8:1:1::31 nexthop 2001:db8:1:1::31 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::31 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::31 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::31 peer-as != 3' - reject code: 6 +allow quick from 2001:db8:1:1::31 peer-as != 3 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::31 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::31 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::31 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::31 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::31 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::31 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::31 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::31 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::31 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::31 set ext-community delete rt 65520:3 + + + +allow quick from 2001:db8:1:1::31 + + + +# --------------------------------------------- +# client AS3_2, outbound + +deny quick to 2001:db8:1:1::31 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::31 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::31 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::31 community 0:3 + + + + + + +# --------------------------------------------- +# client AS4_1, inbound + + + +# NEXT_HOP +match from 192.0.2.41 set community NO_ADVERTISE +match from 192.0.2.41 nexthop 192.0.2.41 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.41 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.41 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.41 peer-as != 4' - reject code: 6 +allow quick from 192.0.2.41 peer-as != 4 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.41 AS 23456' - reject code: 7 +allow quick from 192.0.2.41 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.41 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.41 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.41 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.41 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.41 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.41 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.41 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.41 set ext-community delete rt 65520:4 + + + +allow quick from 192.0.2.41 + + + +# --------------------------------------------- +# client AS4_1, outbound + +deny quick to 192.0.2.41 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.41 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.41 + +# do_not_announce_to_peer +deny quick to 192.0.2.41 community 0:4 + + + + + + +# --------------------------------------------- +# client AS4_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::41 set community NO_ADVERTISE +match from 2001:db8:1:1::41 nexthop 2001:db8:1:1::41 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::41 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::41 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::41 peer-as != 4' - reject code: 6 +allow quick from 2001:db8:1:1::41 peer-as != 4 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::41 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::41 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::41 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::41 set ext-community delete rt 65520:4 + + + +allow quick from 2001:db8:1:1::41 + + + +# --------------------------------------------- +# client AS4_2, outbound + +deny quick to 2001:db8:1:1::41 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::41 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::41 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::41 community 0:4 + + + + + + + + +# Scrub communities from outbound routes +# do_not_announce_to_peer +match to group clients set community delete 0:* + + +# Scrub prepending communities + + +# RFC1997 NO_EXPORT/NO_ADVERTISE received from clients and propagated because of pass-through policy +match to group clients ext-community $INTCOMM_NO_EXPORT set community NO_EXPORT +match to group clients ext-community $INTCOMM_NO_ADVERTISE set community NO_ADVERTISE + +# Remove internal communities before announcing the route +match to group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + diff --git a/tests/live_tests/scenarios/path_hiding/configs/PathHidingScenario_MitigationOff_OpenBGPDIPv6/openbgpd68.conf b/tests/live_tests/scenarios/path_hiding/configs/PathHidingScenario_MitigationOff_OpenBGPDIPv6/openbgpd68.conf index 232d0e3c..3ba2c5ba 100644 --- a/tests/live_tests/scenarios/path_hiding/configs/PathHidingScenario_MitigationOff_OpenBGPDIPv6/openbgpd68.conf +++ b/tests/live_tests/scenarios/path_hiding/configs/PathHidingScenario_MitigationOff_OpenBGPDIPv6/openbgpd68.conf @@ -7,6 +7,7 @@ log updates nexthop qualify via default + INTCOMM_PREF_OK_ROA="soo 65535:1" INTCOMM_ROUTE_OK_WL="soo 65535:2" INTCOMM_PREF_OK_ARINDB="soo 65535:3" @@ -39,6 +40,7 @@ group "clients" { neighbor 192.0.2.11 { remote-as 1 + passive ttl-security no transparent-as yes @@ -54,6 +56,7 @@ group "clients" { neighbor 2001:db8:1:1::11 { remote-as 1 + passive ttl-security no transparent-as yes @@ -69,6 +72,7 @@ group "clients" { neighbor 192.0.2.21 { remote-as 2 + passive ttl-security no transparent-as yes @@ -84,6 +88,7 @@ group "clients" { neighbor 2001:db8:1:1::21 { remote-as 2 + passive ttl-security no transparent-as yes @@ -99,6 +104,7 @@ group "clients" { neighbor 192.0.2.31 { remote-as 3 + passive ttl-security no transparent-as yes @@ -114,6 +120,7 @@ group "clients" { neighbor 2001:db8:1:1::31 { remote-as 3 + passive ttl-security no transparent-as yes @@ -129,6 +136,7 @@ group "clients" { neighbor 192.0.2.41 { remote-as 4 + passive ttl-security no transparent-as yes @@ -144,6 +152,7 @@ group "clients" { neighbor 2001:db8:1:1::41 { remote-as 4 + passive ttl-security no transparent-as yes @@ -256,6 +265,7 @@ match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ + # Set the 'rejected_route_announced_by' community for all the clients. # It will be removed later if the route is not invalid match from 192.0.2.11 set ext-community rt 65520:1 diff --git a/tests/live_tests/scenarios/path_hiding/configs/PathHidingScenario_MitigationOff_OpenBGPDIPv6/openbgpd69.conf b/tests/live_tests/scenarios/path_hiding/configs/PathHidingScenario_MitigationOff_OpenBGPDIPv6/openbgpd69.conf new file mode 100644 index 00000000..3ba2c5ba --- /dev/null +++ b/tests/live_tests/scenarios/path_hiding/configs/PathHidingScenario_MitigationOff_OpenBGPDIPv6/openbgpd69.conf @@ -0,0 +1,979 @@ +# built by ARouteServer +AS 999 +router-id 192.0.2.2 + +fib-update no +log updates + +nexthop qualify via default + + +INTCOMM_PREF_OK_ROA="soo 65535:1" +INTCOMM_ROUTE_OK_WL="soo 65535:2" +INTCOMM_PREF_OK_ARINDB="soo 65535:3" +INTCOMM_PREF_OK_REGISTROBRDB="soo 65535:12" + +INTCOMM_ORIGIN_OK="soo 65535:4" +INTCOMM_ORIGIN_KO="soo 65535:5" +INTCOMM_PREFIX_OK="soo 65535:6" +INTCOMM_PREFIX_KO="soo 65535:7" +INTCOMM_IRR_REJECT="soo 65535:8" + +INTCOMM_RPKI_UNKNOWN="soo 65535:9" +INTCOMM_RPKI_INVALID="soo 65535:10" +INTCOMM_RPKI_VALID="soo 65535:11" + +INTCOMM_NO_EXPORT="soo 65535:65281" +INTCOMM_NO_ADVERTISE="soo 65535:65282" + +# --------------------------------------------------------- +# IRRDB + + + + +# --------------------------------------------------------- +# MEMBERS + +group "clients" { + + neighbor 192.0.2.11 { + remote-as 1 + + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::11 { + remote-as 1 + + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.21 { + remote-as 2 + + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::21 { + remote-as 2 + + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.31 { + remote-as 3 + + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::31 { + remote-as 3 + + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.41 { + remote-as 4 + + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::41 { + remote-as 4 + + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } +} + + + +# --------------------------------------------------------- +# FILTERS + +# NO_ADVERTISE usage notes. +# The NO_ADVERTISE well-know community is used here to handle +# filters that span over multiple steps. At first it is added +# to any route, then it is removed as filters conditions are +# satisfied. Finally, if it is still present, it means that +# the route should be discarded. + + + + + +prefix-set "bogons" { + 0.0.0.0/0 + 0.0.0.0/8 prefixlen 8 - 32 + 10.0.0.0/8 prefixlen 8 - 32 + 127.0.0.0/8 prefixlen 8 - 32 + 169.254.0.0/16 prefixlen 16 - 32 + 172.16.0.0/12 prefixlen 12 - 32 + 192.0.2.0/24 prefixlen 24 - 32 + 192.88.99.0/24 prefixlen 24 - 32 + 192.168.0.0/16 prefixlen 16 - 32 + 198.18.0.0/15 prefixlen 15 - 32 + 198.51.100.0/24 prefixlen 24 - 32 + 203.0.113.0/24 prefixlen 24 - 32 + 224.0.0.0/3 prefixlen 3 - 32 + 100.64.0.0/10 prefixlen 10 - 32 + ::/0 + ::/8 prefixlen 8 - 128 + 64:ff9b::/96 prefixlen 96 - 128 + 100::/8 prefixlen 8 - 128 + 200::/7 prefixlen 7 - 128 + 400::/6 prefixlen 6 - 128 + 800::/5 prefixlen 5 - 128 + 1000::/4 prefixlen 4 - 128 + 2001::/33 prefixlen 33 - 128 + 2001:0:8000::/33 prefixlen 33 - 128 + 2001:2::/48 prefixlen 48 - 128 + 2001:3::/32 prefixlen 32 - 128 + 2001:10::/28 prefixlen 28 - 128 + 2001:20::/28 prefixlen 28 - 128 + 2001:db8::/32 prefixlen 32 - 128 + 2002::/16 prefixlen 16 - 128 + 3ffe::/16 prefixlen 16 - 128 + 4000::/3 prefixlen 3 - 128 + 5f00::/8 prefixlen 8 - 128 + 6000::/3 prefixlen 3 - 128 + 8000::/3 prefixlen 3 - 128 + a000::/3 prefixlen 3 - 128 + c000::/3 prefixlen 3 - 128 + e000::/4 prefixlen 4 - 128 + f000::/5 prefixlen 5 - 128 + f800::/6 prefixlen 6 - 128 + fc00::/7 prefixlen 7 - 128 + fe80::/10 prefixlen 10 - 128 + fec0::/10 prefixlen 10 - 128 + ff00::/8 prefixlen 8 - 128 + +} + +# ===================================================================================== +# Global rules. + +# This part of configuration is processed at the beginning of the filters. +# The rules defined in this part are applied to all the clients, and not on a +# client-by-client basis (see the 'match from group clients'), so only global policies +# can be implemented here, that is no client-level configuration are allowed. + + + +# Scrub communities from inbound routes + +# Scrub internal communities from inbound routes +match from group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + + +# The main goal of this block is to enrich routes received from clients by attaching to them +# internal informational communities which are used later by the rest of the filter rules. + +# Internal communities used for RFC1997 well-known communities handling + +# Transform NO_EXPORT into $INTCOMM_NO_EXPORT +match from group clients community NO_EXPORT set { ext-community $INTCOMM_NO_EXPORT community delete NO_EXPORT } + +# Transform NO_ADVERTISE into $INTCOMM_NO_ADVERTISE +match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ADVERTISE community delete NO_ADVERTISE } + + + + + + + + + +# Set the 'rejected_route_announced_by' community for all the clients. +# It will be removed later if the route is not invalid +match from 192.0.2.11 set ext-community rt 65520:1 + +match from 2001:db8:1:1::11 set ext-community rt 65520:1 + +match from 192.0.2.21 set ext-community rt 65520:2 + +match from 2001:db8:1:1::21 set ext-community rt 65520:2 + +match from 192.0.2.31 set ext-community rt 65520:3 + +match from 2001:db8:1:1::31 set ext-community rt 65520:3 + +match from 192.0.2.41 set ext-community rt 65520:4 + +match from 2001:db8:1:1::41 set ext-community rt 65520:4 + + + + +# AS_PATH: length +# Reject inbound routes when 'from group clients max-as-len 32' - reject code: 1 +allow quick from group clients max-as-len 32 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:1} + + + +# Prefix: only IPv6 Global Unicast space allowed +match from group clients inet6 set community NO_ADVERTISE +match from group clients prefix 2000::/3 or-longer set community delete NO_ADVERTISE +# Reject inbound routes when 'from group clients community NO_ADVERTISE' - reject code: 10 +allow quick from group clients community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:10} + + +# Prefix: bogon +# Reject inbound routes when 'from group clients prefix-set bogons' - reject code: 2 +allow quick from group clients prefix-set bogons set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:2} + + + + +# ===================================================================================== +# Per client rules. + + +# --------------------------------------------- +# client AS1_1, inbound + + + +# NEXT_HOP +match from 192.0.2.11 set community NO_ADVERTISE +match from 192.0.2.11 nexthop 192.0.2.11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.11 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.11 peer-as != 1' - reject code: 6 +allow quick from 192.0.2.11 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.11 AS 23456' - reject code: 7 +allow quick from 192.0.2.11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.11 set ext-community delete rt 65520:1 + + + +allow quick from 192.0.2.11 + + + +# --------------------------------------------- +# client AS1_1, outbound + +deny quick to 192.0.2.11 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.11 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.11 + +# do_not_announce_to_peer +deny quick to 192.0.2.11 community 0:1 + + + + + + +# --------------------------------------------- +# client AS1_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::11 set community NO_ADVERTISE +match from 2001:db8:1:1::11 nexthop 2001:db8:1:1::11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::11 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::11 peer-as != 1' - reject code: 6 +allow quick from 2001:db8:1:1::11 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::11 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::11 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::11 set ext-community delete rt 65520:1 + + + +allow quick from 2001:db8:1:1::11 + + + +# --------------------------------------------- +# client AS1_2, outbound + +deny quick to 2001:db8:1:1::11 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::11 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::11 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::11 community 0:1 + + + + + + +# --------------------------------------------- +# client AS2_1, inbound + + + +# NEXT_HOP +match from 192.0.2.21 set community NO_ADVERTISE +match from 192.0.2.21 nexthop 192.0.2.21 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.21 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.21 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.21 peer-as != 2' - reject code: 6 +allow quick from 192.0.2.21 peer-as != 2 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.21 AS 23456' - reject code: 7 +allow quick from 192.0.2.21 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.21 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.21 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.21 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.21 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.21 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.21 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.21 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.21 set ext-community delete rt 65520:2 + + + +allow quick from 192.0.2.21 + + + +# --------------------------------------------- +# client AS2_1, outbound + +deny quick to 192.0.2.21 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.21 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.21 + +# do_not_announce_to_peer +deny quick to 192.0.2.21 community 0:2 + + + + + + +# --------------------------------------------- +# client AS2_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::21 set community NO_ADVERTISE +match from 2001:db8:1:1::21 nexthop 2001:db8:1:1::21 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::21 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::21 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::21 peer-as != 2' - reject code: 6 +allow quick from 2001:db8:1:1::21 peer-as != 2 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::21 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::21 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::21 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::21 set ext-community delete rt 65520:2 + + + +allow quick from 2001:db8:1:1::21 + + + +# --------------------------------------------- +# client AS2_2, outbound + +deny quick to 2001:db8:1:1::21 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::21 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::21 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::21 community 0:2 + + + + + + +# --------------------------------------------- +# client AS3_1, inbound + + + +# NEXT_HOP +match from 192.0.2.31 set community NO_ADVERTISE +match from 192.0.2.31 nexthop 192.0.2.31 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.31 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.31 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.31 peer-as != 3' - reject code: 6 +allow quick from 192.0.2.31 peer-as != 3 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.31 AS 23456' - reject code: 7 +allow quick from 192.0.2.31 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.31 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.31 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.31 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.31 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.31 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.31 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.31 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.31 set ext-community delete rt 65520:3 + + + +allow quick from 192.0.2.31 + + + +# --------------------------------------------- +# client AS3_1, outbound + +deny quick to 192.0.2.31 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.31 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.31 + +# do_not_announce_to_peer +deny quick to 192.0.2.31 community 0:3 + + + + + + +# --------------------------------------------- +# client AS3_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::31 set community NO_ADVERTISE +match from 2001:db8:1:1::31 nexthop 2001:db8:1:1::31 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::31 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::31 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::31 peer-as != 3' - reject code: 6 +allow quick from 2001:db8:1:1::31 peer-as != 3 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::31 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::31 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::31 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::31 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::31 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::31 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::31 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::31 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::31 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::31 set ext-community delete rt 65520:3 + + + +allow quick from 2001:db8:1:1::31 + + + +# --------------------------------------------- +# client AS3_2, outbound + +deny quick to 2001:db8:1:1::31 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::31 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::31 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::31 community 0:3 + + + + + + +# --------------------------------------------- +# client AS4_1, inbound + + + +# NEXT_HOP +match from 192.0.2.41 set community NO_ADVERTISE +match from 192.0.2.41 nexthop 192.0.2.41 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.41 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.41 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.41 peer-as != 4' - reject code: 6 +allow quick from 192.0.2.41 peer-as != 4 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.41 AS 23456' - reject code: 7 +allow quick from 192.0.2.41 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.41 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.41 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.41 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.41 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.41 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.41 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.41 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.41 set ext-community delete rt 65520:4 + + + +allow quick from 192.0.2.41 + + + +# --------------------------------------------- +# client AS4_1, outbound + +deny quick to 192.0.2.41 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.41 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.41 + +# do_not_announce_to_peer +deny quick to 192.0.2.41 community 0:4 + + + + + + +# --------------------------------------------- +# client AS4_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::41 set community NO_ADVERTISE +match from 2001:db8:1:1::41 nexthop 2001:db8:1:1::41 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::41 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::41 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::41 peer-as != 4' - reject code: 6 +allow quick from 2001:db8:1:1::41 peer-as != 4 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::41 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::41 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::41 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::41 set ext-community delete rt 65520:4 + + + +allow quick from 2001:db8:1:1::41 + + + +# --------------------------------------------- +# client AS4_2, outbound + +deny quick to 2001:db8:1:1::41 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::41 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::41 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::41 community 0:4 + + + + + + + + +# Scrub communities from outbound routes +# do_not_announce_to_peer +match to group clients set community delete 0:* + + +# Scrub prepending communities + + +# RFC1997 NO_EXPORT/NO_ADVERTISE received from clients and propagated because of pass-through policy +match to group clients ext-community $INTCOMM_NO_EXPORT set community NO_EXPORT +match to group clients ext-community $INTCOMM_NO_ADVERTISE set community NO_ADVERTISE + +# Remove internal communities before announcing the route +match to group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + diff --git a/tests/live_tests/scenarios/path_hiding/configs/PathHidingScenario_MitigationOff_OpenBGPDIPv6/openbgpd69p.conf b/tests/live_tests/scenarios/path_hiding/configs/PathHidingScenario_MitigationOff_OpenBGPDIPv6/openbgpd69p.conf new file mode 100644 index 00000000..3ba2c5ba --- /dev/null +++ b/tests/live_tests/scenarios/path_hiding/configs/PathHidingScenario_MitigationOff_OpenBGPDIPv6/openbgpd69p.conf @@ -0,0 +1,979 @@ +# built by ARouteServer +AS 999 +router-id 192.0.2.2 + +fib-update no +log updates + +nexthop qualify via default + + +INTCOMM_PREF_OK_ROA="soo 65535:1" +INTCOMM_ROUTE_OK_WL="soo 65535:2" +INTCOMM_PREF_OK_ARINDB="soo 65535:3" +INTCOMM_PREF_OK_REGISTROBRDB="soo 65535:12" + +INTCOMM_ORIGIN_OK="soo 65535:4" +INTCOMM_ORIGIN_KO="soo 65535:5" +INTCOMM_PREFIX_OK="soo 65535:6" +INTCOMM_PREFIX_KO="soo 65535:7" +INTCOMM_IRR_REJECT="soo 65535:8" + +INTCOMM_RPKI_UNKNOWN="soo 65535:9" +INTCOMM_RPKI_INVALID="soo 65535:10" +INTCOMM_RPKI_VALID="soo 65535:11" + +INTCOMM_NO_EXPORT="soo 65535:65281" +INTCOMM_NO_ADVERTISE="soo 65535:65282" + +# --------------------------------------------------------- +# IRRDB + + + + +# --------------------------------------------------------- +# MEMBERS + +group "clients" { + + neighbor 192.0.2.11 { + remote-as 1 + + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::11 { + remote-as 1 + + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.21 { + remote-as 2 + + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::21 { + remote-as 2 + + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.31 { + remote-as 3 + + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::31 { + remote-as 3 + + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.41 { + remote-as 4 + + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::41 { + remote-as 4 + + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } +} + + + +# --------------------------------------------------------- +# FILTERS + +# NO_ADVERTISE usage notes. +# The NO_ADVERTISE well-know community is used here to handle +# filters that span over multiple steps. At first it is added +# to any route, then it is removed as filters conditions are +# satisfied. Finally, if it is still present, it means that +# the route should be discarded. + + + + + +prefix-set "bogons" { + 0.0.0.0/0 + 0.0.0.0/8 prefixlen 8 - 32 + 10.0.0.0/8 prefixlen 8 - 32 + 127.0.0.0/8 prefixlen 8 - 32 + 169.254.0.0/16 prefixlen 16 - 32 + 172.16.0.0/12 prefixlen 12 - 32 + 192.0.2.0/24 prefixlen 24 - 32 + 192.88.99.0/24 prefixlen 24 - 32 + 192.168.0.0/16 prefixlen 16 - 32 + 198.18.0.0/15 prefixlen 15 - 32 + 198.51.100.0/24 prefixlen 24 - 32 + 203.0.113.0/24 prefixlen 24 - 32 + 224.0.0.0/3 prefixlen 3 - 32 + 100.64.0.0/10 prefixlen 10 - 32 + ::/0 + ::/8 prefixlen 8 - 128 + 64:ff9b::/96 prefixlen 96 - 128 + 100::/8 prefixlen 8 - 128 + 200::/7 prefixlen 7 - 128 + 400::/6 prefixlen 6 - 128 + 800::/5 prefixlen 5 - 128 + 1000::/4 prefixlen 4 - 128 + 2001::/33 prefixlen 33 - 128 + 2001:0:8000::/33 prefixlen 33 - 128 + 2001:2::/48 prefixlen 48 - 128 + 2001:3::/32 prefixlen 32 - 128 + 2001:10::/28 prefixlen 28 - 128 + 2001:20::/28 prefixlen 28 - 128 + 2001:db8::/32 prefixlen 32 - 128 + 2002::/16 prefixlen 16 - 128 + 3ffe::/16 prefixlen 16 - 128 + 4000::/3 prefixlen 3 - 128 + 5f00::/8 prefixlen 8 - 128 + 6000::/3 prefixlen 3 - 128 + 8000::/3 prefixlen 3 - 128 + a000::/3 prefixlen 3 - 128 + c000::/3 prefixlen 3 - 128 + e000::/4 prefixlen 4 - 128 + f000::/5 prefixlen 5 - 128 + f800::/6 prefixlen 6 - 128 + fc00::/7 prefixlen 7 - 128 + fe80::/10 prefixlen 10 - 128 + fec0::/10 prefixlen 10 - 128 + ff00::/8 prefixlen 8 - 128 + +} + +# ===================================================================================== +# Global rules. + +# This part of configuration is processed at the beginning of the filters. +# The rules defined in this part are applied to all the clients, and not on a +# client-by-client basis (see the 'match from group clients'), so only global policies +# can be implemented here, that is no client-level configuration are allowed. + + + +# Scrub communities from inbound routes + +# Scrub internal communities from inbound routes +match from group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + + +# The main goal of this block is to enrich routes received from clients by attaching to them +# internal informational communities which are used later by the rest of the filter rules. + +# Internal communities used for RFC1997 well-known communities handling + +# Transform NO_EXPORT into $INTCOMM_NO_EXPORT +match from group clients community NO_EXPORT set { ext-community $INTCOMM_NO_EXPORT community delete NO_EXPORT } + +# Transform NO_ADVERTISE into $INTCOMM_NO_ADVERTISE +match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ADVERTISE community delete NO_ADVERTISE } + + + + + + + + + +# Set the 'rejected_route_announced_by' community for all the clients. +# It will be removed later if the route is not invalid +match from 192.0.2.11 set ext-community rt 65520:1 + +match from 2001:db8:1:1::11 set ext-community rt 65520:1 + +match from 192.0.2.21 set ext-community rt 65520:2 + +match from 2001:db8:1:1::21 set ext-community rt 65520:2 + +match from 192.0.2.31 set ext-community rt 65520:3 + +match from 2001:db8:1:1::31 set ext-community rt 65520:3 + +match from 192.0.2.41 set ext-community rt 65520:4 + +match from 2001:db8:1:1::41 set ext-community rt 65520:4 + + + + +# AS_PATH: length +# Reject inbound routes when 'from group clients max-as-len 32' - reject code: 1 +allow quick from group clients max-as-len 32 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:1} + + + +# Prefix: only IPv6 Global Unicast space allowed +match from group clients inet6 set community NO_ADVERTISE +match from group clients prefix 2000::/3 or-longer set community delete NO_ADVERTISE +# Reject inbound routes when 'from group clients community NO_ADVERTISE' - reject code: 10 +allow quick from group clients community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:10} + + +# Prefix: bogon +# Reject inbound routes when 'from group clients prefix-set bogons' - reject code: 2 +allow quick from group clients prefix-set bogons set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:2} + + + + +# ===================================================================================== +# Per client rules. + + +# --------------------------------------------- +# client AS1_1, inbound + + + +# NEXT_HOP +match from 192.0.2.11 set community NO_ADVERTISE +match from 192.0.2.11 nexthop 192.0.2.11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.11 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.11 peer-as != 1' - reject code: 6 +allow quick from 192.0.2.11 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.11 AS 23456' - reject code: 7 +allow quick from 192.0.2.11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.11 set ext-community delete rt 65520:1 + + + +allow quick from 192.0.2.11 + + + +# --------------------------------------------- +# client AS1_1, outbound + +deny quick to 192.0.2.11 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.11 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.11 + +# do_not_announce_to_peer +deny quick to 192.0.2.11 community 0:1 + + + + + + +# --------------------------------------------- +# client AS1_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::11 set community NO_ADVERTISE +match from 2001:db8:1:1::11 nexthop 2001:db8:1:1::11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::11 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::11 peer-as != 1' - reject code: 6 +allow quick from 2001:db8:1:1::11 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::11 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::11 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::11 set ext-community delete rt 65520:1 + + + +allow quick from 2001:db8:1:1::11 + + + +# --------------------------------------------- +# client AS1_2, outbound + +deny quick to 2001:db8:1:1::11 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::11 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::11 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::11 community 0:1 + + + + + + +# --------------------------------------------- +# client AS2_1, inbound + + + +# NEXT_HOP +match from 192.0.2.21 set community NO_ADVERTISE +match from 192.0.2.21 nexthop 192.0.2.21 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.21 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.21 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.21 peer-as != 2' - reject code: 6 +allow quick from 192.0.2.21 peer-as != 2 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.21 AS 23456' - reject code: 7 +allow quick from 192.0.2.21 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.21 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.21 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.21 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.21 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.21 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.21 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.21 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.21 set ext-community delete rt 65520:2 + + + +allow quick from 192.0.2.21 + + + +# --------------------------------------------- +# client AS2_1, outbound + +deny quick to 192.0.2.21 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.21 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.21 + +# do_not_announce_to_peer +deny quick to 192.0.2.21 community 0:2 + + + + + + +# --------------------------------------------- +# client AS2_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::21 set community NO_ADVERTISE +match from 2001:db8:1:1::21 nexthop 2001:db8:1:1::21 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::21 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::21 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::21 peer-as != 2' - reject code: 6 +allow quick from 2001:db8:1:1::21 peer-as != 2 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::21 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::21 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::21 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::21 set ext-community delete rt 65520:2 + + + +allow quick from 2001:db8:1:1::21 + + + +# --------------------------------------------- +# client AS2_2, outbound + +deny quick to 2001:db8:1:1::21 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::21 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::21 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::21 community 0:2 + + + + + + +# --------------------------------------------- +# client AS3_1, inbound + + + +# NEXT_HOP +match from 192.0.2.31 set community NO_ADVERTISE +match from 192.0.2.31 nexthop 192.0.2.31 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.31 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.31 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.31 peer-as != 3' - reject code: 6 +allow quick from 192.0.2.31 peer-as != 3 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.31 AS 23456' - reject code: 7 +allow quick from 192.0.2.31 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.31 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.31 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.31 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.31 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.31 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.31 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.31 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.31 set ext-community delete rt 65520:3 + + + +allow quick from 192.0.2.31 + + + +# --------------------------------------------- +# client AS3_1, outbound + +deny quick to 192.0.2.31 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.31 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.31 + +# do_not_announce_to_peer +deny quick to 192.0.2.31 community 0:3 + + + + + + +# --------------------------------------------- +# client AS3_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::31 set community NO_ADVERTISE +match from 2001:db8:1:1::31 nexthop 2001:db8:1:1::31 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::31 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::31 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::31 peer-as != 3' - reject code: 6 +allow quick from 2001:db8:1:1::31 peer-as != 3 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::31 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::31 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::31 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::31 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::31 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::31 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::31 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::31 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::31 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::31 set ext-community delete rt 65520:3 + + + +allow quick from 2001:db8:1:1::31 + + + +# --------------------------------------------- +# client AS3_2, outbound + +deny quick to 2001:db8:1:1::31 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::31 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::31 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::31 community 0:3 + + + + + + +# --------------------------------------------- +# client AS4_1, inbound + + + +# NEXT_HOP +match from 192.0.2.41 set community NO_ADVERTISE +match from 192.0.2.41 nexthop 192.0.2.41 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.41 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.41 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.41 peer-as != 4' - reject code: 6 +allow quick from 192.0.2.41 peer-as != 4 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.41 AS 23456' - reject code: 7 +allow quick from 192.0.2.41 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.41 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.41 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.41 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.41 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.41 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.41 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.41 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.41 set ext-community delete rt 65520:4 + + + +allow quick from 192.0.2.41 + + + +# --------------------------------------------- +# client AS4_1, outbound + +deny quick to 192.0.2.41 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.41 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.41 + +# do_not_announce_to_peer +deny quick to 192.0.2.41 community 0:4 + + + + + + +# --------------------------------------------- +# client AS4_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::41 set community NO_ADVERTISE +match from 2001:db8:1:1::41 nexthop 2001:db8:1:1::41 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::41 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::41 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::41 peer-as != 4' - reject code: 6 +allow quick from 2001:db8:1:1::41 peer-as != 4 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::41 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::41 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::41 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::41 set ext-community delete rt 65520:4 + + + +allow quick from 2001:db8:1:1::41 + + + +# --------------------------------------------- +# client AS4_2, outbound + +deny quick to 2001:db8:1:1::41 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::41 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::41 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::41 community 0:4 + + + + + + + + +# Scrub communities from outbound routes +# do_not_announce_to_peer +match to group clients set community delete 0:* + + +# Scrub prepending communities + + +# RFC1997 NO_EXPORT/NO_ADVERTISE received from clients and propagated because of pass-through policy +match to group clients ext-community $INTCOMM_NO_EXPORT set community NO_EXPORT +match to group clients ext-community $INTCOMM_NO_ADVERTISE set community NO_ADVERTISE + +# Remove internal communities before announcing the route +match to group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + diff --git a/tests/live_tests/scenarios/path_hiding/configs/PathHidingScenario_MitigationOn_OpenBGPDIPv4/openbgpd68.conf b/tests/live_tests/scenarios/path_hiding/configs/PathHidingScenario_MitigationOn_OpenBGPDIPv4/openbgpd68.conf index 232d0e3c..3ba2c5ba 100644 --- a/tests/live_tests/scenarios/path_hiding/configs/PathHidingScenario_MitigationOn_OpenBGPDIPv4/openbgpd68.conf +++ b/tests/live_tests/scenarios/path_hiding/configs/PathHidingScenario_MitigationOn_OpenBGPDIPv4/openbgpd68.conf @@ -7,6 +7,7 @@ log updates nexthop qualify via default + INTCOMM_PREF_OK_ROA="soo 65535:1" INTCOMM_ROUTE_OK_WL="soo 65535:2" INTCOMM_PREF_OK_ARINDB="soo 65535:3" @@ -39,6 +40,7 @@ group "clients" { neighbor 192.0.2.11 { remote-as 1 + passive ttl-security no transparent-as yes @@ -54,6 +56,7 @@ group "clients" { neighbor 2001:db8:1:1::11 { remote-as 1 + passive ttl-security no transparent-as yes @@ -69,6 +72,7 @@ group "clients" { neighbor 192.0.2.21 { remote-as 2 + passive ttl-security no transparent-as yes @@ -84,6 +88,7 @@ group "clients" { neighbor 2001:db8:1:1::21 { remote-as 2 + passive ttl-security no transparent-as yes @@ -99,6 +104,7 @@ group "clients" { neighbor 192.0.2.31 { remote-as 3 + passive ttl-security no transparent-as yes @@ -114,6 +120,7 @@ group "clients" { neighbor 2001:db8:1:1::31 { remote-as 3 + passive ttl-security no transparent-as yes @@ -129,6 +136,7 @@ group "clients" { neighbor 192.0.2.41 { remote-as 4 + passive ttl-security no transparent-as yes @@ -144,6 +152,7 @@ group "clients" { neighbor 2001:db8:1:1::41 { remote-as 4 + passive ttl-security no transparent-as yes @@ -256,6 +265,7 @@ match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ + # Set the 'rejected_route_announced_by' community for all the clients. # It will be removed later if the route is not invalid match from 192.0.2.11 set ext-community rt 65520:1 diff --git a/tests/live_tests/scenarios/path_hiding/configs/PathHidingScenario_MitigationOn_OpenBGPDIPv4/openbgpd69.conf b/tests/live_tests/scenarios/path_hiding/configs/PathHidingScenario_MitigationOn_OpenBGPDIPv4/openbgpd69.conf new file mode 100644 index 00000000..23e76b1e --- /dev/null +++ b/tests/live_tests/scenarios/path_hiding/configs/PathHidingScenario_MitigationOn_OpenBGPDIPv4/openbgpd69.conf @@ -0,0 +1,988 @@ +# built by ARouteServer +AS 999 +router-id 192.0.2.2 + +fib-update no +log updates + +nexthop qualify via default + +rde evaluate all + +INTCOMM_PREF_OK_ROA="soo 65535:1" +INTCOMM_ROUTE_OK_WL="soo 65535:2" +INTCOMM_PREF_OK_ARINDB="soo 65535:3" +INTCOMM_PREF_OK_REGISTROBRDB="soo 65535:12" + +INTCOMM_ORIGIN_OK="soo 65535:4" +INTCOMM_ORIGIN_KO="soo 65535:5" +INTCOMM_PREFIX_OK="soo 65535:6" +INTCOMM_PREFIX_KO="soo 65535:7" +INTCOMM_IRR_REJECT="soo 65535:8" + +INTCOMM_RPKI_UNKNOWN="soo 65535:9" +INTCOMM_RPKI_INVALID="soo 65535:10" +INTCOMM_RPKI_VALID="soo 65535:11" + +INTCOMM_NO_EXPORT="soo 65535:65281" +INTCOMM_NO_ADVERTISE="soo 65535:65282" + +# --------------------------------------------------------- +# IRRDB + + + + +# --------------------------------------------------------- +# MEMBERS + +group "clients" { + + neighbor 192.0.2.11 { + remote-as 1 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::11 { + remote-as 1 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.21 { + remote-as 2 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::21 { + remote-as 2 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.31 { + remote-as 3 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::31 { + remote-as 3 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.41 { + remote-as 4 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::41 { + remote-as 4 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } +} + + + +# --------------------------------------------------------- +# FILTERS + +# NO_ADVERTISE usage notes. +# The NO_ADVERTISE well-know community is used here to handle +# filters that span over multiple steps. At first it is added +# to any route, then it is removed as filters conditions are +# satisfied. Finally, if it is still present, it means that +# the route should be discarded. + + + + + +prefix-set "bogons" { + 0.0.0.0/0 + 0.0.0.0/8 prefixlen 8 - 32 + 10.0.0.0/8 prefixlen 8 - 32 + 127.0.0.0/8 prefixlen 8 - 32 + 169.254.0.0/16 prefixlen 16 - 32 + 172.16.0.0/12 prefixlen 12 - 32 + 192.0.2.0/24 prefixlen 24 - 32 + 192.88.99.0/24 prefixlen 24 - 32 + 192.168.0.0/16 prefixlen 16 - 32 + 198.18.0.0/15 prefixlen 15 - 32 + 198.51.100.0/24 prefixlen 24 - 32 + 203.0.113.0/24 prefixlen 24 - 32 + 224.0.0.0/3 prefixlen 3 - 32 + 100.64.0.0/10 prefixlen 10 - 32 + ::/0 + ::/8 prefixlen 8 - 128 + 64:ff9b::/96 prefixlen 96 - 128 + 100::/8 prefixlen 8 - 128 + 200::/7 prefixlen 7 - 128 + 400::/6 prefixlen 6 - 128 + 800::/5 prefixlen 5 - 128 + 1000::/4 prefixlen 4 - 128 + 2001::/33 prefixlen 33 - 128 + 2001:0:8000::/33 prefixlen 33 - 128 + 2001:2::/48 prefixlen 48 - 128 + 2001:3::/32 prefixlen 32 - 128 + 2001:10::/28 prefixlen 28 - 128 + 2001:20::/28 prefixlen 28 - 128 + 2001:db8::/32 prefixlen 32 - 128 + 2002::/16 prefixlen 16 - 128 + 3ffe::/16 prefixlen 16 - 128 + 4000::/3 prefixlen 3 - 128 + 5f00::/8 prefixlen 8 - 128 + 6000::/3 prefixlen 3 - 128 + 8000::/3 prefixlen 3 - 128 + a000::/3 prefixlen 3 - 128 + c000::/3 prefixlen 3 - 128 + e000::/4 prefixlen 4 - 128 + f000::/5 prefixlen 5 - 128 + f800::/6 prefixlen 6 - 128 + fc00::/7 prefixlen 7 - 128 + fe80::/10 prefixlen 10 - 128 + fec0::/10 prefixlen 10 - 128 + ff00::/8 prefixlen 8 - 128 + +} + +# ===================================================================================== +# Global rules. + +# This part of configuration is processed at the beginning of the filters. +# The rules defined in this part are applied to all the clients, and not on a +# client-by-client basis (see the 'match from group clients'), so only global policies +# can be implemented here, that is no client-level configuration are allowed. + + + +# Scrub communities from inbound routes + +# Scrub internal communities from inbound routes +match from group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + + +# The main goal of this block is to enrich routes received from clients by attaching to them +# internal informational communities which are used later by the rest of the filter rules. + +# Internal communities used for RFC1997 well-known communities handling + +# Transform NO_EXPORT into $INTCOMM_NO_EXPORT +match from group clients community NO_EXPORT set { ext-community $INTCOMM_NO_EXPORT community delete NO_EXPORT } + +# Transform NO_ADVERTISE into $INTCOMM_NO_ADVERTISE +match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ADVERTISE community delete NO_ADVERTISE } + + + + + + + + + +# Set the 'rejected_route_announced_by' community for all the clients. +# It will be removed later if the route is not invalid +match from 192.0.2.11 set ext-community rt 65520:1 + +match from 2001:db8:1:1::11 set ext-community rt 65520:1 + +match from 192.0.2.21 set ext-community rt 65520:2 + +match from 2001:db8:1:1::21 set ext-community rt 65520:2 + +match from 192.0.2.31 set ext-community rt 65520:3 + +match from 2001:db8:1:1::31 set ext-community rt 65520:3 + +match from 192.0.2.41 set ext-community rt 65520:4 + +match from 2001:db8:1:1::41 set ext-community rt 65520:4 + + + + +# AS_PATH: length +# Reject inbound routes when 'from group clients max-as-len 32' - reject code: 1 +allow quick from group clients max-as-len 32 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:1} + + + +# Prefix: only IPv6 Global Unicast space allowed +match from group clients inet6 set community NO_ADVERTISE +match from group clients prefix 2000::/3 or-longer set community delete NO_ADVERTISE +# Reject inbound routes when 'from group clients community NO_ADVERTISE' - reject code: 10 +allow quick from group clients community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:10} + + +# Prefix: bogon +# Reject inbound routes when 'from group clients prefix-set bogons' - reject code: 2 +allow quick from group clients prefix-set bogons set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:2} + + + + +# ===================================================================================== +# Per client rules. + + +# --------------------------------------------- +# client AS1_1, inbound + + + +# NEXT_HOP +match from 192.0.2.11 set community NO_ADVERTISE +match from 192.0.2.11 nexthop 192.0.2.11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.11 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.11 peer-as != 1' - reject code: 6 +allow quick from 192.0.2.11 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.11 AS 23456' - reject code: 7 +allow quick from 192.0.2.11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.11 set ext-community delete rt 65520:1 + + + +allow quick from 192.0.2.11 + + + +# --------------------------------------------- +# client AS1_1, outbound + +deny quick to 192.0.2.11 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.11 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.11 + +# do_not_announce_to_peer +deny quick to 192.0.2.11 community 0:1 + + + + + + +# --------------------------------------------- +# client AS1_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::11 set community NO_ADVERTISE +match from 2001:db8:1:1::11 nexthop 2001:db8:1:1::11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::11 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::11 peer-as != 1' - reject code: 6 +allow quick from 2001:db8:1:1::11 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::11 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::11 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::11 set ext-community delete rt 65520:1 + + + +allow quick from 2001:db8:1:1::11 + + + +# --------------------------------------------- +# client AS1_2, outbound + +deny quick to 2001:db8:1:1::11 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::11 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::11 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::11 community 0:1 + + + + + + +# --------------------------------------------- +# client AS2_1, inbound + + + +# NEXT_HOP +match from 192.0.2.21 set community NO_ADVERTISE +match from 192.0.2.21 nexthop 192.0.2.21 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.21 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.21 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.21 peer-as != 2' - reject code: 6 +allow quick from 192.0.2.21 peer-as != 2 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.21 AS 23456' - reject code: 7 +allow quick from 192.0.2.21 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.21 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.21 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.21 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.21 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.21 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.21 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.21 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.21 set ext-community delete rt 65520:2 + + + +allow quick from 192.0.2.21 + + + +# --------------------------------------------- +# client AS2_1, outbound + +deny quick to 192.0.2.21 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.21 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.21 + +# do_not_announce_to_peer +deny quick to 192.0.2.21 community 0:2 + + + + + + +# --------------------------------------------- +# client AS2_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::21 set community NO_ADVERTISE +match from 2001:db8:1:1::21 nexthop 2001:db8:1:1::21 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::21 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::21 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::21 peer-as != 2' - reject code: 6 +allow quick from 2001:db8:1:1::21 peer-as != 2 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::21 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::21 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::21 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::21 set ext-community delete rt 65520:2 + + + +allow quick from 2001:db8:1:1::21 + + + +# --------------------------------------------- +# client AS2_2, outbound + +deny quick to 2001:db8:1:1::21 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::21 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::21 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::21 community 0:2 + + + + + + +# --------------------------------------------- +# client AS3_1, inbound + + + +# NEXT_HOP +match from 192.0.2.31 set community NO_ADVERTISE +match from 192.0.2.31 nexthop 192.0.2.31 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.31 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.31 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.31 peer-as != 3' - reject code: 6 +allow quick from 192.0.2.31 peer-as != 3 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.31 AS 23456' - reject code: 7 +allow quick from 192.0.2.31 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.31 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.31 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.31 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.31 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.31 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.31 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.31 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.31 set ext-community delete rt 65520:3 + + + +allow quick from 192.0.2.31 + + + +# --------------------------------------------- +# client AS3_1, outbound + +deny quick to 192.0.2.31 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.31 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.31 + +# do_not_announce_to_peer +deny quick to 192.0.2.31 community 0:3 + + + + + + +# --------------------------------------------- +# client AS3_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::31 set community NO_ADVERTISE +match from 2001:db8:1:1::31 nexthop 2001:db8:1:1::31 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::31 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::31 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::31 peer-as != 3' - reject code: 6 +allow quick from 2001:db8:1:1::31 peer-as != 3 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::31 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::31 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::31 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::31 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::31 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::31 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::31 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::31 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::31 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::31 set ext-community delete rt 65520:3 + + + +allow quick from 2001:db8:1:1::31 + + + +# --------------------------------------------- +# client AS3_2, outbound + +deny quick to 2001:db8:1:1::31 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::31 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::31 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::31 community 0:3 + + + + + + +# --------------------------------------------- +# client AS4_1, inbound + + + +# NEXT_HOP +match from 192.0.2.41 set community NO_ADVERTISE +match from 192.0.2.41 nexthop 192.0.2.41 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.41 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.41 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.41 peer-as != 4' - reject code: 6 +allow quick from 192.0.2.41 peer-as != 4 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.41 AS 23456' - reject code: 7 +allow quick from 192.0.2.41 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.41 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.41 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.41 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.41 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.41 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.41 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.41 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.41 set ext-community delete rt 65520:4 + + + +allow quick from 192.0.2.41 + + + +# --------------------------------------------- +# client AS4_1, outbound + +deny quick to 192.0.2.41 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.41 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.41 + +# do_not_announce_to_peer +deny quick to 192.0.2.41 community 0:4 + + + + + + +# --------------------------------------------- +# client AS4_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::41 set community NO_ADVERTISE +match from 2001:db8:1:1::41 nexthop 2001:db8:1:1::41 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::41 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::41 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::41 peer-as != 4' - reject code: 6 +allow quick from 2001:db8:1:1::41 peer-as != 4 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::41 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::41 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::41 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::41 set ext-community delete rt 65520:4 + + + +allow quick from 2001:db8:1:1::41 + + + +# --------------------------------------------- +# client AS4_2, outbound + +deny quick to 2001:db8:1:1::41 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::41 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::41 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::41 community 0:4 + + + + + + + + +# Scrub communities from outbound routes +# do_not_announce_to_peer +match to group clients set community delete 0:* + + +# Scrub prepending communities + + +# RFC1997 NO_EXPORT/NO_ADVERTISE received from clients and propagated because of pass-through policy +match to group clients ext-community $INTCOMM_NO_EXPORT set community NO_EXPORT +match to group clients ext-community $INTCOMM_NO_ADVERTISE set community NO_ADVERTISE + +# Remove internal communities before announcing the route +match to group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + diff --git a/tests/live_tests/scenarios/path_hiding/configs/PathHidingScenario_MitigationOn_OpenBGPDIPv4/openbgpd69p.conf b/tests/live_tests/scenarios/path_hiding/configs/PathHidingScenario_MitigationOn_OpenBGPDIPv4/openbgpd69p.conf new file mode 100644 index 00000000..23e76b1e --- /dev/null +++ b/tests/live_tests/scenarios/path_hiding/configs/PathHidingScenario_MitigationOn_OpenBGPDIPv4/openbgpd69p.conf @@ -0,0 +1,988 @@ +# built by ARouteServer +AS 999 +router-id 192.0.2.2 + +fib-update no +log updates + +nexthop qualify via default + +rde evaluate all + +INTCOMM_PREF_OK_ROA="soo 65535:1" +INTCOMM_ROUTE_OK_WL="soo 65535:2" +INTCOMM_PREF_OK_ARINDB="soo 65535:3" +INTCOMM_PREF_OK_REGISTROBRDB="soo 65535:12" + +INTCOMM_ORIGIN_OK="soo 65535:4" +INTCOMM_ORIGIN_KO="soo 65535:5" +INTCOMM_PREFIX_OK="soo 65535:6" +INTCOMM_PREFIX_KO="soo 65535:7" +INTCOMM_IRR_REJECT="soo 65535:8" + +INTCOMM_RPKI_UNKNOWN="soo 65535:9" +INTCOMM_RPKI_INVALID="soo 65535:10" +INTCOMM_RPKI_VALID="soo 65535:11" + +INTCOMM_NO_EXPORT="soo 65535:65281" +INTCOMM_NO_ADVERTISE="soo 65535:65282" + +# --------------------------------------------------------- +# IRRDB + + + + +# --------------------------------------------------------- +# MEMBERS + +group "clients" { + + neighbor 192.0.2.11 { + remote-as 1 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::11 { + remote-as 1 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.21 { + remote-as 2 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::21 { + remote-as 2 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.31 { + remote-as 3 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::31 { + remote-as 3 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.41 { + remote-as 4 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::41 { + remote-as 4 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } +} + + + +# --------------------------------------------------------- +# FILTERS + +# NO_ADVERTISE usage notes. +# The NO_ADVERTISE well-know community is used here to handle +# filters that span over multiple steps. At first it is added +# to any route, then it is removed as filters conditions are +# satisfied. Finally, if it is still present, it means that +# the route should be discarded. + + + + + +prefix-set "bogons" { + 0.0.0.0/0 + 0.0.0.0/8 prefixlen 8 - 32 + 10.0.0.0/8 prefixlen 8 - 32 + 127.0.0.0/8 prefixlen 8 - 32 + 169.254.0.0/16 prefixlen 16 - 32 + 172.16.0.0/12 prefixlen 12 - 32 + 192.0.2.0/24 prefixlen 24 - 32 + 192.88.99.0/24 prefixlen 24 - 32 + 192.168.0.0/16 prefixlen 16 - 32 + 198.18.0.0/15 prefixlen 15 - 32 + 198.51.100.0/24 prefixlen 24 - 32 + 203.0.113.0/24 prefixlen 24 - 32 + 224.0.0.0/3 prefixlen 3 - 32 + 100.64.0.0/10 prefixlen 10 - 32 + ::/0 + ::/8 prefixlen 8 - 128 + 64:ff9b::/96 prefixlen 96 - 128 + 100::/8 prefixlen 8 - 128 + 200::/7 prefixlen 7 - 128 + 400::/6 prefixlen 6 - 128 + 800::/5 prefixlen 5 - 128 + 1000::/4 prefixlen 4 - 128 + 2001::/33 prefixlen 33 - 128 + 2001:0:8000::/33 prefixlen 33 - 128 + 2001:2::/48 prefixlen 48 - 128 + 2001:3::/32 prefixlen 32 - 128 + 2001:10::/28 prefixlen 28 - 128 + 2001:20::/28 prefixlen 28 - 128 + 2001:db8::/32 prefixlen 32 - 128 + 2002::/16 prefixlen 16 - 128 + 3ffe::/16 prefixlen 16 - 128 + 4000::/3 prefixlen 3 - 128 + 5f00::/8 prefixlen 8 - 128 + 6000::/3 prefixlen 3 - 128 + 8000::/3 prefixlen 3 - 128 + a000::/3 prefixlen 3 - 128 + c000::/3 prefixlen 3 - 128 + e000::/4 prefixlen 4 - 128 + f000::/5 prefixlen 5 - 128 + f800::/6 prefixlen 6 - 128 + fc00::/7 prefixlen 7 - 128 + fe80::/10 prefixlen 10 - 128 + fec0::/10 prefixlen 10 - 128 + ff00::/8 prefixlen 8 - 128 + +} + +# ===================================================================================== +# Global rules. + +# This part of configuration is processed at the beginning of the filters. +# The rules defined in this part are applied to all the clients, and not on a +# client-by-client basis (see the 'match from group clients'), so only global policies +# can be implemented here, that is no client-level configuration are allowed. + + + +# Scrub communities from inbound routes + +# Scrub internal communities from inbound routes +match from group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + + +# The main goal of this block is to enrich routes received from clients by attaching to them +# internal informational communities which are used later by the rest of the filter rules. + +# Internal communities used for RFC1997 well-known communities handling + +# Transform NO_EXPORT into $INTCOMM_NO_EXPORT +match from group clients community NO_EXPORT set { ext-community $INTCOMM_NO_EXPORT community delete NO_EXPORT } + +# Transform NO_ADVERTISE into $INTCOMM_NO_ADVERTISE +match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ADVERTISE community delete NO_ADVERTISE } + + + + + + + + + +# Set the 'rejected_route_announced_by' community for all the clients. +# It will be removed later if the route is not invalid +match from 192.0.2.11 set ext-community rt 65520:1 + +match from 2001:db8:1:1::11 set ext-community rt 65520:1 + +match from 192.0.2.21 set ext-community rt 65520:2 + +match from 2001:db8:1:1::21 set ext-community rt 65520:2 + +match from 192.0.2.31 set ext-community rt 65520:3 + +match from 2001:db8:1:1::31 set ext-community rt 65520:3 + +match from 192.0.2.41 set ext-community rt 65520:4 + +match from 2001:db8:1:1::41 set ext-community rt 65520:4 + + + + +# AS_PATH: length +# Reject inbound routes when 'from group clients max-as-len 32' - reject code: 1 +allow quick from group clients max-as-len 32 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:1} + + + +# Prefix: only IPv6 Global Unicast space allowed +match from group clients inet6 set community NO_ADVERTISE +match from group clients prefix 2000::/3 or-longer set community delete NO_ADVERTISE +# Reject inbound routes when 'from group clients community NO_ADVERTISE' - reject code: 10 +allow quick from group clients community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:10} + + +# Prefix: bogon +# Reject inbound routes when 'from group clients prefix-set bogons' - reject code: 2 +allow quick from group clients prefix-set bogons set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:2} + + + + +# ===================================================================================== +# Per client rules. + + +# --------------------------------------------- +# client AS1_1, inbound + + + +# NEXT_HOP +match from 192.0.2.11 set community NO_ADVERTISE +match from 192.0.2.11 nexthop 192.0.2.11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.11 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.11 peer-as != 1' - reject code: 6 +allow quick from 192.0.2.11 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.11 AS 23456' - reject code: 7 +allow quick from 192.0.2.11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.11 set ext-community delete rt 65520:1 + + + +allow quick from 192.0.2.11 + + + +# --------------------------------------------- +# client AS1_1, outbound + +deny quick to 192.0.2.11 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.11 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.11 + +# do_not_announce_to_peer +deny quick to 192.0.2.11 community 0:1 + + + + + + +# --------------------------------------------- +# client AS1_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::11 set community NO_ADVERTISE +match from 2001:db8:1:1::11 nexthop 2001:db8:1:1::11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::11 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::11 peer-as != 1' - reject code: 6 +allow quick from 2001:db8:1:1::11 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::11 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::11 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::11 set ext-community delete rt 65520:1 + + + +allow quick from 2001:db8:1:1::11 + + + +# --------------------------------------------- +# client AS1_2, outbound + +deny quick to 2001:db8:1:1::11 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::11 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::11 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::11 community 0:1 + + + + + + +# --------------------------------------------- +# client AS2_1, inbound + + + +# NEXT_HOP +match from 192.0.2.21 set community NO_ADVERTISE +match from 192.0.2.21 nexthop 192.0.2.21 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.21 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.21 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.21 peer-as != 2' - reject code: 6 +allow quick from 192.0.2.21 peer-as != 2 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.21 AS 23456' - reject code: 7 +allow quick from 192.0.2.21 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.21 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.21 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.21 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.21 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.21 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.21 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.21 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.21 set ext-community delete rt 65520:2 + + + +allow quick from 192.0.2.21 + + + +# --------------------------------------------- +# client AS2_1, outbound + +deny quick to 192.0.2.21 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.21 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.21 + +# do_not_announce_to_peer +deny quick to 192.0.2.21 community 0:2 + + + + + + +# --------------------------------------------- +# client AS2_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::21 set community NO_ADVERTISE +match from 2001:db8:1:1::21 nexthop 2001:db8:1:1::21 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::21 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::21 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::21 peer-as != 2' - reject code: 6 +allow quick from 2001:db8:1:1::21 peer-as != 2 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::21 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::21 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::21 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::21 set ext-community delete rt 65520:2 + + + +allow quick from 2001:db8:1:1::21 + + + +# --------------------------------------------- +# client AS2_2, outbound + +deny quick to 2001:db8:1:1::21 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::21 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::21 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::21 community 0:2 + + + + + + +# --------------------------------------------- +# client AS3_1, inbound + + + +# NEXT_HOP +match from 192.0.2.31 set community NO_ADVERTISE +match from 192.0.2.31 nexthop 192.0.2.31 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.31 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.31 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.31 peer-as != 3' - reject code: 6 +allow quick from 192.0.2.31 peer-as != 3 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.31 AS 23456' - reject code: 7 +allow quick from 192.0.2.31 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.31 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.31 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.31 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.31 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.31 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.31 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.31 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.31 set ext-community delete rt 65520:3 + + + +allow quick from 192.0.2.31 + + + +# --------------------------------------------- +# client AS3_1, outbound + +deny quick to 192.0.2.31 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.31 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.31 + +# do_not_announce_to_peer +deny quick to 192.0.2.31 community 0:3 + + + + + + +# --------------------------------------------- +# client AS3_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::31 set community NO_ADVERTISE +match from 2001:db8:1:1::31 nexthop 2001:db8:1:1::31 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::31 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::31 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::31 peer-as != 3' - reject code: 6 +allow quick from 2001:db8:1:1::31 peer-as != 3 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::31 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::31 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::31 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::31 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::31 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::31 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::31 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::31 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::31 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::31 set ext-community delete rt 65520:3 + + + +allow quick from 2001:db8:1:1::31 + + + +# --------------------------------------------- +# client AS3_2, outbound + +deny quick to 2001:db8:1:1::31 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::31 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::31 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::31 community 0:3 + + + + + + +# --------------------------------------------- +# client AS4_1, inbound + + + +# NEXT_HOP +match from 192.0.2.41 set community NO_ADVERTISE +match from 192.0.2.41 nexthop 192.0.2.41 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.41 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.41 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.41 peer-as != 4' - reject code: 6 +allow quick from 192.0.2.41 peer-as != 4 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.41 AS 23456' - reject code: 7 +allow quick from 192.0.2.41 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.41 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.41 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.41 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.41 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.41 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.41 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.41 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.41 set ext-community delete rt 65520:4 + + + +allow quick from 192.0.2.41 + + + +# --------------------------------------------- +# client AS4_1, outbound + +deny quick to 192.0.2.41 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.41 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.41 + +# do_not_announce_to_peer +deny quick to 192.0.2.41 community 0:4 + + + + + + +# --------------------------------------------- +# client AS4_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::41 set community NO_ADVERTISE +match from 2001:db8:1:1::41 nexthop 2001:db8:1:1::41 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::41 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::41 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::41 peer-as != 4' - reject code: 6 +allow quick from 2001:db8:1:1::41 peer-as != 4 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::41 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::41 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::41 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::41 set ext-community delete rt 65520:4 + + + +allow quick from 2001:db8:1:1::41 + + + +# --------------------------------------------- +# client AS4_2, outbound + +deny quick to 2001:db8:1:1::41 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::41 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::41 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::41 community 0:4 + + + + + + + + +# Scrub communities from outbound routes +# do_not_announce_to_peer +match to group clients set community delete 0:* + + +# Scrub prepending communities + + +# RFC1997 NO_EXPORT/NO_ADVERTISE received from clients and propagated because of pass-through policy +match to group clients ext-community $INTCOMM_NO_EXPORT set community NO_EXPORT +match to group clients ext-community $INTCOMM_NO_ADVERTISE set community NO_ADVERTISE + +# Remove internal communities before announcing the route +match to group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + diff --git a/tests/live_tests/scenarios/path_hiding/configs/PathHidingScenario_MitigationOn_OpenBGPDIPv6/openbgpd68.conf b/tests/live_tests/scenarios/path_hiding/configs/PathHidingScenario_MitigationOn_OpenBGPDIPv6/openbgpd68.conf index 232d0e3c..3ba2c5ba 100644 --- a/tests/live_tests/scenarios/path_hiding/configs/PathHidingScenario_MitigationOn_OpenBGPDIPv6/openbgpd68.conf +++ b/tests/live_tests/scenarios/path_hiding/configs/PathHidingScenario_MitigationOn_OpenBGPDIPv6/openbgpd68.conf @@ -7,6 +7,7 @@ log updates nexthop qualify via default + INTCOMM_PREF_OK_ROA="soo 65535:1" INTCOMM_ROUTE_OK_WL="soo 65535:2" INTCOMM_PREF_OK_ARINDB="soo 65535:3" @@ -39,6 +40,7 @@ group "clients" { neighbor 192.0.2.11 { remote-as 1 + passive ttl-security no transparent-as yes @@ -54,6 +56,7 @@ group "clients" { neighbor 2001:db8:1:1::11 { remote-as 1 + passive ttl-security no transparent-as yes @@ -69,6 +72,7 @@ group "clients" { neighbor 192.0.2.21 { remote-as 2 + passive ttl-security no transparent-as yes @@ -84,6 +88,7 @@ group "clients" { neighbor 2001:db8:1:1::21 { remote-as 2 + passive ttl-security no transparent-as yes @@ -99,6 +104,7 @@ group "clients" { neighbor 192.0.2.31 { remote-as 3 + passive ttl-security no transparent-as yes @@ -114,6 +120,7 @@ group "clients" { neighbor 2001:db8:1:1::31 { remote-as 3 + passive ttl-security no transparent-as yes @@ -129,6 +136,7 @@ group "clients" { neighbor 192.0.2.41 { remote-as 4 + passive ttl-security no transparent-as yes @@ -144,6 +152,7 @@ group "clients" { neighbor 2001:db8:1:1::41 { remote-as 4 + passive ttl-security no transparent-as yes @@ -256,6 +265,7 @@ match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ + # Set the 'rejected_route_announced_by' community for all the clients. # It will be removed later if the route is not invalid match from 192.0.2.11 set ext-community rt 65520:1 diff --git a/tests/live_tests/scenarios/path_hiding/configs/PathHidingScenario_MitigationOn_OpenBGPDIPv6/openbgpd69.conf b/tests/live_tests/scenarios/path_hiding/configs/PathHidingScenario_MitigationOn_OpenBGPDIPv6/openbgpd69.conf new file mode 100644 index 00000000..23e76b1e --- /dev/null +++ b/tests/live_tests/scenarios/path_hiding/configs/PathHidingScenario_MitigationOn_OpenBGPDIPv6/openbgpd69.conf @@ -0,0 +1,988 @@ +# built by ARouteServer +AS 999 +router-id 192.0.2.2 + +fib-update no +log updates + +nexthop qualify via default + +rde evaluate all + +INTCOMM_PREF_OK_ROA="soo 65535:1" +INTCOMM_ROUTE_OK_WL="soo 65535:2" +INTCOMM_PREF_OK_ARINDB="soo 65535:3" +INTCOMM_PREF_OK_REGISTROBRDB="soo 65535:12" + +INTCOMM_ORIGIN_OK="soo 65535:4" +INTCOMM_ORIGIN_KO="soo 65535:5" +INTCOMM_PREFIX_OK="soo 65535:6" +INTCOMM_PREFIX_KO="soo 65535:7" +INTCOMM_IRR_REJECT="soo 65535:8" + +INTCOMM_RPKI_UNKNOWN="soo 65535:9" +INTCOMM_RPKI_INVALID="soo 65535:10" +INTCOMM_RPKI_VALID="soo 65535:11" + +INTCOMM_NO_EXPORT="soo 65535:65281" +INTCOMM_NO_ADVERTISE="soo 65535:65282" + +# --------------------------------------------------------- +# IRRDB + + + + +# --------------------------------------------------------- +# MEMBERS + +group "clients" { + + neighbor 192.0.2.11 { + remote-as 1 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::11 { + remote-as 1 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.21 { + remote-as 2 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::21 { + remote-as 2 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.31 { + remote-as 3 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::31 { + remote-as 3 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.41 { + remote-as 4 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::41 { + remote-as 4 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } +} + + + +# --------------------------------------------------------- +# FILTERS + +# NO_ADVERTISE usage notes. +# The NO_ADVERTISE well-know community is used here to handle +# filters that span over multiple steps. At first it is added +# to any route, then it is removed as filters conditions are +# satisfied. Finally, if it is still present, it means that +# the route should be discarded. + + + + + +prefix-set "bogons" { + 0.0.0.0/0 + 0.0.0.0/8 prefixlen 8 - 32 + 10.0.0.0/8 prefixlen 8 - 32 + 127.0.0.0/8 prefixlen 8 - 32 + 169.254.0.0/16 prefixlen 16 - 32 + 172.16.0.0/12 prefixlen 12 - 32 + 192.0.2.0/24 prefixlen 24 - 32 + 192.88.99.0/24 prefixlen 24 - 32 + 192.168.0.0/16 prefixlen 16 - 32 + 198.18.0.0/15 prefixlen 15 - 32 + 198.51.100.0/24 prefixlen 24 - 32 + 203.0.113.0/24 prefixlen 24 - 32 + 224.0.0.0/3 prefixlen 3 - 32 + 100.64.0.0/10 prefixlen 10 - 32 + ::/0 + ::/8 prefixlen 8 - 128 + 64:ff9b::/96 prefixlen 96 - 128 + 100::/8 prefixlen 8 - 128 + 200::/7 prefixlen 7 - 128 + 400::/6 prefixlen 6 - 128 + 800::/5 prefixlen 5 - 128 + 1000::/4 prefixlen 4 - 128 + 2001::/33 prefixlen 33 - 128 + 2001:0:8000::/33 prefixlen 33 - 128 + 2001:2::/48 prefixlen 48 - 128 + 2001:3::/32 prefixlen 32 - 128 + 2001:10::/28 prefixlen 28 - 128 + 2001:20::/28 prefixlen 28 - 128 + 2001:db8::/32 prefixlen 32 - 128 + 2002::/16 prefixlen 16 - 128 + 3ffe::/16 prefixlen 16 - 128 + 4000::/3 prefixlen 3 - 128 + 5f00::/8 prefixlen 8 - 128 + 6000::/3 prefixlen 3 - 128 + 8000::/3 prefixlen 3 - 128 + a000::/3 prefixlen 3 - 128 + c000::/3 prefixlen 3 - 128 + e000::/4 prefixlen 4 - 128 + f000::/5 prefixlen 5 - 128 + f800::/6 prefixlen 6 - 128 + fc00::/7 prefixlen 7 - 128 + fe80::/10 prefixlen 10 - 128 + fec0::/10 prefixlen 10 - 128 + ff00::/8 prefixlen 8 - 128 + +} + +# ===================================================================================== +# Global rules. + +# This part of configuration is processed at the beginning of the filters. +# The rules defined in this part are applied to all the clients, and not on a +# client-by-client basis (see the 'match from group clients'), so only global policies +# can be implemented here, that is no client-level configuration are allowed. + + + +# Scrub communities from inbound routes + +# Scrub internal communities from inbound routes +match from group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + + +# The main goal of this block is to enrich routes received from clients by attaching to them +# internal informational communities which are used later by the rest of the filter rules. + +# Internal communities used for RFC1997 well-known communities handling + +# Transform NO_EXPORT into $INTCOMM_NO_EXPORT +match from group clients community NO_EXPORT set { ext-community $INTCOMM_NO_EXPORT community delete NO_EXPORT } + +# Transform NO_ADVERTISE into $INTCOMM_NO_ADVERTISE +match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ADVERTISE community delete NO_ADVERTISE } + + + + + + + + + +# Set the 'rejected_route_announced_by' community for all the clients. +# It will be removed later if the route is not invalid +match from 192.0.2.11 set ext-community rt 65520:1 + +match from 2001:db8:1:1::11 set ext-community rt 65520:1 + +match from 192.0.2.21 set ext-community rt 65520:2 + +match from 2001:db8:1:1::21 set ext-community rt 65520:2 + +match from 192.0.2.31 set ext-community rt 65520:3 + +match from 2001:db8:1:1::31 set ext-community rt 65520:3 + +match from 192.0.2.41 set ext-community rt 65520:4 + +match from 2001:db8:1:1::41 set ext-community rt 65520:4 + + + + +# AS_PATH: length +# Reject inbound routes when 'from group clients max-as-len 32' - reject code: 1 +allow quick from group clients max-as-len 32 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:1} + + + +# Prefix: only IPv6 Global Unicast space allowed +match from group clients inet6 set community NO_ADVERTISE +match from group clients prefix 2000::/3 or-longer set community delete NO_ADVERTISE +# Reject inbound routes when 'from group clients community NO_ADVERTISE' - reject code: 10 +allow quick from group clients community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:10} + + +# Prefix: bogon +# Reject inbound routes when 'from group clients prefix-set bogons' - reject code: 2 +allow quick from group clients prefix-set bogons set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:2} + + + + +# ===================================================================================== +# Per client rules. + + +# --------------------------------------------- +# client AS1_1, inbound + + + +# NEXT_HOP +match from 192.0.2.11 set community NO_ADVERTISE +match from 192.0.2.11 nexthop 192.0.2.11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.11 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.11 peer-as != 1' - reject code: 6 +allow quick from 192.0.2.11 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.11 AS 23456' - reject code: 7 +allow quick from 192.0.2.11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.11 set ext-community delete rt 65520:1 + + + +allow quick from 192.0.2.11 + + + +# --------------------------------------------- +# client AS1_1, outbound + +deny quick to 192.0.2.11 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.11 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.11 + +# do_not_announce_to_peer +deny quick to 192.0.2.11 community 0:1 + + + + + + +# --------------------------------------------- +# client AS1_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::11 set community NO_ADVERTISE +match from 2001:db8:1:1::11 nexthop 2001:db8:1:1::11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::11 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::11 peer-as != 1' - reject code: 6 +allow quick from 2001:db8:1:1::11 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::11 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::11 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::11 set ext-community delete rt 65520:1 + + + +allow quick from 2001:db8:1:1::11 + + + +# --------------------------------------------- +# client AS1_2, outbound + +deny quick to 2001:db8:1:1::11 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::11 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::11 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::11 community 0:1 + + + + + + +# --------------------------------------------- +# client AS2_1, inbound + + + +# NEXT_HOP +match from 192.0.2.21 set community NO_ADVERTISE +match from 192.0.2.21 nexthop 192.0.2.21 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.21 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.21 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.21 peer-as != 2' - reject code: 6 +allow quick from 192.0.2.21 peer-as != 2 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.21 AS 23456' - reject code: 7 +allow quick from 192.0.2.21 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.21 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.21 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.21 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.21 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.21 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.21 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.21 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.21 set ext-community delete rt 65520:2 + + + +allow quick from 192.0.2.21 + + + +# --------------------------------------------- +# client AS2_1, outbound + +deny quick to 192.0.2.21 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.21 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.21 + +# do_not_announce_to_peer +deny quick to 192.0.2.21 community 0:2 + + + + + + +# --------------------------------------------- +# client AS2_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::21 set community NO_ADVERTISE +match from 2001:db8:1:1::21 nexthop 2001:db8:1:1::21 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::21 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::21 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::21 peer-as != 2' - reject code: 6 +allow quick from 2001:db8:1:1::21 peer-as != 2 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::21 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::21 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::21 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::21 set ext-community delete rt 65520:2 + + + +allow quick from 2001:db8:1:1::21 + + + +# --------------------------------------------- +# client AS2_2, outbound + +deny quick to 2001:db8:1:1::21 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::21 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::21 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::21 community 0:2 + + + + + + +# --------------------------------------------- +# client AS3_1, inbound + + + +# NEXT_HOP +match from 192.0.2.31 set community NO_ADVERTISE +match from 192.0.2.31 nexthop 192.0.2.31 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.31 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.31 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.31 peer-as != 3' - reject code: 6 +allow quick from 192.0.2.31 peer-as != 3 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.31 AS 23456' - reject code: 7 +allow quick from 192.0.2.31 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.31 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.31 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.31 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.31 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.31 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.31 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.31 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.31 set ext-community delete rt 65520:3 + + + +allow quick from 192.0.2.31 + + + +# --------------------------------------------- +# client AS3_1, outbound + +deny quick to 192.0.2.31 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.31 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.31 + +# do_not_announce_to_peer +deny quick to 192.0.2.31 community 0:3 + + + + + + +# --------------------------------------------- +# client AS3_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::31 set community NO_ADVERTISE +match from 2001:db8:1:1::31 nexthop 2001:db8:1:1::31 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::31 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::31 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::31 peer-as != 3' - reject code: 6 +allow quick from 2001:db8:1:1::31 peer-as != 3 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::31 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::31 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::31 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::31 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::31 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::31 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::31 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::31 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::31 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::31 set ext-community delete rt 65520:3 + + + +allow quick from 2001:db8:1:1::31 + + + +# --------------------------------------------- +# client AS3_2, outbound + +deny quick to 2001:db8:1:1::31 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::31 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::31 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::31 community 0:3 + + + + + + +# --------------------------------------------- +# client AS4_1, inbound + + + +# NEXT_HOP +match from 192.0.2.41 set community NO_ADVERTISE +match from 192.0.2.41 nexthop 192.0.2.41 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.41 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.41 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.41 peer-as != 4' - reject code: 6 +allow quick from 192.0.2.41 peer-as != 4 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.41 AS 23456' - reject code: 7 +allow quick from 192.0.2.41 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.41 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.41 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.41 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.41 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.41 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.41 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.41 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.41 set ext-community delete rt 65520:4 + + + +allow quick from 192.0.2.41 + + + +# --------------------------------------------- +# client AS4_1, outbound + +deny quick to 192.0.2.41 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.41 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.41 + +# do_not_announce_to_peer +deny quick to 192.0.2.41 community 0:4 + + + + + + +# --------------------------------------------- +# client AS4_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::41 set community NO_ADVERTISE +match from 2001:db8:1:1::41 nexthop 2001:db8:1:1::41 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::41 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::41 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::41 peer-as != 4' - reject code: 6 +allow quick from 2001:db8:1:1::41 peer-as != 4 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::41 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::41 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::41 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::41 set ext-community delete rt 65520:4 + + + +allow quick from 2001:db8:1:1::41 + + + +# --------------------------------------------- +# client AS4_2, outbound + +deny quick to 2001:db8:1:1::41 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::41 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::41 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::41 community 0:4 + + + + + + + + +# Scrub communities from outbound routes +# do_not_announce_to_peer +match to group clients set community delete 0:* + + +# Scrub prepending communities + + +# RFC1997 NO_EXPORT/NO_ADVERTISE received from clients and propagated because of pass-through policy +match to group clients ext-community $INTCOMM_NO_EXPORT set community NO_EXPORT +match to group clients ext-community $INTCOMM_NO_ADVERTISE set community NO_ADVERTISE + +# Remove internal communities before announcing the route +match to group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + diff --git a/tests/live_tests/scenarios/path_hiding/configs/PathHidingScenario_MitigationOn_OpenBGPDIPv6/openbgpd69p.conf b/tests/live_tests/scenarios/path_hiding/configs/PathHidingScenario_MitigationOn_OpenBGPDIPv6/openbgpd69p.conf new file mode 100644 index 00000000..23e76b1e --- /dev/null +++ b/tests/live_tests/scenarios/path_hiding/configs/PathHidingScenario_MitigationOn_OpenBGPDIPv6/openbgpd69p.conf @@ -0,0 +1,988 @@ +# built by ARouteServer +AS 999 +router-id 192.0.2.2 + +fib-update no +log updates + +nexthop qualify via default + +rde evaluate all + +INTCOMM_PREF_OK_ROA="soo 65535:1" +INTCOMM_ROUTE_OK_WL="soo 65535:2" +INTCOMM_PREF_OK_ARINDB="soo 65535:3" +INTCOMM_PREF_OK_REGISTROBRDB="soo 65535:12" + +INTCOMM_ORIGIN_OK="soo 65535:4" +INTCOMM_ORIGIN_KO="soo 65535:5" +INTCOMM_PREFIX_OK="soo 65535:6" +INTCOMM_PREFIX_KO="soo 65535:7" +INTCOMM_IRR_REJECT="soo 65535:8" + +INTCOMM_RPKI_UNKNOWN="soo 65535:9" +INTCOMM_RPKI_INVALID="soo 65535:10" +INTCOMM_RPKI_VALID="soo 65535:11" + +INTCOMM_NO_EXPORT="soo 65535:65281" +INTCOMM_NO_ADVERTISE="soo 65535:65282" + +# --------------------------------------------------------- +# IRRDB + + + + +# --------------------------------------------------------- +# MEMBERS + +group "clients" { + + neighbor 192.0.2.11 { + remote-as 1 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::11 { + remote-as 1 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.21 { + remote-as 2 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::21 { + remote-as 2 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.31 { + remote-as 3 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::31 { + remote-as 3 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.41 { + remote-as 4 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::41 { + remote-as 4 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } +} + + + +# --------------------------------------------------------- +# FILTERS + +# NO_ADVERTISE usage notes. +# The NO_ADVERTISE well-know community is used here to handle +# filters that span over multiple steps. At first it is added +# to any route, then it is removed as filters conditions are +# satisfied. Finally, if it is still present, it means that +# the route should be discarded. + + + + + +prefix-set "bogons" { + 0.0.0.0/0 + 0.0.0.0/8 prefixlen 8 - 32 + 10.0.0.0/8 prefixlen 8 - 32 + 127.0.0.0/8 prefixlen 8 - 32 + 169.254.0.0/16 prefixlen 16 - 32 + 172.16.0.0/12 prefixlen 12 - 32 + 192.0.2.0/24 prefixlen 24 - 32 + 192.88.99.0/24 prefixlen 24 - 32 + 192.168.0.0/16 prefixlen 16 - 32 + 198.18.0.0/15 prefixlen 15 - 32 + 198.51.100.0/24 prefixlen 24 - 32 + 203.0.113.0/24 prefixlen 24 - 32 + 224.0.0.0/3 prefixlen 3 - 32 + 100.64.0.0/10 prefixlen 10 - 32 + ::/0 + ::/8 prefixlen 8 - 128 + 64:ff9b::/96 prefixlen 96 - 128 + 100::/8 prefixlen 8 - 128 + 200::/7 prefixlen 7 - 128 + 400::/6 prefixlen 6 - 128 + 800::/5 prefixlen 5 - 128 + 1000::/4 prefixlen 4 - 128 + 2001::/33 prefixlen 33 - 128 + 2001:0:8000::/33 prefixlen 33 - 128 + 2001:2::/48 prefixlen 48 - 128 + 2001:3::/32 prefixlen 32 - 128 + 2001:10::/28 prefixlen 28 - 128 + 2001:20::/28 prefixlen 28 - 128 + 2001:db8::/32 prefixlen 32 - 128 + 2002::/16 prefixlen 16 - 128 + 3ffe::/16 prefixlen 16 - 128 + 4000::/3 prefixlen 3 - 128 + 5f00::/8 prefixlen 8 - 128 + 6000::/3 prefixlen 3 - 128 + 8000::/3 prefixlen 3 - 128 + a000::/3 prefixlen 3 - 128 + c000::/3 prefixlen 3 - 128 + e000::/4 prefixlen 4 - 128 + f000::/5 prefixlen 5 - 128 + f800::/6 prefixlen 6 - 128 + fc00::/7 prefixlen 7 - 128 + fe80::/10 prefixlen 10 - 128 + fec0::/10 prefixlen 10 - 128 + ff00::/8 prefixlen 8 - 128 + +} + +# ===================================================================================== +# Global rules. + +# This part of configuration is processed at the beginning of the filters. +# The rules defined in this part are applied to all the clients, and not on a +# client-by-client basis (see the 'match from group clients'), so only global policies +# can be implemented here, that is no client-level configuration are allowed. + + + +# Scrub communities from inbound routes + +# Scrub internal communities from inbound routes +match from group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + + +# The main goal of this block is to enrich routes received from clients by attaching to them +# internal informational communities which are used later by the rest of the filter rules. + +# Internal communities used for RFC1997 well-known communities handling + +# Transform NO_EXPORT into $INTCOMM_NO_EXPORT +match from group clients community NO_EXPORT set { ext-community $INTCOMM_NO_EXPORT community delete NO_EXPORT } + +# Transform NO_ADVERTISE into $INTCOMM_NO_ADVERTISE +match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ADVERTISE community delete NO_ADVERTISE } + + + + + + + + + +# Set the 'rejected_route_announced_by' community for all the clients. +# It will be removed later if the route is not invalid +match from 192.0.2.11 set ext-community rt 65520:1 + +match from 2001:db8:1:1::11 set ext-community rt 65520:1 + +match from 192.0.2.21 set ext-community rt 65520:2 + +match from 2001:db8:1:1::21 set ext-community rt 65520:2 + +match from 192.0.2.31 set ext-community rt 65520:3 + +match from 2001:db8:1:1::31 set ext-community rt 65520:3 + +match from 192.0.2.41 set ext-community rt 65520:4 + +match from 2001:db8:1:1::41 set ext-community rt 65520:4 + + + + +# AS_PATH: length +# Reject inbound routes when 'from group clients max-as-len 32' - reject code: 1 +allow quick from group clients max-as-len 32 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:1} + + + +# Prefix: only IPv6 Global Unicast space allowed +match from group clients inet6 set community NO_ADVERTISE +match from group clients prefix 2000::/3 or-longer set community delete NO_ADVERTISE +# Reject inbound routes when 'from group clients community NO_ADVERTISE' - reject code: 10 +allow quick from group clients community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:10} + + +# Prefix: bogon +# Reject inbound routes when 'from group clients prefix-set bogons' - reject code: 2 +allow quick from group clients prefix-set bogons set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:2} + + + + +# ===================================================================================== +# Per client rules. + + +# --------------------------------------------- +# client AS1_1, inbound + + + +# NEXT_HOP +match from 192.0.2.11 set community NO_ADVERTISE +match from 192.0.2.11 nexthop 192.0.2.11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.11 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.11 peer-as != 1' - reject code: 6 +allow quick from 192.0.2.11 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.11 AS 23456' - reject code: 7 +allow quick from 192.0.2.11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.11 set ext-community delete rt 65520:1 + + + +allow quick from 192.0.2.11 + + + +# --------------------------------------------- +# client AS1_1, outbound + +deny quick to 192.0.2.11 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.11 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.11 + +# do_not_announce_to_peer +deny quick to 192.0.2.11 community 0:1 + + + + + + +# --------------------------------------------- +# client AS1_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::11 set community NO_ADVERTISE +match from 2001:db8:1:1::11 nexthop 2001:db8:1:1::11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::11 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::11 peer-as != 1' - reject code: 6 +allow quick from 2001:db8:1:1::11 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::11 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::11 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::11 set ext-community delete rt 65520:1 + + + +allow quick from 2001:db8:1:1::11 + + + +# --------------------------------------------- +# client AS1_2, outbound + +deny quick to 2001:db8:1:1::11 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::11 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::11 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::11 community 0:1 + + + + + + +# --------------------------------------------- +# client AS2_1, inbound + + + +# NEXT_HOP +match from 192.0.2.21 set community NO_ADVERTISE +match from 192.0.2.21 nexthop 192.0.2.21 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.21 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.21 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.21 peer-as != 2' - reject code: 6 +allow quick from 192.0.2.21 peer-as != 2 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.21 AS 23456' - reject code: 7 +allow quick from 192.0.2.21 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.21 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.21 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.21 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.21 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.21 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.21 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.21 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.21 set ext-community delete rt 65520:2 + + + +allow quick from 192.0.2.21 + + + +# --------------------------------------------- +# client AS2_1, outbound + +deny quick to 192.0.2.21 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.21 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.21 + +# do_not_announce_to_peer +deny quick to 192.0.2.21 community 0:2 + + + + + + +# --------------------------------------------- +# client AS2_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::21 set community NO_ADVERTISE +match from 2001:db8:1:1::21 nexthop 2001:db8:1:1::21 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::21 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::21 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::21 peer-as != 2' - reject code: 6 +allow quick from 2001:db8:1:1::21 peer-as != 2 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::21 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::21 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::21 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::21 set ext-community delete rt 65520:2 + + + +allow quick from 2001:db8:1:1::21 + + + +# --------------------------------------------- +# client AS2_2, outbound + +deny quick to 2001:db8:1:1::21 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::21 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::21 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::21 community 0:2 + + + + + + +# --------------------------------------------- +# client AS3_1, inbound + + + +# NEXT_HOP +match from 192.0.2.31 set community NO_ADVERTISE +match from 192.0.2.31 nexthop 192.0.2.31 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.31 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.31 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.31 peer-as != 3' - reject code: 6 +allow quick from 192.0.2.31 peer-as != 3 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.31 AS 23456' - reject code: 7 +allow quick from 192.0.2.31 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.31 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.31 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.31 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.31 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.31 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.31 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.31 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.31 set ext-community delete rt 65520:3 + + + +allow quick from 192.0.2.31 + + + +# --------------------------------------------- +# client AS3_1, outbound + +deny quick to 192.0.2.31 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.31 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.31 + +# do_not_announce_to_peer +deny quick to 192.0.2.31 community 0:3 + + + + + + +# --------------------------------------------- +# client AS3_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::31 set community NO_ADVERTISE +match from 2001:db8:1:1::31 nexthop 2001:db8:1:1::31 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::31 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::31 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::31 peer-as != 3' - reject code: 6 +allow quick from 2001:db8:1:1::31 peer-as != 3 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::31 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::31 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::31 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::31 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::31 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::31 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::31 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::31 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::31 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::31 set ext-community delete rt 65520:3 + + + +allow quick from 2001:db8:1:1::31 + + + +# --------------------------------------------- +# client AS3_2, outbound + +deny quick to 2001:db8:1:1::31 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::31 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::31 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::31 community 0:3 + + + + + + +# --------------------------------------------- +# client AS4_1, inbound + + + +# NEXT_HOP +match from 192.0.2.41 set community NO_ADVERTISE +match from 192.0.2.41 nexthop 192.0.2.41 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.41 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.41 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.41 peer-as != 4' - reject code: 6 +allow quick from 192.0.2.41 peer-as != 4 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.41 AS 23456' - reject code: 7 +allow quick from 192.0.2.41 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.41 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.41 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.41 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.41 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.41 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.41 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.41 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.41 set ext-community delete rt 65520:4 + + + +allow quick from 192.0.2.41 + + + +# --------------------------------------------- +# client AS4_1, outbound + +deny quick to 192.0.2.41 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.41 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.41 + +# do_not_announce_to_peer +deny quick to 192.0.2.41 community 0:4 + + + + + + +# --------------------------------------------- +# client AS4_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::41 set community NO_ADVERTISE +match from 2001:db8:1:1::41 nexthop 2001:db8:1:1::41 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::41 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::41 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::41 peer-as != 4' - reject code: 6 +allow quick from 2001:db8:1:1::41 peer-as != 4 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::41 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::41 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::41 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::41 set ext-community delete rt 65520:4 + + + +allow quick from 2001:db8:1:1::41 + + + +# --------------------------------------------- +# client AS4_2, outbound + +deny quick to 2001:db8:1:1::41 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::41 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::41 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::41 community 0:4 + + + + + + + + +# Scrub communities from outbound routes +# do_not_announce_to_peer +match to group clients set community delete 0:* + + +# Scrub prepending communities + + +# RFC1997 NO_EXPORT/NO_ADVERTISE received from clients and propagated because of pass-through policy +match to group clients ext-community $INTCOMM_NO_EXPORT set community NO_EXPORT +match to group clients ext-community $INTCOMM_NO_ADVERTISE set community NO_ADVERTISE + +# Remove internal communities before announcing the route +match to group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + diff --git a/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOff_OpenBGPDIPv4/openbgpd69/AS1.txt b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOff_OpenBGPDIPv4/openbgpd69/AS1.txt new file mode 100644 index 00000000..7fe4a1b3 --- /dev/null +++ b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOff_OpenBGPDIPv4/openbgpd69/AS1.txt @@ -0,0 +1,7 @@ +101.0.1.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOff_OpenBGPDIPv4/openbgpd69/AS101.txt b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOff_OpenBGPDIPv4/openbgpd69/AS101.txt new file mode 100644 index 00000000..e69de29b diff --git a/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOff_OpenBGPDIPv4/openbgpd69/AS2.txt b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOff_OpenBGPDIPv4/openbgpd69/AS2.txt new file mode 100644 index 00000000..dd7e5651 --- /dev/null +++ b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOff_OpenBGPDIPv4/openbgpd69/AS2.txt @@ -0,0 +1,7 @@ +101.0.1.0/24, AS_PATH: 101 101 101 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOff_OpenBGPDIPv4/openbgpd69/AS3.txt b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOff_OpenBGPDIPv4/openbgpd69/AS3.txt new file mode 100644 index 00000000..e69de29b diff --git a/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOff_OpenBGPDIPv4/openbgpd69/AS4.txt b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOff_OpenBGPDIPv4/openbgpd69/AS4.txt new file mode 100644 index 00000000..e69de29b diff --git a/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOff_OpenBGPDIPv4/openbgpd69/rs.txt b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOff_OpenBGPDIPv4/openbgpd69/rs.txt new file mode 100644 index 00000000..12d72bc0 --- /dev/null +++ b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOff_OpenBGPDIPv4/openbgpd69/rs.txt @@ -0,0 +1,14 @@ +101.0.1.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: 0:3, 0:4 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.1.0/24, AS_PATH: 2 101 101 101 101, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOff_OpenBGPDIPv4/openbgpd69p/AS1.txt b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOff_OpenBGPDIPv4/openbgpd69p/AS1.txt new file mode 100644 index 00000000..7fe4a1b3 --- /dev/null +++ b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOff_OpenBGPDIPv4/openbgpd69p/AS1.txt @@ -0,0 +1,7 @@ +101.0.1.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOff_OpenBGPDIPv4/openbgpd69p/AS101.txt b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOff_OpenBGPDIPv4/openbgpd69p/AS101.txt new file mode 100644 index 00000000..e69de29b diff --git a/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOff_OpenBGPDIPv4/openbgpd69p/AS2.txt b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOff_OpenBGPDIPv4/openbgpd69p/AS2.txt new file mode 100644 index 00000000..dd7e5651 --- /dev/null +++ b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOff_OpenBGPDIPv4/openbgpd69p/AS2.txt @@ -0,0 +1,7 @@ +101.0.1.0/24, AS_PATH: 101 101 101 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOff_OpenBGPDIPv4/openbgpd69p/AS3.txt b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOff_OpenBGPDIPv4/openbgpd69p/AS3.txt new file mode 100644 index 00000000..e69de29b diff --git a/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOff_OpenBGPDIPv4/openbgpd69p/AS4.txt b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOff_OpenBGPDIPv4/openbgpd69p/AS4.txt new file mode 100644 index 00000000..e69de29b diff --git a/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOff_OpenBGPDIPv4/openbgpd69p/rs.txt b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOff_OpenBGPDIPv4/openbgpd69p/rs.txt new file mode 100644 index 00000000..12d72bc0 --- /dev/null +++ b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOff_OpenBGPDIPv4/openbgpd69p/rs.txt @@ -0,0 +1,14 @@ +101.0.1.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: 0:3, 0:4 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.1.0/24, AS_PATH: 2 101 101 101 101, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOff_OpenBGPDIPv6/openbgpd69/AS1.txt b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOff_OpenBGPDIPv6/openbgpd69/AS1.txt new file mode 100644 index 00000000..61c455e4 --- /dev/null +++ b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOff_OpenBGPDIPv6/openbgpd69/AS1.txt @@ -0,0 +1,7 @@ +2a01:1:1::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOff_OpenBGPDIPv6/openbgpd69/AS101.txt b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOff_OpenBGPDIPv6/openbgpd69/AS101.txt new file mode 100644 index 00000000..e69de29b diff --git a/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOff_OpenBGPDIPv6/openbgpd69/AS2.txt b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOff_OpenBGPDIPv6/openbgpd69/AS2.txt new file mode 100644 index 00000000..d2dd2ccd --- /dev/null +++ b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOff_OpenBGPDIPv6/openbgpd69/AS2.txt @@ -0,0 +1,7 @@ +2a01:1:1::/48, AS_PATH: 101 101 101 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOff_OpenBGPDIPv6/openbgpd69/AS3.txt b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOff_OpenBGPDIPv6/openbgpd69/AS3.txt new file mode 100644 index 00000000..e69de29b diff --git a/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOff_OpenBGPDIPv6/openbgpd69/AS4.txt b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOff_OpenBGPDIPv6/openbgpd69/AS4.txt new file mode 100644 index 00000000..e69de29b diff --git a/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOff_OpenBGPDIPv6/openbgpd69/rs.txt b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOff_OpenBGPDIPv6/openbgpd69/rs.txt new file mode 100644 index 00000000..a3d81fe6 --- /dev/null +++ b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOff_OpenBGPDIPv6/openbgpd69/rs.txt @@ -0,0 +1,14 @@ +2a01:1:1::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 0:3, 0:4 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a01:1:1::/48, AS_PATH: 2 101 101 101 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOff_OpenBGPDIPv6/openbgpd69p/AS1.txt b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOff_OpenBGPDIPv6/openbgpd69p/AS1.txt new file mode 100644 index 00000000..61c455e4 --- /dev/null +++ b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOff_OpenBGPDIPv6/openbgpd69p/AS1.txt @@ -0,0 +1,7 @@ +2a01:1:1::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOff_OpenBGPDIPv6/openbgpd69p/AS101.txt b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOff_OpenBGPDIPv6/openbgpd69p/AS101.txt new file mode 100644 index 00000000..e69de29b diff --git a/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOff_OpenBGPDIPv6/openbgpd69p/AS2.txt b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOff_OpenBGPDIPv6/openbgpd69p/AS2.txt new file mode 100644 index 00000000..d2dd2ccd --- /dev/null +++ b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOff_OpenBGPDIPv6/openbgpd69p/AS2.txt @@ -0,0 +1,7 @@ +2a01:1:1::/48, AS_PATH: 101 101 101 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOff_OpenBGPDIPv6/openbgpd69p/AS3.txt b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOff_OpenBGPDIPv6/openbgpd69p/AS3.txt new file mode 100644 index 00000000..e69de29b diff --git a/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOff_OpenBGPDIPv6/openbgpd69p/AS4.txt b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOff_OpenBGPDIPv6/openbgpd69p/AS4.txt new file mode 100644 index 00000000..e69de29b diff --git a/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOff_OpenBGPDIPv6/openbgpd69p/rs.txt b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOff_OpenBGPDIPv6/openbgpd69p/rs.txt new file mode 100644 index 00000000..a3d81fe6 --- /dev/null +++ b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOff_OpenBGPDIPv6/openbgpd69p/rs.txt @@ -0,0 +1,14 @@ +2a01:1:1::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 0:3, 0:4 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a01:1:1::/48, AS_PATH: 2 101 101 101 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOn_OpenBGPDIPv4/openbgpd69/AS1.txt b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOn_OpenBGPDIPv4/openbgpd69/AS1.txt new file mode 100644 index 00000000..7fe4a1b3 --- /dev/null +++ b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOn_OpenBGPDIPv4/openbgpd69/AS1.txt @@ -0,0 +1,7 @@ +101.0.1.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOn_OpenBGPDIPv4/openbgpd69/AS101.txt b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOn_OpenBGPDIPv4/openbgpd69/AS101.txt new file mode 100644 index 00000000..e69de29b diff --git a/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOn_OpenBGPDIPv4/openbgpd69/AS2.txt b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOn_OpenBGPDIPv4/openbgpd69/AS2.txt new file mode 100644 index 00000000..dd7e5651 --- /dev/null +++ b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOn_OpenBGPDIPv4/openbgpd69/AS2.txt @@ -0,0 +1,7 @@ +101.0.1.0/24, AS_PATH: 101 101 101 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOn_OpenBGPDIPv4/openbgpd69/AS3.txt b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOn_OpenBGPDIPv4/openbgpd69/AS3.txt new file mode 100644 index 00000000..16373410 --- /dev/null +++ b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOn_OpenBGPDIPv4/openbgpd69/AS3.txt @@ -0,0 +1,7 @@ +101.0.1.0/24, AS_PATH: 2 101 101 101 101, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOn_OpenBGPDIPv4/openbgpd69/AS4.txt b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOn_OpenBGPDIPv4/openbgpd69/AS4.txt new file mode 100644 index 00000000..16373410 --- /dev/null +++ b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOn_OpenBGPDIPv4/openbgpd69/AS4.txt @@ -0,0 +1,7 @@ +101.0.1.0/24, AS_PATH: 2 101 101 101 101, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOn_OpenBGPDIPv4/openbgpd69/rs.txt b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOn_OpenBGPDIPv4/openbgpd69/rs.txt new file mode 100644 index 00000000..12d72bc0 --- /dev/null +++ b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOn_OpenBGPDIPv4/openbgpd69/rs.txt @@ -0,0 +1,14 @@ +101.0.1.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: 0:3, 0:4 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.1.0/24, AS_PATH: 2 101 101 101 101, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOn_OpenBGPDIPv4/openbgpd69p/AS1.txt b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOn_OpenBGPDIPv4/openbgpd69p/AS1.txt new file mode 100644 index 00000000..7fe4a1b3 --- /dev/null +++ b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOn_OpenBGPDIPv4/openbgpd69p/AS1.txt @@ -0,0 +1,7 @@ +101.0.1.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOn_OpenBGPDIPv4/openbgpd69p/AS101.txt b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOn_OpenBGPDIPv4/openbgpd69p/AS101.txt new file mode 100644 index 00000000..e69de29b diff --git a/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOn_OpenBGPDIPv4/openbgpd69p/AS2.txt b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOn_OpenBGPDIPv4/openbgpd69p/AS2.txt new file mode 100644 index 00000000..e69de29b diff --git a/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOn_OpenBGPDIPv4/openbgpd69p/AS3.txt b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOn_OpenBGPDIPv4/openbgpd69p/AS3.txt new file mode 100644 index 00000000..e69de29b diff --git a/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOn_OpenBGPDIPv4/openbgpd69p/AS4.txt b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOn_OpenBGPDIPv4/openbgpd69p/AS4.txt new file mode 100644 index 00000000..16373410 --- /dev/null +++ b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOn_OpenBGPDIPv4/openbgpd69p/AS4.txt @@ -0,0 +1,7 @@ +101.0.1.0/24, AS_PATH: 2 101 101 101 101, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOn_OpenBGPDIPv4/openbgpd69p/rs.txt b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOn_OpenBGPDIPv4/openbgpd69p/rs.txt new file mode 100644 index 00000000..1b00af92 --- /dev/null +++ b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOn_OpenBGPDIPv4/openbgpd69p/rs.txt @@ -0,0 +1,7 @@ +101.0.1.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: 0:3, 0:4 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOn_OpenBGPDIPv6/openbgpd69/AS1.txt b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOn_OpenBGPDIPv6/openbgpd69/AS1.txt new file mode 100644 index 00000000..61c455e4 --- /dev/null +++ b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOn_OpenBGPDIPv6/openbgpd69/AS1.txt @@ -0,0 +1,7 @@ +2a01:1:1::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOn_OpenBGPDIPv6/openbgpd69/AS101.txt b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOn_OpenBGPDIPv6/openbgpd69/AS101.txt new file mode 100644 index 00000000..e69de29b diff --git a/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOn_OpenBGPDIPv6/openbgpd69/AS2.txt b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOn_OpenBGPDIPv6/openbgpd69/AS2.txt new file mode 100644 index 00000000..d2dd2ccd --- /dev/null +++ b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOn_OpenBGPDIPv6/openbgpd69/AS2.txt @@ -0,0 +1,7 @@ +2a01:1:1::/48, AS_PATH: 101 101 101 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOn_OpenBGPDIPv6/openbgpd69/AS3.txt b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOn_OpenBGPDIPv6/openbgpd69/AS3.txt new file mode 100644 index 00000000..430ef778 --- /dev/null +++ b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOn_OpenBGPDIPv6/openbgpd69/AS3.txt @@ -0,0 +1,7 @@ +2a01:1:1::/48, AS_PATH: 2 101 101 101 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOn_OpenBGPDIPv6/openbgpd69/AS4.txt b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOn_OpenBGPDIPv6/openbgpd69/AS4.txt new file mode 100644 index 00000000..430ef778 --- /dev/null +++ b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOn_OpenBGPDIPv6/openbgpd69/AS4.txt @@ -0,0 +1,7 @@ +2a01:1:1::/48, AS_PATH: 2 101 101 101 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOn_OpenBGPDIPv6/openbgpd69/rs.txt b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOn_OpenBGPDIPv6/openbgpd69/rs.txt new file mode 100644 index 00000000..a3d81fe6 --- /dev/null +++ b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOn_OpenBGPDIPv6/openbgpd69/rs.txt @@ -0,0 +1,14 @@ +2a01:1:1::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 0:3, 0:4 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a01:1:1::/48, AS_PATH: 2 101 101 101 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOn_OpenBGPDIPv6/openbgpd69p/AS1.txt b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOn_OpenBGPDIPv6/openbgpd69p/AS1.txt new file mode 100644 index 00000000..61c455e4 --- /dev/null +++ b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOn_OpenBGPDIPv6/openbgpd69p/AS1.txt @@ -0,0 +1,7 @@ +2a01:1:1::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOn_OpenBGPDIPv6/openbgpd69p/AS101.txt b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOn_OpenBGPDIPv6/openbgpd69p/AS101.txt new file mode 100644 index 00000000..e69de29b diff --git a/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOn_OpenBGPDIPv6/openbgpd69p/AS2.txt b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOn_OpenBGPDIPv6/openbgpd69p/AS2.txt new file mode 100644 index 00000000..e69de29b diff --git a/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOn_OpenBGPDIPv6/openbgpd69p/AS3.txt b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOn_OpenBGPDIPv6/openbgpd69p/AS3.txt new file mode 100644 index 00000000..e69de29b diff --git a/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOn_OpenBGPDIPv6/openbgpd69p/AS4.txt b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOn_OpenBGPDIPv6/openbgpd69p/AS4.txt new file mode 100644 index 00000000..430ef778 --- /dev/null +++ b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOn_OpenBGPDIPv6/openbgpd69p/AS4.txt @@ -0,0 +1,7 @@ +2a01:1:1::/48, AS_PATH: 2 101 101 101 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOn_OpenBGPDIPv6/openbgpd69p/rs.txt b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOn_OpenBGPDIPv6/openbgpd69p/rs.txt new file mode 100644 index 00000000..819f293a --- /dev/null +++ b/tests/live_tests/scenarios/path_hiding/routes/PathHidingScenario_MitigationOn_OpenBGPDIPv6/openbgpd69p/rs.txt @@ -0,0 +1,7 @@ +2a01:1:1::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 0:3, 0:4 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/path_hiding/test_openbgpd_portable_4.py b/tests/live_tests/scenarios/path_hiding/test_openbgpd_portable_4.py index 60415684..0ac58661 100644 --- a/tests/live_tests/scenarios/path_hiding/test_openbgpd_portable_4.py +++ b/tests/live_tests/scenarios/path_hiding/test_openbgpd_portable_4.py @@ -46,4 +46,3 @@ class PathHidingScenario_MitigationOff_OpenBGPDIPv4(PathHidingScenario_Data4, SHORT_DESCR = "Live test, OpenBGPD {}, path hiding, mitigation off, IPv4".format( OpenBGPDPortableLatestInstance.BGP_SPEAKER_VERSION ) - diff --git a/tests/live_tests/scenarios/rich_example/configs/RichConfigExampleScenarioOpenBGPD_IPv4/openbgpd68.conf b/tests/live_tests/scenarios/rich_example/configs/RichConfigExampleScenarioOpenBGPD_IPv4/openbgpd68.conf index f3228c62..05520943 100644 --- a/tests/live_tests/scenarios/rich_example/configs/RichConfigExampleScenarioOpenBGPD_IPv4/openbgpd68.conf +++ b/tests/live_tests/scenarios/rich_example/configs/RichConfigExampleScenarioOpenBGPD_IPv4/openbgpd68.conf @@ -7,6 +7,7 @@ log updates nexthop qualify via default + INTCOMM_PREF_OK_ROA="soo 65535:1" INTCOMM_ROUTE_OK_WL="soo 65535:2" INTCOMM_PREF_OK_ARINDB="soo 65535:3" @@ -60,6 +61,7 @@ group "clients" { neighbor 192.0.2.22 { remote-as 10745 + passive ttl-security yes max-prefix 121 restart 30 @@ -77,6 +79,7 @@ group "clients" { neighbor 2001:db8:1:1::22 { remote-as 10745 + passive ttl-security yes max-prefix 13915 restart 30 @@ -94,6 +97,7 @@ group "clients" { neighbor 192.0.2.11 { remote-as 3333 + passive ttl-security yes max-prefix 150 restart 30 @@ -237,7 +241,9 @@ match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ # --------------------------------------------------------- -# RPKI-based Origin Validation +# ROAs source + + roa-set { 193.0.0.0/21 source-as 3333 193.0.24.0/22 maxlen 26 source-as 3333 @@ -256,6 +262,12 @@ roa-set { } + + +# --------------------------------------------------------- +# RPKI-based Origin Validation + + # Add $INTCOMM_RPKI_UNKNOWN, $INTCOMM_RPKI_INVALID and $INTCOMM_RPKI_VALID # ext community on the basis of ovs. match from group clients ovs not-found set ext-community $INTCOMM_RPKI_UNKNOWN @@ -264,17 +276,20 @@ match from group clients ovs invalid set ext-community $INTCOMM_RPKI_INVALID - +# --------------------------------------------------------- # RPKI ROAs used as route objects. + # Add the $INTCOMM_PREF_OK_ROA ext community to routes whose # origin ASN has a ROA for the announced prefix. # It will be used later during IRRDB validation in # case the origin ASN is authorized by a client's # AS-SET but the prefix is not. + # Since RPKI-based Origin Validation is already performed above, # use the origin validation state to identify valid routes. match from group clients ovs valid set ext-community $INTCOMM_PREF_OK_ROA + # ARIN Whois records used for preifx validation # --------------------------------------------- @@ -368,13 +383,13 @@ allow quick from 192.0.2.22 AS 4200000000 - 4294967295 set { localpref 1 communi # AS_PATH: transit-free ASNs -# Reject inbound routes when 'from 192.0.2.22 AS { 174, 209, 286, 701, 1239, 1299, 2828, 2914, 3257, 3320, 3356, 3549, 5511, 6453, 6461, 6762, 6830, 7018, 12956 }' - reject code: 8 -allow quick from 192.0.2.22 AS { 174, 209, 286, 701, 1239, 1299, 2828, 2914, 3257, 3320, 3356, 3549, 5511, 6453, 6461, 6762, 6830, 7018, 12956 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} +# Reject inbound routes when 'from 192.0.2.22 AS { 174, 701, 1299, 2914, 3257, 3320, 3356, 5511, 6453, 6461, 6762, 6830, 7018, 12956 }' - reject code: 8 +allow quick from 192.0.2.22 AS { 174, 701, 1299, 2914, 3257, 3320, 3356, 5511, 6453, 6461, 6762, 6830, 7018, 12956 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} # AS_PATH: never via route-servers ASNs -# Reject inbound routes when 'from 192.0.2.22 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 212706, 212953, 213202, 213252, 262311, 262888, 263258, 263328, 263856, 263945, 263980, 264212, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328572, 328582, 328748, 393573, 393684, 396477, 399338 }' - reject code: 15 -allow quick from 192.0.2.22 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 212706, 212953, 213202, 213252, 262311, 262888, 263258, 263328, 263856, 263945, 263980, 264212, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328572, 328582, 328748, 393573, 393684, 396477, 399338 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} +# Reject inbound routes when 'from 192.0.2.22 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 7862, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30967, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39527, 39967, 46450, 48237, 48265, 48408, 51095, 52946, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 136106, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 211358, 212706, 212953, 213202, 213252, 262191, 262311, 262888, 263258, 263328, 263686, 263856, 263945, 263980, 264212, 264424, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 269906, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328445, 328572, 328582, 328748, 393573, 393684, 396477, 399338 }' - reject code: 15 +allow quick from 192.0.2.22 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 7862, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30967, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39527, 39967, 46450, 48237, 48265, 48408, 51095, 52946, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 136106, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 211358, 212706, 212953, 213202, 213252, 262191, 262311, 262888, 263258, 263328, 263686, 263856, 263945, 263980, 264212, 264424, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 269906, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328445, 328572, 328582, 328748, 393573, 393684, 396477, 399338 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} @@ -1031,13 +1046,13 @@ allow quick from 2001:db8:1:1::22 AS 4200000000 - 4294967295 set { localpref 1 c # AS_PATH: transit-free ASNs -# Reject inbound routes when 'from 2001:db8:1:1::22 AS { 174, 209, 286, 701, 1239, 1299, 2828, 2914, 3257, 3320, 3356, 3549, 5511, 6453, 6461, 6762, 6830, 7018, 12956 }' - reject code: 8 -allow quick from 2001:db8:1:1::22 AS { 174, 209, 286, 701, 1239, 1299, 2828, 2914, 3257, 3320, 3356, 3549, 5511, 6453, 6461, 6762, 6830, 7018, 12956 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} +# Reject inbound routes when 'from 2001:db8:1:1::22 AS { 174, 701, 1299, 2914, 3257, 3320, 3356, 5511, 6453, 6461, 6762, 6830, 7018, 12956 }' - reject code: 8 +allow quick from 2001:db8:1:1::22 AS { 174, 701, 1299, 2914, 3257, 3320, 3356, 5511, 6453, 6461, 6762, 6830, 7018, 12956 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} # AS_PATH: never via route-servers ASNs -# Reject inbound routes when 'from 2001:db8:1:1::22 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 212706, 212953, 213202, 213252, 262311, 262888, 263258, 263328, 263856, 263945, 263980, 264212, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328572, 328582, 328748, 393573, 393684, 396477, 399338 }' - reject code: 15 -allow quick from 2001:db8:1:1::22 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 212706, 212953, 213202, 213252, 262311, 262888, 263258, 263328, 263856, 263945, 263980, 264212, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328572, 328582, 328748, 393573, 393684, 396477, 399338 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} +# Reject inbound routes when 'from 2001:db8:1:1::22 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 7862, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30967, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39527, 39967, 46450, 48237, 48265, 48408, 51095, 52946, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 136106, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 211358, 212706, 212953, 213202, 213252, 262191, 262311, 262888, 263258, 263328, 263686, 263856, 263945, 263980, 264212, 264424, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 269906, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328445, 328572, 328582, 328748, 393573, 393684, 396477, 399338 }' - reject code: 15 +allow quick from 2001:db8:1:1::22 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 7862, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30967, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39527, 39967, 46450, 48237, 48265, 48408, 51095, 52946, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 136106, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 211358, 212706, 212953, 213202, 213252, 262191, 262311, 262888, 263258, 263328, 263686, 263856, 263945, 263980, 264212, 264424, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 269906, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328445, 328572, 328582, 328748, 393573, 393684, 396477, 399338 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} @@ -1694,13 +1709,13 @@ allow quick from 192.0.2.11 AS 4200000000 - 4294967295 set { localpref 1 communi # AS_PATH: transit-free ASNs -# Reject inbound routes when 'from 192.0.2.11 AS { 174, 209, 286, 701, 1239, 1299, 2828, 2914, 3257, 3320, 3356, 3549, 5511, 6453, 6461, 6762, 6830, 7018, 12956 }' - reject code: 8 -allow quick from 192.0.2.11 AS { 174, 209, 286, 701, 1239, 1299, 2828, 2914, 3257, 3320, 3356, 3549, 5511, 6453, 6461, 6762, 6830, 7018, 12956 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} +# Reject inbound routes when 'from 192.0.2.11 AS { 174, 701, 1299, 2914, 3257, 3320, 3356, 5511, 6453, 6461, 6762, 6830, 7018, 12956 }' - reject code: 8 +allow quick from 192.0.2.11 AS { 174, 701, 1299, 2914, 3257, 3320, 3356, 5511, 6453, 6461, 6762, 6830, 7018, 12956 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} # AS_PATH: never via route-servers ASNs -# Reject inbound routes when 'from 192.0.2.11 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 212706, 212953, 213202, 213252, 262311, 262888, 263258, 263328, 263856, 263945, 263980, 264212, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328572, 328582, 328748, 393573, 393684, 396477, 399338 }' - reject code: 15 -allow quick from 192.0.2.11 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 212706, 212953, 213202, 213252, 262311, 262888, 263258, 263328, 263856, 263945, 263980, 264212, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328572, 328582, 328748, 393573, 393684, 396477, 399338 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} +# Reject inbound routes when 'from 192.0.2.11 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 7862, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30967, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39527, 39967, 46450, 48237, 48265, 48408, 51095, 52946, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 136106, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 211358, 212706, 212953, 213202, 213252, 262191, 262311, 262888, 263258, 263328, 263686, 263856, 263945, 263980, 264212, 264424, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 269906, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328445, 328572, 328582, 328748, 393573, 393684, 396477, 399338 }' - reject code: 15 +allow quick from 192.0.2.11 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 7862, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30967, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39527, 39967, 46450, 48237, 48265, 48408, 51095, 52946, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 136106, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 211358, 212706, 212953, 213202, 213252, 262191, 262311, 262888, 263258, 263328, 263686, 263856, 263945, 263980, 264212, 264424, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 269906, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328445, 328572, 328582, 328748, 393573, 393684, 396477, 399338 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} diff --git a/tests/live_tests/scenarios/rich_example/configs/RichConfigExampleScenarioOpenBGPD_IPv4/openbgpd69.conf b/tests/live_tests/scenarios/rich_example/configs/RichConfigExampleScenarioOpenBGPD_IPv4/openbgpd69.conf new file mode 100644 index 00000000..b52c785d --- /dev/null +++ b/tests/live_tests/scenarios/rich_example/configs/RichConfigExampleScenarioOpenBGPD_IPv4/openbgpd69.conf @@ -0,0 +1,2492 @@ +# built by ARouteServer +AS 999 +router-id 192.0.2.2 + +fib-update no +log updates + +nexthop qualify via default + +rde evaluate all + +INTCOMM_PREF_OK_ROA="soo 65535:1" +INTCOMM_ROUTE_OK_WL="soo 65535:2" +INTCOMM_PREF_OK_ARINDB="soo 65535:3" +INTCOMM_PREF_OK_REGISTROBRDB="soo 65535:12" + +INTCOMM_ORIGIN_OK="soo 65535:4" +INTCOMM_ORIGIN_KO="soo 65535:5" +INTCOMM_PREFIX_OK="soo 65535:6" +INTCOMM_PREFIX_KO="soo 65535:7" +INTCOMM_IRR_REJECT="soo 65535:8" + +INTCOMM_RPKI_UNKNOWN="soo 65535:9" +INTCOMM_RPKI_INVALID="soo 65535:10" +INTCOMM_RPKI_VALID="soo 65535:11" + +INTCOMM_NO_EXPORT="soo 65535:65281" +INTCOMM_NO_ADVERTISE="soo 65535:65282" + +# --------------------------------------------------------- +# IRRDB + +# AS3333, used by client AS3333_1 +as-set "AS_SET_AS3333_asns" { + 3333 +} +prefix-set "AS_SET_AS3333_prefixes" { + 193.0.0.0/21 prefixlen 21 - 32 +} + +# AS10745, used by client AS10745_1, client AS10745_2 +as-set "AS_SET_AS10745_asns" { + 10745 +} +prefix-set "AS_SET_AS10745_prefixes" { + 199.43.0.0/24 prefixlen 24 - 32 +} + +# AS-RIPENCC, used by client AS3333_1 +# no origin ASNs found for AS_RIPENCC +# no prefixes found for AS_RIPENCC + + + + +# --------------------------------------------------------- +# MEMBERS + +group "clients" { + + # RTT: 224 ms (normalized value: 224) + neighbor 192.0.2.22 { + remote-as 10745 + + rde evaluate all + + passive + ttl-security yes + max-prefix 121 restart 30 + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + # RTT: 226 ms (normalized value: 226) + neighbor 2001:db8:1:1::22 { + remote-as 10745 + + rde evaluate all + + passive + ttl-security yes + max-prefix 13915 restart 30 + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + # RTT: 114 ms (normalized value: 114) + neighbor 192.0.2.11 { + remote-as 3333 + + rde evaluate all + + passive + ttl-security yes + max-prefix 150 restart 30 + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } +} + + + +# --------------------------------------------------------- +# FILTERS + +# NO_ADVERTISE usage notes. +# The NO_ADVERTISE well-know community is used here to handle +# filters that span over multiple steps. At first it is added +# to any route, then it is removed as filters conditions are +# satisfied. Finally, if it is still present, it means that +# the route should be discarded. + + + + +prefix-set "global_black_list_pref" { + 192.0.2.0/24 prefixlen 24 - 32 + 2001:db8:1:1::/64 prefixlen 64 - 128 + +} + +prefix-set "bogons" { + 0.0.0.0/0 + 0.0.0.0/8 prefixlen 8 - 32 + 10.0.0.0/8 prefixlen 8 - 32 + 127.0.0.0/8 prefixlen 8 - 32 + 169.254.0.0/16 prefixlen 16 - 32 + 172.16.0.0/12 prefixlen 12 - 32 + 192.0.2.0/24 prefixlen 24 - 32 + 192.88.99.0/24 prefixlen 24 - 32 + 192.168.0.0/16 prefixlen 16 - 32 + 198.18.0.0/15 prefixlen 15 - 32 + 198.51.100.0/24 prefixlen 24 - 32 + 203.0.113.0/24 prefixlen 24 - 32 + 224.0.0.0/3 prefixlen 3 - 32 + 100.64.0.0/10 prefixlen 10 - 32 + ::/0 + ::/8 prefixlen 8 - 128 + 64:ff9b::/96 prefixlen 96 - 128 + 100::/8 prefixlen 8 - 128 + 200::/7 prefixlen 7 - 128 + 400::/6 prefixlen 6 - 128 + 800::/5 prefixlen 5 - 128 + 1000::/4 prefixlen 4 - 128 + 2001::/33 prefixlen 33 - 128 + 2001:0:8000::/33 prefixlen 33 - 128 + 2001:2::/48 prefixlen 48 - 128 + 2001:3::/32 prefixlen 32 - 128 + 2001:10::/28 prefixlen 28 - 128 + 2001:20::/28 prefixlen 28 - 128 + 2001:db8::/32 prefixlen 32 - 128 + 2002::/16 prefixlen 16 - 128 + 3ffe::/16 prefixlen 16 - 128 + 4000::/3 prefixlen 3 - 128 + 5f00::/8 prefixlen 8 - 128 + 6000::/3 prefixlen 3 - 128 + 8000::/3 prefixlen 3 - 128 + a000::/3 prefixlen 3 - 128 + c000::/3 prefixlen 3 - 128 + e000::/4 prefixlen 4 - 128 + f000::/5 prefixlen 5 - 128 + f800::/6 prefixlen 6 - 128 + fc00::/7 prefixlen 7 - 128 + fe80::/10 prefixlen 10 - 128 + fec0::/10 prefixlen 10 - 128 + ff00::/8 prefixlen 8 - 128 + +} + +# ===================================================================================== +# Global rules. + +# This part of configuration is processed at the beginning of the filters. +# The rules defined in this part are applied to all the clients, and not on a +# client-by-client basis (see the 'match from group clients'), so only global policies +# can be implemented here, that is no client-level configuration are allowed. + + + +# Scrub communities from inbound routes +# origin_not_present_in_as_set +match from group clients set community delete 65530:0 +match from group clients set large-community delete 999:65530:0 + +# origin_present_in_as_set +match from group clients set community delete 65530:1 +match from group clients set large-community delete 999:65530:1 + +# prefix_validated_via_arin_whois_db_dump +match from group clients set community delete 65530:4 +match from group clients set large-community delete 999:65530:4 + +# prefix_validated_via_rpki_roas +match from group clients set community delete 65530:2 +match from group clients set large-community delete 999:65530:2 + +# route_validated_via_white_list +match from group clients set community delete 65530:3 +match from group clients set large-community delete 999:65530:3 + +# from_europe +match from group clients set community delete 65534:1 +match from group clients set ext-community delete rt 65534:1 +match from group clients set large-community delete 999:65534:1 + +# from_usa +match from group clients set community delete 65534:2 +match from group clients set ext-community delete rt 65534:2 +match from group clients set large-community delete 999:65534:2 + + +# Scrub internal communities from inbound routes +match from group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + + +# The main goal of this block is to enrich routes received from clients by attaching to them +# internal informational communities which are used later by the rest of the filter rules. + +# Internal communities used for RFC1997 well-known communities handling + +# Transform NO_EXPORT into $INTCOMM_NO_EXPORT +match from group clients community NO_EXPORT set { ext-community $INTCOMM_NO_EXPORT community delete NO_EXPORT } + +# Transform NO_ADVERTISE into $INTCOMM_NO_ADVERTISE +match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ADVERTISE community delete NO_ADVERTISE } + + +# --------------------------------------------------------- +# ROAs source + + +roa-set { + 193.0.0.0/21 source-as 3333 + 193.0.24.0/22 maxlen 26 source-as 3333 + 193.0.10.0/23 source-as 3333 + 193.0.12.0/23 source-as 3333 + 193.0.14.0/23 source-as 25152 + 193.0.18.0/23 source-as 3333 + 193.0.20.0/23 source-as 3333 + 193.0.22.0/23 source-as 3333 + 193.0.14.0/24 source-as 25152 + 193.0.24.0/24 source-as 3333 + 2001:7fd::/32 source-as 25152 + 2001:610:240::/42 source-as 3333 + 2001:67c:2e8::/48 source-as 3333 + 2001:7fd::/48 source-as 25152 + +} + + + +# --------------------------------------------------------- +# RPKI-based Origin Validation + + +# Add $INTCOMM_RPKI_UNKNOWN, $INTCOMM_RPKI_INVALID and $INTCOMM_RPKI_VALID +# ext community on the basis of ovs. +match from group clients ovs not-found set ext-community $INTCOMM_RPKI_UNKNOWN +match from group clients ovs valid set ext-community $INTCOMM_RPKI_VALID +match from group clients ovs invalid set ext-community $INTCOMM_RPKI_INVALID + + + +# --------------------------------------------------------- +# RPKI ROAs used as route objects. + +# Add the $INTCOMM_PREF_OK_ROA ext community to routes whose +# origin ASN has a ROA for the announced prefix. +# It will be used later during IRRDB validation in +# case the origin ASN is authorized by a client's +# AS-SET but the prefix is not. + +# Since RPKI-based Origin Validation is already performed above, +# use the origin validation state to identify valid routes. +match from group clients ovs valid set ext-community $INTCOMM_PREF_OK_ROA + + +# ARIN Whois records used for preifx validation +# --------------------------------------------- + +# Add the $INTCOMM_PREF_OK_ARINDB ext community to routes whose +# origin ASN has an ARIN Whois record for the announced prefix. +# It will be used later during IRRDB validation in +# case the origin ASN is authorized by a client's +# AS-SET but the prefix is not. +origin-set "ARINDB" { +192.136.136.0/24 prefixlen 24 - 32 source-as 10745 +192.149.252.0/24 prefixlen 24 - 32 source-as 10745 +199.43.0.0/24 prefixlen 24 - 32 source-as 10745 +2001:500:110::/48 prefixlen 48 - 128 source-as 10745 +2001:500:4::/48 prefixlen 48 - 128 source-as 10745 +} +match from group clients origin-set ARINDB set ext-community $INTCOMM_PREF_OK_ARINDB + + + + +# Set the 'rejected_route_announced_by' community for all the clients. +# It will be removed later if the route is not invalid +match from 192.0.2.22 set ext-community rt 65520:10745 + +match from 2001:db8:1:1::22 set ext-community rt 65520:10745 + +match from 192.0.2.11 set ext-community rt 65520:3333 + + + + +# AS_PATH: length +# Reject inbound routes when 'from group clients max-as-len 32' - reject code: 1 +allow quick from group clients max-as-len 32 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:1} + + +# Prefix: global blacklist +# Reject inbound routes when 'from group clients prefix-set global_black_list_pref' - reject code: 3 +allow quick from group clients prefix-set global_black_list_pref set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:3} + + +# Prefix: only IPv6 Global Unicast space allowed +match from group clients inet6 set community NO_ADVERTISE +match from group clients prefix 2000::/3 or-longer set community delete NO_ADVERTISE +# Reject inbound routes when 'from group clients community NO_ADVERTISE' - reject code: 10 +allow quick from group clients community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:10} + + +# Prefix: bogon +# Reject inbound routes when 'from group clients prefix-set bogons' - reject code: 2 +allow quick from group clients prefix-set bogons set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:2} + + + + +# ===================================================================================== +# Per client rules. + + +# --------------------------------------------- +# client AS10745_1, inbound + + +# Attach custom BGP communities +# from_usa +match from 192.0.2.22 set community 65534:2 +match from 192.0.2.22 set ext-community rt 65534:2 +match from 192.0.2.22 set large-community 999:65534:2 + +# NEXT_HOP +match from 192.0.2.22 set community NO_ADVERTISE +match from 192.0.2.22 nexthop 192.0.2.22 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.22 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.22 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.22 peer-as != 10745' - reject code: 6 +allow quick from 192.0.2.22 peer-as != 10745 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.22 AS 23456' - reject code: 7 +allow quick from 192.0.2.22 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.22 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.22 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.22 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.22 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 192.0.2.22 AS { 174, 701, 1299, 2914, 3257, 3320, 3356, 5511, 6453, 6461, 6762, 6830, 7018, 12956 }' - reject code: 8 +allow quick from 192.0.2.22 AS { 174, 701, 1299, 2914, 3257, 3320, 3356, 5511, 6453, 6461, 6762, 6830, 7018, 12956 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 192.0.2.22 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 7862, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30967, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39527, 39967, 46450, 48237, 48265, 48408, 51095, 52946, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 136106, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 211358, 212706, 212953, 213202, 213252, 262191, 262311, 262888, 263258, 263328, 263686, 263856, 263945, 263980, 264212, 264424, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 269906, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328445, 328572, 328582, 328748, 393573, 393684, 396477, 399338 }' - reject code: 15 +allow quick from 192.0.2.22 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 7862, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30967, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39527, 39967, 46450, 48237, 48265, 48408, 51095, 52946, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 136106, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 211358, 212706, 212953, 213202, 213252, 262191, 262311, 262888, 263258, 263328, 263686, 263856, 263945, 263980, 264212, 264424, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 269906, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328445, 328572, 328582, 328748, 393573, 393684, 396477, 399338 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + + +match from 192.0.2.22 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS10745_1, AS10745: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.22 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.22 source-as as-set AS_SET_AS10745_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS10745 +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.22 ext-community $INTCOMM_ORIGIN_KO set community 65530:0 +match from 192.0.2.22 ext-community $INTCOMM_ORIGIN_KO set large-community 999:65530:0 +# adding present_in_as_set community to authorized routes +match from 192.0.2.22 ext-community $INTCOMM_ORIGIN_OK set community 65530:1 +match from 192.0.2.22 ext-community $INTCOMM_ORIGIN_OK set large-community 999:65530:1 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS10745_1, AS10745: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.22 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.22 prefix-set AS_SET_AS10745_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS10745 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.22 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 65530:2 +match from 192.0.2.22 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:65530:2 + +match from 192.0.2.22 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.22 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set community 65530:4 +match from 192.0.2.22 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set large-community 999:65530:4 + +match from 192.0.2.22 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + + + +# enforcing: origin ASN +# Reject inbound routes when 'from 192.0.2.22 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 192.0.2.22 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 192.0.2.22 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 192.0.2.22 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + +# Blackhole request? +match from 192.0.2.22 set ext-community delete rt 65520:10745 + + +# Remove internal communities before accepting the route +match from 192.0.2.22 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.22 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.22 large-community 999:666:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 192.0.2.22 community BLACKHOLE +allow quick from 192.0.2.22 community 65534:0 +allow quick from 192.0.2.22 large-community 999:666:0 + + +match from 192.0.2.22 set ext-community rt 65520:10745 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 192.0.2.22 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 192.0.2.22 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.22 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.22 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 192.0.2.22 community GRACEFUL_SHUTDOWN set localpref 0 + +# Remove internal communities before accepting the route +match from 192.0.2.22 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.22 set ext-community delete rt 65520:10745 + + + +allow quick from 192.0.2.22 + + + +# --------------------------------------------- +# client AS10745_1, outbound + +deny quick to 192.0.2.22 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 192.0.2.22 community 65534:0 set community BLACKHOLE +match to 192.0.2.22 large-community 999:666:0 set community BLACKHOLE + +match to 192.0.2.22 community BLACKHOLE set community NO_EXPORT +match to 192.0.2.22 community BLACKHOLE set nexthop 192.0.2.66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 192.0.2.22 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 192.0.2.22 community 65507:999 set community NO_EXPORT +match to 192.0.2.22 ext-community rt 65507:999 set community NO_EXPORT +match to 192.0.2.22 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 192.0.2.22 community 65508:999 set community NO_ADVERTISE +match to 192.0.2.22 ext-community rt 65508:999 set community NO_ADVERTISE +match to 192.0.2.22 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 192.0.2.22 community 65509:10745 set community NO_EXPORT +match to 192.0.2.22 ext-community rt 65509:10745 set community NO_EXPORT +match to 192.0.2.22 large-community 999:65509:10745 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 192.0.2.22 community 65510:10745 set community NO_ADVERTISE +match to 192.0.2.22 ext-community rt 65510:10745 set community NO_ADVERTISE +match to 192.0.2.22 large-community 999:65510:10745 set community NO_ADVERTISE + + +# BGP control communities +allow to 192.0.2.22 + +# do_not_announce_to_any +deny to 192.0.2.22 community 0:999 +deny to 192.0.2.22 ext-community rt 0:999 +deny to 192.0.2.22 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 192.0.2.22 community 0:10745 +deny quick to 192.0.2.22 ext-community rt 0:10745 +deny quick to 192.0.2.22 large-community 999:0:10745 + +# do_not_announce_to_peers_with_rtt_lower_than 500 ms +deny to 192.0.2.22 community 64511:500 +deny to 192.0.2.22 ext-community rt 64511:500 +deny to 192.0.2.22 large-community 999:64511:500 + + +# announce_to_peers_with_rtt_lower_than 500 ms +allow to 192.0.2.22 community 64513:500 +allow to 192.0.2.22 ext-community rt 64513:500 +allow to 192.0.2.22 large-community 999:64513:500 + + +# do_not_announce_to_peers_with_rtt_higher_than 5 ms +deny to 192.0.2.22 community 64512:5 +deny to 192.0.2.22 ext-community rt 64512:5 +deny to 192.0.2.22 large-community 999:64512:5 + + +# do_not_announce_to_peers_with_rtt_higher_than 10 ms +deny to 192.0.2.22 community 64512:10 +deny to 192.0.2.22 ext-community rt 64512:10 +deny to 192.0.2.22 large-community 999:64512:10 + + +# do_not_announce_to_peers_with_rtt_higher_than 15 ms +deny to 192.0.2.22 community 64512:15 +deny to 192.0.2.22 ext-community rt 64512:15 +deny to 192.0.2.22 large-community 999:64512:15 + + +# do_not_announce_to_peers_with_rtt_higher_than 20 ms +deny to 192.0.2.22 community 64512:20 +deny to 192.0.2.22 ext-community rt 64512:20 +deny to 192.0.2.22 large-community 999:64512:20 + + +# do_not_announce_to_peers_with_rtt_higher_than 30 ms +deny to 192.0.2.22 community 64512:30 +deny to 192.0.2.22 ext-community rt 64512:30 +deny to 192.0.2.22 large-community 999:64512:30 + + +# do_not_announce_to_peers_with_rtt_higher_than 50 ms +deny to 192.0.2.22 community 64512:50 +deny to 192.0.2.22 ext-community rt 64512:50 +deny to 192.0.2.22 large-community 999:64512:50 + + +# do_not_announce_to_peers_with_rtt_higher_than 100 ms +deny to 192.0.2.22 community 64512:100 +deny to 192.0.2.22 ext-community rt 64512:100 +deny to 192.0.2.22 large-community 999:64512:100 + + +# do_not_announce_to_peers_with_rtt_higher_than 200 ms +deny to 192.0.2.22 community 64512:200 +deny to 192.0.2.22 ext-community rt 64512:200 +deny to 192.0.2.22 large-community 999:64512:200 + + +# announce_to_peers_with_rtt_higher_than 5 ms +allow to 192.0.2.22 community 64514:5 +allow to 192.0.2.22 ext-community rt 64514:5 +allow to 192.0.2.22 large-community 999:64514:5 + + +# announce_to_peers_with_rtt_higher_than 10 ms +allow to 192.0.2.22 community 64514:10 +allow to 192.0.2.22 ext-community rt 64514:10 +allow to 192.0.2.22 large-community 999:64514:10 + + +# announce_to_peers_with_rtt_higher_than 15 ms +allow to 192.0.2.22 community 64514:15 +allow to 192.0.2.22 ext-community rt 64514:15 +allow to 192.0.2.22 large-community 999:64514:15 + + +# announce_to_peers_with_rtt_higher_than 20 ms +allow to 192.0.2.22 community 64514:20 +allow to 192.0.2.22 ext-community rt 64514:20 +allow to 192.0.2.22 large-community 999:64514:20 + + +# announce_to_peers_with_rtt_higher_than 30 ms +allow to 192.0.2.22 community 64514:30 +allow to 192.0.2.22 ext-community rt 64514:30 +allow to 192.0.2.22 large-community 999:64514:30 + + +# announce_to_peers_with_rtt_higher_than 50 ms +allow to 192.0.2.22 community 64514:50 +allow to 192.0.2.22 ext-community rt 64514:50 +allow to 192.0.2.22 large-community 999:64514:50 + + +# announce_to_peers_with_rtt_higher_than 100 ms +allow to 192.0.2.22 community 64514:100 +allow to 192.0.2.22 ext-community rt 64514:100 +allow to 192.0.2.22 large-community 999:64514:100 + + +# announce_to_peers_with_rtt_higher_than 200 ms +allow to 192.0.2.22 community 64514:200 +allow to 192.0.2.22 ext-community rt 64514:200 +allow to 192.0.2.22 large-community 999:64514:200 + + +# announce_to_peer +allow to 192.0.2.22 community 999:10745 +allow to 192.0.2.22 ext-community rt 999:10745 +allow to 192.0.2.22 large-community 999:999:10745 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 65504:10745 set prepend-neighbor 1 +match to 192.0.2.22 ext-community rt 65504:10745 set prepend-neighbor 1 +match to 192.0.2.22 large-community 999:65504:10745 set prepend-neighbor 1 + +match to 192.0.2.22 community 65504:10745 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 65504:10745 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:65504:10745 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 65505:10745 set prepend-neighbor 2 +match to 192.0.2.22 ext-community rt 65505:10745 set prepend-neighbor 2 +match to 192.0.2.22 large-community 999:65505:10745 set prepend-neighbor 2 + +match to 192.0.2.22 community 65505:10745 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 65505:10745 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:65505:10745 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 65506:10745 set prepend-neighbor 3 +match to 192.0.2.22 ext-community rt 65506:10745 set prepend-neighbor 3 +match to 192.0.2.22 large-community 999:65506:10745 set prepend-neighbor 3 + +match to 192.0.2.22 community 65506:10745 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 65506:10745 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:65506:10745 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + + +# prepend_once_to_peers_with_rtt_higher_than 200 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64518:200 set prepend-neighbor 1 +match to 192.0.2.22 ext-community rt 64518:200 set prepend-neighbor 1 +match to 192.0.2.22 large-community 999:64518:200 set prepend-neighbor 1 + + +match to 192.0.2.22 community 64518:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64518:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64518:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 200 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64519:200 set prepend-neighbor 2 +match to 192.0.2.22 ext-community rt 64519:200 set prepend-neighbor 2 +match to 192.0.2.22 large-community 999:64519:200 set prepend-neighbor 2 + + +match to 192.0.2.22 community 64519:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64519:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64519:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 200 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64520:200 set prepend-neighbor 3 +match to 192.0.2.22 ext-community rt 64520:200 set prepend-neighbor 3 +match to 192.0.2.22 large-community 999:64520:200 set prepend-neighbor 3 + + +match to 192.0.2.22 community 64520:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64520:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64520:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_higher_than 100 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64518:100 set prepend-neighbor 1 +match to 192.0.2.22 ext-community rt 64518:100 set prepend-neighbor 1 +match to 192.0.2.22 large-community 999:64518:100 set prepend-neighbor 1 + + +match to 192.0.2.22 community 64518:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64518:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64518:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 100 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64519:100 set prepend-neighbor 2 +match to 192.0.2.22 ext-community rt 64519:100 set prepend-neighbor 2 +match to 192.0.2.22 large-community 999:64519:100 set prepend-neighbor 2 + + +match to 192.0.2.22 community 64519:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64519:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64519:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 100 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64520:100 set prepend-neighbor 3 +match to 192.0.2.22 ext-community rt 64520:100 set prepend-neighbor 3 +match to 192.0.2.22 large-community 999:64520:100 set prepend-neighbor 3 + + +match to 192.0.2.22 community 64520:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64520:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64520:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_higher_than 50 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64518:50 set prepend-neighbor 1 +match to 192.0.2.22 ext-community rt 64518:50 set prepend-neighbor 1 +match to 192.0.2.22 large-community 999:64518:50 set prepend-neighbor 1 + + +match to 192.0.2.22 community 64518:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64518:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64518:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 50 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64519:50 set prepend-neighbor 2 +match to 192.0.2.22 ext-community rt 64519:50 set prepend-neighbor 2 +match to 192.0.2.22 large-community 999:64519:50 set prepend-neighbor 2 + + +match to 192.0.2.22 community 64519:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64519:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64519:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 50 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64520:50 set prepend-neighbor 3 +match to 192.0.2.22 ext-community rt 64520:50 set prepend-neighbor 3 +match to 192.0.2.22 large-community 999:64520:50 set prepend-neighbor 3 + + +match to 192.0.2.22 community 64520:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64520:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64520:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_higher_than 30 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64518:30 set prepend-neighbor 1 +match to 192.0.2.22 ext-community rt 64518:30 set prepend-neighbor 1 +match to 192.0.2.22 large-community 999:64518:30 set prepend-neighbor 1 + + +match to 192.0.2.22 community 64518:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64518:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64518:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 30 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64519:30 set prepend-neighbor 2 +match to 192.0.2.22 ext-community rt 64519:30 set prepend-neighbor 2 +match to 192.0.2.22 large-community 999:64519:30 set prepend-neighbor 2 + + +match to 192.0.2.22 community 64519:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64519:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64519:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 30 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64520:30 set prepend-neighbor 3 +match to 192.0.2.22 ext-community rt 64520:30 set prepend-neighbor 3 +match to 192.0.2.22 large-community 999:64520:30 set prepend-neighbor 3 + + +match to 192.0.2.22 community 64520:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64520:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64520:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_higher_than 20 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64518:20 set prepend-neighbor 1 +match to 192.0.2.22 ext-community rt 64518:20 set prepend-neighbor 1 +match to 192.0.2.22 large-community 999:64518:20 set prepend-neighbor 1 + + +match to 192.0.2.22 community 64518:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64518:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64518:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 20 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64519:20 set prepend-neighbor 2 +match to 192.0.2.22 ext-community rt 64519:20 set prepend-neighbor 2 +match to 192.0.2.22 large-community 999:64519:20 set prepend-neighbor 2 + + +match to 192.0.2.22 community 64519:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64519:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64519:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 20 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64520:20 set prepend-neighbor 3 +match to 192.0.2.22 ext-community rt 64520:20 set prepend-neighbor 3 +match to 192.0.2.22 large-community 999:64520:20 set prepend-neighbor 3 + + +match to 192.0.2.22 community 64520:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64520:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64520:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_higher_than 15 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64518:15 set prepend-neighbor 1 +match to 192.0.2.22 ext-community rt 64518:15 set prepend-neighbor 1 +match to 192.0.2.22 large-community 999:64518:15 set prepend-neighbor 1 + + +match to 192.0.2.22 community 64518:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64518:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64518:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 15 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64519:15 set prepend-neighbor 2 +match to 192.0.2.22 ext-community rt 64519:15 set prepend-neighbor 2 +match to 192.0.2.22 large-community 999:64519:15 set prepend-neighbor 2 + + +match to 192.0.2.22 community 64519:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64519:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64519:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 15 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64520:15 set prepend-neighbor 3 +match to 192.0.2.22 ext-community rt 64520:15 set prepend-neighbor 3 +match to 192.0.2.22 large-community 999:64520:15 set prepend-neighbor 3 + + +match to 192.0.2.22 community 64520:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64520:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64520:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_higher_than 10 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64518:10 set prepend-neighbor 1 +match to 192.0.2.22 ext-community rt 64518:10 set prepend-neighbor 1 +match to 192.0.2.22 large-community 999:64518:10 set prepend-neighbor 1 + + +match to 192.0.2.22 community 64518:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64518:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64518:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 10 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64519:10 set prepend-neighbor 2 +match to 192.0.2.22 ext-community rt 64519:10 set prepend-neighbor 2 +match to 192.0.2.22 large-community 999:64519:10 set prepend-neighbor 2 + + +match to 192.0.2.22 community 64519:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64519:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64519:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 10 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64520:10 set prepend-neighbor 3 +match to 192.0.2.22 ext-community rt 64520:10 set prepend-neighbor 3 +match to 192.0.2.22 large-community 999:64520:10 set prepend-neighbor 3 + + +match to 192.0.2.22 community 64520:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64520:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64520:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_higher_than 5 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64518:5 set prepend-neighbor 1 +match to 192.0.2.22 ext-community rt 64518:5 set prepend-neighbor 1 +match to 192.0.2.22 large-community 999:64518:5 set prepend-neighbor 1 + + +match to 192.0.2.22 community 64518:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64518:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64518:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 5 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64519:5 set prepend-neighbor 2 +match to 192.0.2.22 ext-community rt 64519:5 set prepend-neighbor 2 +match to 192.0.2.22 large-community 999:64519:5 set prepend-neighbor 2 + + +match to 192.0.2.22 community 64519:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64519:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64519:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 5 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64520:5 set prepend-neighbor 3 +match to 192.0.2.22 ext-community rt 64520:5 set prepend-neighbor 3 +match to 192.0.2.22 large-community 999:64520:5 set prepend-neighbor 3 + + +match to 192.0.2.22 community 64520:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64520:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64520:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64515:500 set prepend-neighbor 1 +match to 192.0.2.22 ext-community rt 64515:500 set prepend-neighbor 1 +match to 192.0.2.22 large-community 999:64515:500 set prepend-neighbor 1 + + +match to 192.0.2.22 community 64515:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64515:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64515:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64516:500 set prepend-neighbor 2 +match to 192.0.2.22 ext-community rt 64516:500 set prepend-neighbor 2 +match to 192.0.2.22 large-community 999:64516:500 set prepend-neighbor 2 + + +match to 192.0.2.22 community 64516:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64516:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64516:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64517:500 set prepend-neighbor 3 +match to 192.0.2.22 ext-community rt 64517:500 set prepend-neighbor 3 +match to 192.0.2.22 large-community 999:64517:500 set prepend-neighbor 3 + + +match to 192.0.2.22 community 64517:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64517:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64517:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 65501:999 set prepend-neighbor 1 +match to 192.0.2.22 ext-community rt 65501:999 set prepend-neighbor 1 +match to 192.0.2.22 large-community 999:65501:999 set prepend-neighbor 1 + +match to 192.0.2.22 community 65501:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 65501:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:65501:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 65502:999 set prepend-neighbor 2 +match to 192.0.2.22 ext-community rt 65502:999 set prepend-neighbor 2 +match to 192.0.2.22 large-community 999:65502:999 set prepend-neighbor 2 + +match to 192.0.2.22 community 65502:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 65502:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:65502:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 65503:999 set prepend-neighbor 3 +match to 192.0.2.22 ext-community rt 65503:999 set prepend-neighbor 3 +match to 192.0.2.22 large-community 999:65503:999 set prepend-neighbor 3 + +match to 192.0.2.22 community 65503:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 65503:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:65503:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + + + +# --------------------------------------------- +# client AS10745_2, inbound + + +# Attach custom BGP communities +# from_usa +match from 2001:db8:1:1::22 set community 65534:2 +match from 2001:db8:1:1::22 set ext-community rt 65534:2 +match from 2001:db8:1:1::22 set large-community 999:65534:2 + +# NEXT_HOP +match from 2001:db8:1:1::22 set community NO_ADVERTISE +match from 2001:db8:1:1::22 nexthop 2001:db8:1:1::22 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::22 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::22 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::22 peer-as != 10745' - reject code: 6 +allow quick from 2001:db8:1:1::22 peer-as != 10745 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::22 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::22 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::22 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::22 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::22 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::22 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 2001:db8:1:1::22 AS { 174, 701, 1299, 2914, 3257, 3320, 3356, 5511, 6453, 6461, 6762, 6830, 7018, 12956 }' - reject code: 8 +allow quick from 2001:db8:1:1::22 AS { 174, 701, 1299, 2914, 3257, 3320, 3356, 5511, 6453, 6461, 6762, 6830, 7018, 12956 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 2001:db8:1:1::22 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 7862, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30967, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39527, 39967, 46450, 48237, 48265, 48408, 51095, 52946, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 136106, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 211358, 212706, 212953, 213202, 213252, 262191, 262311, 262888, 263258, 263328, 263686, 263856, 263945, 263980, 264212, 264424, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 269906, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328445, 328572, 328582, 328748, 393573, 393684, 396477, 399338 }' - reject code: 15 +allow quick from 2001:db8:1:1::22 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 7862, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30967, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39527, 39967, 46450, 48237, 48265, 48408, 51095, 52946, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 136106, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 211358, 212706, 212953, 213202, 213252, 262191, 262311, 262888, 263258, 263328, 263686, 263856, 263945, 263980, 264212, 264424, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 269906, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328445, 328572, 328582, 328748, 393573, 393684, 396477, 399338 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + + +match from 2001:db8:1:1::22 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS10745_2, AS10745: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::22 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::22 source-as as-set AS_SET_AS10745_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS10745 +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::22 ext-community $INTCOMM_ORIGIN_KO set community 65530:0 +match from 2001:db8:1:1::22 ext-community $INTCOMM_ORIGIN_KO set large-community 999:65530:0 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::22 ext-community $INTCOMM_ORIGIN_OK set community 65530:1 +match from 2001:db8:1:1::22 ext-community $INTCOMM_ORIGIN_OK set large-community 999:65530:1 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS10745_2, AS10745: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::22 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::22 prefix-set AS_SET_AS10745_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS10745 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::22 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 65530:2 +match from 2001:db8:1:1::22 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:65530:2 + +match from 2001:db8:1:1::22 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::22 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set community 65530:4 +match from 2001:db8:1:1::22 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set large-community 999:65530:4 + +match from 2001:db8:1:1::22 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + + + +# enforcing: origin ASN +# Reject inbound routes when 'from 2001:db8:1:1::22 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 2001:db8:1:1::22 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 2001:db8:1:1::22 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 2001:db8:1:1::22 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + +# Blackhole request? +match from 2001:db8:1:1::22 set ext-community delete rt 65520:10745 + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::22 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::22 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::22 large-community 999:666:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 2001:db8:1:1::22 community BLACKHOLE +allow quick from 2001:db8:1:1::22 community 65534:0 +allow quick from 2001:db8:1:1::22 large-community 999:666:0 + + +match from 2001:db8:1:1::22 set ext-community rt 65520:10745 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 2001:db8:1:1::22 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 2001:db8:1:1::22 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::22 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::22 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 2001:db8:1:1::22 community GRACEFUL_SHUTDOWN set localpref 0 + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::22 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::22 set ext-community delete rt 65520:10745 + + + +allow quick from 2001:db8:1:1::22 + + + +# --------------------------------------------- +# client AS10745_2, outbound + +deny quick to 2001:db8:1:1::22 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 2001:db8:1:1::22 community 65534:0 set community BLACKHOLE +match to 2001:db8:1:1::22 large-community 999:666:0 set community BLACKHOLE + +match to 2001:db8:1:1::22 community BLACKHOLE set community NO_EXPORT +match to 2001:db8:1:1::22 community BLACKHOLE set nexthop 2001:db8:1:1::66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 2001:db8:1:1::22 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 2001:db8:1:1::22 community 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::22 ext-community rt 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::22 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 2001:db8:1:1::22 community 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::22 ext-community rt 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::22 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 2001:db8:1:1::22 community 65509:10745 set community NO_EXPORT +match to 2001:db8:1:1::22 ext-community rt 65509:10745 set community NO_EXPORT +match to 2001:db8:1:1::22 large-community 999:65509:10745 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 2001:db8:1:1::22 community 65510:10745 set community NO_ADVERTISE +match to 2001:db8:1:1::22 ext-community rt 65510:10745 set community NO_ADVERTISE +match to 2001:db8:1:1::22 large-community 999:65510:10745 set community NO_ADVERTISE + + +# BGP control communities +allow to 2001:db8:1:1::22 + +# do_not_announce_to_any +deny to 2001:db8:1:1::22 community 0:999 +deny to 2001:db8:1:1::22 ext-community rt 0:999 +deny to 2001:db8:1:1::22 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::22 community 0:10745 +deny quick to 2001:db8:1:1::22 ext-community rt 0:10745 +deny quick to 2001:db8:1:1::22 large-community 999:0:10745 + +# do_not_announce_to_peers_with_rtt_lower_than 500 ms +deny to 2001:db8:1:1::22 community 64511:500 +deny to 2001:db8:1:1::22 ext-community rt 64511:500 +deny to 2001:db8:1:1::22 large-community 999:64511:500 + + +# announce_to_peers_with_rtt_lower_than 500 ms +allow to 2001:db8:1:1::22 community 64513:500 +allow to 2001:db8:1:1::22 ext-community rt 64513:500 +allow to 2001:db8:1:1::22 large-community 999:64513:500 + + +# do_not_announce_to_peers_with_rtt_higher_than 5 ms +deny to 2001:db8:1:1::22 community 64512:5 +deny to 2001:db8:1:1::22 ext-community rt 64512:5 +deny to 2001:db8:1:1::22 large-community 999:64512:5 + + +# do_not_announce_to_peers_with_rtt_higher_than 10 ms +deny to 2001:db8:1:1::22 community 64512:10 +deny to 2001:db8:1:1::22 ext-community rt 64512:10 +deny to 2001:db8:1:1::22 large-community 999:64512:10 + + +# do_not_announce_to_peers_with_rtt_higher_than 15 ms +deny to 2001:db8:1:1::22 community 64512:15 +deny to 2001:db8:1:1::22 ext-community rt 64512:15 +deny to 2001:db8:1:1::22 large-community 999:64512:15 + + +# do_not_announce_to_peers_with_rtt_higher_than 20 ms +deny to 2001:db8:1:1::22 community 64512:20 +deny to 2001:db8:1:1::22 ext-community rt 64512:20 +deny to 2001:db8:1:1::22 large-community 999:64512:20 + + +# do_not_announce_to_peers_with_rtt_higher_than 30 ms +deny to 2001:db8:1:1::22 community 64512:30 +deny to 2001:db8:1:1::22 ext-community rt 64512:30 +deny to 2001:db8:1:1::22 large-community 999:64512:30 + + +# do_not_announce_to_peers_with_rtt_higher_than 50 ms +deny to 2001:db8:1:1::22 community 64512:50 +deny to 2001:db8:1:1::22 ext-community rt 64512:50 +deny to 2001:db8:1:1::22 large-community 999:64512:50 + + +# do_not_announce_to_peers_with_rtt_higher_than 100 ms +deny to 2001:db8:1:1::22 community 64512:100 +deny to 2001:db8:1:1::22 ext-community rt 64512:100 +deny to 2001:db8:1:1::22 large-community 999:64512:100 + + +# do_not_announce_to_peers_with_rtt_higher_than 200 ms +deny to 2001:db8:1:1::22 community 64512:200 +deny to 2001:db8:1:1::22 ext-community rt 64512:200 +deny to 2001:db8:1:1::22 large-community 999:64512:200 + + +# announce_to_peers_with_rtt_higher_than 5 ms +allow to 2001:db8:1:1::22 community 64514:5 +allow to 2001:db8:1:1::22 ext-community rt 64514:5 +allow to 2001:db8:1:1::22 large-community 999:64514:5 + + +# announce_to_peers_with_rtt_higher_than 10 ms +allow to 2001:db8:1:1::22 community 64514:10 +allow to 2001:db8:1:1::22 ext-community rt 64514:10 +allow to 2001:db8:1:1::22 large-community 999:64514:10 + + +# announce_to_peers_with_rtt_higher_than 15 ms +allow to 2001:db8:1:1::22 community 64514:15 +allow to 2001:db8:1:1::22 ext-community rt 64514:15 +allow to 2001:db8:1:1::22 large-community 999:64514:15 + + +# announce_to_peers_with_rtt_higher_than 20 ms +allow to 2001:db8:1:1::22 community 64514:20 +allow to 2001:db8:1:1::22 ext-community rt 64514:20 +allow to 2001:db8:1:1::22 large-community 999:64514:20 + + +# announce_to_peers_with_rtt_higher_than 30 ms +allow to 2001:db8:1:1::22 community 64514:30 +allow to 2001:db8:1:1::22 ext-community rt 64514:30 +allow to 2001:db8:1:1::22 large-community 999:64514:30 + + +# announce_to_peers_with_rtt_higher_than 50 ms +allow to 2001:db8:1:1::22 community 64514:50 +allow to 2001:db8:1:1::22 ext-community rt 64514:50 +allow to 2001:db8:1:1::22 large-community 999:64514:50 + + +# announce_to_peers_with_rtt_higher_than 100 ms +allow to 2001:db8:1:1::22 community 64514:100 +allow to 2001:db8:1:1::22 ext-community rt 64514:100 +allow to 2001:db8:1:1::22 large-community 999:64514:100 + + +# announce_to_peers_with_rtt_higher_than 200 ms +allow to 2001:db8:1:1::22 community 64514:200 +allow to 2001:db8:1:1::22 ext-community rt 64514:200 +allow to 2001:db8:1:1::22 large-community 999:64514:200 + + +# announce_to_peer +allow to 2001:db8:1:1::22 community 999:10745 +allow to 2001:db8:1:1::22 ext-community rt 999:10745 +allow to 2001:db8:1:1::22 large-community 999:999:10745 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 65504:10745 set prepend-neighbor 1 +match to 2001:db8:1:1::22 ext-community rt 65504:10745 set prepend-neighbor 1 +match to 2001:db8:1:1::22 large-community 999:65504:10745 set prepend-neighbor 1 + +match to 2001:db8:1:1::22 community 65504:10745 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 65504:10745 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:65504:10745 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 65505:10745 set prepend-neighbor 2 +match to 2001:db8:1:1::22 ext-community rt 65505:10745 set prepend-neighbor 2 +match to 2001:db8:1:1::22 large-community 999:65505:10745 set prepend-neighbor 2 + +match to 2001:db8:1:1::22 community 65505:10745 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 65505:10745 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:65505:10745 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 65506:10745 set prepend-neighbor 3 +match to 2001:db8:1:1::22 ext-community rt 65506:10745 set prepend-neighbor 3 +match to 2001:db8:1:1::22 large-community 999:65506:10745 set prepend-neighbor 3 + +match to 2001:db8:1:1::22 community 65506:10745 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 65506:10745 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:65506:10745 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + + +# prepend_once_to_peers_with_rtt_higher_than 200 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64518:200 set prepend-neighbor 1 +match to 2001:db8:1:1::22 ext-community rt 64518:200 set prepend-neighbor 1 +match to 2001:db8:1:1::22 large-community 999:64518:200 set prepend-neighbor 1 + + +match to 2001:db8:1:1::22 community 64518:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64518:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64518:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 200 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64519:200 set prepend-neighbor 2 +match to 2001:db8:1:1::22 ext-community rt 64519:200 set prepend-neighbor 2 +match to 2001:db8:1:1::22 large-community 999:64519:200 set prepend-neighbor 2 + + +match to 2001:db8:1:1::22 community 64519:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64519:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64519:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 200 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64520:200 set prepend-neighbor 3 +match to 2001:db8:1:1::22 ext-community rt 64520:200 set prepend-neighbor 3 +match to 2001:db8:1:1::22 large-community 999:64520:200 set prepend-neighbor 3 + + +match to 2001:db8:1:1::22 community 64520:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64520:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64520:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_higher_than 100 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64518:100 set prepend-neighbor 1 +match to 2001:db8:1:1::22 ext-community rt 64518:100 set prepend-neighbor 1 +match to 2001:db8:1:1::22 large-community 999:64518:100 set prepend-neighbor 1 + + +match to 2001:db8:1:1::22 community 64518:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64518:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64518:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 100 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64519:100 set prepend-neighbor 2 +match to 2001:db8:1:1::22 ext-community rt 64519:100 set prepend-neighbor 2 +match to 2001:db8:1:1::22 large-community 999:64519:100 set prepend-neighbor 2 + + +match to 2001:db8:1:1::22 community 64519:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64519:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64519:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 100 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64520:100 set prepend-neighbor 3 +match to 2001:db8:1:1::22 ext-community rt 64520:100 set prepend-neighbor 3 +match to 2001:db8:1:1::22 large-community 999:64520:100 set prepend-neighbor 3 + + +match to 2001:db8:1:1::22 community 64520:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64520:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64520:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_higher_than 50 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64518:50 set prepend-neighbor 1 +match to 2001:db8:1:1::22 ext-community rt 64518:50 set prepend-neighbor 1 +match to 2001:db8:1:1::22 large-community 999:64518:50 set prepend-neighbor 1 + + +match to 2001:db8:1:1::22 community 64518:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64518:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64518:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 50 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64519:50 set prepend-neighbor 2 +match to 2001:db8:1:1::22 ext-community rt 64519:50 set prepend-neighbor 2 +match to 2001:db8:1:1::22 large-community 999:64519:50 set prepend-neighbor 2 + + +match to 2001:db8:1:1::22 community 64519:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64519:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64519:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 50 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64520:50 set prepend-neighbor 3 +match to 2001:db8:1:1::22 ext-community rt 64520:50 set prepend-neighbor 3 +match to 2001:db8:1:1::22 large-community 999:64520:50 set prepend-neighbor 3 + + +match to 2001:db8:1:1::22 community 64520:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64520:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64520:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_higher_than 30 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64518:30 set prepend-neighbor 1 +match to 2001:db8:1:1::22 ext-community rt 64518:30 set prepend-neighbor 1 +match to 2001:db8:1:1::22 large-community 999:64518:30 set prepend-neighbor 1 + + +match to 2001:db8:1:1::22 community 64518:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64518:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64518:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 30 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64519:30 set prepend-neighbor 2 +match to 2001:db8:1:1::22 ext-community rt 64519:30 set prepend-neighbor 2 +match to 2001:db8:1:1::22 large-community 999:64519:30 set prepend-neighbor 2 + + +match to 2001:db8:1:1::22 community 64519:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64519:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64519:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 30 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64520:30 set prepend-neighbor 3 +match to 2001:db8:1:1::22 ext-community rt 64520:30 set prepend-neighbor 3 +match to 2001:db8:1:1::22 large-community 999:64520:30 set prepend-neighbor 3 + + +match to 2001:db8:1:1::22 community 64520:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64520:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64520:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_higher_than 20 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64518:20 set prepend-neighbor 1 +match to 2001:db8:1:1::22 ext-community rt 64518:20 set prepend-neighbor 1 +match to 2001:db8:1:1::22 large-community 999:64518:20 set prepend-neighbor 1 + + +match to 2001:db8:1:1::22 community 64518:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64518:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64518:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 20 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64519:20 set prepend-neighbor 2 +match to 2001:db8:1:1::22 ext-community rt 64519:20 set prepend-neighbor 2 +match to 2001:db8:1:1::22 large-community 999:64519:20 set prepend-neighbor 2 + + +match to 2001:db8:1:1::22 community 64519:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64519:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64519:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 20 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64520:20 set prepend-neighbor 3 +match to 2001:db8:1:1::22 ext-community rt 64520:20 set prepend-neighbor 3 +match to 2001:db8:1:1::22 large-community 999:64520:20 set prepend-neighbor 3 + + +match to 2001:db8:1:1::22 community 64520:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64520:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64520:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_higher_than 15 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64518:15 set prepend-neighbor 1 +match to 2001:db8:1:1::22 ext-community rt 64518:15 set prepend-neighbor 1 +match to 2001:db8:1:1::22 large-community 999:64518:15 set prepend-neighbor 1 + + +match to 2001:db8:1:1::22 community 64518:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64518:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64518:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 15 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64519:15 set prepend-neighbor 2 +match to 2001:db8:1:1::22 ext-community rt 64519:15 set prepend-neighbor 2 +match to 2001:db8:1:1::22 large-community 999:64519:15 set prepend-neighbor 2 + + +match to 2001:db8:1:1::22 community 64519:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64519:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64519:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 15 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64520:15 set prepend-neighbor 3 +match to 2001:db8:1:1::22 ext-community rt 64520:15 set prepend-neighbor 3 +match to 2001:db8:1:1::22 large-community 999:64520:15 set prepend-neighbor 3 + + +match to 2001:db8:1:1::22 community 64520:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64520:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64520:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_higher_than 10 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64518:10 set prepend-neighbor 1 +match to 2001:db8:1:1::22 ext-community rt 64518:10 set prepend-neighbor 1 +match to 2001:db8:1:1::22 large-community 999:64518:10 set prepend-neighbor 1 + + +match to 2001:db8:1:1::22 community 64518:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64518:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64518:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 10 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64519:10 set prepend-neighbor 2 +match to 2001:db8:1:1::22 ext-community rt 64519:10 set prepend-neighbor 2 +match to 2001:db8:1:1::22 large-community 999:64519:10 set prepend-neighbor 2 + + +match to 2001:db8:1:1::22 community 64519:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64519:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64519:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 10 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64520:10 set prepend-neighbor 3 +match to 2001:db8:1:1::22 ext-community rt 64520:10 set prepend-neighbor 3 +match to 2001:db8:1:1::22 large-community 999:64520:10 set prepend-neighbor 3 + + +match to 2001:db8:1:1::22 community 64520:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64520:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64520:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_higher_than 5 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64518:5 set prepend-neighbor 1 +match to 2001:db8:1:1::22 ext-community rt 64518:5 set prepend-neighbor 1 +match to 2001:db8:1:1::22 large-community 999:64518:5 set prepend-neighbor 1 + + +match to 2001:db8:1:1::22 community 64518:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64518:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64518:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 5 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64519:5 set prepend-neighbor 2 +match to 2001:db8:1:1::22 ext-community rt 64519:5 set prepend-neighbor 2 +match to 2001:db8:1:1::22 large-community 999:64519:5 set prepend-neighbor 2 + + +match to 2001:db8:1:1::22 community 64519:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64519:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64519:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 5 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64520:5 set prepend-neighbor 3 +match to 2001:db8:1:1::22 ext-community rt 64520:5 set prepend-neighbor 3 +match to 2001:db8:1:1::22 large-community 999:64520:5 set prepend-neighbor 3 + + +match to 2001:db8:1:1::22 community 64520:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64520:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64520:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64515:500 set prepend-neighbor 1 +match to 2001:db8:1:1::22 ext-community rt 64515:500 set prepend-neighbor 1 +match to 2001:db8:1:1::22 large-community 999:64515:500 set prepend-neighbor 1 + + +match to 2001:db8:1:1::22 community 64515:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64515:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64515:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64516:500 set prepend-neighbor 2 +match to 2001:db8:1:1::22 ext-community rt 64516:500 set prepend-neighbor 2 +match to 2001:db8:1:1::22 large-community 999:64516:500 set prepend-neighbor 2 + + +match to 2001:db8:1:1::22 community 64516:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64516:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64516:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64517:500 set prepend-neighbor 3 +match to 2001:db8:1:1::22 ext-community rt 64517:500 set prepend-neighbor 3 +match to 2001:db8:1:1::22 large-community 999:64517:500 set prepend-neighbor 3 + + +match to 2001:db8:1:1::22 community 64517:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64517:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64517:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 65501:999 set prepend-neighbor 1 +match to 2001:db8:1:1::22 ext-community rt 65501:999 set prepend-neighbor 1 +match to 2001:db8:1:1::22 large-community 999:65501:999 set prepend-neighbor 1 + +match to 2001:db8:1:1::22 community 65501:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 65501:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:65501:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 65502:999 set prepend-neighbor 2 +match to 2001:db8:1:1::22 ext-community rt 65502:999 set prepend-neighbor 2 +match to 2001:db8:1:1::22 large-community 999:65502:999 set prepend-neighbor 2 + +match to 2001:db8:1:1::22 community 65502:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 65502:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:65502:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 65503:999 set prepend-neighbor 3 +match to 2001:db8:1:1::22 ext-community rt 65503:999 set prepend-neighbor 3 +match to 2001:db8:1:1::22 large-community 999:65503:999 set prepend-neighbor 3 + +match to 2001:db8:1:1::22 community 65503:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 65503:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:65503:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + + + +# --------------------------------------------- +# client AS3333_1, inbound + + +# Attach custom BGP communities +# from_europe +match from 192.0.2.11 set community 65534:1 +match from 192.0.2.11 set ext-community rt 65534:1 +match from 192.0.2.11 set large-community 999:65534:1 + +# NEXT_HOP +match from 192.0.2.11 set community NO_ADVERTISE +match from 192.0.2.11 nexthop 192.0.2.11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.11 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.11 peer-as != 3333' - reject code: 6 +allow quick from 192.0.2.11 peer-as != 3333 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.11 AS 23456' - reject code: 7 +allow quick from 192.0.2.11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 192.0.2.11 AS { 174, 701, 1299, 2914, 3257, 3320, 3356, 5511, 6453, 6461, 6762, 6830, 7018, 12956 }' - reject code: 8 +allow quick from 192.0.2.11 AS { 174, 701, 1299, 2914, 3257, 3320, 3356, 5511, 6453, 6461, 6762, 6830, 7018, 12956 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 192.0.2.11 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 7862, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30967, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39527, 39967, 46450, 48237, 48265, 48408, 51095, 52946, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 136106, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 211358, 212706, 212953, 213202, 213252, 262191, 262311, 262888, 263258, 263328, 263686, 263856, 263945, 263980, 264212, 264424, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 269906, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328445, 328572, 328582, 328748, 393573, 393684, 396477, 399338 }' - reject code: 15 +allow quick from 192.0.2.11 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 7862, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30967, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39527, 39967, 46450, 48237, 48265, 48408, 51095, 52946, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 136106, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 211358, 212706, 212953, 213202, 213252, 262191, 262311, 262888, 263258, 263328, 263686, 263856, 263945, 263980, 264212, 264424, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 269906, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328445, 328572, 328582, 328748, 393573, 393684, 396477, 399338 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + + +match from 192.0.2.11 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS3333_1, AS3333: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.11 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.11 source-as as-set AS_SET_AS3333_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS3333 +# AS-SET AS_RIPENCC referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_KO set community 65530:0 +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_KO set large-community 999:65530:0 +# adding present_in_as_set community to authorized routes +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK set community 65530:1 +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK set large-community 999:65530:1 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS3333_1, AS3333: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.11 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.11 prefix-set AS_SET_AS3333_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS3333 +# AS-SET AS_RIPENCC referenced but empty. + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 65530:2 +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:65530:2 + +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set community 65530:4 +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set large-community 999:65530:4 + +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + + + +# enforcing: origin ASN +# Reject inbound routes when 'from 192.0.2.11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 192.0.2.11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 192.0.2.11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 192.0.2.11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + +# Blackhole request? +match from 192.0.2.11 set ext-community delete rt 65520:3333 + + +# Remove internal communities before accepting the route +match from 192.0.2.11 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.11 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.11 large-community 999:666:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 192.0.2.11 community BLACKHOLE +allow quick from 192.0.2.11 community 65534:0 +allow quick from 192.0.2.11 large-community 999:666:0 + + +match from 192.0.2.11 set ext-community rt 65520:3333 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 192.0.2.11 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 192.0.2.11 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 192.0.2.11 community GRACEFUL_SHUTDOWN set localpref 0 + +# Remove internal communities before accepting the route +match from 192.0.2.11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.11 set ext-community delete rt 65520:3333 + + + +allow quick from 192.0.2.11 + + + +# --------------------------------------------- +# client AS3333_1, outbound + +deny quick to 192.0.2.11 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 192.0.2.11 community 65534:0 set community BLACKHOLE +match to 192.0.2.11 large-community 999:666:0 set community BLACKHOLE + +match to 192.0.2.11 community BLACKHOLE set community NO_EXPORT +match to 192.0.2.11 community BLACKHOLE set nexthop 192.0.2.66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 192.0.2.11 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 192.0.2.11 community 65507:999 set community NO_EXPORT +match to 192.0.2.11 ext-community rt 65507:999 set community NO_EXPORT +match to 192.0.2.11 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 192.0.2.11 community 65508:999 set community NO_ADVERTISE +match to 192.0.2.11 ext-community rt 65508:999 set community NO_ADVERTISE +match to 192.0.2.11 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 192.0.2.11 community 65509:3333 set community NO_EXPORT +match to 192.0.2.11 ext-community rt 65509:3333 set community NO_EXPORT +match to 192.0.2.11 large-community 999:65509:3333 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 192.0.2.11 community 65510:3333 set community NO_ADVERTISE +match to 192.0.2.11 ext-community rt 65510:3333 set community NO_ADVERTISE +match to 192.0.2.11 large-community 999:65510:3333 set community NO_ADVERTISE + + +# BGP control communities +allow to 192.0.2.11 + +# do_not_announce_to_any +deny to 192.0.2.11 community 0:999 +deny to 192.0.2.11 ext-community rt 0:999 +deny to 192.0.2.11 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 192.0.2.11 community 0:3333 +deny quick to 192.0.2.11 ext-community rt 0:3333 +deny quick to 192.0.2.11 large-community 999:0:3333 + +# do_not_announce_to_peers_with_rtt_lower_than 200 ms +deny to 192.0.2.11 community 64511:200 +deny to 192.0.2.11 ext-community rt 64511:200 +deny to 192.0.2.11 large-community 999:64511:200 + + +# do_not_announce_to_peers_with_rtt_lower_than 500 ms +deny to 192.0.2.11 community 64511:500 +deny to 192.0.2.11 ext-community rt 64511:500 +deny to 192.0.2.11 large-community 999:64511:500 + + +# announce_to_peers_with_rtt_lower_than 200 ms +allow to 192.0.2.11 community 64513:200 +allow to 192.0.2.11 ext-community rt 64513:200 +allow to 192.0.2.11 large-community 999:64513:200 + + +# announce_to_peers_with_rtt_lower_than 500 ms +allow to 192.0.2.11 community 64513:500 +allow to 192.0.2.11 ext-community rt 64513:500 +allow to 192.0.2.11 large-community 999:64513:500 + + +# do_not_announce_to_peers_with_rtt_higher_than 5 ms +deny to 192.0.2.11 community 64512:5 +deny to 192.0.2.11 ext-community rt 64512:5 +deny to 192.0.2.11 large-community 999:64512:5 + + +# do_not_announce_to_peers_with_rtt_higher_than 10 ms +deny to 192.0.2.11 community 64512:10 +deny to 192.0.2.11 ext-community rt 64512:10 +deny to 192.0.2.11 large-community 999:64512:10 + + +# do_not_announce_to_peers_with_rtt_higher_than 15 ms +deny to 192.0.2.11 community 64512:15 +deny to 192.0.2.11 ext-community rt 64512:15 +deny to 192.0.2.11 large-community 999:64512:15 + + +# do_not_announce_to_peers_with_rtt_higher_than 20 ms +deny to 192.0.2.11 community 64512:20 +deny to 192.0.2.11 ext-community rt 64512:20 +deny to 192.0.2.11 large-community 999:64512:20 + + +# do_not_announce_to_peers_with_rtt_higher_than 30 ms +deny to 192.0.2.11 community 64512:30 +deny to 192.0.2.11 ext-community rt 64512:30 +deny to 192.0.2.11 large-community 999:64512:30 + + +# do_not_announce_to_peers_with_rtt_higher_than 50 ms +deny to 192.0.2.11 community 64512:50 +deny to 192.0.2.11 ext-community rt 64512:50 +deny to 192.0.2.11 large-community 999:64512:50 + + +# do_not_announce_to_peers_with_rtt_higher_than 100 ms +deny to 192.0.2.11 community 64512:100 +deny to 192.0.2.11 ext-community rt 64512:100 +deny to 192.0.2.11 large-community 999:64512:100 + + +# announce_to_peers_with_rtt_higher_than 5 ms +allow to 192.0.2.11 community 64514:5 +allow to 192.0.2.11 ext-community rt 64514:5 +allow to 192.0.2.11 large-community 999:64514:5 + + +# announce_to_peers_with_rtt_higher_than 10 ms +allow to 192.0.2.11 community 64514:10 +allow to 192.0.2.11 ext-community rt 64514:10 +allow to 192.0.2.11 large-community 999:64514:10 + + +# announce_to_peers_with_rtt_higher_than 15 ms +allow to 192.0.2.11 community 64514:15 +allow to 192.0.2.11 ext-community rt 64514:15 +allow to 192.0.2.11 large-community 999:64514:15 + + +# announce_to_peers_with_rtt_higher_than 20 ms +allow to 192.0.2.11 community 64514:20 +allow to 192.0.2.11 ext-community rt 64514:20 +allow to 192.0.2.11 large-community 999:64514:20 + + +# announce_to_peers_with_rtt_higher_than 30 ms +allow to 192.0.2.11 community 64514:30 +allow to 192.0.2.11 ext-community rt 64514:30 +allow to 192.0.2.11 large-community 999:64514:30 + + +# announce_to_peers_with_rtt_higher_than 50 ms +allow to 192.0.2.11 community 64514:50 +allow to 192.0.2.11 ext-community rt 64514:50 +allow to 192.0.2.11 large-community 999:64514:50 + + +# announce_to_peers_with_rtt_higher_than 100 ms +allow to 192.0.2.11 community 64514:100 +allow to 192.0.2.11 ext-community rt 64514:100 +allow to 192.0.2.11 large-community 999:64514:100 + + +# announce_to_peer +allow to 192.0.2.11 community 999:3333 +allow to 192.0.2.11 ext-community rt 999:3333 +allow to 192.0.2.11 large-community 999:999:3333 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 65504:3333 set prepend-neighbor 1 +match to 192.0.2.11 ext-community rt 65504:3333 set prepend-neighbor 1 +match to 192.0.2.11 large-community 999:65504:3333 set prepend-neighbor 1 + +match to 192.0.2.11 community 65504:3333 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 65504:3333 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:65504:3333 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 65505:3333 set prepend-neighbor 2 +match to 192.0.2.11 ext-community rt 65505:3333 set prepend-neighbor 2 +match to 192.0.2.11 large-community 999:65505:3333 set prepend-neighbor 2 + +match to 192.0.2.11 community 65505:3333 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 65505:3333 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:65505:3333 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 65506:3333 set prepend-neighbor 3 +match to 192.0.2.11 ext-community rt 65506:3333 set prepend-neighbor 3 +match to 192.0.2.11 large-community 999:65506:3333 set prepend-neighbor 3 + +match to 192.0.2.11 community 65506:3333 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 65506:3333 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:65506:3333 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + + +# prepend_once_to_peers_with_rtt_higher_than 100 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64518:100 set prepend-neighbor 1 +match to 192.0.2.11 ext-community rt 64518:100 set prepend-neighbor 1 +match to 192.0.2.11 large-community 999:64518:100 set prepend-neighbor 1 + + +match to 192.0.2.11 community 64518:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64518:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64518:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 100 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64519:100 set prepend-neighbor 2 +match to 192.0.2.11 ext-community rt 64519:100 set prepend-neighbor 2 +match to 192.0.2.11 large-community 999:64519:100 set prepend-neighbor 2 + + +match to 192.0.2.11 community 64519:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64519:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64519:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 100 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64520:100 set prepend-neighbor 3 +match to 192.0.2.11 ext-community rt 64520:100 set prepend-neighbor 3 +match to 192.0.2.11 large-community 999:64520:100 set prepend-neighbor 3 + + +match to 192.0.2.11 community 64520:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64520:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64520:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_higher_than 50 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64518:50 set prepend-neighbor 1 +match to 192.0.2.11 ext-community rt 64518:50 set prepend-neighbor 1 +match to 192.0.2.11 large-community 999:64518:50 set prepend-neighbor 1 + + +match to 192.0.2.11 community 64518:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64518:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64518:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 50 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64519:50 set prepend-neighbor 2 +match to 192.0.2.11 ext-community rt 64519:50 set prepend-neighbor 2 +match to 192.0.2.11 large-community 999:64519:50 set prepend-neighbor 2 + + +match to 192.0.2.11 community 64519:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64519:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64519:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 50 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64520:50 set prepend-neighbor 3 +match to 192.0.2.11 ext-community rt 64520:50 set prepend-neighbor 3 +match to 192.0.2.11 large-community 999:64520:50 set prepend-neighbor 3 + + +match to 192.0.2.11 community 64520:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64520:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64520:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_higher_than 30 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64518:30 set prepend-neighbor 1 +match to 192.0.2.11 ext-community rt 64518:30 set prepend-neighbor 1 +match to 192.0.2.11 large-community 999:64518:30 set prepend-neighbor 1 + + +match to 192.0.2.11 community 64518:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64518:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64518:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 30 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64519:30 set prepend-neighbor 2 +match to 192.0.2.11 ext-community rt 64519:30 set prepend-neighbor 2 +match to 192.0.2.11 large-community 999:64519:30 set prepend-neighbor 2 + + +match to 192.0.2.11 community 64519:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64519:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64519:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 30 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64520:30 set prepend-neighbor 3 +match to 192.0.2.11 ext-community rt 64520:30 set prepend-neighbor 3 +match to 192.0.2.11 large-community 999:64520:30 set prepend-neighbor 3 + + +match to 192.0.2.11 community 64520:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64520:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64520:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_higher_than 20 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64518:20 set prepend-neighbor 1 +match to 192.0.2.11 ext-community rt 64518:20 set prepend-neighbor 1 +match to 192.0.2.11 large-community 999:64518:20 set prepend-neighbor 1 + + +match to 192.0.2.11 community 64518:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64518:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64518:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 20 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64519:20 set prepend-neighbor 2 +match to 192.0.2.11 ext-community rt 64519:20 set prepend-neighbor 2 +match to 192.0.2.11 large-community 999:64519:20 set prepend-neighbor 2 + + +match to 192.0.2.11 community 64519:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64519:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64519:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 20 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64520:20 set prepend-neighbor 3 +match to 192.0.2.11 ext-community rt 64520:20 set prepend-neighbor 3 +match to 192.0.2.11 large-community 999:64520:20 set prepend-neighbor 3 + + +match to 192.0.2.11 community 64520:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64520:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64520:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_higher_than 15 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64518:15 set prepend-neighbor 1 +match to 192.0.2.11 ext-community rt 64518:15 set prepend-neighbor 1 +match to 192.0.2.11 large-community 999:64518:15 set prepend-neighbor 1 + + +match to 192.0.2.11 community 64518:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64518:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64518:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 15 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64519:15 set prepend-neighbor 2 +match to 192.0.2.11 ext-community rt 64519:15 set prepend-neighbor 2 +match to 192.0.2.11 large-community 999:64519:15 set prepend-neighbor 2 + + +match to 192.0.2.11 community 64519:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64519:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64519:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 15 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64520:15 set prepend-neighbor 3 +match to 192.0.2.11 ext-community rt 64520:15 set prepend-neighbor 3 +match to 192.0.2.11 large-community 999:64520:15 set prepend-neighbor 3 + + +match to 192.0.2.11 community 64520:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64520:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64520:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_higher_than 10 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64518:10 set prepend-neighbor 1 +match to 192.0.2.11 ext-community rt 64518:10 set prepend-neighbor 1 +match to 192.0.2.11 large-community 999:64518:10 set prepend-neighbor 1 + + +match to 192.0.2.11 community 64518:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64518:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64518:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 10 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64519:10 set prepend-neighbor 2 +match to 192.0.2.11 ext-community rt 64519:10 set prepend-neighbor 2 +match to 192.0.2.11 large-community 999:64519:10 set prepend-neighbor 2 + + +match to 192.0.2.11 community 64519:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64519:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64519:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 10 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64520:10 set prepend-neighbor 3 +match to 192.0.2.11 ext-community rt 64520:10 set prepend-neighbor 3 +match to 192.0.2.11 large-community 999:64520:10 set prepend-neighbor 3 + + +match to 192.0.2.11 community 64520:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64520:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64520:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_higher_than 5 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64518:5 set prepend-neighbor 1 +match to 192.0.2.11 ext-community rt 64518:5 set prepend-neighbor 1 +match to 192.0.2.11 large-community 999:64518:5 set prepend-neighbor 1 + + +match to 192.0.2.11 community 64518:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64518:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64518:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 5 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64519:5 set prepend-neighbor 2 +match to 192.0.2.11 ext-community rt 64519:5 set prepend-neighbor 2 +match to 192.0.2.11 large-community 999:64519:5 set prepend-neighbor 2 + + +match to 192.0.2.11 community 64519:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64519:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64519:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 5 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64520:5 set prepend-neighbor 3 +match to 192.0.2.11 ext-community rt 64520:5 set prepend-neighbor 3 +match to 192.0.2.11 large-community 999:64520:5 set prepend-neighbor 3 + + +match to 192.0.2.11 community 64520:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64520:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64520:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_lower_than 200 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64515:200 set prepend-neighbor 1 +match to 192.0.2.11 ext-community rt 64515:200 set prepend-neighbor 1 +match to 192.0.2.11 large-community 999:64515:200 set prepend-neighbor 1 + + +match to 192.0.2.11 community 64515:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64515:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64515:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 200 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64516:200 set prepend-neighbor 2 +match to 192.0.2.11 ext-community rt 64516:200 set prepend-neighbor 2 +match to 192.0.2.11 large-community 999:64516:200 set prepend-neighbor 2 + + +match to 192.0.2.11 community 64516:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64516:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64516:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 200 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64517:200 set prepend-neighbor 3 +match to 192.0.2.11 ext-community rt 64517:200 set prepend-neighbor 3 +match to 192.0.2.11 large-community 999:64517:200 set prepend-neighbor 3 + + +match to 192.0.2.11 community 64517:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64517:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64517:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64515:500 set prepend-neighbor 1 +match to 192.0.2.11 ext-community rt 64515:500 set prepend-neighbor 1 +match to 192.0.2.11 large-community 999:64515:500 set prepend-neighbor 1 + + +match to 192.0.2.11 community 64515:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64515:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64515:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64516:500 set prepend-neighbor 2 +match to 192.0.2.11 ext-community rt 64516:500 set prepend-neighbor 2 +match to 192.0.2.11 large-community 999:64516:500 set prepend-neighbor 2 + + +match to 192.0.2.11 community 64516:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64516:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64516:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64517:500 set prepend-neighbor 3 +match to 192.0.2.11 ext-community rt 64517:500 set prepend-neighbor 3 +match to 192.0.2.11 large-community 999:64517:500 set prepend-neighbor 3 + + +match to 192.0.2.11 community 64517:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64517:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64517:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 65501:999 set prepend-neighbor 1 +match to 192.0.2.11 ext-community rt 65501:999 set prepend-neighbor 1 +match to 192.0.2.11 large-community 999:65501:999 set prepend-neighbor 1 + +match to 192.0.2.11 community 65501:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 65501:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:65501:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 65502:999 set prepend-neighbor 2 +match to 192.0.2.11 ext-community rt 65502:999 set prepend-neighbor 2 +match to 192.0.2.11 large-community 999:65502:999 set prepend-neighbor 2 + +match to 192.0.2.11 community 65502:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 65502:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:65502:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 65503:999 set prepend-neighbor 3 +match to 192.0.2.11 ext-community rt 65503:999 set prepend-neighbor 3 +match to 192.0.2.11 large-community 999:65503:999 set prepend-neighbor 3 + +match to 192.0.2.11 community 65503:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 65503:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:65503:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + + + + + +# Scrub communities from outbound routes +# add_noadvertise_to_any +match to group clients set community delete 65508:999 +match to group clients set ext-community delete rt 65508:999 +match to group clients set large-community delete 999:65508:999 + +# add_noadvertise_to_peer +match to group clients set community delete 65510:* +# Warning: rt:65510:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:65510:* + +# add_noexport_to_any +match to group clients set community delete 65507:999 +match to group clients set ext-community delete rt 65507:999 +match to group clients set large-community delete 999:65507:999 + +# add_noexport_to_peer +match to group clients set community delete 65509:* +# Warning: rt:65509:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:65509:* + +# announce_to_peer +match to group clients set community delete 999:* +# Warning: rt:999:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:999:* + +# announce_to_peers_with_rtt_higher_than +match to group clients set community delete 64514:* +# Warning: rt:64514:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64514:* + +# announce_to_peers_with_rtt_lower_than +match to group clients set community delete 64513:* +# Warning: rt:64513:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64513:* + +# blackholing +match to group clients set community delete 65534:0 +match to group clients set large-community delete 999:666:0 + +# do_not_announce_to_any +match to group clients set community delete 0:999 +match to group clients set ext-community delete rt 0:999 +match to group clients set large-community delete 999:0:999 + +# do_not_announce_to_peer +match to group clients set community delete 0:* +# Warning: rt:0:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:0:* + +# do_not_announce_to_peers_with_rtt_higher_than +match to group clients set community delete 64512:* +# Warning: rt:64512:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64512:* + +# do_not_announce_to_peers_with_rtt_lower_than +match to group clients set community delete 64511:* +# Warning: rt:64511:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64511:* + +# prepend_once_to_any +match to group clients set community delete 65501:999 +match to group clients set ext-community delete rt 65501:999 +match to group clients set large-community delete 999:65501:999 + +# prepend_once_to_peer +match to group clients set community delete 65504:* +# Warning: rt:65504:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:65504:* + +# prepend_once_to_peers_with_rtt_higher_than +match to group clients set community delete 64518:* +# Warning: rt:64518:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64518:* + +# prepend_once_to_peers_with_rtt_lower_than +match to group clients set community delete 64515:* +# Warning: rt:64515:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64515:* + +# prepend_thrice_to_any +match to group clients set community delete 65503:999 +match to group clients set ext-community delete rt 65503:999 +match to group clients set large-community delete 999:65503:999 + +# prepend_thrice_to_peer +match to group clients set community delete 65506:* +# Warning: rt:65506:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:65506:* + +# prepend_thrice_to_peers_with_rtt_higher_than +match to group clients set community delete 64520:* +# Warning: rt:64520:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64520:* + +# prepend_thrice_to_peers_with_rtt_lower_than +match to group clients set community delete 64517:* +# Warning: rt:64517:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64517:* + +# prepend_twice_to_any +match to group clients set community delete 65502:999 +match to group clients set ext-community delete rt 65502:999 +match to group clients set large-community delete 999:65502:999 + +# prepend_twice_to_peer +match to group clients set community delete 65505:* +# Warning: rt:65505:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:65505:* + +# prepend_twice_to_peers_with_rtt_higher_than +match to group clients set community delete 64519:* +# Warning: rt:64519:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64519:* + +# prepend_twice_to_peers_with_rtt_lower_than +match to group clients set community delete 64516:* +# Warning: rt:64516:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64516:* + + +# Scrub prepending communities +match to group clients set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 } +match to group clients set { community delete 65504:0 ext-community delete rt 65504:0 large-community delete 999:65504:0 } +match to group clients set { community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* } +match to group clients set { community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* } +match to group clients set { community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 } +match to group clients set { community delete 65506:0 ext-community delete rt 65506:0 large-community delete 999:65506:0 } +match to group clients set { community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* } +match to group clients set { community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* } +match to group clients set { community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 } +match to group clients set { community delete 65505:0 ext-community delete rt 65505:0 large-community delete 999:65505:0 } +match to group clients set { community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* } +match to group clients set { community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# RFC1997 NO_EXPORT/NO_ADVERTISE received from clients and propagated because of pass-through policy +match to group clients ext-community $INTCOMM_NO_EXPORT set community NO_EXPORT +match to group clients ext-community $INTCOMM_NO_ADVERTISE set community NO_ADVERTISE + +# Remove internal communities before announcing the route +match to group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + diff --git a/tests/live_tests/scenarios/rich_example/configs/RichConfigExampleScenarioOpenBGPD_IPv4/openbgpd69p.conf b/tests/live_tests/scenarios/rich_example/configs/RichConfigExampleScenarioOpenBGPD_IPv4/openbgpd69p.conf new file mode 100644 index 00000000..cdee2de7 --- /dev/null +++ b/tests/live_tests/scenarios/rich_example/configs/RichConfigExampleScenarioOpenBGPD_IPv4/openbgpd69p.conf @@ -0,0 +1,2492 @@ +# built by ARouteServer +AS 999 +router-id 192.0.2.2 + +fib-update no +log updates + +nexthop qualify via default + +rde evaluate all + +INTCOMM_PREF_OK_ROA="soo 65535:1" +INTCOMM_ROUTE_OK_WL="soo 65535:2" +INTCOMM_PREF_OK_ARINDB="soo 65535:3" +INTCOMM_PREF_OK_REGISTROBRDB="soo 65535:12" + +INTCOMM_ORIGIN_OK="soo 65535:4" +INTCOMM_ORIGIN_KO="soo 65535:5" +INTCOMM_PREFIX_OK="soo 65535:6" +INTCOMM_PREFIX_KO="soo 65535:7" +INTCOMM_IRR_REJECT="soo 65535:8" + +INTCOMM_RPKI_UNKNOWN="soo 65535:9" +INTCOMM_RPKI_INVALID="soo 65535:10" +INTCOMM_RPKI_VALID="soo 65535:11" + +INTCOMM_NO_EXPORT="soo 65535:65281" +INTCOMM_NO_ADVERTISE="soo 65535:65282" + +# --------------------------------------------------------- +# IRRDB + +# AS3333, used by client AS3333_1 +as-set "AS_SET_AS3333_asns" { + 3333 +} +prefix-set "AS_SET_AS3333_prefixes" { + 2001:67c:2e8::/48 prefixlen 48 - 128 +} + +# AS10745, used by client AS10745_1, client AS10745_2 +as-set "AS_SET_AS10745_asns" { + 10745 +} +prefix-set "AS_SET_AS10745_prefixes" { + 2001:500:4::/48 prefixlen 48 - 128 +} + +# AS-RIPENCC, used by client AS3333_1 +# no origin ASNs found for AS_RIPENCC +# no prefixes found for AS_RIPENCC + + + + +# --------------------------------------------------------- +# MEMBERS + +group "clients" { + + # RTT: 224 ms (normalized value: 224) + neighbor 192.0.2.22 { + remote-as 10745 + + rde evaluate all + + passive + ttl-security yes + max-prefix 121 restart 30 + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + # RTT: 226 ms (normalized value: 226) + neighbor 2001:db8:1:1::22 { + remote-as 10745 + + rde evaluate all + + passive + ttl-security yes + max-prefix 13915 restart 30 + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + # RTT: 114 ms (normalized value: 114) + neighbor 192.0.2.11 { + remote-as 3333 + + rde evaluate all + + passive + ttl-security yes + max-prefix 150 restart 30 + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } +} + + + +# --------------------------------------------------------- +# FILTERS + +# NO_ADVERTISE usage notes. +# The NO_ADVERTISE well-know community is used here to handle +# filters that span over multiple steps. At first it is added +# to any route, then it is removed as filters conditions are +# satisfied. Finally, if it is still present, it means that +# the route should be discarded. + + + + +prefix-set "global_black_list_pref" { + 192.0.2.0/24 prefixlen 24 - 32 + 2001:db8:1:1::/64 prefixlen 64 - 128 + +} + +prefix-set "bogons" { + 0.0.0.0/0 + 0.0.0.0/8 prefixlen 8 - 32 + 10.0.0.0/8 prefixlen 8 - 32 + 127.0.0.0/8 prefixlen 8 - 32 + 169.254.0.0/16 prefixlen 16 - 32 + 172.16.0.0/12 prefixlen 12 - 32 + 192.0.2.0/24 prefixlen 24 - 32 + 192.88.99.0/24 prefixlen 24 - 32 + 192.168.0.0/16 prefixlen 16 - 32 + 198.18.0.0/15 prefixlen 15 - 32 + 198.51.100.0/24 prefixlen 24 - 32 + 203.0.113.0/24 prefixlen 24 - 32 + 224.0.0.0/3 prefixlen 3 - 32 + 100.64.0.0/10 prefixlen 10 - 32 + ::/0 + ::/8 prefixlen 8 - 128 + 64:ff9b::/96 prefixlen 96 - 128 + 100::/8 prefixlen 8 - 128 + 200::/7 prefixlen 7 - 128 + 400::/6 prefixlen 6 - 128 + 800::/5 prefixlen 5 - 128 + 1000::/4 prefixlen 4 - 128 + 2001::/33 prefixlen 33 - 128 + 2001:0:8000::/33 prefixlen 33 - 128 + 2001:2::/48 prefixlen 48 - 128 + 2001:3::/32 prefixlen 32 - 128 + 2001:10::/28 prefixlen 28 - 128 + 2001:20::/28 prefixlen 28 - 128 + 2001:db8::/32 prefixlen 32 - 128 + 2002::/16 prefixlen 16 - 128 + 3ffe::/16 prefixlen 16 - 128 + 4000::/3 prefixlen 3 - 128 + 5f00::/8 prefixlen 8 - 128 + 6000::/3 prefixlen 3 - 128 + 8000::/3 prefixlen 3 - 128 + a000::/3 prefixlen 3 - 128 + c000::/3 prefixlen 3 - 128 + e000::/4 prefixlen 4 - 128 + f000::/5 prefixlen 5 - 128 + f800::/6 prefixlen 6 - 128 + fc00::/7 prefixlen 7 - 128 + fe80::/10 prefixlen 10 - 128 + fec0::/10 prefixlen 10 - 128 + ff00::/8 prefixlen 8 - 128 + +} + +# ===================================================================================== +# Global rules. + +# This part of configuration is processed at the beginning of the filters. +# The rules defined in this part are applied to all the clients, and not on a +# client-by-client basis (see the 'match from group clients'), so only global policies +# can be implemented here, that is no client-level configuration are allowed. + + + +# Scrub communities from inbound routes +# origin_not_present_in_as_set +match from group clients set community delete 65530:0 +match from group clients set large-community delete 999:65530:0 + +# origin_present_in_as_set +match from group clients set community delete 65530:1 +match from group clients set large-community delete 999:65530:1 + +# prefix_validated_via_arin_whois_db_dump +match from group clients set community delete 65530:4 +match from group clients set large-community delete 999:65530:4 + +# prefix_validated_via_rpki_roas +match from group clients set community delete 65530:2 +match from group clients set large-community delete 999:65530:2 + +# route_validated_via_white_list +match from group clients set community delete 65530:3 +match from group clients set large-community delete 999:65530:3 + +# from_europe +match from group clients set community delete 65534:1 +match from group clients set ext-community delete rt 65534:1 +match from group clients set large-community delete 999:65534:1 + +# from_usa +match from group clients set community delete 65534:2 +match from group clients set ext-community delete rt 65534:2 +match from group clients set large-community delete 999:65534:2 + + +# Scrub internal communities from inbound routes +match from group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + + +# The main goal of this block is to enrich routes received from clients by attaching to them +# internal informational communities which are used later by the rest of the filter rules. + +# Internal communities used for RFC1997 well-known communities handling + +# Transform NO_EXPORT into $INTCOMM_NO_EXPORT +match from group clients community NO_EXPORT set { ext-community $INTCOMM_NO_EXPORT community delete NO_EXPORT } + +# Transform NO_ADVERTISE into $INTCOMM_NO_ADVERTISE +match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ADVERTISE community delete NO_ADVERTISE } + + +# --------------------------------------------------------- +# ROAs source + + +roa-set { + 193.0.0.0/21 source-as 3333 + 193.0.24.0/22 maxlen 26 source-as 3333 + 193.0.10.0/23 source-as 3333 + 193.0.12.0/23 source-as 3333 + 193.0.14.0/23 source-as 25152 + 193.0.18.0/23 source-as 3333 + 193.0.20.0/23 source-as 3333 + 193.0.22.0/23 source-as 3333 + 193.0.14.0/24 source-as 25152 + 193.0.24.0/24 source-as 3333 + 2001:7fd::/32 source-as 25152 + 2001:610:240::/42 source-as 3333 + 2001:67c:2e8::/48 source-as 3333 + 2001:7fd::/48 source-as 25152 + +} + + + +# --------------------------------------------------------- +# RPKI-based Origin Validation + + +# Add $INTCOMM_RPKI_UNKNOWN, $INTCOMM_RPKI_INVALID and $INTCOMM_RPKI_VALID +# ext community on the basis of ovs. +match from group clients ovs not-found set ext-community $INTCOMM_RPKI_UNKNOWN +match from group clients ovs valid set ext-community $INTCOMM_RPKI_VALID +match from group clients ovs invalid set ext-community $INTCOMM_RPKI_INVALID + + + +# --------------------------------------------------------- +# RPKI ROAs used as route objects. + +# Add the $INTCOMM_PREF_OK_ROA ext community to routes whose +# origin ASN has a ROA for the announced prefix. +# It will be used later during IRRDB validation in +# case the origin ASN is authorized by a client's +# AS-SET but the prefix is not. + +# Since RPKI-based Origin Validation is already performed above, +# use the origin validation state to identify valid routes. +match from group clients ovs valid set ext-community $INTCOMM_PREF_OK_ROA + + +# ARIN Whois records used for preifx validation +# --------------------------------------------- + +# Add the $INTCOMM_PREF_OK_ARINDB ext community to routes whose +# origin ASN has an ARIN Whois record for the announced prefix. +# It will be used later during IRRDB validation in +# case the origin ASN is authorized by a client's +# AS-SET but the prefix is not. +origin-set "ARINDB" { +192.136.136.0/24 prefixlen 24 - 32 source-as 10745 +192.149.252.0/24 prefixlen 24 - 32 source-as 10745 +199.43.0.0/24 prefixlen 24 - 32 source-as 10745 +2001:500:110::/48 prefixlen 48 - 128 source-as 10745 +2001:500:4::/48 prefixlen 48 - 128 source-as 10745 +} +match from group clients origin-set ARINDB set ext-community $INTCOMM_PREF_OK_ARINDB + + + + +# Set the 'rejected_route_announced_by' community for all the clients. +# It will be removed later if the route is not invalid +match from 192.0.2.22 set ext-community rt 65520:10745 + +match from 2001:db8:1:1::22 set ext-community rt 65520:10745 + +match from 192.0.2.11 set ext-community rt 65520:3333 + + + + +# AS_PATH: length +# Reject inbound routes when 'from group clients max-as-len 32' - reject code: 1 +allow quick from group clients max-as-len 32 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:1} + + +# Prefix: global blacklist +# Reject inbound routes when 'from group clients prefix-set global_black_list_pref' - reject code: 3 +allow quick from group clients prefix-set global_black_list_pref set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:3} + + +# Prefix: only IPv6 Global Unicast space allowed +match from group clients inet6 set community NO_ADVERTISE +match from group clients prefix 2000::/3 or-longer set community delete NO_ADVERTISE +# Reject inbound routes when 'from group clients community NO_ADVERTISE' - reject code: 10 +allow quick from group clients community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:10} + + +# Prefix: bogon +# Reject inbound routes when 'from group clients prefix-set bogons' - reject code: 2 +allow quick from group clients prefix-set bogons set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:2} + + + + +# ===================================================================================== +# Per client rules. + + +# --------------------------------------------- +# client AS10745_1, inbound + + +# Attach custom BGP communities +# from_usa +match from 192.0.2.22 set community 65534:2 +match from 192.0.2.22 set ext-community rt 65534:2 +match from 192.0.2.22 set large-community 999:65534:2 + +# NEXT_HOP +match from 192.0.2.22 set community NO_ADVERTISE +match from 192.0.2.22 nexthop 192.0.2.22 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.22 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.22 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.22 peer-as != 10745' - reject code: 6 +allow quick from 192.0.2.22 peer-as != 10745 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.22 AS 23456' - reject code: 7 +allow quick from 192.0.2.22 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.22 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.22 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.22 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.22 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 192.0.2.22 AS { 174, 701, 1299, 2914, 3257, 3320, 3356, 5511, 6453, 6461, 6762, 6830, 7018, 12956 }' - reject code: 8 +allow quick from 192.0.2.22 AS { 174, 701, 1299, 2914, 3257, 3320, 3356, 5511, 6453, 6461, 6762, 6830, 7018, 12956 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 192.0.2.22 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 7862, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30967, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39527, 39967, 46450, 48237, 48265, 48408, 51095, 52946, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 136106, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 211358, 212706, 212953, 213202, 213252, 262191, 262311, 262888, 263258, 263328, 263686, 263856, 263945, 263980, 264212, 264424, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 269906, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328445, 328572, 328582, 328748, 393573, 393684, 396477, 399338 }' - reject code: 15 +allow quick from 192.0.2.22 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 7862, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30967, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39527, 39967, 46450, 48237, 48265, 48408, 51095, 52946, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 136106, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 211358, 212706, 212953, 213202, 213252, 262191, 262311, 262888, 263258, 263328, 263686, 263856, 263945, 263980, 264212, 264424, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 269906, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328445, 328572, 328582, 328748, 393573, 393684, 396477, 399338 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + + +match from 192.0.2.22 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS10745_1, AS10745: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.22 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.22 source-as as-set AS_SET_AS10745_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS10745 +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.22 ext-community $INTCOMM_ORIGIN_KO set community 65530:0 +match from 192.0.2.22 ext-community $INTCOMM_ORIGIN_KO set large-community 999:65530:0 +# adding present_in_as_set community to authorized routes +match from 192.0.2.22 ext-community $INTCOMM_ORIGIN_OK set community 65530:1 +match from 192.0.2.22 ext-community $INTCOMM_ORIGIN_OK set large-community 999:65530:1 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS10745_1, AS10745: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.22 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.22 prefix-set AS_SET_AS10745_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS10745 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.22 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 65530:2 +match from 192.0.2.22 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:65530:2 + +match from 192.0.2.22 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.22 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set community 65530:4 +match from 192.0.2.22 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set large-community 999:65530:4 + +match from 192.0.2.22 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + + + +# enforcing: origin ASN +# Reject inbound routes when 'from 192.0.2.22 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 192.0.2.22 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 192.0.2.22 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 192.0.2.22 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + +# Blackhole request? +match from 192.0.2.22 set ext-community delete rt 65520:10745 + + +# Remove internal communities before accepting the route +match from 192.0.2.22 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.22 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.22 large-community 999:666:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 192.0.2.22 community BLACKHOLE +allow quick from 192.0.2.22 community 65534:0 +allow quick from 192.0.2.22 large-community 999:666:0 + + +match from 192.0.2.22 set ext-community rt 65520:10745 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 192.0.2.22 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 192.0.2.22 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.22 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.22 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 192.0.2.22 community GRACEFUL_SHUTDOWN set localpref 0 + +# Remove internal communities before accepting the route +match from 192.0.2.22 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.22 set ext-community delete rt 65520:10745 + + + +allow quick from 192.0.2.22 + + + +# --------------------------------------------- +# client AS10745_1, outbound + +deny quick to 192.0.2.22 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 192.0.2.22 community 65534:0 set community BLACKHOLE +match to 192.0.2.22 large-community 999:666:0 set community BLACKHOLE + +match to 192.0.2.22 community BLACKHOLE set community NO_EXPORT +match to 192.0.2.22 community BLACKHOLE set nexthop 192.0.2.66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 192.0.2.22 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 192.0.2.22 community 65507:999 set community NO_EXPORT +match to 192.0.2.22 ext-community rt 65507:999 set community NO_EXPORT +match to 192.0.2.22 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 192.0.2.22 community 65508:999 set community NO_ADVERTISE +match to 192.0.2.22 ext-community rt 65508:999 set community NO_ADVERTISE +match to 192.0.2.22 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 192.0.2.22 community 65509:10745 set community NO_EXPORT +match to 192.0.2.22 ext-community rt 65509:10745 set community NO_EXPORT +match to 192.0.2.22 large-community 999:65509:10745 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 192.0.2.22 community 65510:10745 set community NO_ADVERTISE +match to 192.0.2.22 ext-community rt 65510:10745 set community NO_ADVERTISE +match to 192.0.2.22 large-community 999:65510:10745 set community NO_ADVERTISE + + +# BGP control communities +allow to 192.0.2.22 + +# do_not_announce_to_any +deny to 192.0.2.22 community 0:999 +deny to 192.0.2.22 ext-community rt 0:999 +deny to 192.0.2.22 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 192.0.2.22 community 0:10745 +deny quick to 192.0.2.22 ext-community rt 0:10745 +deny quick to 192.0.2.22 large-community 999:0:10745 + +# do_not_announce_to_peers_with_rtt_lower_than 500 ms +deny to 192.0.2.22 community 64511:500 +deny to 192.0.2.22 ext-community rt 64511:500 +deny to 192.0.2.22 large-community 999:64511:500 + + +# announce_to_peers_with_rtt_lower_than 500 ms +allow to 192.0.2.22 community 64513:500 +allow to 192.0.2.22 ext-community rt 64513:500 +allow to 192.0.2.22 large-community 999:64513:500 + + +# do_not_announce_to_peers_with_rtt_higher_than 5 ms +deny to 192.0.2.22 community 64512:5 +deny to 192.0.2.22 ext-community rt 64512:5 +deny to 192.0.2.22 large-community 999:64512:5 + + +# do_not_announce_to_peers_with_rtt_higher_than 10 ms +deny to 192.0.2.22 community 64512:10 +deny to 192.0.2.22 ext-community rt 64512:10 +deny to 192.0.2.22 large-community 999:64512:10 + + +# do_not_announce_to_peers_with_rtt_higher_than 15 ms +deny to 192.0.2.22 community 64512:15 +deny to 192.0.2.22 ext-community rt 64512:15 +deny to 192.0.2.22 large-community 999:64512:15 + + +# do_not_announce_to_peers_with_rtt_higher_than 20 ms +deny to 192.0.2.22 community 64512:20 +deny to 192.0.2.22 ext-community rt 64512:20 +deny to 192.0.2.22 large-community 999:64512:20 + + +# do_not_announce_to_peers_with_rtt_higher_than 30 ms +deny to 192.0.2.22 community 64512:30 +deny to 192.0.2.22 ext-community rt 64512:30 +deny to 192.0.2.22 large-community 999:64512:30 + + +# do_not_announce_to_peers_with_rtt_higher_than 50 ms +deny to 192.0.2.22 community 64512:50 +deny to 192.0.2.22 ext-community rt 64512:50 +deny to 192.0.2.22 large-community 999:64512:50 + + +# do_not_announce_to_peers_with_rtt_higher_than 100 ms +deny to 192.0.2.22 community 64512:100 +deny to 192.0.2.22 ext-community rt 64512:100 +deny to 192.0.2.22 large-community 999:64512:100 + + +# do_not_announce_to_peers_with_rtt_higher_than 200 ms +deny to 192.0.2.22 community 64512:200 +deny to 192.0.2.22 ext-community rt 64512:200 +deny to 192.0.2.22 large-community 999:64512:200 + + +# announce_to_peers_with_rtt_higher_than 5 ms +allow to 192.0.2.22 community 64514:5 +allow to 192.0.2.22 ext-community rt 64514:5 +allow to 192.0.2.22 large-community 999:64514:5 + + +# announce_to_peers_with_rtt_higher_than 10 ms +allow to 192.0.2.22 community 64514:10 +allow to 192.0.2.22 ext-community rt 64514:10 +allow to 192.0.2.22 large-community 999:64514:10 + + +# announce_to_peers_with_rtt_higher_than 15 ms +allow to 192.0.2.22 community 64514:15 +allow to 192.0.2.22 ext-community rt 64514:15 +allow to 192.0.2.22 large-community 999:64514:15 + + +# announce_to_peers_with_rtt_higher_than 20 ms +allow to 192.0.2.22 community 64514:20 +allow to 192.0.2.22 ext-community rt 64514:20 +allow to 192.0.2.22 large-community 999:64514:20 + + +# announce_to_peers_with_rtt_higher_than 30 ms +allow to 192.0.2.22 community 64514:30 +allow to 192.0.2.22 ext-community rt 64514:30 +allow to 192.0.2.22 large-community 999:64514:30 + + +# announce_to_peers_with_rtt_higher_than 50 ms +allow to 192.0.2.22 community 64514:50 +allow to 192.0.2.22 ext-community rt 64514:50 +allow to 192.0.2.22 large-community 999:64514:50 + + +# announce_to_peers_with_rtt_higher_than 100 ms +allow to 192.0.2.22 community 64514:100 +allow to 192.0.2.22 ext-community rt 64514:100 +allow to 192.0.2.22 large-community 999:64514:100 + + +# announce_to_peers_with_rtt_higher_than 200 ms +allow to 192.0.2.22 community 64514:200 +allow to 192.0.2.22 ext-community rt 64514:200 +allow to 192.0.2.22 large-community 999:64514:200 + + +# announce_to_peer +allow to 192.0.2.22 community 999:10745 +allow to 192.0.2.22 ext-community rt 999:10745 +allow to 192.0.2.22 large-community 999:999:10745 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 65504:10745 set prepend-neighbor 1 +match to 192.0.2.22 ext-community rt 65504:10745 set prepend-neighbor 1 +match to 192.0.2.22 large-community 999:65504:10745 set prepend-neighbor 1 + +match to 192.0.2.22 community 65504:10745 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 65504:10745 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:65504:10745 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 65505:10745 set prepend-neighbor 2 +match to 192.0.2.22 ext-community rt 65505:10745 set prepend-neighbor 2 +match to 192.0.2.22 large-community 999:65505:10745 set prepend-neighbor 2 + +match to 192.0.2.22 community 65505:10745 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 65505:10745 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:65505:10745 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 65506:10745 set prepend-neighbor 3 +match to 192.0.2.22 ext-community rt 65506:10745 set prepend-neighbor 3 +match to 192.0.2.22 large-community 999:65506:10745 set prepend-neighbor 3 + +match to 192.0.2.22 community 65506:10745 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 65506:10745 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:65506:10745 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + + +# prepend_once_to_peers_with_rtt_higher_than 200 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64518:200 set prepend-neighbor 1 +match to 192.0.2.22 ext-community rt 64518:200 set prepend-neighbor 1 +match to 192.0.2.22 large-community 999:64518:200 set prepend-neighbor 1 + + +match to 192.0.2.22 community 64518:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64518:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64518:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 200 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64519:200 set prepend-neighbor 2 +match to 192.0.2.22 ext-community rt 64519:200 set prepend-neighbor 2 +match to 192.0.2.22 large-community 999:64519:200 set prepend-neighbor 2 + + +match to 192.0.2.22 community 64519:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64519:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64519:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 200 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64520:200 set prepend-neighbor 3 +match to 192.0.2.22 ext-community rt 64520:200 set prepend-neighbor 3 +match to 192.0.2.22 large-community 999:64520:200 set prepend-neighbor 3 + + +match to 192.0.2.22 community 64520:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64520:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64520:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_higher_than 100 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64518:100 set prepend-neighbor 1 +match to 192.0.2.22 ext-community rt 64518:100 set prepend-neighbor 1 +match to 192.0.2.22 large-community 999:64518:100 set prepend-neighbor 1 + + +match to 192.0.2.22 community 64518:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64518:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64518:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 100 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64519:100 set prepend-neighbor 2 +match to 192.0.2.22 ext-community rt 64519:100 set prepend-neighbor 2 +match to 192.0.2.22 large-community 999:64519:100 set prepend-neighbor 2 + + +match to 192.0.2.22 community 64519:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64519:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64519:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 100 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64520:100 set prepend-neighbor 3 +match to 192.0.2.22 ext-community rt 64520:100 set prepend-neighbor 3 +match to 192.0.2.22 large-community 999:64520:100 set prepend-neighbor 3 + + +match to 192.0.2.22 community 64520:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64520:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64520:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_higher_than 50 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64518:50 set prepend-neighbor 1 +match to 192.0.2.22 ext-community rt 64518:50 set prepend-neighbor 1 +match to 192.0.2.22 large-community 999:64518:50 set prepend-neighbor 1 + + +match to 192.0.2.22 community 64518:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64518:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64518:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 50 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64519:50 set prepend-neighbor 2 +match to 192.0.2.22 ext-community rt 64519:50 set prepend-neighbor 2 +match to 192.0.2.22 large-community 999:64519:50 set prepend-neighbor 2 + + +match to 192.0.2.22 community 64519:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64519:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64519:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 50 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64520:50 set prepend-neighbor 3 +match to 192.0.2.22 ext-community rt 64520:50 set prepend-neighbor 3 +match to 192.0.2.22 large-community 999:64520:50 set prepend-neighbor 3 + + +match to 192.0.2.22 community 64520:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64520:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64520:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_higher_than 30 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64518:30 set prepend-neighbor 1 +match to 192.0.2.22 ext-community rt 64518:30 set prepend-neighbor 1 +match to 192.0.2.22 large-community 999:64518:30 set prepend-neighbor 1 + + +match to 192.0.2.22 community 64518:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64518:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64518:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 30 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64519:30 set prepend-neighbor 2 +match to 192.0.2.22 ext-community rt 64519:30 set prepend-neighbor 2 +match to 192.0.2.22 large-community 999:64519:30 set prepend-neighbor 2 + + +match to 192.0.2.22 community 64519:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64519:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64519:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 30 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64520:30 set prepend-neighbor 3 +match to 192.0.2.22 ext-community rt 64520:30 set prepend-neighbor 3 +match to 192.0.2.22 large-community 999:64520:30 set prepend-neighbor 3 + + +match to 192.0.2.22 community 64520:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64520:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64520:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_higher_than 20 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64518:20 set prepend-neighbor 1 +match to 192.0.2.22 ext-community rt 64518:20 set prepend-neighbor 1 +match to 192.0.2.22 large-community 999:64518:20 set prepend-neighbor 1 + + +match to 192.0.2.22 community 64518:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64518:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64518:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 20 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64519:20 set prepend-neighbor 2 +match to 192.0.2.22 ext-community rt 64519:20 set prepend-neighbor 2 +match to 192.0.2.22 large-community 999:64519:20 set prepend-neighbor 2 + + +match to 192.0.2.22 community 64519:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64519:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64519:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 20 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64520:20 set prepend-neighbor 3 +match to 192.0.2.22 ext-community rt 64520:20 set prepend-neighbor 3 +match to 192.0.2.22 large-community 999:64520:20 set prepend-neighbor 3 + + +match to 192.0.2.22 community 64520:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64520:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64520:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_higher_than 15 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64518:15 set prepend-neighbor 1 +match to 192.0.2.22 ext-community rt 64518:15 set prepend-neighbor 1 +match to 192.0.2.22 large-community 999:64518:15 set prepend-neighbor 1 + + +match to 192.0.2.22 community 64518:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64518:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64518:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 15 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64519:15 set prepend-neighbor 2 +match to 192.0.2.22 ext-community rt 64519:15 set prepend-neighbor 2 +match to 192.0.2.22 large-community 999:64519:15 set prepend-neighbor 2 + + +match to 192.0.2.22 community 64519:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64519:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64519:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 15 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64520:15 set prepend-neighbor 3 +match to 192.0.2.22 ext-community rt 64520:15 set prepend-neighbor 3 +match to 192.0.2.22 large-community 999:64520:15 set prepend-neighbor 3 + + +match to 192.0.2.22 community 64520:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64520:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64520:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_higher_than 10 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64518:10 set prepend-neighbor 1 +match to 192.0.2.22 ext-community rt 64518:10 set prepend-neighbor 1 +match to 192.0.2.22 large-community 999:64518:10 set prepend-neighbor 1 + + +match to 192.0.2.22 community 64518:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64518:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64518:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 10 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64519:10 set prepend-neighbor 2 +match to 192.0.2.22 ext-community rt 64519:10 set prepend-neighbor 2 +match to 192.0.2.22 large-community 999:64519:10 set prepend-neighbor 2 + + +match to 192.0.2.22 community 64519:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64519:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64519:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 10 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64520:10 set prepend-neighbor 3 +match to 192.0.2.22 ext-community rt 64520:10 set prepend-neighbor 3 +match to 192.0.2.22 large-community 999:64520:10 set prepend-neighbor 3 + + +match to 192.0.2.22 community 64520:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64520:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64520:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_higher_than 5 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64518:5 set prepend-neighbor 1 +match to 192.0.2.22 ext-community rt 64518:5 set prepend-neighbor 1 +match to 192.0.2.22 large-community 999:64518:5 set prepend-neighbor 1 + + +match to 192.0.2.22 community 64518:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64518:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64518:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 5 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64519:5 set prepend-neighbor 2 +match to 192.0.2.22 ext-community rt 64519:5 set prepend-neighbor 2 +match to 192.0.2.22 large-community 999:64519:5 set prepend-neighbor 2 + + +match to 192.0.2.22 community 64519:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64519:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64519:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 5 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64520:5 set prepend-neighbor 3 +match to 192.0.2.22 ext-community rt 64520:5 set prepend-neighbor 3 +match to 192.0.2.22 large-community 999:64520:5 set prepend-neighbor 3 + + +match to 192.0.2.22 community 64520:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64520:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64520:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64515:500 set prepend-neighbor 1 +match to 192.0.2.22 ext-community rt 64515:500 set prepend-neighbor 1 +match to 192.0.2.22 large-community 999:64515:500 set prepend-neighbor 1 + + +match to 192.0.2.22 community 64515:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64515:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64515:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64516:500 set prepend-neighbor 2 +match to 192.0.2.22 ext-community rt 64516:500 set prepend-neighbor 2 +match to 192.0.2.22 large-community 999:64516:500 set prepend-neighbor 2 + + +match to 192.0.2.22 community 64516:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64516:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64516:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64517:500 set prepend-neighbor 3 +match to 192.0.2.22 ext-community rt 64517:500 set prepend-neighbor 3 +match to 192.0.2.22 large-community 999:64517:500 set prepend-neighbor 3 + + +match to 192.0.2.22 community 64517:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64517:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64517:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 65501:999 set prepend-neighbor 1 +match to 192.0.2.22 ext-community rt 65501:999 set prepend-neighbor 1 +match to 192.0.2.22 large-community 999:65501:999 set prepend-neighbor 1 + +match to 192.0.2.22 community 65501:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 65501:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:65501:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 65502:999 set prepend-neighbor 2 +match to 192.0.2.22 ext-community rt 65502:999 set prepend-neighbor 2 +match to 192.0.2.22 large-community 999:65502:999 set prepend-neighbor 2 + +match to 192.0.2.22 community 65502:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 65502:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:65502:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 65503:999 set prepend-neighbor 3 +match to 192.0.2.22 ext-community rt 65503:999 set prepend-neighbor 3 +match to 192.0.2.22 large-community 999:65503:999 set prepend-neighbor 3 + +match to 192.0.2.22 community 65503:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 65503:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:65503:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + + + +# --------------------------------------------- +# client AS10745_2, inbound + + +# Attach custom BGP communities +# from_usa +match from 2001:db8:1:1::22 set community 65534:2 +match from 2001:db8:1:1::22 set ext-community rt 65534:2 +match from 2001:db8:1:1::22 set large-community 999:65534:2 + +# NEXT_HOP +match from 2001:db8:1:1::22 set community NO_ADVERTISE +match from 2001:db8:1:1::22 nexthop 2001:db8:1:1::22 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::22 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::22 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::22 peer-as != 10745' - reject code: 6 +allow quick from 2001:db8:1:1::22 peer-as != 10745 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::22 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::22 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::22 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::22 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::22 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::22 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 2001:db8:1:1::22 AS { 174, 701, 1299, 2914, 3257, 3320, 3356, 5511, 6453, 6461, 6762, 6830, 7018, 12956 }' - reject code: 8 +allow quick from 2001:db8:1:1::22 AS { 174, 701, 1299, 2914, 3257, 3320, 3356, 5511, 6453, 6461, 6762, 6830, 7018, 12956 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 2001:db8:1:1::22 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 7862, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30967, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39527, 39967, 46450, 48237, 48265, 48408, 51095, 52946, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 136106, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 211358, 212706, 212953, 213202, 213252, 262191, 262311, 262888, 263258, 263328, 263686, 263856, 263945, 263980, 264212, 264424, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 269906, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328445, 328572, 328582, 328748, 393573, 393684, 396477, 399338 }' - reject code: 15 +allow quick from 2001:db8:1:1::22 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 7862, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30967, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39527, 39967, 46450, 48237, 48265, 48408, 51095, 52946, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 136106, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 211358, 212706, 212953, 213202, 213252, 262191, 262311, 262888, 263258, 263328, 263686, 263856, 263945, 263980, 264212, 264424, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 269906, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328445, 328572, 328582, 328748, 393573, 393684, 396477, 399338 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + + +match from 2001:db8:1:1::22 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS10745_2, AS10745: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::22 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::22 source-as as-set AS_SET_AS10745_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS10745 +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::22 ext-community $INTCOMM_ORIGIN_KO set community 65530:0 +match from 2001:db8:1:1::22 ext-community $INTCOMM_ORIGIN_KO set large-community 999:65530:0 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::22 ext-community $INTCOMM_ORIGIN_OK set community 65530:1 +match from 2001:db8:1:1::22 ext-community $INTCOMM_ORIGIN_OK set large-community 999:65530:1 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS10745_2, AS10745: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::22 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::22 prefix-set AS_SET_AS10745_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS10745 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::22 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 65530:2 +match from 2001:db8:1:1::22 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:65530:2 + +match from 2001:db8:1:1::22 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::22 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set community 65530:4 +match from 2001:db8:1:1::22 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set large-community 999:65530:4 + +match from 2001:db8:1:1::22 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + + + +# enforcing: origin ASN +# Reject inbound routes when 'from 2001:db8:1:1::22 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 2001:db8:1:1::22 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 2001:db8:1:1::22 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 2001:db8:1:1::22 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + +# Blackhole request? +match from 2001:db8:1:1::22 set ext-community delete rt 65520:10745 + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::22 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::22 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::22 large-community 999:666:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 2001:db8:1:1::22 community BLACKHOLE +allow quick from 2001:db8:1:1::22 community 65534:0 +allow quick from 2001:db8:1:1::22 large-community 999:666:0 + + +match from 2001:db8:1:1::22 set ext-community rt 65520:10745 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 2001:db8:1:1::22 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 2001:db8:1:1::22 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::22 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::22 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 2001:db8:1:1::22 community GRACEFUL_SHUTDOWN set localpref 0 + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::22 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::22 set ext-community delete rt 65520:10745 + + + +allow quick from 2001:db8:1:1::22 + + + +# --------------------------------------------- +# client AS10745_2, outbound + +deny quick to 2001:db8:1:1::22 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 2001:db8:1:1::22 community 65534:0 set community BLACKHOLE +match to 2001:db8:1:1::22 large-community 999:666:0 set community BLACKHOLE + +match to 2001:db8:1:1::22 community BLACKHOLE set community NO_EXPORT +match to 2001:db8:1:1::22 community BLACKHOLE set nexthop 2001:db8:1:1::66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 2001:db8:1:1::22 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 2001:db8:1:1::22 community 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::22 ext-community rt 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::22 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 2001:db8:1:1::22 community 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::22 ext-community rt 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::22 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 2001:db8:1:1::22 community 65509:10745 set community NO_EXPORT +match to 2001:db8:1:1::22 ext-community rt 65509:10745 set community NO_EXPORT +match to 2001:db8:1:1::22 large-community 999:65509:10745 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 2001:db8:1:1::22 community 65510:10745 set community NO_ADVERTISE +match to 2001:db8:1:1::22 ext-community rt 65510:10745 set community NO_ADVERTISE +match to 2001:db8:1:1::22 large-community 999:65510:10745 set community NO_ADVERTISE + + +# BGP control communities +allow to 2001:db8:1:1::22 + +# do_not_announce_to_any +deny to 2001:db8:1:1::22 community 0:999 +deny to 2001:db8:1:1::22 ext-community rt 0:999 +deny to 2001:db8:1:1::22 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::22 community 0:10745 +deny quick to 2001:db8:1:1::22 ext-community rt 0:10745 +deny quick to 2001:db8:1:1::22 large-community 999:0:10745 + +# do_not_announce_to_peers_with_rtt_lower_than 500 ms +deny to 2001:db8:1:1::22 community 64511:500 +deny to 2001:db8:1:1::22 ext-community rt 64511:500 +deny to 2001:db8:1:1::22 large-community 999:64511:500 + + +# announce_to_peers_with_rtt_lower_than 500 ms +allow to 2001:db8:1:1::22 community 64513:500 +allow to 2001:db8:1:1::22 ext-community rt 64513:500 +allow to 2001:db8:1:1::22 large-community 999:64513:500 + + +# do_not_announce_to_peers_with_rtt_higher_than 5 ms +deny to 2001:db8:1:1::22 community 64512:5 +deny to 2001:db8:1:1::22 ext-community rt 64512:5 +deny to 2001:db8:1:1::22 large-community 999:64512:5 + + +# do_not_announce_to_peers_with_rtt_higher_than 10 ms +deny to 2001:db8:1:1::22 community 64512:10 +deny to 2001:db8:1:1::22 ext-community rt 64512:10 +deny to 2001:db8:1:1::22 large-community 999:64512:10 + + +# do_not_announce_to_peers_with_rtt_higher_than 15 ms +deny to 2001:db8:1:1::22 community 64512:15 +deny to 2001:db8:1:1::22 ext-community rt 64512:15 +deny to 2001:db8:1:1::22 large-community 999:64512:15 + + +# do_not_announce_to_peers_with_rtt_higher_than 20 ms +deny to 2001:db8:1:1::22 community 64512:20 +deny to 2001:db8:1:1::22 ext-community rt 64512:20 +deny to 2001:db8:1:1::22 large-community 999:64512:20 + + +# do_not_announce_to_peers_with_rtt_higher_than 30 ms +deny to 2001:db8:1:1::22 community 64512:30 +deny to 2001:db8:1:1::22 ext-community rt 64512:30 +deny to 2001:db8:1:1::22 large-community 999:64512:30 + + +# do_not_announce_to_peers_with_rtt_higher_than 50 ms +deny to 2001:db8:1:1::22 community 64512:50 +deny to 2001:db8:1:1::22 ext-community rt 64512:50 +deny to 2001:db8:1:1::22 large-community 999:64512:50 + + +# do_not_announce_to_peers_with_rtt_higher_than 100 ms +deny to 2001:db8:1:1::22 community 64512:100 +deny to 2001:db8:1:1::22 ext-community rt 64512:100 +deny to 2001:db8:1:1::22 large-community 999:64512:100 + + +# do_not_announce_to_peers_with_rtt_higher_than 200 ms +deny to 2001:db8:1:1::22 community 64512:200 +deny to 2001:db8:1:1::22 ext-community rt 64512:200 +deny to 2001:db8:1:1::22 large-community 999:64512:200 + + +# announce_to_peers_with_rtt_higher_than 5 ms +allow to 2001:db8:1:1::22 community 64514:5 +allow to 2001:db8:1:1::22 ext-community rt 64514:5 +allow to 2001:db8:1:1::22 large-community 999:64514:5 + + +# announce_to_peers_with_rtt_higher_than 10 ms +allow to 2001:db8:1:1::22 community 64514:10 +allow to 2001:db8:1:1::22 ext-community rt 64514:10 +allow to 2001:db8:1:1::22 large-community 999:64514:10 + + +# announce_to_peers_with_rtt_higher_than 15 ms +allow to 2001:db8:1:1::22 community 64514:15 +allow to 2001:db8:1:1::22 ext-community rt 64514:15 +allow to 2001:db8:1:1::22 large-community 999:64514:15 + + +# announce_to_peers_with_rtt_higher_than 20 ms +allow to 2001:db8:1:1::22 community 64514:20 +allow to 2001:db8:1:1::22 ext-community rt 64514:20 +allow to 2001:db8:1:1::22 large-community 999:64514:20 + + +# announce_to_peers_with_rtt_higher_than 30 ms +allow to 2001:db8:1:1::22 community 64514:30 +allow to 2001:db8:1:1::22 ext-community rt 64514:30 +allow to 2001:db8:1:1::22 large-community 999:64514:30 + + +# announce_to_peers_with_rtt_higher_than 50 ms +allow to 2001:db8:1:1::22 community 64514:50 +allow to 2001:db8:1:1::22 ext-community rt 64514:50 +allow to 2001:db8:1:1::22 large-community 999:64514:50 + + +# announce_to_peers_with_rtt_higher_than 100 ms +allow to 2001:db8:1:1::22 community 64514:100 +allow to 2001:db8:1:1::22 ext-community rt 64514:100 +allow to 2001:db8:1:1::22 large-community 999:64514:100 + + +# announce_to_peers_with_rtt_higher_than 200 ms +allow to 2001:db8:1:1::22 community 64514:200 +allow to 2001:db8:1:1::22 ext-community rt 64514:200 +allow to 2001:db8:1:1::22 large-community 999:64514:200 + + +# announce_to_peer +allow to 2001:db8:1:1::22 community 999:10745 +allow to 2001:db8:1:1::22 ext-community rt 999:10745 +allow to 2001:db8:1:1::22 large-community 999:999:10745 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 65504:10745 set prepend-neighbor 1 +match to 2001:db8:1:1::22 ext-community rt 65504:10745 set prepend-neighbor 1 +match to 2001:db8:1:1::22 large-community 999:65504:10745 set prepend-neighbor 1 + +match to 2001:db8:1:1::22 community 65504:10745 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 65504:10745 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:65504:10745 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 65505:10745 set prepend-neighbor 2 +match to 2001:db8:1:1::22 ext-community rt 65505:10745 set prepend-neighbor 2 +match to 2001:db8:1:1::22 large-community 999:65505:10745 set prepend-neighbor 2 + +match to 2001:db8:1:1::22 community 65505:10745 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 65505:10745 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:65505:10745 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 65506:10745 set prepend-neighbor 3 +match to 2001:db8:1:1::22 ext-community rt 65506:10745 set prepend-neighbor 3 +match to 2001:db8:1:1::22 large-community 999:65506:10745 set prepend-neighbor 3 + +match to 2001:db8:1:1::22 community 65506:10745 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 65506:10745 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:65506:10745 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + + +# prepend_once_to_peers_with_rtt_higher_than 200 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64518:200 set prepend-neighbor 1 +match to 2001:db8:1:1::22 ext-community rt 64518:200 set prepend-neighbor 1 +match to 2001:db8:1:1::22 large-community 999:64518:200 set prepend-neighbor 1 + + +match to 2001:db8:1:1::22 community 64518:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64518:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64518:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 200 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64519:200 set prepend-neighbor 2 +match to 2001:db8:1:1::22 ext-community rt 64519:200 set prepend-neighbor 2 +match to 2001:db8:1:1::22 large-community 999:64519:200 set prepend-neighbor 2 + + +match to 2001:db8:1:1::22 community 64519:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64519:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64519:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 200 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64520:200 set prepend-neighbor 3 +match to 2001:db8:1:1::22 ext-community rt 64520:200 set prepend-neighbor 3 +match to 2001:db8:1:1::22 large-community 999:64520:200 set prepend-neighbor 3 + + +match to 2001:db8:1:1::22 community 64520:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64520:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64520:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_higher_than 100 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64518:100 set prepend-neighbor 1 +match to 2001:db8:1:1::22 ext-community rt 64518:100 set prepend-neighbor 1 +match to 2001:db8:1:1::22 large-community 999:64518:100 set prepend-neighbor 1 + + +match to 2001:db8:1:1::22 community 64518:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64518:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64518:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 100 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64519:100 set prepend-neighbor 2 +match to 2001:db8:1:1::22 ext-community rt 64519:100 set prepend-neighbor 2 +match to 2001:db8:1:1::22 large-community 999:64519:100 set prepend-neighbor 2 + + +match to 2001:db8:1:1::22 community 64519:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64519:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64519:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 100 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64520:100 set prepend-neighbor 3 +match to 2001:db8:1:1::22 ext-community rt 64520:100 set prepend-neighbor 3 +match to 2001:db8:1:1::22 large-community 999:64520:100 set prepend-neighbor 3 + + +match to 2001:db8:1:1::22 community 64520:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64520:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64520:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_higher_than 50 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64518:50 set prepend-neighbor 1 +match to 2001:db8:1:1::22 ext-community rt 64518:50 set prepend-neighbor 1 +match to 2001:db8:1:1::22 large-community 999:64518:50 set prepend-neighbor 1 + + +match to 2001:db8:1:1::22 community 64518:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64518:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64518:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 50 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64519:50 set prepend-neighbor 2 +match to 2001:db8:1:1::22 ext-community rt 64519:50 set prepend-neighbor 2 +match to 2001:db8:1:1::22 large-community 999:64519:50 set prepend-neighbor 2 + + +match to 2001:db8:1:1::22 community 64519:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64519:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64519:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 50 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64520:50 set prepend-neighbor 3 +match to 2001:db8:1:1::22 ext-community rt 64520:50 set prepend-neighbor 3 +match to 2001:db8:1:1::22 large-community 999:64520:50 set prepend-neighbor 3 + + +match to 2001:db8:1:1::22 community 64520:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64520:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64520:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_higher_than 30 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64518:30 set prepend-neighbor 1 +match to 2001:db8:1:1::22 ext-community rt 64518:30 set prepend-neighbor 1 +match to 2001:db8:1:1::22 large-community 999:64518:30 set prepend-neighbor 1 + + +match to 2001:db8:1:1::22 community 64518:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64518:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64518:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 30 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64519:30 set prepend-neighbor 2 +match to 2001:db8:1:1::22 ext-community rt 64519:30 set prepend-neighbor 2 +match to 2001:db8:1:1::22 large-community 999:64519:30 set prepend-neighbor 2 + + +match to 2001:db8:1:1::22 community 64519:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64519:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64519:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 30 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64520:30 set prepend-neighbor 3 +match to 2001:db8:1:1::22 ext-community rt 64520:30 set prepend-neighbor 3 +match to 2001:db8:1:1::22 large-community 999:64520:30 set prepend-neighbor 3 + + +match to 2001:db8:1:1::22 community 64520:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64520:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64520:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_higher_than 20 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64518:20 set prepend-neighbor 1 +match to 2001:db8:1:1::22 ext-community rt 64518:20 set prepend-neighbor 1 +match to 2001:db8:1:1::22 large-community 999:64518:20 set prepend-neighbor 1 + + +match to 2001:db8:1:1::22 community 64518:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64518:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64518:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 20 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64519:20 set prepend-neighbor 2 +match to 2001:db8:1:1::22 ext-community rt 64519:20 set prepend-neighbor 2 +match to 2001:db8:1:1::22 large-community 999:64519:20 set prepend-neighbor 2 + + +match to 2001:db8:1:1::22 community 64519:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64519:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64519:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 20 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64520:20 set prepend-neighbor 3 +match to 2001:db8:1:1::22 ext-community rt 64520:20 set prepend-neighbor 3 +match to 2001:db8:1:1::22 large-community 999:64520:20 set prepend-neighbor 3 + + +match to 2001:db8:1:1::22 community 64520:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64520:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64520:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_higher_than 15 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64518:15 set prepend-neighbor 1 +match to 2001:db8:1:1::22 ext-community rt 64518:15 set prepend-neighbor 1 +match to 2001:db8:1:1::22 large-community 999:64518:15 set prepend-neighbor 1 + + +match to 2001:db8:1:1::22 community 64518:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64518:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64518:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 15 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64519:15 set prepend-neighbor 2 +match to 2001:db8:1:1::22 ext-community rt 64519:15 set prepend-neighbor 2 +match to 2001:db8:1:1::22 large-community 999:64519:15 set prepend-neighbor 2 + + +match to 2001:db8:1:1::22 community 64519:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64519:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64519:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 15 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64520:15 set prepend-neighbor 3 +match to 2001:db8:1:1::22 ext-community rt 64520:15 set prepend-neighbor 3 +match to 2001:db8:1:1::22 large-community 999:64520:15 set prepend-neighbor 3 + + +match to 2001:db8:1:1::22 community 64520:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64520:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64520:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_higher_than 10 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64518:10 set prepend-neighbor 1 +match to 2001:db8:1:1::22 ext-community rt 64518:10 set prepend-neighbor 1 +match to 2001:db8:1:1::22 large-community 999:64518:10 set prepend-neighbor 1 + + +match to 2001:db8:1:1::22 community 64518:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64518:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64518:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 10 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64519:10 set prepend-neighbor 2 +match to 2001:db8:1:1::22 ext-community rt 64519:10 set prepend-neighbor 2 +match to 2001:db8:1:1::22 large-community 999:64519:10 set prepend-neighbor 2 + + +match to 2001:db8:1:1::22 community 64519:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64519:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64519:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 10 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64520:10 set prepend-neighbor 3 +match to 2001:db8:1:1::22 ext-community rt 64520:10 set prepend-neighbor 3 +match to 2001:db8:1:1::22 large-community 999:64520:10 set prepend-neighbor 3 + + +match to 2001:db8:1:1::22 community 64520:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64520:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64520:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_higher_than 5 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64518:5 set prepend-neighbor 1 +match to 2001:db8:1:1::22 ext-community rt 64518:5 set prepend-neighbor 1 +match to 2001:db8:1:1::22 large-community 999:64518:5 set prepend-neighbor 1 + + +match to 2001:db8:1:1::22 community 64518:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64518:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64518:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 5 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64519:5 set prepend-neighbor 2 +match to 2001:db8:1:1::22 ext-community rt 64519:5 set prepend-neighbor 2 +match to 2001:db8:1:1::22 large-community 999:64519:5 set prepend-neighbor 2 + + +match to 2001:db8:1:1::22 community 64519:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64519:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64519:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 5 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64520:5 set prepend-neighbor 3 +match to 2001:db8:1:1::22 ext-community rt 64520:5 set prepend-neighbor 3 +match to 2001:db8:1:1::22 large-community 999:64520:5 set prepend-neighbor 3 + + +match to 2001:db8:1:1::22 community 64520:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64520:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64520:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64515:500 set prepend-neighbor 1 +match to 2001:db8:1:1::22 ext-community rt 64515:500 set prepend-neighbor 1 +match to 2001:db8:1:1::22 large-community 999:64515:500 set prepend-neighbor 1 + + +match to 2001:db8:1:1::22 community 64515:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64515:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64515:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64516:500 set prepend-neighbor 2 +match to 2001:db8:1:1::22 ext-community rt 64516:500 set prepend-neighbor 2 +match to 2001:db8:1:1::22 large-community 999:64516:500 set prepend-neighbor 2 + + +match to 2001:db8:1:1::22 community 64516:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64516:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64516:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64517:500 set prepend-neighbor 3 +match to 2001:db8:1:1::22 ext-community rt 64517:500 set prepend-neighbor 3 +match to 2001:db8:1:1::22 large-community 999:64517:500 set prepend-neighbor 3 + + +match to 2001:db8:1:1::22 community 64517:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64517:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64517:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 65501:999 set prepend-neighbor 1 +match to 2001:db8:1:1::22 ext-community rt 65501:999 set prepend-neighbor 1 +match to 2001:db8:1:1::22 large-community 999:65501:999 set prepend-neighbor 1 + +match to 2001:db8:1:1::22 community 65501:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 65501:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:65501:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 65502:999 set prepend-neighbor 2 +match to 2001:db8:1:1::22 ext-community rt 65502:999 set prepend-neighbor 2 +match to 2001:db8:1:1::22 large-community 999:65502:999 set prepend-neighbor 2 + +match to 2001:db8:1:1::22 community 65502:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 65502:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:65502:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 65503:999 set prepend-neighbor 3 +match to 2001:db8:1:1::22 ext-community rt 65503:999 set prepend-neighbor 3 +match to 2001:db8:1:1::22 large-community 999:65503:999 set prepend-neighbor 3 + +match to 2001:db8:1:1::22 community 65503:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 65503:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:65503:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + + + +# --------------------------------------------- +# client AS3333_1, inbound + + +# Attach custom BGP communities +# from_europe +match from 192.0.2.11 set community 65534:1 +match from 192.0.2.11 set ext-community rt 65534:1 +match from 192.0.2.11 set large-community 999:65534:1 + +# NEXT_HOP +match from 192.0.2.11 set community NO_ADVERTISE +match from 192.0.2.11 nexthop 192.0.2.11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.11 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.11 peer-as != 3333' - reject code: 6 +allow quick from 192.0.2.11 peer-as != 3333 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.11 AS 23456' - reject code: 7 +allow quick from 192.0.2.11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 192.0.2.11 AS { 174, 701, 1299, 2914, 3257, 3320, 3356, 5511, 6453, 6461, 6762, 6830, 7018, 12956 }' - reject code: 8 +allow quick from 192.0.2.11 AS { 174, 701, 1299, 2914, 3257, 3320, 3356, 5511, 6453, 6461, 6762, 6830, 7018, 12956 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 192.0.2.11 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 7862, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30967, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39527, 39967, 46450, 48237, 48265, 48408, 51095, 52946, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 136106, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 211358, 212706, 212953, 213202, 213252, 262191, 262311, 262888, 263258, 263328, 263686, 263856, 263945, 263980, 264212, 264424, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 269906, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328445, 328572, 328582, 328748, 393573, 393684, 396477, 399338 }' - reject code: 15 +allow quick from 192.0.2.11 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 7862, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30967, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39527, 39967, 46450, 48237, 48265, 48408, 51095, 52946, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 136106, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 211358, 212706, 212953, 213202, 213252, 262191, 262311, 262888, 263258, 263328, 263686, 263856, 263945, 263980, 264212, 264424, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 269906, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328445, 328572, 328582, 328748, 393573, 393684, 396477, 399338 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + + +match from 192.0.2.11 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS3333_1, AS3333: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.11 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.11 source-as as-set AS_SET_AS3333_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS3333 +# AS-SET AS_RIPENCC referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_KO set community 65530:0 +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_KO set large-community 999:65530:0 +# adding present_in_as_set community to authorized routes +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK set community 65530:1 +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK set large-community 999:65530:1 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS3333_1, AS3333: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.11 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.11 prefix-set AS_SET_AS3333_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS3333 +# AS-SET AS_RIPENCC referenced but empty. + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 65530:2 +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:65530:2 + +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set community 65530:4 +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set large-community 999:65530:4 + +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + + + +# enforcing: origin ASN +# Reject inbound routes when 'from 192.0.2.11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 192.0.2.11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 192.0.2.11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 192.0.2.11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + +# Blackhole request? +match from 192.0.2.11 set ext-community delete rt 65520:3333 + + +# Remove internal communities before accepting the route +match from 192.0.2.11 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.11 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.11 large-community 999:666:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 192.0.2.11 community BLACKHOLE +allow quick from 192.0.2.11 community 65534:0 +allow quick from 192.0.2.11 large-community 999:666:0 + + +match from 192.0.2.11 set ext-community rt 65520:3333 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 192.0.2.11 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 192.0.2.11 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 192.0.2.11 community GRACEFUL_SHUTDOWN set localpref 0 + +# Remove internal communities before accepting the route +match from 192.0.2.11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.11 set ext-community delete rt 65520:3333 + + + +allow quick from 192.0.2.11 + + + +# --------------------------------------------- +# client AS3333_1, outbound + +deny quick to 192.0.2.11 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 192.0.2.11 community 65534:0 set community BLACKHOLE +match to 192.0.2.11 large-community 999:666:0 set community BLACKHOLE + +match to 192.0.2.11 community BLACKHOLE set community NO_EXPORT +match to 192.0.2.11 community BLACKHOLE set nexthop 192.0.2.66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 192.0.2.11 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 192.0.2.11 community 65507:999 set community NO_EXPORT +match to 192.0.2.11 ext-community rt 65507:999 set community NO_EXPORT +match to 192.0.2.11 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 192.0.2.11 community 65508:999 set community NO_ADVERTISE +match to 192.0.2.11 ext-community rt 65508:999 set community NO_ADVERTISE +match to 192.0.2.11 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 192.0.2.11 community 65509:3333 set community NO_EXPORT +match to 192.0.2.11 ext-community rt 65509:3333 set community NO_EXPORT +match to 192.0.2.11 large-community 999:65509:3333 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 192.0.2.11 community 65510:3333 set community NO_ADVERTISE +match to 192.0.2.11 ext-community rt 65510:3333 set community NO_ADVERTISE +match to 192.0.2.11 large-community 999:65510:3333 set community NO_ADVERTISE + + +# BGP control communities +allow to 192.0.2.11 + +# do_not_announce_to_any +deny to 192.0.2.11 community 0:999 +deny to 192.0.2.11 ext-community rt 0:999 +deny to 192.0.2.11 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 192.0.2.11 community 0:3333 +deny quick to 192.0.2.11 ext-community rt 0:3333 +deny quick to 192.0.2.11 large-community 999:0:3333 + +# do_not_announce_to_peers_with_rtt_lower_than 200 ms +deny to 192.0.2.11 community 64511:200 +deny to 192.0.2.11 ext-community rt 64511:200 +deny to 192.0.2.11 large-community 999:64511:200 + + +# do_not_announce_to_peers_with_rtt_lower_than 500 ms +deny to 192.0.2.11 community 64511:500 +deny to 192.0.2.11 ext-community rt 64511:500 +deny to 192.0.2.11 large-community 999:64511:500 + + +# announce_to_peers_with_rtt_lower_than 200 ms +allow to 192.0.2.11 community 64513:200 +allow to 192.0.2.11 ext-community rt 64513:200 +allow to 192.0.2.11 large-community 999:64513:200 + + +# announce_to_peers_with_rtt_lower_than 500 ms +allow to 192.0.2.11 community 64513:500 +allow to 192.0.2.11 ext-community rt 64513:500 +allow to 192.0.2.11 large-community 999:64513:500 + + +# do_not_announce_to_peers_with_rtt_higher_than 5 ms +deny to 192.0.2.11 community 64512:5 +deny to 192.0.2.11 ext-community rt 64512:5 +deny to 192.0.2.11 large-community 999:64512:5 + + +# do_not_announce_to_peers_with_rtt_higher_than 10 ms +deny to 192.0.2.11 community 64512:10 +deny to 192.0.2.11 ext-community rt 64512:10 +deny to 192.0.2.11 large-community 999:64512:10 + + +# do_not_announce_to_peers_with_rtt_higher_than 15 ms +deny to 192.0.2.11 community 64512:15 +deny to 192.0.2.11 ext-community rt 64512:15 +deny to 192.0.2.11 large-community 999:64512:15 + + +# do_not_announce_to_peers_with_rtt_higher_than 20 ms +deny to 192.0.2.11 community 64512:20 +deny to 192.0.2.11 ext-community rt 64512:20 +deny to 192.0.2.11 large-community 999:64512:20 + + +# do_not_announce_to_peers_with_rtt_higher_than 30 ms +deny to 192.0.2.11 community 64512:30 +deny to 192.0.2.11 ext-community rt 64512:30 +deny to 192.0.2.11 large-community 999:64512:30 + + +# do_not_announce_to_peers_with_rtt_higher_than 50 ms +deny to 192.0.2.11 community 64512:50 +deny to 192.0.2.11 ext-community rt 64512:50 +deny to 192.0.2.11 large-community 999:64512:50 + + +# do_not_announce_to_peers_with_rtt_higher_than 100 ms +deny to 192.0.2.11 community 64512:100 +deny to 192.0.2.11 ext-community rt 64512:100 +deny to 192.0.2.11 large-community 999:64512:100 + + +# announce_to_peers_with_rtt_higher_than 5 ms +allow to 192.0.2.11 community 64514:5 +allow to 192.0.2.11 ext-community rt 64514:5 +allow to 192.0.2.11 large-community 999:64514:5 + + +# announce_to_peers_with_rtt_higher_than 10 ms +allow to 192.0.2.11 community 64514:10 +allow to 192.0.2.11 ext-community rt 64514:10 +allow to 192.0.2.11 large-community 999:64514:10 + + +# announce_to_peers_with_rtt_higher_than 15 ms +allow to 192.0.2.11 community 64514:15 +allow to 192.0.2.11 ext-community rt 64514:15 +allow to 192.0.2.11 large-community 999:64514:15 + + +# announce_to_peers_with_rtt_higher_than 20 ms +allow to 192.0.2.11 community 64514:20 +allow to 192.0.2.11 ext-community rt 64514:20 +allow to 192.0.2.11 large-community 999:64514:20 + + +# announce_to_peers_with_rtt_higher_than 30 ms +allow to 192.0.2.11 community 64514:30 +allow to 192.0.2.11 ext-community rt 64514:30 +allow to 192.0.2.11 large-community 999:64514:30 + + +# announce_to_peers_with_rtt_higher_than 50 ms +allow to 192.0.2.11 community 64514:50 +allow to 192.0.2.11 ext-community rt 64514:50 +allow to 192.0.2.11 large-community 999:64514:50 + + +# announce_to_peers_with_rtt_higher_than 100 ms +allow to 192.0.2.11 community 64514:100 +allow to 192.0.2.11 ext-community rt 64514:100 +allow to 192.0.2.11 large-community 999:64514:100 + + +# announce_to_peer +allow to 192.0.2.11 community 999:3333 +allow to 192.0.2.11 ext-community rt 999:3333 +allow to 192.0.2.11 large-community 999:999:3333 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 65504:3333 set prepend-neighbor 1 +match to 192.0.2.11 ext-community rt 65504:3333 set prepend-neighbor 1 +match to 192.0.2.11 large-community 999:65504:3333 set prepend-neighbor 1 + +match to 192.0.2.11 community 65504:3333 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 65504:3333 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:65504:3333 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 65505:3333 set prepend-neighbor 2 +match to 192.0.2.11 ext-community rt 65505:3333 set prepend-neighbor 2 +match to 192.0.2.11 large-community 999:65505:3333 set prepend-neighbor 2 + +match to 192.0.2.11 community 65505:3333 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 65505:3333 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:65505:3333 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 65506:3333 set prepend-neighbor 3 +match to 192.0.2.11 ext-community rt 65506:3333 set prepend-neighbor 3 +match to 192.0.2.11 large-community 999:65506:3333 set prepend-neighbor 3 + +match to 192.0.2.11 community 65506:3333 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 65506:3333 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:65506:3333 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + + +# prepend_once_to_peers_with_rtt_higher_than 100 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64518:100 set prepend-neighbor 1 +match to 192.0.2.11 ext-community rt 64518:100 set prepend-neighbor 1 +match to 192.0.2.11 large-community 999:64518:100 set prepend-neighbor 1 + + +match to 192.0.2.11 community 64518:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64518:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64518:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 100 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64519:100 set prepend-neighbor 2 +match to 192.0.2.11 ext-community rt 64519:100 set prepend-neighbor 2 +match to 192.0.2.11 large-community 999:64519:100 set prepend-neighbor 2 + + +match to 192.0.2.11 community 64519:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64519:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64519:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 100 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64520:100 set prepend-neighbor 3 +match to 192.0.2.11 ext-community rt 64520:100 set prepend-neighbor 3 +match to 192.0.2.11 large-community 999:64520:100 set prepend-neighbor 3 + + +match to 192.0.2.11 community 64520:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64520:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64520:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_higher_than 50 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64518:50 set prepend-neighbor 1 +match to 192.0.2.11 ext-community rt 64518:50 set prepend-neighbor 1 +match to 192.0.2.11 large-community 999:64518:50 set prepend-neighbor 1 + + +match to 192.0.2.11 community 64518:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64518:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64518:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 50 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64519:50 set prepend-neighbor 2 +match to 192.0.2.11 ext-community rt 64519:50 set prepend-neighbor 2 +match to 192.0.2.11 large-community 999:64519:50 set prepend-neighbor 2 + + +match to 192.0.2.11 community 64519:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64519:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64519:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 50 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64520:50 set prepend-neighbor 3 +match to 192.0.2.11 ext-community rt 64520:50 set prepend-neighbor 3 +match to 192.0.2.11 large-community 999:64520:50 set prepend-neighbor 3 + + +match to 192.0.2.11 community 64520:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64520:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64520:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_higher_than 30 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64518:30 set prepend-neighbor 1 +match to 192.0.2.11 ext-community rt 64518:30 set prepend-neighbor 1 +match to 192.0.2.11 large-community 999:64518:30 set prepend-neighbor 1 + + +match to 192.0.2.11 community 64518:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64518:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64518:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 30 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64519:30 set prepend-neighbor 2 +match to 192.0.2.11 ext-community rt 64519:30 set prepend-neighbor 2 +match to 192.0.2.11 large-community 999:64519:30 set prepend-neighbor 2 + + +match to 192.0.2.11 community 64519:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64519:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64519:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 30 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64520:30 set prepend-neighbor 3 +match to 192.0.2.11 ext-community rt 64520:30 set prepend-neighbor 3 +match to 192.0.2.11 large-community 999:64520:30 set prepend-neighbor 3 + + +match to 192.0.2.11 community 64520:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64520:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64520:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_higher_than 20 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64518:20 set prepend-neighbor 1 +match to 192.0.2.11 ext-community rt 64518:20 set prepend-neighbor 1 +match to 192.0.2.11 large-community 999:64518:20 set prepend-neighbor 1 + + +match to 192.0.2.11 community 64518:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64518:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64518:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 20 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64519:20 set prepend-neighbor 2 +match to 192.0.2.11 ext-community rt 64519:20 set prepend-neighbor 2 +match to 192.0.2.11 large-community 999:64519:20 set prepend-neighbor 2 + + +match to 192.0.2.11 community 64519:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64519:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64519:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 20 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64520:20 set prepend-neighbor 3 +match to 192.0.2.11 ext-community rt 64520:20 set prepend-neighbor 3 +match to 192.0.2.11 large-community 999:64520:20 set prepend-neighbor 3 + + +match to 192.0.2.11 community 64520:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64520:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64520:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_higher_than 15 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64518:15 set prepend-neighbor 1 +match to 192.0.2.11 ext-community rt 64518:15 set prepend-neighbor 1 +match to 192.0.2.11 large-community 999:64518:15 set prepend-neighbor 1 + + +match to 192.0.2.11 community 64518:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64518:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64518:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 15 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64519:15 set prepend-neighbor 2 +match to 192.0.2.11 ext-community rt 64519:15 set prepend-neighbor 2 +match to 192.0.2.11 large-community 999:64519:15 set prepend-neighbor 2 + + +match to 192.0.2.11 community 64519:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64519:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64519:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 15 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64520:15 set prepend-neighbor 3 +match to 192.0.2.11 ext-community rt 64520:15 set prepend-neighbor 3 +match to 192.0.2.11 large-community 999:64520:15 set prepend-neighbor 3 + + +match to 192.0.2.11 community 64520:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64520:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64520:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_higher_than 10 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64518:10 set prepend-neighbor 1 +match to 192.0.2.11 ext-community rt 64518:10 set prepend-neighbor 1 +match to 192.0.2.11 large-community 999:64518:10 set prepend-neighbor 1 + + +match to 192.0.2.11 community 64518:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64518:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64518:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 10 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64519:10 set prepend-neighbor 2 +match to 192.0.2.11 ext-community rt 64519:10 set prepend-neighbor 2 +match to 192.0.2.11 large-community 999:64519:10 set prepend-neighbor 2 + + +match to 192.0.2.11 community 64519:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64519:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64519:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 10 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64520:10 set prepend-neighbor 3 +match to 192.0.2.11 ext-community rt 64520:10 set prepend-neighbor 3 +match to 192.0.2.11 large-community 999:64520:10 set prepend-neighbor 3 + + +match to 192.0.2.11 community 64520:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64520:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64520:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_higher_than 5 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64518:5 set prepend-neighbor 1 +match to 192.0.2.11 ext-community rt 64518:5 set prepend-neighbor 1 +match to 192.0.2.11 large-community 999:64518:5 set prepend-neighbor 1 + + +match to 192.0.2.11 community 64518:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64518:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64518:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 5 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64519:5 set prepend-neighbor 2 +match to 192.0.2.11 ext-community rt 64519:5 set prepend-neighbor 2 +match to 192.0.2.11 large-community 999:64519:5 set prepend-neighbor 2 + + +match to 192.0.2.11 community 64519:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64519:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64519:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 5 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64520:5 set prepend-neighbor 3 +match to 192.0.2.11 ext-community rt 64520:5 set prepend-neighbor 3 +match to 192.0.2.11 large-community 999:64520:5 set prepend-neighbor 3 + + +match to 192.0.2.11 community 64520:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64520:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64520:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_lower_than 200 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64515:200 set prepend-neighbor 1 +match to 192.0.2.11 ext-community rt 64515:200 set prepend-neighbor 1 +match to 192.0.2.11 large-community 999:64515:200 set prepend-neighbor 1 + + +match to 192.0.2.11 community 64515:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64515:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64515:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 200 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64516:200 set prepend-neighbor 2 +match to 192.0.2.11 ext-community rt 64516:200 set prepend-neighbor 2 +match to 192.0.2.11 large-community 999:64516:200 set prepend-neighbor 2 + + +match to 192.0.2.11 community 64516:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64516:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64516:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 200 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64517:200 set prepend-neighbor 3 +match to 192.0.2.11 ext-community rt 64517:200 set prepend-neighbor 3 +match to 192.0.2.11 large-community 999:64517:200 set prepend-neighbor 3 + + +match to 192.0.2.11 community 64517:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64517:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64517:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64515:500 set prepend-neighbor 1 +match to 192.0.2.11 ext-community rt 64515:500 set prepend-neighbor 1 +match to 192.0.2.11 large-community 999:64515:500 set prepend-neighbor 1 + + +match to 192.0.2.11 community 64515:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64515:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64515:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64516:500 set prepend-neighbor 2 +match to 192.0.2.11 ext-community rt 64516:500 set prepend-neighbor 2 +match to 192.0.2.11 large-community 999:64516:500 set prepend-neighbor 2 + + +match to 192.0.2.11 community 64516:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64516:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64516:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64517:500 set prepend-neighbor 3 +match to 192.0.2.11 ext-community rt 64517:500 set prepend-neighbor 3 +match to 192.0.2.11 large-community 999:64517:500 set prepend-neighbor 3 + + +match to 192.0.2.11 community 64517:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64517:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64517:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 65501:999 set prepend-neighbor 1 +match to 192.0.2.11 ext-community rt 65501:999 set prepend-neighbor 1 +match to 192.0.2.11 large-community 999:65501:999 set prepend-neighbor 1 + +match to 192.0.2.11 community 65501:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 65501:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:65501:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 65502:999 set prepend-neighbor 2 +match to 192.0.2.11 ext-community rt 65502:999 set prepend-neighbor 2 +match to 192.0.2.11 large-community 999:65502:999 set prepend-neighbor 2 + +match to 192.0.2.11 community 65502:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 65502:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:65502:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 65503:999 set prepend-neighbor 3 +match to 192.0.2.11 ext-community rt 65503:999 set prepend-neighbor 3 +match to 192.0.2.11 large-community 999:65503:999 set prepend-neighbor 3 + +match to 192.0.2.11 community 65503:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 65503:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:65503:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + + + + + +# Scrub communities from outbound routes +# add_noadvertise_to_any +match to group clients set community delete 65508:999 +match to group clients set ext-community delete rt 65508:999 +match to group clients set large-community delete 999:65508:999 + +# add_noadvertise_to_peer +match to group clients set community delete 65510:* +# Warning: rt:65510:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:65510:* + +# add_noexport_to_any +match to group clients set community delete 65507:999 +match to group clients set ext-community delete rt 65507:999 +match to group clients set large-community delete 999:65507:999 + +# add_noexport_to_peer +match to group clients set community delete 65509:* +# Warning: rt:65509:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:65509:* + +# announce_to_peer +match to group clients set community delete 999:* +# Warning: rt:999:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:999:* + +# announce_to_peers_with_rtt_higher_than +match to group clients set community delete 64514:* +# Warning: rt:64514:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64514:* + +# announce_to_peers_with_rtt_lower_than +match to group clients set community delete 64513:* +# Warning: rt:64513:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64513:* + +# blackholing +match to group clients set community delete 65534:0 +match to group clients set large-community delete 999:666:0 + +# do_not_announce_to_any +match to group clients set community delete 0:999 +match to group clients set ext-community delete rt 0:999 +match to group clients set large-community delete 999:0:999 + +# do_not_announce_to_peer +match to group clients set community delete 0:* +# Warning: rt:0:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:0:* + +# do_not_announce_to_peers_with_rtt_higher_than +match to group clients set community delete 64512:* +# Warning: rt:64512:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64512:* + +# do_not_announce_to_peers_with_rtt_lower_than +match to group clients set community delete 64511:* +# Warning: rt:64511:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64511:* + +# prepend_once_to_any +match to group clients set community delete 65501:999 +match to group clients set ext-community delete rt 65501:999 +match to group clients set large-community delete 999:65501:999 + +# prepend_once_to_peer +match to group clients set community delete 65504:* +# Warning: rt:65504:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:65504:* + +# prepend_once_to_peers_with_rtt_higher_than +match to group clients set community delete 64518:* +# Warning: rt:64518:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64518:* + +# prepend_once_to_peers_with_rtt_lower_than +match to group clients set community delete 64515:* +# Warning: rt:64515:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64515:* + +# prepend_thrice_to_any +match to group clients set community delete 65503:999 +match to group clients set ext-community delete rt 65503:999 +match to group clients set large-community delete 999:65503:999 + +# prepend_thrice_to_peer +match to group clients set community delete 65506:* +# Warning: rt:65506:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:65506:* + +# prepend_thrice_to_peers_with_rtt_higher_than +match to group clients set community delete 64520:* +# Warning: rt:64520:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64520:* + +# prepend_thrice_to_peers_with_rtt_lower_than +match to group clients set community delete 64517:* +# Warning: rt:64517:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64517:* + +# prepend_twice_to_any +match to group clients set community delete 65502:999 +match to group clients set ext-community delete rt 65502:999 +match to group clients set large-community delete 999:65502:999 + +# prepend_twice_to_peer +match to group clients set community delete 65505:* +# Warning: rt:65505:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:65505:* + +# prepend_twice_to_peers_with_rtt_higher_than +match to group clients set community delete 64519:* +# Warning: rt:64519:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64519:* + +# prepend_twice_to_peers_with_rtt_lower_than +match to group clients set community delete 64516:* +# Warning: rt:64516:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64516:* + + +# Scrub prepending communities +match to group clients set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 } +match to group clients set { community delete 65504:0 ext-community delete rt 65504:0 large-community delete 999:65504:0 } +match to group clients set { community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* } +match to group clients set { community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* } +match to group clients set { community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 } +match to group clients set { community delete 65506:0 ext-community delete rt 65506:0 large-community delete 999:65506:0 } +match to group clients set { community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* } +match to group clients set { community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* } +match to group clients set { community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 } +match to group clients set { community delete 65505:0 ext-community delete rt 65505:0 large-community delete 999:65505:0 } +match to group clients set { community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* } +match to group clients set { community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# RFC1997 NO_EXPORT/NO_ADVERTISE received from clients and propagated because of pass-through policy +match to group clients ext-community $INTCOMM_NO_EXPORT set community NO_EXPORT +match to group clients ext-community $INTCOMM_NO_ADVERTISE set community NO_ADVERTISE + +# Remove internal communities before announcing the route +match to group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + diff --git a/tests/live_tests/scenarios/rich_example/configs/RichConfigExampleScenarioOpenBGPD_IPv6/openbgpd68.conf b/tests/live_tests/scenarios/rich_example/configs/RichConfigExampleScenarioOpenBGPD_IPv6/openbgpd68.conf index cb8619b3..f4a97e61 100644 --- a/tests/live_tests/scenarios/rich_example/configs/RichConfigExampleScenarioOpenBGPD_IPv6/openbgpd68.conf +++ b/tests/live_tests/scenarios/rich_example/configs/RichConfigExampleScenarioOpenBGPD_IPv6/openbgpd68.conf @@ -7,6 +7,7 @@ log updates nexthop qualify via default + INTCOMM_PREF_OK_ROA="soo 65535:1" INTCOMM_ROUTE_OK_WL="soo 65535:2" INTCOMM_PREF_OK_ARINDB="soo 65535:3" @@ -60,6 +61,7 @@ group "clients" { neighbor 192.0.2.22 { remote-as 10745 + passive ttl-security yes max-prefix 121 restart 30 @@ -77,6 +79,7 @@ group "clients" { neighbor 2001:db8:1:1::22 { remote-as 10745 + passive ttl-security yes max-prefix 13915 restart 30 @@ -94,6 +97,7 @@ group "clients" { neighbor 192.0.2.11 { remote-as 3333 + passive ttl-security yes max-prefix 150 restart 30 @@ -237,7 +241,9 @@ match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ # --------------------------------------------------------- -# RPKI-based Origin Validation +# ROAs source + + roa-set { 193.0.0.0/21 source-as 3333 193.0.24.0/22 maxlen 26 source-as 3333 @@ -256,6 +262,12 @@ roa-set { } + + +# --------------------------------------------------------- +# RPKI-based Origin Validation + + # Add $INTCOMM_RPKI_UNKNOWN, $INTCOMM_RPKI_INVALID and $INTCOMM_RPKI_VALID # ext community on the basis of ovs. match from group clients ovs not-found set ext-community $INTCOMM_RPKI_UNKNOWN @@ -264,17 +276,20 @@ match from group clients ovs invalid set ext-community $INTCOMM_RPKI_INVALID - +# --------------------------------------------------------- # RPKI ROAs used as route objects. + # Add the $INTCOMM_PREF_OK_ROA ext community to routes whose # origin ASN has a ROA for the announced prefix. # It will be used later during IRRDB validation in # case the origin ASN is authorized by a client's # AS-SET but the prefix is not. + # Since RPKI-based Origin Validation is already performed above, # use the origin validation state to identify valid routes. match from group clients ovs valid set ext-community $INTCOMM_PREF_OK_ROA + # ARIN Whois records used for preifx validation # --------------------------------------------- @@ -368,13 +383,13 @@ allow quick from 192.0.2.22 AS 4200000000 - 4294967295 set { localpref 1 communi # AS_PATH: transit-free ASNs -# Reject inbound routes when 'from 192.0.2.22 AS { 174, 209, 286, 701, 1239, 1299, 2828, 2914, 3257, 3320, 3356, 3549, 5511, 6453, 6461, 6762, 6830, 7018, 12956 }' - reject code: 8 -allow quick from 192.0.2.22 AS { 174, 209, 286, 701, 1239, 1299, 2828, 2914, 3257, 3320, 3356, 3549, 5511, 6453, 6461, 6762, 6830, 7018, 12956 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} +# Reject inbound routes when 'from 192.0.2.22 AS { 174, 701, 1299, 2914, 3257, 3320, 3356, 5511, 6453, 6461, 6762, 6830, 7018, 12956 }' - reject code: 8 +allow quick from 192.0.2.22 AS { 174, 701, 1299, 2914, 3257, 3320, 3356, 5511, 6453, 6461, 6762, 6830, 7018, 12956 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} # AS_PATH: never via route-servers ASNs -# Reject inbound routes when 'from 192.0.2.22 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 212706, 212953, 213202, 213252, 262311, 262888, 263258, 263328, 263856, 263945, 263980, 264212, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328572, 328582, 328748, 393573, 393684, 396477, 399338 }' - reject code: 15 -allow quick from 192.0.2.22 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 212706, 212953, 213202, 213252, 262311, 262888, 263258, 263328, 263856, 263945, 263980, 264212, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328572, 328582, 328748, 393573, 393684, 396477, 399338 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} +# Reject inbound routes when 'from 192.0.2.22 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 7862, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30967, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39527, 39967, 46450, 48237, 48265, 48408, 51095, 52946, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 136106, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 211358, 212706, 212953, 213202, 213252, 262191, 262311, 262888, 263258, 263328, 263686, 263856, 263945, 263980, 264212, 264424, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 269906, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328445, 328572, 328582, 328748, 393573, 393684, 396477, 399338 }' - reject code: 15 +allow quick from 192.0.2.22 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 7862, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30967, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39527, 39967, 46450, 48237, 48265, 48408, 51095, 52946, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 136106, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 211358, 212706, 212953, 213202, 213252, 262191, 262311, 262888, 263258, 263328, 263686, 263856, 263945, 263980, 264212, 264424, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 269906, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328445, 328572, 328582, 328748, 393573, 393684, 396477, 399338 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} @@ -1031,13 +1046,13 @@ allow quick from 2001:db8:1:1::22 AS 4200000000 - 4294967295 set { localpref 1 c # AS_PATH: transit-free ASNs -# Reject inbound routes when 'from 2001:db8:1:1::22 AS { 174, 209, 286, 701, 1239, 1299, 2828, 2914, 3257, 3320, 3356, 3549, 5511, 6453, 6461, 6762, 6830, 7018, 12956 }' - reject code: 8 -allow quick from 2001:db8:1:1::22 AS { 174, 209, 286, 701, 1239, 1299, 2828, 2914, 3257, 3320, 3356, 3549, 5511, 6453, 6461, 6762, 6830, 7018, 12956 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} +# Reject inbound routes when 'from 2001:db8:1:1::22 AS { 174, 701, 1299, 2914, 3257, 3320, 3356, 5511, 6453, 6461, 6762, 6830, 7018, 12956 }' - reject code: 8 +allow quick from 2001:db8:1:1::22 AS { 174, 701, 1299, 2914, 3257, 3320, 3356, 5511, 6453, 6461, 6762, 6830, 7018, 12956 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} # AS_PATH: never via route-servers ASNs -# Reject inbound routes when 'from 2001:db8:1:1::22 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 212706, 212953, 213202, 213252, 262311, 262888, 263258, 263328, 263856, 263945, 263980, 264212, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328572, 328582, 328748, 393573, 393684, 396477, 399338 }' - reject code: 15 -allow quick from 2001:db8:1:1::22 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 212706, 212953, 213202, 213252, 262311, 262888, 263258, 263328, 263856, 263945, 263980, 264212, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328572, 328582, 328748, 393573, 393684, 396477, 399338 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} +# Reject inbound routes when 'from 2001:db8:1:1::22 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 7862, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30967, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39527, 39967, 46450, 48237, 48265, 48408, 51095, 52946, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 136106, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 211358, 212706, 212953, 213202, 213252, 262191, 262311, 262888, 263258, 263328, 263686, 263856, 263945, 263980, 264212, 264424, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 269906, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328445, 328572, 328582, 328748, 393573, 393684, 396477, 399338 }' - reject code: 15 +allow quick from 2001:db8:1:1::22 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 7862, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30967, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39527, 39967, 46450, 48237, 48265, 48408, 51095, 52946, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 136106, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 211358, 212706, 212953, 213202, 213252, 262191, 262311, 262888, 263258, 263328, 263686, 263856, 263945, 263980, 264212, 264424, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 269906, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328445, 328572, 328582, 328748, 393573, 393684, 396477, 399338 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} @@ -1694,13 +1709,13 @@ allow quick from 192.0.2.11 AS 4200000000 - 4294967295 set { localpref 1 communi # AS_PATH: transit-free ASNs -# Reject inbound routes when 'from 192.0.2.11 AS { 174, 209, 286, 701, 1239, 1299, 2828, 2914, 3257, 3320, 3356, 3549, 5511, 6453, 6461, 6762, 6830, 7018, 12956 }' - reject code: 8 -allow quick from 192.0.2.11 AS { 174, 209, 286, 701, 1239, 1299, 2828, 2914, 3257, 3320, 3356, 3549, 5511, 6453, 6461, 6762, 6830, 7018, 12956 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} +# Reject inbound routes when 'from 192.0.2.11 AS { 174, 701, 1299, 2914, 3257, 3320, 3356, 5511, 6453, 6461, 6762, 6830, 7018, 12956 }' - reject code: 8 +allow quick from 192.0.2.11 AS { 174, 701, 1299, 2914, 3257, 3320, 3356, 5511, 6453, 6461, 6762, 6830, 7018, 12956 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} # AS_PATH: never via route-servers ASNs -# Reject inbound routes when 'from 192.0.2.11 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 212706, 212953, 213202, 213252, 262311, 262888, 263258, 263328, 263856, 263945, 263980, 264212, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328572, 328582, 328748, 393573, 393684, 396477, 399338 }' - reject code: 15 -allow quick from 192.0.2.11 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39967, 46450, 48237, 48265, 48408, 51095, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 212706, 212953, 213202, 213252, 262311, 262888, 263258, 263328, 263856, 263945, 263980, 264212, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328572, 328582, 328748, 393573, 393684, 396477, 399338 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} +# Reject inbound routes when 'from 192.0.2.11 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 7862, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30967, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39527, 39967, 46450, 48237, 48265, 48408, 51095, 52946, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 136106, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 211358, 212706, 212953, 213202, 213252, 262191, 262311, 262888, 263258, 263328, 263686, 263856, 263945, 263980, 264212, 264424, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 269906, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328445, 328572, 328582, 328748, 393573, 393684, 396477, 399338 }' - reject code: 15 +allow quick from 192.0.2.11 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 7862, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30967, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39527, 39967, 46450, 48237, 48265, 48408, 51095, 52946, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 136106, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 211358, 212706, 212953, 213202, 213252, 262191, 262311, 262888, 263258, 263328, 263686, 263856, 263945, 263980, 264212, 264424, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 269906, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328445, 328572, 328582, 328748, 393573, 393684, 396477, 399338 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} diff --git a/tests/live_tests/scenarios/rich_example/configs/RichConfigExampleScenarioOpenBGPD_IPv6/openbgpd69.conf b/tests/live_tests/scenarios/rich_example/configs/RichConfigExampleScenarioOpenBGPD_IPv6/openbgpd69.conf new file mode 100644 index 00000000..cdee2de7 --- /dev/null +++ b/tests/live_tests/scenarios/rich_example/configs/RichConfigExampleScenarioOpenBGPD_IPv6/openbgpd69.conf @@ -0,0 +1,2492 @@ +# built by ARouteServer +AS 999 +router-id 192.0.2.2 + +fib-update no +log updates + +nexthop qualify via default + +rde evaluate all + +INTCOMM_PREF_OK_ROA="soo 65535:1" +INTCOMM_ROUTE_OK_WL="soo 65535:2" +INTCOMM_PREF_OK_ARINDB="soo 65535:3" +INTCOMM_PREF_OK_REGISTROBRDB="soo 65535:12" + +INTCOMM_ORIGIN_OK="soo 65535:4" +INTCOMM_ORIGIN_KO="soo 65535:5" +INTCOMM_PREFIX_OK="soo 65535:6" +INTCOMM_PREFIX_KO="soo 65535:7" +INTCOMM_IRR_REJECT="soo 65535:8" + +INTCOMM_RPKI_UNKNOWN="soo 65535:9" +INTCOMM_RPKI_INVALID="soo 65535:10" +INTCOMM_RPKI_VALID="soo 65535:11" + +INTCOMM_NO_EXPORT="soo 65535:65281" +INTCOMM_NO_ADVERTISE="soo 65535:65282" + +# --------------------------------------------------------- +# IRRDB + +# AS3333, used by client AS3333_1 +as-set "AS_SET_AS3333_asns" { + 3333 +} +prefix-set "AS_SET_AS3333_prefixes" { + 2001:67c:2e8::/48 prefixlen 48 - 128 +} + +# AS10745, used by client AS10745_1, client AS10745_2 +as-set "AS_SET_AS10745_asns" { + 10745 +} +prefix-set "AS_SET_AS10745_prefixes" { + 2001:500:4::/48 prefixlen 48 - 128 +} + +# AS-RIPENCC, used by client AS3333_1 +# no origin ASNs found for AS_RIPENCC +# no prefixes found for AS_RIPENCC + + + + +# --------------------------------------------------------- +# MEMBERS + +group "clients" { + + # RTT: 224 ms (normalized value: 224) + neighbor 192.0.2.22 { + remote-as 10745 + + rde evaluate all + + passive + ttl-security yes + max-prefix 121 restart 30 + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + # RTT: 226 ms (normalized value: 226) + neighbor 2001:db8:1:1::22 { + remote-as 10745 + + rde evaluate all + + passive + ttl-security yes + max-prefix 13915 restart 30 + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + # RTT: 114 ms (normalized value: 114) + neighbor 192.0.2.11 { + remote-as 3333 + + rde evaluate all + + passive + ttl-security yes + max-prefix 150 restart 30 + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } +} + + + +# --------------------------------------------------------- +# FILTERS + +# NO_ADVERTISE usage notes. +# The NO_ADVERTISE well-know community is used here to handle +# filters that span over multiple steps. At first it is added +# to any route, then it is removed as filters conditions are +# satisfied. Finally, if it is still present, it means that +# the route should be discarded. + + + + +prefix-set "global_black_list_pref" { + 192.0.2.0/24 prefixlen 24 - 32 + 2001:db8:1:1::/64 prefixlen 64 - 128 + +} + +prefix-set "bogons" { + 0.0.0.0/0 + 0.0.0.0/8 prefixlen 8 - 32 + 10.0.0.0/8 prefixlen 8 - 32 + 127.0.0.0/8 prefixlen 8 - 32 + 169.254.0.0/16 prefixlen 16 - 32 + 172.16.0.0/12 prefixlen 12 - 32 + 192.0.2.0/24 prefixlen 24 - 32 + 192.88.99.0/24 prefixlen 24 - 32 + 192.168.0.0/16 prefixlen 16 - 32 + 198.18.0.0/15 prefixlen 15 - 32 + 198.51.100.0/24 prefixlen 24 - 32 + 203.0.113.0/24 prefixlen 24 - 32 + 224.0.0.0/3 prefixlen 3 - 32 + 100.64.0.0/10 prefixlen 10 - 32 + ::/0 + ::/8 prefixlen 8 - 128 + 64:ff9b::/96 prefixlen 96 - 128 + 100::/8 prefixlen 8 - 128 + 200::/7 prefixlen 7 - 128 + 400::/6 prefixlen 6 - 128 + 800::/5 prefixlen 5 - 128 + 1000::/4 prefixlen 4 - 128 + 2001::/33 prefixlen 33 - 128 + 2001:0:8000::/33 prefixlen 33 - 128 + 2001:2::/48 prefixlen 48 - 128 + 2001:3::/32 prefixlen 32 - 128 + 2001:10::/28 prefixlen 28 - 128 + 2001:20::/28 prefixlen 28 - 128 + 2001:db8::/32 prefixlen 32 - 128 + 2002::/16 prefixlen 16 - 128 + 3ffe::/16 prefixlen 16 - 128 + 4000::/3 prefixlen 3 - 128 + 5f00::/8 prefixlen 8 - 128 + 6000::/3 prefixlen 3 - 128 + 8000::/3 prefixlen 3 - 128 + a000::/3 prefixlen 3 - 128 + c000::/3 prefixlen 3 - 128 + e000::/4 prefixlen 4 - 128 + f000::/5 prefixlen 5 - 128 + f800::/6 prefixlen 6 - 128 + fc00::/7 prefixlen 7 - 128 + fe80::/10 prefixlen 10 - 128 + fec0::/10 prefixlen 10 - 128 + ff00::/8 prefixlen 8 - 128 + +} + +# ===================================================================================== +# Global rules. + +# This part of configuration is processed at the beginning of the filters. +# The rules defined in this part are applied to all the clients, and not on a +# client-by-client basis (see the 'match from group clients'), so only global policies +# can be implemented here, that is no client-level configuration are allowed. + + + +# Scrub communities from inbound routes +# origin_not_present_in_as_set +match from group clients set community delete 65530:0 +match from group clients set large-community delete 999:65530:0 + +# origin_present_in_as_set +match from group clients set community delete 65530:1 +match from group clients set large-community delete 999:65530:1 + +# prefix_validated_via_arin_whois_db_dump +match from group clients set community delete 65530:4 +match from group clients set large-community delete 999:65530:4 + +# prefix_validated_via_rpki_roas +match from group clients set community delete 65530:2 +match from group clients set large-community delete 999:65530:2 + +# route_validated_via_white_list +match from group clients set community delete 65530:3 +match from group clients set large-community delete 999:65530:3 + +# from_europe +match from group clients set community delete 65534:1 +match from group clients set ext-community delete rt 65534:1 +match from group clients set large-community delete 999:65534:1 + +# from_usa +match from group clients set community delete 65534:2 +match from group clients set ext-community delete rt 65534:2 +match from group clients set large-community delete 999:65534:2 + + +# Scrub internal communities from inbound routes +match from group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + + +# The main goal of this block is to enrich routes received from clients by attaching to them +# internal informational communities which are used later by the rest of the filter rules. + +# Internal communities used for RFC1997 well-known communities handling + +# Transform NO_EXPORT into $INTCOMM_NO_EXPORT +match from group clients community NO_EXPORT set { ext-community $INTCOMM_NO_EXPORT community delete NO_EXPORT } + +# Transform NO_ADVERTISE into $INTCOMM_NO_ADVERTISE +match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ADVERTISE community delete NO_ADVERTISE } + + +# --------------------------------------------------------- +# ROAs source + + +roa-set { + 193.0.0.0/21 source-as 3333 + 193.0.24.0/22 maxlen 26 source-as 3333 + 193.0.10.0/23 source-as 3333 + 193.0.12.0/23 source-as 3333 + 193.0.14.0/23 source-as 25152 + 193.0.18.0/23 source-as 3333 + 193.0.20.0/23 source-as 3333 + 193.0.22.0/23 source-as 3333 + 193.0.14.0/24 source-as 25152 + 193.0.24.0/24 source-as 3333 + 2001:7fd::/32 source-as 25152 + 2001:610:240::/42 source-as 3333 + 2001:67c:2e8::/48 source-as 3333 + 2001:7fd::/48 source-as 25152 + +} + + + +# --------------------------------------------------------- +# RPKI-based Origin Validation + + +# Add $INTCOMM_RPKI_UNKNOWN, $INTCOMM_RPKI_INVALID and $INTCOMM_RPKI_VALID +# ext community on the basis of ovs. +match from group clients ovs not-found set ext-community $INTCOMM_RPKI_UNKNOWN +match from group clients ovs valid set ext-community $INTCOMM_RPKI_VALID +match from group clients ovs invalid set ext-community $INTCOMM_RPKI_INVALID + + + +# --------------------------------------------------------- +# RPKI ROAs used as route objects. + +# Add the $INTCOMM_PREF_OK_ROA ext community to routes whose +# origin ASN has a ROA for the announced prefix. +# It will be used later during IRRDB validation in +# case the origin ASN is authorized by a client's +# AS-SET but the prefix is not. + +# Since RPKI-based Origin Validation is already performed above, +# use the origin validation state to identify valid routes. +match from group clients ovs valid set ext-community $INTCOMM_PREF_OK_ROA + + +# ARIN Whois records used for preifx validation +# --------------------------------------------- + +# Add the $INTCOMM_PREF_OK_ARINDB ext community to routes whose +# origin ASN has an ARIN Whois record for the announced prefix. +# It will be used later during IRRDB validation in +# case the origin ASN is authorized by a client's +# AS-SET but the prefix is not. +origin-set "ARINDB" { +192.136.136.0/24 prefixlen 24 - 32 source-as 10745 +192.149.252.0/24 prefixlen 24 - 32 source-as 10745 +199.43.0.0/24 prefixlen 24 - 32 source-as 10745 +2001:500:110::/48 prefixlen 48 - 128 source-as 10745 +2001:500:4::/48 prefixlen 48 - 128 source-as 10745 +} +match from group clients origin-set ARINDB set ext-community $INTCOMM_PREF_OK_ARINDB + + + + +# Set the 'rejected_route_announced_by' community for all the clients. +# It will be removed later if the route is not invalid +match from 192.0.2.22 set ext-community rt 65520:10745 + +match from 2001:db8:1:1::22 set ext-community rt 65520:10745 + +match from 192.0.2.11 set ext-community rt 65520:3333 + + + + +# AS_PATH: length +# Reject inbound routes when 'from group clients max-as-len 32' - reject code: 1 +allow quick from group clients max-as-len 32 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:1} + + +# Prefix: global blacklist +# Reject inbound routes when 'from group clients prefix-set global_black_list_pref' - reject code: 3 +allow quick from group clients prefix-set global_black_list_pref set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:3} + + +# Prefix: only IPv6 Global Unicast space allowed +match from group clients inet6 set community NO_ADVERTISE +match from group clients prefix 2000::/3 or-longer set community delete NO_ADVERTISE +# Reject inbound routes when 'from group clients community NO_ADVERTISE' - reject code: 10 +allow quick from group clients community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:10} + + +# Prefix: bogon +# Reject inbound routes when 'from group clients prefix-set bogons' - reject code: 2 +allow quick from group clients prefix-set bogons set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:2} + + + + +# ===================================================================================== +# Per client rules. + + +# --------------------------------------------- +# client AS10745_1, inbound + + +# Attach custom BGP communities +# from_usa +match from 192.0.2.22 set community 65534:2 +match from 192.0.2.22 set ext-community rt 65534:2 +match from 192.0.2.22 set large-community 999:65534:2 + +# NEXT_HOP +match from 192.0.2.22 set community NO_ADVERTISE +match from 192.0.2.22 nexthop 192.0.2.22 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.22 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.22 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.22 peer-as != 10745' - reject code: 6 +allow quick from 192.0.2.22 peer-as != 10745 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.22 AS 23456' - reject code: 7 +allow quick from 192.0.2.22 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.22 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.22 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.22 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.22 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 192.0.2.22 AS { 174, 701, 1299, 2914, 3257, 3320, 3356, 5511, 6453, 6461, 6762, 6830, 7018, 12956 }' - reject code: 8 +allow quick from 192.0.2.22 AS { 174, 701, 1299, 2914, 3257, 3320, 3356, 5511, 6453, 6461, 6762, 6830, 7018, 12956 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 192.0.2.22 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 7862, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30967, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39527, 39967, 46450, 48237, 48265, 48408, 51095, 52946, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 136106, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 211358, 212706, 212953, 213202, 213252, 262191, 262311, 262888, 263258, 263328, 263686, 263856, 263945, 263980, 264212, 264424, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 269906, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328445, 328572, 328582, 328748, 393573, 393684, 396477, 399338 }' - reject code: 15 +allow quick from 192.0.2.22 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 7862, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30967, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39527, 39967, 46450, 48237, 48265, 48408, 51095, 52946, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 136106, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 211358, 212706, 212953, 213202, 213252, 262191, 262311, 262888, 263258, 263328, 263686, 263856, 263945, 263980, 264212, 264424, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 269906, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328445, 328572, 328582, 328748, 393573, 393684, 396477, 399338 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + + +match from 192.0.2.22 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS10745_1, AS10745: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.22 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.22 source-as as-set AS_SET_AS10745_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS10745 +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.22 ext-community $INTCOMM_ORIGIN_KO set community 65530:0 +match from 192.0.2.22 ext-community $INTCOMM_ORIGIN_KO set large-community 999:65530:0 +# adding present_in_as_set community to authorized routes +match from 192.0.2.22 ext-community $INTCOMM_ORIGIN_OK set community 65530:1 +match from 192.0.2.22 ext-community $INTCOMM_ORIGIN_OK set large-community 999:65530:1 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS10745_1, AS10745: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.22 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.22 prefix-set AS_SET_AS10745_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS10745 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.22 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 65530:2 +match from 192.0.2.22 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:65530:2 + +match from 192.0.2.22 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.22 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set community 65530:4 +match from 192.0.2.22 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set large-community 999:65530:4 + +match from 192.0.2.22 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + + + +# enforcing: origin ASN +# Reject inbound routes when 'from 192.0.2.22 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 192.0.2.22 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 192.0.2.22 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 192.0.2.22 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + +# Blackhole request? +match from 192.0.2.22 set ext-community delete rt 65520:10745 + + +# Remove internal communities before accepting the route +match from 192.0.2.22 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.22 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.22 large-community 999:666:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 192.0.2.22 community BLACKHOLE +allow quick from 192.0.2.22 community 65534:0 +allow quick from 192.0.2.22 large-community 999:666:0 + + +match from 192.0.2.22 set ext-community rt 65520:10745 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 192.0.2.22 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 192.0.2.22 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.22 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.22 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 192.0.2.22 community GRACEFUL_SHUTDOWN set localpref 0 + +# Remove internal communities before accepting the route +match from 192.0.2.22 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.22 set ext-community delete rt 65520:10745 + + + +allow quick from 192.0.2.22 + + + +# --------------------------------------------- +# client AS10745_1, outbound + +deny quick to 192.0.2.22 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 192.0.2.22 community 65534:0 set community BLACKHOLE +match to 192.0.2.22 large-community 999:666:0 set community BLACKHOLE + +match to 192.0.2.22 community BLACKHOLE set community NO_EXPORT +match to 192.0.2.22 community BLACKHOLE set nexthop 192.0.2.66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 192.0.2.22 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 192.0.2.22 community 65507:999 set community NO_EXPORT +match to 192.0.2.22 ext-community rt 65507:999 set community NO_EXPORT +match to 192.0.2.22 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 192.0.2.22 community 65508:999 set community NO_ADVERTISE +match to 192.0.2.22 ext-community rt 65508:999 set community NO_ADVERTISE +match to 192.0.2.22 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 192.0.2.22 community 65509:10745 set community NO_EXPORT +match to 192.0.2.22 ext-community rt 65509:10745 set community NO_EXPORT +match to 192.0.2.22 large-community 999:65509:10745 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 192.0.2.22 community 65510:10745 set community NO_ADVERTISE +match to 192.0.2.22 ext-community rt 65510:10745 set community NO_ADVERTISE +match to 192.0.2.22 large-community 999:65510:10745 set community NO_ADVERTISE + + +# BGP control communities +allow to 192.0.2.22 + +# do_not_announce_to_any +deny to 192.0.2.22 community 0:999 +deny to 192.0.2.22 ext-community rt 0:999 +deny to 192.0.2.22 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 192.0.2.22 community 0:10745 +deny quick to 192.0.2.22 ext-community rt 0:10745 +deny quick to 192.0.2.22 large-community 999:0:10745 + +# do_not_announce_to_peers_with_rtt_lower_than 500 ms +deny to 192.0.2.22 community 64511:500 +deny to 192.0.2.22 ext-community rt 64511:500 +deny to 192.0.2.22 large-community 999:64511:500 + + +# announce_to_peers_with_rtt_lower_than 500 ms +allow to 192.0.2.22 community 64513:500 +allow to 192.0.2.22 ext-community rt 64513:500 +allow to 192.0.2.22 large-community 999:64513:500 + + +# do_not_announce_to_peers_with_rtt_higher_than 5 ms +deny to 192.0.2.22 community 64512:5 +deny to 192.0.2.22 ext-community rt 64512:5 +deny to 192.0.2.22 large-community 999:64512:5 + + +# do_not_announce_to_peers_with_rtt_higher_than 10 ms +deny to 192.0.2.22 community 64512:10 +deny to 192.0.2.22 ext-community rt 64512:10 +deny to 192.0.2.22 large-community 999:64512:10 + + +# do_not_announce_to_peers_with_rtt_higher_than 15 ms +deny to 192.0.2.22 community 64512:15 +deny to 192.0.2.22 ext-community rt 64512:15 +deny to 192.0.2.22 large-community 999:64512:15 + + +# do_not_announce_to_peers_with_rtt_higher_than 20 ms +deny to 192.0.2.22 community 64512:20 +deny to 192.0.2.22 ext-community rt 64512:20 +deny to 192.0.2.22 large-community 999:64512:20 + + +# do_not_announce_to_peers_with_rtt_higher_than 30 ms +deny to 192.0.2.22 community 64512:30 +deny to 192.0.2.22 ext-community rt 64512:30 +deny to 192.0.2.22 large-community 999:64512:30 + + +# do_not_announce_to_peers_with_rtt_higher_than 50 ms +deny to 192.0.2.22 community 64512:50 +deny to 192.0.2.22 ext-community rt 64512:50 +deny to 192.0.2.22 large-community 999:64512:50 + + +# do_not_announce_to_peers_with_rtt_higher_than 100 ms +deny to 192.0.2.22 community 64512:100 +deny to 192.0.2.22 ext-community rt 64512:100 +deny to 192.0.2.22 large-community 999:64512:100 + + +# do_not_announce_to_peers_with_rtt_higher_than 200 ms +deny to 192.0.2.22 community 64512:200 +deny to 192.0.2.22 ext-community rt 64512:200 +deny to 192.0.2.22 large-community 999:64512:200 + + +# announce_to_peers_with_rtt_higher_than 5 ms +allow to 192.0.2.22 community 64514:5 +allow to 192.0.2.22 ext-community rt 64514:5 +allow to 192.0.2.22 large-community 999:64514:5 + + +# announce_to_peers_with_rtt_higher_than 10 ms +allow to 192.0.2.22 community 64514:10 +allow to 192.0.2.22 ext-community rt 64514:10 +allow to 192.0.2.22 large-community 999:64514:10 + + +# announce_to_peers_with_rtt_higher_than 15 ms +allow to 192.0.2.22 community 64514:15 +allow to 192.0.2.22 ext-community rt 64514:15 +allow to 192.0.2.22 large-community 999:64514:15 + + +# announce_to_peers_with_rtt_higher_than 20 ms +allow to 192.0.2.22 community 64514:20 +allow to 192.0.2.22 ext-community rt 64514:20 +allow to 192.0.2.22 large-community 999:64514:20 + + +# announce_to_peers_with_rtt_higher_than 30 ms +allow to 192.0.2.22 community 64514:30 +allow to 192.0.2.22 ext-community rt 64514:30 +allow to 192.0.2.22 large-community 999:64514:30 + + +# announce_to_peers_with_rtt_higher_than 50 ms +allow to 192.0.2.22 community 64514:50 +allow to 192.0.2.22 ext-community rt 64514:50 +allow to 192.0.2.22 large-community 999:64514:50 + + +# announce_to_peers_with_rtt_higher_than 100 ms +allow to 192.0.2.22 community 64514:100 +allow to 192.0.2.22 ext-community rt 64514:100 +allow to 192.0.2.22 large-community 999:64514:100 + + +# announce_to_peers_with_rtt_higher_than 200 ms +allow to 192.0.2.22 community 64514:200 +allow to 192.0.2.22 ext-community rt 64514:200 +allow to 192.0.2.22 large-community 999:64514:200 + + +# announce_to_peer +allow to 192.0.2.22 community 999:10745 +allow to 192.0.2.22 ext-community rt 999:10745 +allow to 192.0.2.22 large-community 999:999:10745 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 65504:10745 set prepend-neighbor 1 +match to 192.0.2.22 ext-community rt 65504:10745 set prepend-neighbor 1 +match to 192.0.2.22 large-community 999:65504:10745 set prepend-neighbor 1 + +match to 192.0.2.22 community 65504:10745 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 65504:10745 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:65504:10745 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 65505:10745 set prepend-neighbor 2 +match to 192.0.2.22 ext-community rt 65505:10745 set prepend-neighbor 2 +match to 192.0.2.22 large-community 999:65505:10745 set prepend-neighbor 2 + +match to 192.0.2.22 community 65505:10745 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 65505:10745 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:65505:10745 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 65506:10745 set prepend-neighbor 3 +match to 192.0.2.22 ext-community rt 65506:10745 set prepend-neighbor 3 +match to 192.0.2.22 large-community 999:65506:10745 set prepend-neighbor 3 + +match to 192.0.2.22 community 65506:10745 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 65506:10745 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:65506:10745 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + + +# prepend_once_to_peers_with_rtt_higher_than 200 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64518:200 set prepend-neighbor 1 +match to 192.0.2.22 ext-community rt 64518:200 set prepend-neighbor 1 +match to 192.0.2.22 large-community 999:64518:200 set prepend-neighbor 1 + + +match to 192.0.2.22 community 64518:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64518:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64518:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 200 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64519:200 set prepend-neighbor 2 +match to 192.0.2.22 ext-community rt 64519:200 set prepend-neighbor 2 +match to 192.0.2.22 large-community 999:64519:200 set prepend-neighbor 2 + + +match to 192.0.2.22 community 64519:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64519:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64519:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 200 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64520:200 set prepend-neighbor 3 +match to 192.0.2.22 ext-community rt 64520:200 set prepend-neighbor 3 +match to 192.0.2.22 large-community 999:64520:200 set prepend-neighbor 3 + + +match to 192.0.2.22 community 64520:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64520:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64520:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_higher_than 100 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64518:100 set prepend-neighbor 1 +match to 192.0.2.22 ext-community rt 64518:100 set prepend-neighbor 1 +match to 192.0.2.22 large-community 999:64518:100 set prepend-neighbor 1 + + +match to 192.0.2.22 community 64518:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64518:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64518:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 100 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64519:100 set prepend-neighbor 2 +match to 192.0.2.22 ext-community rt 64519:100 set prepend-neighbor 2 +match to 192.0.2.22 large-community 999:64519:100 set prepend-neighbor 2 + + +match to 192.0.2.22 community 64519:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64519:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64519:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 100 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64520:100 set prepend-neighbor 3 +match to 192.0.2.22 ext-community rt 64520:100 set prepend-neighbor 3 +match to 192.0.2.22 large-community 999:64520:100 set prepend-neighbor 3 + + +match to 192.0.2.22 community 64520:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64520:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64520:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_higher_than 50 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64518:50 set prepend-neighbor 1 +match to 192.0.2.22 ext-community rt 64518:50 set prepend-neighbor 1 +match to 192.0.2.22 large-community 999:64518:50 set prepend-neighbor 1 + + +match to 192.0.2.22 community 64518:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64518:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64518:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 50 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64519:50 set prepend-neighbor 2 +match to 192.0.2.22 ext-community rt 64519:50 set prepend-neighbor 2 +match to 192.0.2.22 large-community 999:64519:50 set prepend-neighbor 2 + + +match to 192.0.2.22 community 64519:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64519:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64519:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 50 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64520:50 set prepend-neighbor 3 +match to 192.0.2.22 ext-community rt 64520:50 set prepend-neighbor 3 +match to 192.0.2.22 large-community 999:64520:50 set prepend-neighbor 3 + + +match to 192.0.2.22 community 64520:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64520:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64520:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_higher_than 30 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64518:30 set prepend-neighbor 1 +match to 192.0.2.22 ext-community rt 64518:30 set prepend-neighbor 1 +match to 192.0.2.22 large-community 999:64518:30 set prepend-neighbor 1 + + +match to 192.0.2.22 community 64518:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64518:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64518:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 30 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64519:30 set prepend-neighbor 2 +match to 192.0.2.22 ext-community rt 64519:30 set prepend-neighbor 2 +match to 192.0.2.22 large-community 999:64519:30 set prepend-neighbor 2 + + +match to 192.0.2.22 community 64519:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64519:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64519:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 30 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64520:30 set prepend-neighbor 3 +match to 192.0.2.22 ext-community rt 64520:30 set prepend-neighbor 3 +match to 192.0.2.22 large-community 999:64520:30 set prepend-neighbor 3 + + +match to 192.0.2.22 community 64520:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64520:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64520:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_higher_than 20 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64518:20 set prepend-neighbor 1 +match to 192.0.2.22 ext-community rt 64518:20 set prepend-neighbor 1 +match to 192.0.2.22 large-community 999:64518:20 set prepend-neighbor 1 + + +match to 192.0.2.22 community 64518:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64518:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64518:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 20 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64519:20 set prepend-neighbor 2 +match to 192.0.2.22 ext-community rt 64519:20 set prepend-neighbor 2 +match to 192.0.2.22 large-community 999:64519:20 set prepend-neighbor 2 + + +match to 192.0.2.22 community 64519:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64519:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64519:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 20 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64520:20 set prepend-neighbor 3 +match to 192.0.2.22 ext-community rt 64520:20 set prepend-neighbor 3 +match to 192.0.2.22 large-community 999:64520:20 set prepend-neighbor 3 + + +match to 192.0.2.22 community 64520:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64520:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64520:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_higher_than 15 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64518:15 set prepend-neighbor 1 +match to 192.0.2.22 ext-community rt 64518:15 set prepend-neighbor 1 +match to 192.0.2.22 large-community 999:64518:15 set prepend-neighbor 1 + + +match to 192.0.2.22 community 64518:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64518:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64518:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 15 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64519:15 set prepend-neighbor 2 +match to 192.0.2.22 ext-community rt 64519:15 set prepend-neighbor 2 +match to 192.0.2.22 large-community 999:64519:15 set prepend-neighbor 2 + + +match to 192.0.2.22 community 64519:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64519:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64519:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 15 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64520:15 set prepend-neighbor 3 +match to 192.0.2.22 ext-community rt 64520:15 set prepend-neighbor 3 +match to 192.0.2.22 large-community 999:64520:15 set prepend-neighbor 3 + + +match to 192.0.2.22 community 64520:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64520:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64520:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_higher_than 10 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64518:10 set prepend-neighbor 1 +match to 192.0.2.22 ext-community rt 64518:10 set prepend-neighbor 1 +match to 192.0.2.22 large-community 999:64518:10 set prepend-neighbor 1 + + +match to 192.0.2.22 community 64518:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64518:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64518:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 10 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64519:10 set prepend-neighbor 2 +match to 192.0.2.22 ext-community rt 64519:10 set prepend-neighbor 2 +match to 192.0.2.22 large-community 999:64519:10 set prepend-neighbor 2 + + +match to 192.0.2.22 community 64519:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64519:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64519:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 10 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64520:10 set prepend-neighbor 3 +match to 192.0.2.22 ext-community rt 64520:10 set prepend-neighbor 3 +match to 192.0.2.22 large-community 999:64520:10 set prepend-neighbor 3 + + +match to 192.0.2.22 community 64520:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64520:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64520:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_higher_than 5 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64518:5 set prepend-neighbor 1 +match to 192.0.2.22 ext-community rt 64518:5 set prepend-neighbor 1 +match to 192.0.2.22 large-community 999:64518:5 set prepend-neighbor 1 + + +match to 192.0.2.22 community 64518:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64518:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64518:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 5 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64519:5 set prepend-neighbor 2 +match to 192.0.2.22 ext-community rt 64519:5 set prepend-neighbor 2 +match to 192.0.2.22 large-community 999:64519:5 set prepend-neighbor 2 + + +match to 192.0.2.22 community 64519:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64519:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64519:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 5 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64520:5 set prepend-neighbor 3 +match to 192.0.2.22 ext-community rt 64520:5 set prepend-neighbor 3 +match to 192.0.2.22 large-community 999:64520:5 set prepend-neighbor 3 + + +match to 192.0.2.22 community 64520:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64520:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64520:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64515:500 set prepend-neighbor 1 +match to 192.0.2.22 ext-community rt 64515:500 set prepend-neighbor 1 +match to 192.0.2.22 large-community 999:64515:500 set prepend-neighbor 1 + + +match to 192.0.2.22 community 64515:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64515:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64515:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64516:500 set prepend-neighbor 2 +match to 192.0.2.22 ext-community rt 64516:500 set prepend-neighbor 2 +match to 192.0.2.22 large-community 999:64516:500 set prepend-neighbor 2 + + +match to 192.0.2.22 community 64516:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64516:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64516:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 64517:500 set prepend-neighbor 3 +match to 192.0.2.22 ext-community rt 64517:500 set prepend-neighbor 3 +match to 192.0.2.22 large-community 999:64517:500 set prepend-neighbor 3 + + +match to 192.0.2.22 community 64517:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 64517:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:64517:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 65501:999 set prepend-neighbor 1 +match to 192.0.2.22 ext-community rt 65501:999 set prepend-neighbor 1 +match to 192.0.2.22 large-community 999:65501:999 set prepend-neighbor 1 + +match to 192.0.2.22 community 65501:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 65501:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:65501:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 65502:999 set prepend-neighbor 2 +match to 192.0.2.22 ext-community rt 65502:999 set prepend-neighbor 2 +match to 192.0.2.22 large-community 999:65502:999 set prepend-neighbor 2 + +match to 192.0.2.22 community 65502:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 65502:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:65502:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.22 community 65503:999 set prepend-neighbor 3 +match to 192.0.2.22 ext-community rt 65503:999 set prepend-neighbor 3 +match to 192.0.2.22 large-community 999:65503:999 set prepend-neighbor 3 + +match to 192.0.2.22 community 65503:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 ext-community rt 65503:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.22 large-community 999:65503:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + + + +# --------------------------------------------- +# client AS10745_2, inbound + + +# Attach custom BGP communities +# from_usa +match from 2001:db8:1:1::22 set community 65534:2 +match from 2001:db8:1:1::22 set ext-community rt 65534:2 +match from 2001:db8:1:1::22 set large-community 999:65534:2 + +# NEXT_HOP +match from 2001:db8:1:1::22 set community NO_ADVERTISE +match from 2001:db8:1:1::22 nexthop 2001:db8:1:1::22 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::22 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::22 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::22 peer-as != 10745' - reject code: 6 +allow quick from 2001:db8:1:1::22 peer-as != 10745 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::22 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::22 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::22 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::22 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::22 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::22 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 2001:db8:1:1::22 AS { 174, 701, 1299, 2914, 3257, 3320, 3356, 5511, 6453, 6461, 6762, 6830, 7018, 12956 }' - reject code: 8 +allow quick from 2001:db8:1:1::22 AS { 174, 701, 1299, 2914, 3257, 3320, 3356, 5511, 6453, 6461, 6762, 6830, 7018, 12956 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 2001:db8:1:1::22 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 7862, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30967, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39527, 39967, 46450, 48237, 48265, 48408, 51095, 52946, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 136106, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 211358, 212706, 212953, 213202, 213252, 262191, 262311, 262888, 263258, 263328, 263686, 263856, 263945, 263980, 264212, 264424, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 269906, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328445, 328572, 328582, 328748, 393573, 393684, 396477, 399338 }' - reject code: 15 +allow quick from 2001:db8:1:1::22 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 7862, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30967, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39527, 39967, 46450, 48237, 48265, 48408, 51095, 52946, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 136106, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 211358, 212706, 212953, 213202, 213252, 262191, 262311, 262888, 263258, 263328, 263686, 263856, 263945, 263980, 264212, 264424, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 269906, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328445, 328572, 328582, 328748, 393573, 393684, 396477, 399338 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + + +match from 2001:db8:1:1::22 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS10745_2, AS10745: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::22 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::22 source-as as-set AS_SET_AS10745_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS10745 +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::22 ext-community $INTCOMM_ORIGIN_KO set community 65530:0 +match from 2001:db8:1:1::22 ext-community $INTCOMM_ORIGIN_KO set large-community 999:65530:0 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::22 ext-community $INTCOMM_ORIGIN_OK set community 65530:1 +match from 2001:db8:1:1::22 ext-community $INTCOMM_ORIGIN_OK set large-community 999:65530:1 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS10745_2, AS10745: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::22 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::22 prefix-set AS_SET_AS10745_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS10745 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::22 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 65530:2 +match from 2001:db8:1:1::22 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:65530:2 + +match from 2001:db8:1:1::22 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::22 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set community 65530:4 +match from 2001:db8:1:1::22 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set large-community 999:65530:4 + +match from 2001:db8:1:1::22 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + + + +# enforcing: origin ASN +# Reject inbound routes when 'from 2001:db8:1:1::22 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 2001:db8:1:1::22 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 2001:db8:1:1::22 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 2001:db8:1:1::22 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + +# Blackhole request? +match from 2001:db8:1:1::22 set ext-community delete rt 65520:10745 + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::22 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::22 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::22 large-community 999:666:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 2001:db8:1:1::22 community BLACKHOLE +allow quick from 2001:db8:1:1::22 community 65534:0 +allow quick from 2001:db8:1:1::22 large-community 999:666:0 + + +match from 2001:db8:1:1::22 set ext-community rt 65520:10745 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 2001:db8:1:1::22 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 2001:db8:1:1::22 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::22 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::22 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 2001:db8:1:1::22 community GRACEFUL_SHUTDOWN set localpref 0 + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::22 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::22 set ext-community delete rt 65520:10745 + + + +allow quick from 2001:db8:1:1::22 + + + +# --------------------------------------------- +# client AS10745_2, outbound + +deny quick to 2001:db8:1:1::22 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 2001:db8:1:1::22 community 65534:0 set community BLACKHOLE +match to 2001:db8:1:1::22 large-community 999:666:0 set community BLACKHOLE + +match to 2001:db8:1:1::22 community BLACKHOLE set community NO_EXPORT +match to 2001:db8:1:1::22 community BLACKHOLE set nexthop 2001:db8:1:1::66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 2001:db8:1:1::22 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 2001:db8:1:1::22 community 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::22 ext-community rt 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::22 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 2001:db8:1:1::22 community 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::22 ext-community rt 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::22 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 2001:db8:1:1::22 community 65509:10745 set community NO_EXPORT +match to 2001:db8:1:1::22 ext-community rt 65509:10745 set community NO_EXPORT +match to 2001:db8:1:1::22 large-community 999:65509:10745 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 2001:db8:1:1::22 community 65510:10745 set community NO_ADVERTISE +match to 2001:db8:1:1::22 ext-community rt 65510:10745 set community NO_ADVERTISE +match to 2001:db8:1:1::22 large-community 999:65510:10745 set community NO_ADVERTISE + + +# BGP control communities +allow to 2001:db8:1:1::22 + +# do_not_announce_to_any +deny to 2001:db8:1:1::22 community 0:999 +deny to 2001:db8:1:1::22 ext-community rt 0:999 +deny to 2001:db8:1:1::22 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::22 community 0:10745 +deny quick to 2001:db8:1:1::22 ext-community rt 0:10745 +deny quick to 2001:db8:1:1::22 large-community 999:0:10745 + +# do_not_announce_to_peers_with_rtt_lower_than 500 ms +deny to 2001:db8:1:1::22 community 64511:500 +deny to 2001:db8:1:1::22 ext-community rt 64511:500 +deny to 2001:db8:1:1::22 large-community 999:64511:500 + + +# announce_to_peers_with_rtt_lower_than 500 ms +allow to 2001:db8:1:1::22 community 64513:500 +allow to 2001:db8:1:1::22 ext-community rt 64513:500 +allow to 2001:db8:1:1::22 large-community 999:64513:500 + + +# do_not_announce_to_peers_with_rtt_higher_than 5 ms +deny to 2001:db8:1:1::22 community 64512:5 +deny to 2001:db8:1:1::22 ext-community rt 64512:5 +deny to 2001:db8:1:1::22 large-community 999:64512:5 + + +# do_not_announce_to_peers_with_rtt_higher_than 10 ms +deny to 2001:db8:1:1::22 community 64512:10 +deny to 2001:db8:1:1::22 ext-community rt 64512:10 +deny to 2001:db8:1:1::22 large-community 999:64512:10 + + +# do_not_announce_to_peers_with_rtt_higher_than 15 ms +deny to 2001:db8:1:1::22 community 64512:15 +deny to 2001:db8:1:1::22 ext-community rt 64512:15 +deny to 2001:db8:1:1::22 large-community 999:64512:15 + + +# do_not_announce_to_peers_with_rtt_higher_than 20 ms +deny to 2001:db8:1:1::22 community 64512:20 +deny to 2001:db8:1:1::22 ext-community rt 64512:20 +deny to 2001:db8:1:1::22 large-community 999:64512:20 + + +# do_not_announce_to_peers_with_rtt_higher_than 30 ms +deny to 2001:db8:1:1::22 community 64512:30 +deny to 2001:db8:1:1::22 ext-community rt 64512:30 +deny to 2001:db8:1:1::22 large-community 999:64512:30 + + +# do_not_announce_to_peers_with_rtt_higher_than 50 ms +deny to 2001:db8:1:1::22 community 64512:50 +deny to 2001:db8:1:1::22 ext-community rt 64512:50 +deny to 2001:db8:1:1::22 large-community 999:64512:50 + + +# do_not_announce_to_peers_with_rtt_higher_than 100 ms +deny to 2001:db8:1:1::22 community 64512:100 +deny to 2001:db8:1:1::22 ext-community rt 64512:100 +deny to 2001:db8:1:1::22 large-community 999:64512:100 + + +# do_not_announce_to_peers_with_rtt_higher_than 200 ms +deny to 2001:db8:1:1::22 community 64512:200 +deny to 2001:db8:1:1::22 ext-community rt 64512:200 +deny to 2001:db8:1:1::22 large-community 999:64512:200 + + +# announce_to_peers_with_rtt_higher_than 5 ms +allow to 2001:db8:1:1::22 community 64514:5 +allow to 2001:db8:1:1::22 ext-community rt 64514:5 +allow to 2001:db8:1:1::22 large-community 999:64514:5 + + +# announce_to_peers_with_rtt_higher_than 10 ms +allow to 2001:db8:1:1::22 community 64514:10 +allow to 2001:db8:1:1::22 ext-community rt 64514:10 +allow to 2001:db8:1:1::22 large-community 999:64514:10 + + +# announce_to_peers_with_rtt_higher_than 15 ms +allow to 2001:db8:1:1::22 community 64514:15 +allow to 2001:db8:1:1::22 ext-community rt 64514:15 +allow to 2001:db8:1:1::22 large-community 999:64514:15 + + +# announce_to_peers_with_rtt_higher_than 20 ms +allow to 2001:db8:1:1::22 community 64514:20 +allow to 2001:db8:1:1::22 ext-community rt 64514:20 +allow to 2001:db8:1:1::22 large-community 999:64514:20 + + +# announce_to_peers_with_rtt_higher_than 30 ms +allow to 2001:db8:1:1::22 community 64514:30 +allow to 2001:db8:1:1::22 ext-community rt 64514:30 +allow to 2001:db8:1:1::22 large-community 999:64514:30 + + +# announce_to_peers_with_rtt_higher_than 50 ms +allow to 2001:db8:1:1::22 community 64514:50 +allow to 2001:db8:1:1::22 ext-community rt 64514:50 +allow to 2001:db8:1:1::22 large-community 999:64514:50 + + +# announce_to_peers_with_rtt_higher_than 100 ms +allow to 2001:db8:1:1::22 community 64514:100 +allow to 2001:db8:1:1::22 ext-community rt 64514:100 +allow to 2001:db8:1:1::22 large-community 999:64514:100 + + +# announce_to_peers_with_rtt_higher_than 200 ms +allow to 2001:db8:1:1::22 community 64514:200 +allow to 2001:db8:1:1::22 ext-community rt 64514:200 +allow to 2001:db8:1:1::22 large-community 999:64514:200 + + +# announce_to_peer +allow to 2001:db8:1:1::22 community 999:10745 +allow to 2001:db8:1:1::22 ext-community rt 999:10745 +allow to 2001:db8:1:1::22 large-community 999:999:10745 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 65504:10745 set prepend-neighbor 1 +match to 2001:db8:1:1::22 ext-community rt 65504:10745 set prepend-neighbor 1 +match to 2001:db8:1:1::22 large-community 999:65504:10745 set prepend-neighbor 1 + +match to 2001:db8:1:1::22 community 65504:10745 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 65504:10745 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:65504:10745 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 65505:10745 set prepend-neighbor 2 +match to 2001:db8:1:1::22 ext-community rt 65505:10745 set prepend-neighbor 2 +match to 2001:db8:1:1::22 large-community 999:65505:10745 set prepend-neighbor 2 + +match to 2001:db8:1:1::22 community 65505:10745 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 65505:10745 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:65505:10745 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 65506:10745 set prepend-neighbor 3 +match to 2001:db8:1:1::22 ext-community rt 65506:10745 set prepend-neighbor 3 +match to 2001:db8:1:1::22 large-community 999:65506:10745 set prepend-neighbor 3 + +match to 2001:db8:1:1::22 community 65506:10745 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 65506:10745 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:65506:10745 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + + +# prepend_once_to_peers_with_rtt_higher_than 200 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64518:200 set prepend-neighbor 1 +match to 2001:db8:1:1::22 ext-community rt 64518:200 set prepend-neighbor 1 +match to 2001:db8:1:1::22 large-community 999:64518:200 set prepend-neighbor 1 + + +match to 2001:db8:1:1::22 community 64518:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64518:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64518:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 200 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64519:200 set prepend-neighbor 2 +match to 2001:db8:1:1::22 ext-community rt 64519:200 set prepend-neighbor 2 +match to 2001:db8:1:1::22 large-community 999:64519:200 set prepend-neighbor 2 + + +match to 2001:db8:1:1::22 community 64519:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64519:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64519:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 200 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64520:200 set prepend-neighbor 3 +match to 2001:db8:1:1::22 ext-community rt 64520:200 set prepend-neighbor 3 +match to 2001:db8:1:1::22 large-community 999:64520:200 set prepend-neighbor 3 + + +match to 2001:db8:1:1::22 community 64520:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64520:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64520:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_higher_than 100 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64518:100 set prepend-neighbor 1 +match to 2001:db8:1:1::22 ext-community rt 64518:100 set prepend-neighbor 1 +match to 2001:db8:1:1::22 large-community 999:64518:100 set prepend-neighbor 1 + + +match to 2001:db8:1:1::22 community 64518:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64518:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64518:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 100 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64519:100 set prepend-neighbor 2 +match to 2001:db8:1:1::22 ext-community rt 64519:100 set prepend-neighbor 2 +match to 2001:db8:1:1::22 large-community 999:64519:100 set prepend-neighbor 2 + + +match to 2001:db8:1:1::22 community 64519:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64519:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64519:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 100 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64520:100 set prepend-neighbor 3 +match to 2001:db8:1:1::22 ext-community rt 64520:100 set prepend-neighbor 3 +match to 2001:db8:1:1::22 large-community 999:64520:100 set prepend-neighbor 3 + + +match to 2001:db8:1:1::22 community 64520:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64520:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64520:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_higher_than 50 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64518:50 set prepend-neighbor 1 +match to 2001:db8:1:1::22 ext-community rt 64518:50 set prepend-neighbor 1 +match to 2001:db8:1:1::22 large-community 999:64518:50 set prepend-neighbor 1 + + +match to 2001:db8:1:1::22 community 64518:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64518:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64518:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 50 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64519:50 set prepend-neighbor 2 +match to 2001:db8:1:1::22 ext-community rt 64519:50 set prepend-neighbor 2 +match to 2001:db8:1:1::22 large-community 999:64519:50 set prepend-neighbor 2 + + +match to 2001:db8:1:1::22 community 64519:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64519:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64519:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 50 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64520:50 set prepend-neighbor 3 +match to 2001:db8:1:1::22 ext-community rt 64520:50 set prepend-neighbor 3 +match to 2001:db8:1:1::22 large-community 999:64520:50 set prepend-neighbor 3 + + +match to 2001:db8:1:1::22 community 64520:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64520:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64520:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_higher_than 30 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64518:30 set prepend-neighbor 1 +match to 2001:db8:1:1::22 ext-community rt 64518:30 set prepend-neighbor 1 +match to 2001:db8:1:1::22 large-community 999:64518:30 set prepend-neighbor 1 + + +match to 2001:db8:1:1::22 community 64518:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64518:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64518:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 30 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64519:30 set prepend-neighbor 2 +match to 2001:db8:1:1::22 ext-community rt 64519:30 set prepend-neighbor 2 +match to 2001:db8:1:1::22 large-community 999:64519:30 set prepend-neighbor 2 + + +match to 2001:db8:1:1::22 community 64519:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64519:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64519:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 30 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64520:30 set prepend-neighbor 3 +match to 2001:db8:1:1::22 ext-community rt 64520:30 set prepend-neighbor 3 +match to 2001:db8:1:1::22 large-community 999:64520:30 set prepend-neighbor 3 + + +match to 2001:db8:1:1::22 community 64520:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64520:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64520:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_higher_than 20 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64518:20 set prepend-neighbor 1 +match to 2001:db8:1:1::22 ext-community rt 64518:20 set prepend-neighbor 1 +match to 2001:db8:1:1::22 large-community 999:64518:20 set prepend-neighbor 1 + + +match to 2001:db8:1:1::22 community 64518:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64518:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64518:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 20 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64519:20 set prepend-neighbor 2 +match to 2001:db8:1:1::22 ext-community rt 64519:20 set prepend-neighbor 2 +match to 2001:db8:1:1::22 large-community 999:64519:20 set prepend-neighbor 2 + + +match to 2001:db8:1:1::22 community 64519:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64519:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64519:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 20 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64520:20 set prepend-neighbor 3 +match to 2001:db8:1:1::22 ext-community rt 64520:20 set prepend-neighbor 3 +match to 2001:db8:1:1::22 large-community 999:64520:20 set prepend-neighbor 3 + + +match to 2001:db8:1:1::22 community 64520:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64520:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64520:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_higher_than 15 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64518:15 set prepend-neighbor 1 +match to 2001:db8:1:1::22 ext-community rt 64518:15 set prepend-neighbor 1 +match to 2001:db8:1:1::22 large-community 999:64518:15 set prepend-neighbor 1 + + +match to 2001:db8:1:1::22 community 64518:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64518:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64518:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 15 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64519:15 set prepend-neighbor 2 +match to 2001:db8:1:1::22 ext-community rt 64519:15 set prepend-neighbor 2 +match to 2001:db8:1:1::22 large-community 999:64519:15 set prepend-neighbor 2 + + +match to 2001:db8:1:1::22 community 64519:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64519:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64519:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 15 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64520:15 set prepend-neighbor 3 +match to 2001:db8:1:1::22 ext-community rt 64520:15 set prepend-neighbor 3 +match to 2001:db8:1:1::22 large-community 999:64520:15 set prepend-neighbor 3 + + +match to 2001:db8:1:1::22 community 64520:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64520:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64520:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_higher_than 10 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64518:10 set prepend-neighbor 1 +match to 2001:db8:1:1::22 ext-community rt 64518:10 set prepend-neighbor 1 +match to 2001:db8:1:1::22 large-community 999:64518:10 set prepend-neighbor 1 + + +match to 2001:db8:1:1::22 community 64518:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64518:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64518:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 10 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64519:10 set prepend-neighbor 2 +match to 2001:db8:1:1::22 ext-community rt 64519:10 set prepend-neighbor 2 +match to 2001:db8:1:1::22 large-community 999:64519:10 set prepend-neighbor 2 + + +match to 2001:db8:1:1::22 community 64519:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64519:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64519:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 10 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64520:10 set prepend-neighbor 3 +match to 2001:db8:1:1::22 ext-community rt 64520:10 set prepend-neighbor 3 +match to 2001:db8:1:1::22 large-community 999:64520:10 set prepend-neighbor 3 + + +match to 2001:db8:1:1::22 community 64520:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64520:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64520:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_higher_than 5 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64518:5 set prepend-neighbor 1 +match to 2001:db8:1:1::22 ext-community rt 64518:5 set prepend-neighbor 1 +match to 2001:db8:1:1::22 large-community 999:64518:5 set prepend-neighbor 1 + + +match to 2001:db8:1:1::22 community 64518:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64518:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64518:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 5 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64519:5 set prepend-neighbor 2 +match to 2001:db8:1:1::22 ext-community rt 64519:5 set prepend-neighbor 2 +match to 2001:db8:1:1::22 large-community 999:64519:5 set prepend-neighbor 2 + + +match to 2001:db8:1:1::22 community 64519:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64519:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64519:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 5 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64520:5 set prepend-neighbor 3 +match to 2001:db8:1:1::22 ext-community rt 64520:5 set prepend-neighbor 3 +match to 2001:db8:1:1::22 large-community 999:64520:5 set prepend-neighbor 3 + + +match to 2001:db8:1:1::22 community 64520:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64520:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64520:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64515:500 set prepend-neighbor 1 +match to 2001:db8:1:1::22 ext-community rt 64515:500 set prepend-neighbor 1 +match to 2001:db8:1:1::22 large-community 999:64515:500 set prepend-neighbor 1 + + +match to 2001:db8:1:1::22 community 64515:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64515:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64515:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64516:500 set prepend-neighbor 2 +match to 2001:db8:1:1::22 ext-community rt 64516:500 set prepend-neighbor 2 +match to 2001:db8:1:1::22 large-community 999:64516:500 set prepend-neighbor 2 + + +match to 2001:db8:1:1::22 community 64516:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64516:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64516:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 64517:500 set prepend-neighbor 3 +match to 2001:db8:1:1::22 ext-community rt 64517:500 set prepend-neighbor 3 +match to 2001:db8:1:1::22 large-community 999:64517:500 set prepend-neighbor 3 + + +match to 2001:db8:1:1::22 community 64517:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 64517:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:64517:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 65501:999 set prepend-neighbor 1 +match to 2001:db8:1:1::22 ext-community rt 65501:999 set prepend-neighbor 1 +match to 2001:db8:1:1::22 large-community 999:65501:999 set prepend-neighbor 1 + +match to 2001:db8:1:1::22 community 65501:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 65501:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:65501:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 65502:999 set prepend-neighbor 2 +match to 2001:db8:1:1::22 ext-community rt 65502:999 set prepend-neighbor 2 +match to 2001:db8:1:1::22 large-community 999:65502:999 set prepend-neighbor 2 + +match to 2001:db8:1:1::22 community 65502:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 65502:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:65502:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::22 community 65503:999 set prepend-neighbor 3 +match to 2001:db8:1:1::22 ext-community rt 65503:999 set prepend-neighbor 3 +match to 2001:db8:1:1::22 large-community 999:65503:999 set prepend-neighbor 3 + +match to 2001:db8:1:1::22 community 65503:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 ext-community rt 65503:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 2001:db8:1:1::22 large-community 999:65503:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:10745 ext-community delete rt 65504:10745 large-community delete 999:65504:10745 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:10745 ext-community delete rt 65506:10745 large-community delete 999:65506:10745 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:10745 ext-community delete rt 65505:10745 large-community delete 999:65505:10745 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + + + +# --------------------------------------------- +# client AS3333_1, inbound + + +# Attach custom BGP communities +# from_europe +match from 192.0.2.11 set community 65534:1 +match from 192.0.2.11 set ext-community rt 65534:1 +match from 192.0.2.11 set large-community 999:65534:1 + +# NEXT_HOP +match from 192.0.2.11 set community NO_ADVERTISE +match from 192.0.2.11 nexthop 192.0.2.11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.11 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.11 peer-as != 3333' - reject code: 6 +allow quick from 192.0.2.11 peer-as != 3333 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.11 AS 23456' - reject code: 7 +allow quick from 192.0.2.11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 192.0.2.11 AS { 174, 701, 1299, 2914, 3257, 3320, 3356, 5511, 6453, 6461, 6762, 6830, 7018, 12956 }' - reject code: 8 +allow quick from 192.0.2.11 AS { 174, 701, 1299, 2914, 3257, 3320, 3356, 5511, 6453, 6461, 6762, 6830, 7018, 12956 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 192.0.2.11 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 7862, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30967, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39527, 39967, 46450, 48237, 48265, 48408, 51095, 52946, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 136106, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 211358, 212706, 212953, 213202, 213252, 262191, 262311, 262888, 263258, 263328, 263686, 263856, 263945, 263980, 264212, 264424, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 269906, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328445, 328572, 328582, 328748, 393573, 393684, 396477, 399338 }' - reject code: 15 +allow quick from 192.0.2.11 AS { 174, 680, 714, 1273, 1299, 1955, 2914, 3292, 3320, 3491, 3630, 3754, 5511, 6079, 6805, 6830, 6908, 7155, 7195, 7843, 7862, 8075, 8365, 8412, 8455, 8607, 8943, 11164, 11260, 11670, 12322, 12822, 13030, 14295, 15692, 17451, 18520, 19151, 20115, 27947, 29169, 30967, 30983, 34108, 34209, 36062, 36165, 36459, 37271, 38713, 39326, 39527, 39967, 46450, 48237, 48265, 48408, 51095, 52946, 52973, 53859, 54295, 57468, 57866, 58768, 60412, 62164, 62567, 62623, 63290, 131398, 132996, 133317, 134022, 134041, 135848, 136106, 138023, 138077, 138769, 138953, 140287, 141120, 141321, 141411, 141892, 202561, 202793, 207353, 207484, 209699, 211358, 212706, 212953, 213202, 213252, 262191, 262311, 262888, 263258, 263328, 263686, 263856, 263945, 263980, 264212, 264424, 265336, 265630, 267214, 267373, 267442, 268091, 268872, 269156, 269287, 269367, 269535, 269574, 269654, 269906, 270407, 270544, 270653, 270781, 270828, 271053, 271172, 271203, 328445, 328572, 328582, 328748, 393573, 393684, 396477, 399338 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + + +match from 192.0.2.11 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS3333_1, AS3333: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.11 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.11 source-as as-set AS_SET_AS3333_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS3333 +# AS-SET AS_RIPENCC referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_KO set community 65530:0 +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_KO set large-community 999:65530:0 +# adding present_in_as_set community to authorized routes +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK set community 65530:1 +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK set large-community 999:65530:1 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS3333_1, AS3333: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.11 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.11 prefix-set AS_SET_AS3333_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS3333 +# AS-SET AS_RIPENCC referenced but empty. + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 65530:2 +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:65530:2 + +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set community 65530:4 +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set large-community 999:65530:4 + +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + + + +# enforcing: origin ASN +# Reject inbound routes when 'from 192.0.2.11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 192.0.2.11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 192.0.2.11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 192.0.2.11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + +# Blackhole request? +match from 192.0.2.11 set ext-community delete rt 65520:3333 + + +# Remove internal communities before accepting the route +match from 192.0.2.11 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.11 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.11 large-community 999:666:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 192.0.2.11 community BLACKHOLE +allow quick from 192.0.2.11 community 65534:0 +allow quick from 192.0.2.11 large-community 999:666:0 + + +match from 192.0.2.11 set ext-community rt 65520:3333 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 192.0.2.11 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 192.0.2.11 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 192.0.2.11 community GRACEFUL_SHUTDOWN set localpref 0 + +# Remove internal communities before accepting the route +match from 192.0.2.11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.11 set ext-community delete rt 65520:3333 + + + +allow quick from 192.0.2.11 + + + +# --------------------------------------------- +# client AS3333_1, outbound + +deny quick to 192.0.2.11 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 192.0.2.11 community 65534:0 set community BLACKHOLE +match to 192.0.2.11 large-community 999:666:0 set community BLACKHOLE + +match to 192.0.2.11 community BLACKHOLE set community NO_EXPORT +match to 192.0.2.11 community BLACKHOLE set nexthop 192.0.2.66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 192.0.2.11 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 192.0.2.11 community 65507:999 set community NO_EXPORT +match to 192.0.2.11 ext-community rt 65507:999 set community NO_EXPORT +match to 192.0.2.11 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 192.0.2.11 community 65508:999 set community NO_ADVERTISE +match to 192.0.2.11 ext-community rt 65508:999 set community NO_ADVERTISE +match to 192.0.2.11 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 192.0.2.11 community 65509:3333 set community NO_EXPORT +match to 192.0.2.11 ext-community rt 65509:3333 set community NO_EXPORT +match to 192.0.2.11 large-community 999:65509:3333 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 192.0.2.11 community 65510:3333 set community NO_ADVERTISE +match to 192.0.2.11 ext-community rt 65510:3333 set community NO_ADVERTISE +match to 192.0.2.11 large-community 999:65510:3333 set community NO_ADVERTISE + + +# BGP control communities +allow to 192.0.2.11 + +# do_not_announce_to_any +deny to 192.0.2.11 community 0:999 +deny to 192.0.2.11 ext-community rt 0:999 +deny to 192.0.2.11 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 192.0.2.11 community 0:3333 +deny quick to 192.0.2.11 ext-community rt 0:3333 +deny quick to 192.0.2.11 large-community 999:0:3333 + +# do_not_announce_to_peers_with_rtt_lower_than 200 ms +deny to 192.0.2.11 community 64511:200 +deny to 192.0.2.11 ext-community rt 64511:200 +deny to 192.0.2.11 large-community 999:64511:200 + + +# do_not_announce_to_peers_with_rtt_lower_than 500 ms +deny to 192.0.2.11 community 64511:500 +deny to 192.0.2.11 ext-community rt 64511:500 +deny to 192.0.2.11 large-community 999:64511:500 + + +# announce_to_peers_with_rtt_lower_than 200 ms +allow to 192.0.2.11 community 64513:200 +allow to 192.0.2.11 ext-community rt 64513:200 +allow to 192.0.2.11 large-community 999:64513:200 + + +# announce_to_peers_with_rtt_lower_than 500 ms +allow to 192.0.2.11 community 64513:500 +allow to 192.0.2.11 ext-community rt 64513:500 +allow to 192.0.2.11 large-community 999:64513:500 + + +# do_not_announce_to_peers_with_rtt_higher_than 5 ms +deny to 192.0.2.11 community 64512:5 +deny to 192.0.2.11 ext-community rt 64512:5 +deny to 192.0.2.11 large-community 999:64512:5 + + +# do_not_announce_to_peers_with_rtt_higher_than 10 ms +deny to 192.0.2.11 community 64512:10 +deny to 192.0.2.11 ext-community rt 64512:10 +deny to 192.0.2.11 large-community 999:64512:10 + + +# do_not_announce_to_peers_with_rtt_higher_than 15 ms +deny to 192.0.2.11 community 64512:15 +deny to 192.0.2.11 ext-community rt 64512:15 +deny to 192.0.2.11 large-community 999:64512:15 + + +# do_not_announce_to_peers_with_rtt_higher_than 20 ms +deny to 192.0.2.11 community 64512:20 +deny to 192.0.2.11 ext-community rt 64512:20 +deny to 192.0.2.11 large-community 999:64512:20 + + +# do_not_announce_to_peers_with_rtt_higher_than 30 ms +deny to 192.0.2.11 community 64512:30 +deny to 192.0.2.11 ext-community rt 64512:30 +deny to 192.0.2.11 large-community 999:64512:30 + + +# do_not_announce_to_peers_with_rtt_higher_than 50 ms +deny to 192.0.2.11 community 64512:50 +deny to 192.0.2.11 ext-community rt 64512:50 +deny to 192.0.2.11 large-community 999:64512:50 + + +# do_not_announce_to_peers_with_rtt_higher_than 100 ms +deny to 192.0.2.11 community 64512:100 +deny to 192.0.2.11 ext-community rt 64512:100 +deny to 192.0.2.11 large-community 999:64512:100 + + +# announce_to_peers_with_rtt_higher_than 5 ms +allow to 192.0.2.11 community 64514:5 +allow to 192.0.2.11 ext-community rt 64514:5 +allow to 192.0.2.11 large-community 999:64514:5 + + +# announce_to_peers_with_rtt_higher_than 10 ms +allow to 192.0.2.11 community 64514:10 +allow to 192.0.2.11 ext-community rt 64514:10 +allow to 192.0.2.11 large-community 999:64514:10 + + +# announce_to_peers_with_rtt_higher_than 15 ms +allow to 192.0.2.11 community 64514:15 +allow to 192.0.2.11 ext-community rt 64514:15 +allow to 192.0.2.11 large-community 999:64514:15 + + +# announce_to_peers_with_rtt_higher_than 20 ms +allow to 192.0.2.11 community 64514:20 +allow to 192.0.2.11 ext-community rt 64514:20 +allow to 192.0.2.11 large-community 999:64514:20 + + +# announce_to_peers_with_rtt_higher_than 30 ms +allow to 192.0.2.11 community 64514:30 +allow to 192.0.2.11 ext-community rt 64514:30 +allow to 192.0.2.11 large-community 999:64514:30 + + +# announce_to_peers_with_rtt_higher_than 50 ms +allow to 192.0.2.11 community 64514:50 +allow to 192.0.2.11 ext-community rt 64514:50 +allow to 192.0.2.11 large-community 999:64514:50 + + +# announce_to_peers_with_rtt_higher_than 100 ms +allow to 192.0.2.11 community 64514:100 +allow to 192.0.2.11 ext-community rt 64514:100 +allow to 192.0.2.11 large-community 999:64514:100 + + +# announce_to_peer +allow to 192.0.2.11 community 999:3333 +allow to 192.0.2.11 ext-community rt 999:3333 +allow to 192.0.2.11 large-community 999:999:3333 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 65504:3333 set prepend-neighbor 1 +match to 192.0.2.11 ext-community rt 65504:3333 set prepend-neighbor 1 +match to 192.0.2.11 large-community 999:65504:3333 set prepend-neighbor 1 + +match to 192.0.2.11 community 65504:3333 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 65504:3333 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:65504:3333 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 65505:3333 set prepend-neighbor 2 +match to 192.0.2.11 ext-community rt 65505:3333 set prepend-neighbor 2 +match to 192.0.2.11 large-community 999:65505:3333 set prepend-neighbor 2 + +match to 192.0.2.11 community 65505:3333 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 65505:3333 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:65505:3333 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 65506:3333 set prepend-neighbor 3 +match to 192.0.2.11 ext-community rt 65506:3333 set prepend-neighbor 3 +match to 192.0.2.11 large-community 999:65506:3333 set prepend-neighbor 3 + +match to 192.0.2.11 community 65506:3333 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 65506:3333 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:65506:3333 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + + +# prepend_once_to_peers_with_rtt_higher_than 100 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64518:100 set prepend-neighbor 1 +match to 192.0.2.11 ext-community rt 64518:100 set prepend-neighbor 1 +match to 192.0.2.11 large-community 999:64518:100 set prepend-neighbor 1 + + +match to 192.0.2.11 community 64518:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64518:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64518:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 100 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64519:100 set prepend-neighbor 2 +match to 192.0.2.11 ext-community rt 64519:100 set prepend-neighbor 2 +match to 192.0.2.11 large-community 999:64519:100 set prepend-neighbor 2 + + +match to 192.0.2.11 community 64519:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64519:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64519:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 100 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64520:100 set prepend-neighbor 3 +match to 192.0.2.11 ext-community rt 64520:100 set prepend-neighbor 3 +match to 192.0.2.11 large-community 999:64520:100 set prepend-neighbor 3 + + +match to 192.0.2.11 community 64520:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64520:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64520:100 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_higher_than 50 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64518:50 set prepend-neighbor 1 +match to 192.0.2.11 ext-community rt 64518:50 set prepend-neighbor 1 +match to 192.0.2.11 large-community 999:64518:50 set prepend-neighbor 1 + + +match to 192.0.2.11 community 64518:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64518:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64518:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 50 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64519:50 set prepend-neighbor 2 +match to 192.0.2.11 ext-community rt 64519:50 set prepend-neighbor 2 +match to 192.0.2.11 large-community 999:64519:50 set prepend-neighbor 2 + + +match to 192.0.2.11 community 64519:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64519:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64519:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 50 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64520:50 set prepend-neighbor 3 +match to 192.0.2.11 ext-community rt 64520:50 set prepend-neighbor 3 +match to 192.0.2.11 large-community 999:64520:50 set prepend-neighbor 3 + + +match to 192.0.2.11 community 64520:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64520:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64520:50 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_higher_than 30 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64518:30 set prepend-neighbor 1 +match to 192.0.2.11 ext-community rt 64518:30 set prepend-neighbor 1 +match to 192.0.2.11 large-community 999:64518:30 set prepend-neighbor 1 + + +match to 192.0.2.11 community 64518:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64518:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64518:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 30 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64519:30 set prepend-neighbor 2 +match to 192.0.2.11 ext-community rt 64519:30 set prepend-neighbor 2 +match to 192.0.2.11 large-community 999:64519:30 set prepend-neighbor 2 + + +match to 192.0.2.11 community 64519:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64519:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64519:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 30 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64520:30 set prepend-neighbor 3 +match to 192.0.2.11 ext-community rt 64520:30 set prepend-neighbor 3 +match to 192.0.2.11 large-community 999:64520:30 set prepend-neighbor 3 + + +match to 192.0.2.11 community 64520:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64520:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64520:30 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_higher_than 20 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64518:20 set prepend-neighbor 1 +match to 192.0.2.11 ext-community rt 64518:20 set prepend-neighbor 1 +match to 192.0.2.11 large-community 999:64518:20 set prepend-neighbor 1 + + +match to 192.0.2.11 community 64518:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64518:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64518:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 20 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64519:20 set prepend-neighbor 2 +match to 192.0.2.11 ext-community rt 64519:20 set prepend-neighbor 2 +match to 192.0.2.11 large-community 999:64519:20 set prepend-neighbor 2 + + +match to 192.0.2.11 community 64519:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64519:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64519:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 20 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64520:20 set prepend-neighbor 3 +match to 192.0.2.11 ext-community rt 64520:20 set prepend-neighbor 3 +match to 192.0.2.11 large-community 999:64520:20 set prepend-neighbor 3 + + +match to 192.0.2.11 community 64520:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64520:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64520:20 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_higher_than 15 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64518:15 set prepend-neighbor 1 +match to 192.0.2.11 ext-community rt 64518:15 set prepend-neighbor 1 +match to 192.0.2.11 large-community 999:64518:15 set prepend-neighbor 1 + + +match to 192.0.2.11 community 64518:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64518:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64518:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 15 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64519:15 set prepend-neighbor 2 +match to 192.0.2.11 ext-community rt 64519:15 set prepend-neighbor 2 +match to 192.0.2.11 large-community 999:64519:15 set prepend-neighbor 2 + + +match to 192.0.2.11 community 64519:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64519:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64519:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 15 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64520:15 set prepend-neighbor 3 +match to 192.0.2.11 ext-community rt 64520:15 set prepend-neighbor 3 +match to 192.0.2.11 large-community 999:64520:15 set prepend-neighbor 3 + + +match to 192.0.2.11 community 64520:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64520:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64520:15 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_higher_than 10 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64518:10 set prepend-neighbor 1 +match to 192.0.2.11 ext-community rt 64518:10 set prepend-neighbor 1 +match to 192.0.2.11 large-community 999:64518:10 set prepend-neighbor 1 + + +match to 192.0.2.11 community 64518:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64518:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64518:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 10 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64519:10 set prepend-neighbor 2 +match to 192.0.2.11 ext-community rt 64519:10 set prepend-neighbor 2 +match to 192.0.2.11 large-community 999:64519:10 set prepend-neighbor 2 + + +match to 192.0.2.11 community 64519:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64519:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64519:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 10 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64520:10 set prepend-neighbor 3 +match to 192.0.2.11 ext-community rt 64520:10 set prepend-neighbor 3 +match to 192.0.2.11 large-community 999:64520:10 set prepend-neighbor 3 + + +match to 192.0.2.11 community 64520:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64520:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64520:10 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_higher_than 5 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64518:5 set prepend-neighbor 1 +match to 192.0.2.11 ext-community rt 64518:5 set prepend-neighbor 1 +match to 192.0.2.11 large-community 999:64518:5 set prepend-neighbor 1 + + +match to 192.0.2.11 community 64518:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64518:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64518:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_higher_than 5 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64519:5 set prepend-neighbor 2 +match to 192.0.2.11 ext-community rt 64519:5 set prepend-neighbor 2 +match to 192.0.2.11 large-community 999:64519:5 set prepend-neighbor 2 + + +match to 192.0.2.11 community 64519:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64519:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64519:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_higher_than 5 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64520:5 set prepend-neighbor 3 +match to 192.0.2.11 ext-community rt 64520:5 set prepend-neighbor 3 +match to 192.0.2.11 large-community 999:64520:5 set prepend-neighbor 3 + + +match to 192.0.2.11 community 64520:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64520:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64520:5 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_lower_than 200 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64515:200 set prepend-neighbor 1 +match to 192.0.2.11 ext-community rt 64515:200 set prepend-neighbor 1 +match to 192.0.2.11 large-community 999:64515:200 set prepend-neighbor 1 + + +match to 192.0.2.11 community 64515:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64515:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64515:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 200 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64516:200 set prepend-neighbor 2 +match to 192.0.2.11 ext-community rt 64516:200 set prepend-neighbor 2 +match to 192.0.2.11 large-community 999:64516:200 set prepend-neighbor 2 + + +match to 192.0.2.11 community 64516:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64516:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64516:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 200 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64517:200 set prepend-neighbor 3 +match to 192.0.2.11 ext-community rt 64517:200 set prepend-neighbor 3 +match to 192.0.2.11 large-community 999:64517:200 set prepend-neighbor 3 + + +match to 192.0.2.11 community 64517:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64517:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64517:200 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_once_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64515:500 set prepend-neighbor 1 +match to 192.0.2.11 ext-community rt 64515:500 set prepend-neighbor 1 +match to 192.0.2.11 large-community 999:64515:500 set prepend-neighbor 1 + + +match to 192.0.2.11 community 64515:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64515:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64515:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64516:500 set prepend-neighbor 2 +match to 192.0.2.11 ext-community rt 64516:500 set prepend-neighbor 2 +match to 192.0.2.11 large-community 999:64516:500 set prepend-neighbor 2 + + +match to 192.0.2.11 community 64516:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64516:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64516:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_peers_with_rtt_lower_than 500 ms; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 64517:500 set prepend-neighbor 3 +match to 192.0.2.11 ext-community rt 64517:500 set prepend-neighbor 3 +match to 192.0.2.11 large-community 999:64517:500 set prepend-neighbor 3 + + +match to 192.0.2.11 community 64517:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 64517:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:64517:500 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 65501:999 set prepend-neighbor 1 +match to 192.0.2.11 ext-community rt 65501:999 set prepend-neighbor 1 +match to 192.0.2.11 large-community 999:65501:999 set prepend-neighbor 1 + +match to 192.0.2.11 community 65501:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 65501:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:65501:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 65502:999 set prepend-neighbor 2 +match to 192.0.2.11 ext-community rt 65502:999 set prepend-neighbor 2 +match to 192.0.2.11 large-community 999:65502:999 set prepend-neighbor 2 + +match to 192.0.2.11 community 65502:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 65502:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:65502:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 65503:999 set prepend-neighbor 3 +match to 192.0.2.11 ext-community rt 65503:999 set prepend-neighbor 3 +match to 192.0.2.11 large-community 999:65503:999 set prepend-neighbor 3 + +match to 192.0.2.11 community 65503:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 ext-community rt 65503:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } +match to 192.0.2.11 large-community 999:65503:999 set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 community delete 65504:3333 ext-community delete rt 65504:3333 large-community delete 999:65504:3333 community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 community delete 65506:3333 ext-community delete rt 65506:3333 large-community delete 999:65506:3333 community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 community delete 65505:3333 ext-community delete rt 65505:3333 large-community delete 999:65505:3333 community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + + + + + +# Scrub communities from outbound routes +# add_noadvertise_to_any +match to group clients set community delete 65508:999 +match to group clients set ext-community delete rt 65508:999 +match to group clients set large-community delete 999:65508:999 + +# add_noadvertise_to_peer +match to group clients set community delete 65510:* +# Warning: rt:65510:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:65510:* + +# add_noexport_to_any +match to group clients set community delete 65507:999 +match to group clients set ext-community delete rt 65507:999 +match to group clients set large-community delete 999:65507:999 + +# add_noexport_to_peer +match to group clients set community delete 65509:* +# Warning: rt:65509:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:65509:* + +# announce_to_peer +match to group clients set community delete 999:* +# Warning: rt:999:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:999:* + +# announce_to_peers_with_rtt_higher_than +match to group clients set community delete 64514:* +# Warning: rt:64514:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64514:* + +# announce_to_peers_with_rtt_lower_than +match to group clients set community delete 64513:* +# Warning: rt:64513:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64513:* + +# blackholing +match to group clients set community delete 65534:0 +match to group clients set large-community delete 999:666:0 + +# do_not_announce_to_any +match to group clients set community delete 0:999 +match to group clients set ext-community delete rt 0:999 +match to group clients set large-community delete 999:0:999 + +# do_not_announce_to_peer +match to group clients set community delete 0:* +# Warning: rt:0:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:0:* + +# do_not_announce_to_peers_with_rtt_higher_than +match to group clients set community delete 64512:* +# Warning: rt:64512:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64512:* + +# do_not_announce_to_peers_with_rtt_lower_than +match to group clients set community delete 64511:* +# Warning: rt:64511:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64511:* + +# prepend_once_to_any +match to group clients set community delete 65501:999 +match to group clients set ext-community delete rt 65501:999 +match to group clients set large-community delete 999:65501:999 + +# prepend_once_to_peer +match to group clients set community delete 65504:* +# Warning: rt:65504:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:65504:* + +# prepend_once_to_peers_with_rtt_higher_than +match to group clients set community delete 64518:* +# Warning: rt:64518:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64518:* + +# prepend_once_to_peers_with_rtt_lower_than +match to group clients set community delete 64515:* +# Warning: rt:64515:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64515:* + +# prepend_thrice_to_any +match to group clients set community delete 65503:999 +match to group clients set ext-community delete rt 65503:999 +match to group clients set large-community delete 999:65503:999 + +# prepend_thrice_to_peer +match to group clients set community delete 65506:* +# Warning: rt:65506:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:65506:* + +# prepend_thrice_to_peers_with_rtt_higher_than +match to group clients set community delete 64520:* +# Warning: rt:64520:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64520:* + +# prepend_thrice_to_peers_with_rtt_lower_than +match to group clients set community delete 64517:* +# Warning: rt:64517:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64517:* + +# prepend_twice_to_any +match to group clients set community delete 65502:999 +match to group clients set ext-community delete rt 65502:999 +match to group clients set large-community delete 999:65502:999 + +# prepend_twice_to_peer +match to group clients set community delete 65505:* +# Warning: rt:65505:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:65505:* + +# prepend_twice_to_peers_with_rtt_higher_than +match to group clients set community delete 64519:* +# Warning: rt:64519:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64519:* + +# prepend_twice_to_peers_with_rtt_lower_than +match to group clients set community delete 64516:* +# Warning: rt:64516:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64516:* + + +# Scrub prepending communities +match to group clients set { community delete 65501:999 ext-community delete rt 65501:999 large-community delete 999:65501:999 } +match to group clients set { community delete 65504:0 ext-community delete rt 65504:0 large-community delete 999:65504:0 } +match to group clients set { community delete 64518:* ext-community delete rt 64518:5 ext-community delete rt 64518:10 ext-community delete rt 64518:15 ext-community delete rt 64518:20 ext-community delete rt 64518:30 ext-community delete rt 64518:50 ext-community delete rt 64518:100 ext-community delete rt 64518:200 ext-community delete rt 64518:500 large-community delete 999:64518:* } +match to group clients set { community delete 64515:* ext-community delete rt 64515:5 ext-community delete rt 64515:10 ext-community delete rt 64515:15 ext-community delete rt 64515:20 ext-community delete rt 64515:30 ext-community delete rt 64515:50 ext-community delete rt 64515:100 ext-community delete rt 64515:200 ext-community delete rt 64515:500 large-community delete 999:64515:* } +match to group clients set { community delete 65503:999 ext-community delete rt 65503:999 large-community delete 999:65503:999 } +match to group clients set { community delete 65506:0 ext-community delete rt 65506:0 large-community delete 999:65506:0 } +match to group clients set { community delete 64520:* ext-community delete rt 64520:5 ext-community delete rt 64520:10 ext-community delete rt 64520:15 ext-community delete rt 64520:20 ext-community delete rt 64520:30 ext-community delete rt 64520:50 ext-community delete rt 64520:100 ext-community delete rt 64520:200 ext-community delete rt 64520:500 large-community delete 999:64520:* } +match to group clients set { community delete 64517:* ext-community delete rt 64517:5 ext-community delete rt 64517:10 ext-community delete rt 64517:15 ext-community delete rt 64517:20 ext-community delete rt 64517:30 ext-community delete rt 64517:50 ext-community delete rt 64517:100 ext-community delete rt 64517:200 ext-community delete rt 64517:500 large-community delete 999:64517:* } +match to group clients set { community delete 65502:999 ext-community delete rt 65502:999 large-community delete 999:65502:999 } +match to group clients set { community delete 65505:0 ext-community delete rt 65505:0 large-community delete 999:65505:0 } +match to group clients set { community delete 64519:* ext-community delete rt 64519:5 ext-community delete rt 64519:10 ext-community delete rt 64519:15 ext-community delete rt 64519:20 ext-community delete rt 64519:30 ext-community delete rt 64519:50 ext-community delete rt 64519:100 ext-community delete rt 64519:200 ext-community delete rt 64519:500 large-community delete 999:64519:* } +match to group clients set { community delete 64516:* ext-community delete rt 64516:5 ext-community delete rt 64516:10 ext-community delete rt 64516:15 ext-community delete rt 64516:20 ext-community delete rt 64516:30 ext-community delete rt 64516:50 ext-community delete rt 64516:100 ext-community delete rt 64516:200 ext-community delete rt 64516:500 large-community delete 999:64516:* } + + +# RFC1997 NO_EXPORT/NO_ADVERTISE received from clients and propagated because of pass-through policy +match to group clients ext-community $INTCOMM_NO_EXPORT set community NO_EXPORT +match to group clients ext-community $INTCOMM_NO_ADVERTISE set community NO_ADVERTISE + +# Remove internal communities before announcing the route +match to group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + diff --git a/tests/live_tests/scenarios/rich_example/routes/RichConfigExampleScenarioOpenBGPD_IPv4/openbgpd69/rs.txt b/tests/live_tests/scenarios/rich_example/routes/RichConfigExampleScenarioOpenBGPD_IPv4/openbgpd69/rs.txt new file mode 100644 index 00000000..e69de29b diff --git a/tests/live_tests/scenarios/rich_example/routes/RichConfigExampleScenarioOpenBGPD_IPv4/openbgpd69p/rs.txt b/tests/live_tests/scenarios/rich_example/routes/RichConfigExampleScenarioOpenBGPD_IPv4/openbgpd69p/rs.txt new file mode 100644 index 00000000..e69de29b diff --git a/tests/live_tests/scenarios/rich_example/routes/RichConfigExampleScenarioOpenBGPD_IPv6/openbgpd69/rs.txt b/tests/live_tests/scenarios/rich_example/routes/RichConfigExampleScenarioOpenBGPD_IPv6/openbgpd69/rs.txt new file mode 100644 index 00000000..e69de29b diff --git a/tests/live_tests/scenarios/bird2_rpki_rtr_example/AS1.j2 b/tests/live_tests/scenarios/rpki_rtr_example/AS1.j2 similarity index 100% rename from tests/live_tests/scenarios/bird2_rpki_rtr_example/AS1.j2 rename to tests/live_tests/scenarios/rpki_rtr_example/AS1.j2 diff --git a/tests/live_tests/scenarios/bird2_rpki_rtr_example/README.rst b/tests/live_tests/scenarios/rpki_rtr_example/README.rst similarity index 67% rename from tests/live_tests/scenarios/bird2_rpki_rtr_example/README.rst rename to tests/live_tests/scenarios/rpki_rtr_example/README.rst index 521b864d..3b65ce77 100644 --- a/tests/live_tests/scenarios/bird2_rpki_rtr_example/README.rst +++ b/tests/live_tests/scenarios/rpki_rtr_example/README.rst @@ -1,9 +1,9 @@ -BIRD v2 RTR protocol -******************** +RTR protocol +************ -A simple BIRD v2 scenario to verify the ``rpki_roas.source`` setting when an external resource must be used to pull ROAs (like an external validator). +A simple scenario to verify the ``rpki_roas.source`` setting when an external resource must be used to pull ROAs (like an external validator). -The files used here are links to those provided within the ``examples/bird2_rpki_rtr`` directory. +The files used here are links to those provided within the ``examples/rpki_rtr`` directory. AS1 announces 193.0.0.0/24 with origin AS 1. @@ -11,4 +11,4 @@ Initially, no RTR sessions are active on the route-server, and the route is acce In a second stage, a validator instance is spun up and connected to the route-server. The local file routinator_local_exceptions.json is used to instruct the RPKI validator to advertise a ROA for 193.0.0.0/21 with origin AS 3333. -Once the RTR session is up, the route-server is checked again to verify that the route from AS1 is no longer accepted and tagged with the RPKI INVALID ext community. +Once the RTR session is up, the route-server is checked again to verify that the route from AS1 is no longer accepted and tagged with the RPKI INVALID ext community (BIRD only). diff --git a/tests/live_tests/scenarios/bird2_rpki_rtr_example/__init__.py b/tests/live_tests/scenarios/rpki_rtr_example/__init__.py similarity index 100% rename from tests/live_tests/scenarios/bird2_rpki_rtr_example/__init__.py rename to tests/live_tests/scenarios/rpki_rtr_example/__init__.py diff --git a/tests/live_tests/scenarios/bird2_rpki_rtr_example/base.py b/tests/live_tests/scenarios/rpki_rtr_example/base.py similarity index 52% rename from tests/live_tests/scenarios/bird2_rpki_rtr_example/base.py rename to tests/live_tests/scenarios/rpki_rtr_example/base.py index 2c20dc00..3abeaa6e 100644 --- a/tests/live_tests/scenarios/bird2_rpki_rtr_example/base.py +++ b/tests/live_tests/scenarios/rpki_rtr_example/base.py @@ -15,38 +15,18 @@ import time -from pierky.arouteserver.builder import BIRDConfigBuilder +from pierky.arouteserver.builder import BIRDConfigBuilder, OpenBGPDConfigBuilder from pierky.arouteserver.tests.live_tests.base import LiveScenario from pierky.arouteserver.tests.live_tests.bird import BIRDInstance +from pierky.arouteserver.tests.live_tests.openbgpd import OpenBGPDInstance, OpenBGPDLatestInstance from pierky.arouteserver.tests.live_tests.routinator import RoutinatorInstance -class BIRD2RPKIRTRScenario(LiveScenario): +class RPKIRTRScenario(LiveScenario): __test__ = False MODULE_PATH = __file__ RS_INSTANCE_CLASS = None CLIENT_INSTANCE_CLASS = None - CONFIG_BUILDER_CLASS = BIRDConfigBuilder - TARGET_VERSION = "2.0.8" - IP_VER = None - - @classmethod - def _setup_rs_instance(cls): - return cls.RS_INSTANCE_CLASS( - "rs", - cls.DATA["rs_IPAddress"], - [ - ( - cls.build_rs_cfg("bird", "main.j2", "rs.conf", cls.IP_VER, - target_version=cls.TARGET_VERSION), - "/etc/bird/bird.conf" - ), - ( - cls.use_static_file("rpki_rtr_config.local"), - "/etc/bird/rpki_rtr_config.local" - ) - ] - ) @classmethod def _setup_instances(cls): @@ -79,10 +59,15 @@ def test_020_sessions_up(self): def test_030_routinator_not_running(self): """{}: route accepted because validator not running""" + if isinstance(self.rs, BIRDInstance): + ext_comm_rpki_unknown = ["generic:0x43000000:0x1"] + else: + ext_comm_rpki_unknown = [] + self.receive_route(self.rs, self.DATA["AS1_1"], self.AS1_1, next_hop=self.AS1_1, as_path="1", std_comms=[], lrg_comms=[], - ext_comms=["generic:0x43000000:0x1"]) + ext_comms=ext_comm_rpki_unknown) def test_040_spin_up_routinator(self): """{}: spin up the validator""" @@ -102,8 +87,49 @@ def test_040_spin_up_routinator(self): time.sleep(10) + def test_050_check_rtr_up(self): + """{}: check the RTR session is up""" + raise NotImplementedError() + + def test_051_route_dropped(self): + """{}: route dropped after spinning the validator up""" + if isinstance(self.rs, BIRDInstance): + ext_comm_rpki_invalid = ["generic:0x43000000:0x2"] + else: + ext_comm_rpki_invalid = [] + + self.rs.clear_cached_routes() + + with self.assertRaisesRegex(AssertionError, "Routes not found."): + self.receive_route(self.rs, self.DATA["AS1_1"]) + + +class RPKIRTRScenarioBIRD(RPKIRTRScenario): + + CONFIG_BUILDER_CLASS = BIRDConfigBuilder + TARGET_VERSION = "2.0.8" + IP_VER = 4 + + @classmethod + def _setup_rs_instance(cls): + return cls.RS_INSTANCE_CLASS( + "rs", + cls.DATA["rs_IPAddress"], + [ + ( + cls.build_rs_cfg("bird", "main.j2", "rs.conf", cls.IP_VER, + target_version=cls.TARGET_VERSION), + "/etc/bird/bird.conf" + ), + ( + cls.use_static_file("rpki_rtr_config.local.BIRD"), + "/etc/bird/rpki_rtr_config.local" + ) + ] + ) + def test_041_restart_bird_rtr(self): - """{}: restart the RTR protocol on BIRD""" + """{}: restart the RTR protocol on BIRD to speed up session establishment""" # This step is done only to speed up the RTR session # establishment, that otherwise would remain down for @@ -114,8 +140,8 @@ def test_041_restart_bird_rtr(self): if "MyValidator1: restarted" not in res: self.fail("RTR restart not successful: {}".format(res)) - def test_042_check_bird_rtr(self): - """{}: check the RTR protocol on BIRD""" + def test_050_check_rtr_up(self): + """{}: check the RTR session is up""" time.sleep(10) res = self.rs.run_cmd("birdc show protocol MyValidator1") @@ -123,12 +149,74 @@ def test_042_check_bird_rtr(self): if "Established" not in res: self.fail("RTR protocol is not Established: {}".format(res)) - def test_050_route_dropped(self): - """{}: route dropped after spinning the validator up""" - self.rs.clear_cached_routes() - self.receive_route(self.rs, self.DATA["AS1_1"], self.AS1_1, - next_hop=self.AS1_1, as_path="1", - std_comms=[], lrg_comms=[], - ext_comms=["generic:0x43000000:0x2"], - filtered=True) +class RPKIRTRScenarioOpenBGPD(RPKIRTRScenario): + + CONFIG_BUILDER_CLASS = OpenBGPDConfigBuilder + + TARGET_VERSION = OpenBGPDLatestInstance.BGP_SPEAKER_VERSION + + @classmethod + def _setup_rs_instance(cls): + return cls.RS_INSTANCE_CLASS( + "rs", + cls.DATA["rs_IPAddress"], + [ + ( + cls.build_rs_cfg("openbgpd", "main.j2", "rs.conf", None, + target_version=cls.TARGET_VERSION), + "/etc/bgpd.conf" + ), + ( + cls.use_static_file("rpki_rtr_config.local.OpenBGPD"), + "/etc/bgpd/rpki_rtr_config.local" + ) + ] + ) + + def test_041_restart_openbgpd(self): + """{}: restart OpenBGPD to speed up RTR session establishment""" + + # This step is done only to speed up the RTR session + # establishment, that otherwise would remain down for + # several minutes before the connection attempt is + # performed. + self.rs.stop() + self.rs.start() + + def test_050_check_rtr_up(self): + """{}: check the RTR session is up""" + time.sleep(10) + + res = self.rs.run_cmd("bgpctl show rtr") + + # RTR neighbor is 192.0.2.10, port 3323 + # Description: MyValidator1 + # Session ID: 46017 Serial #: 0 + # Refresh: 590, Retry: 600, Expire: 7200 + + # RTR RefreshTimer due in 00:09:27 + # RTR ExpireTimer due in 01:59:37 + + if "Session ID:" not in res: + self.fail("RTR protocol is not Established:\n{}".format(res)) + + res = self.rs.run_cmd("bgpctl show set") + + # arouteserver69# bgpctl show set + # Type Name #IPv4 #IPv6 #ASnum Last Change + # ROA RPKI ROA 1 1 - 00:00:06 + # PREFIX bogons 13 29 - 00:00:06 + + lines = res.splitlines() + for line in lines: + if line.startswith("ROA "): + parts = line.split() + if ( + len(parts) >= 4 and + parts[3].isdigit() and + int(parts[3]) > 0 + ): + break + else: + self.fail("No ROAs received via RTR:\n{}".format(res)) diff --git a/tests/live_tests/scenarios/bird2_rpki_rtr_example/bird b/tests/live_tests/scenarios/rpki_rtr_example/bird similarity index 100% rename from tests/live_tests/scenarios/bird2_rpki_rtr_example/bird rename to tests/live_tests/scenarios/rpki_rtr_example/bird diff --git a/tests/live_tests/scenarios/bird2_rpki_rtr_example/bogons.yml b/tests/live_tests/scenarios/rpki_rtr_example/bogons.yml similarity index 100% rename from tests/live_tests/scenarios/bird2_rpki_rtr_example/bogons.yml rename to tests/live_tests/scenarios/rpki_rtr_example/bogons.yml diff --git a/tests/live_tests/scenarios/rpki_rtr_example/clients.yml b/tests/live_tests/scenarios/rpki_rtr_example/clients.yml new file mode 120000 index 00000000..6f1db92d --- /dev/null +++ b/tests/live_tests/scenarios/rpki_rtr_example/clients.yml @@ -0,0 +1 @@ +../../../../examples/rpki_rtr/clients.yml \ No newline at end of file diff --git a/tests/live_tests/scenarios/bird2_rpki_rtr_example/configs/BIRD2RPKIRTRScenario_IPv4/bird2.conf b/tests/live_tests/scenarios/rpki_rtr_example/configs/BIRD2RPKIRTRScenario_IPv4/bird2.conf similarity index 100% rename from tests/live_tests/scenarios/bird2_rpki_rtr_example/configs/BIRD2RPKIRTRScenario_IPv4/bird2.conf rename to tests/live_tests/scenarios/rpki_rtr_example/configs/BIRD2RPKIRTRScenario_IPv4/bird2.conf diff --git a/tests/live_tests/scenarios/rpki_rtr_example/configs/RPKIRTRScenario_BIRD2IPv4/bird2.conf b/tests/live_tests/scenarios/rpki_rtr_example/configs/RPKIRTRScenario_BIRD2IPv4/bird2.conf new file mode 100644 index 00000000..7125c39f --- /dev/null +++ b/tests/live_tests/scenarios/rpki_rtr_example/configs/RPKIRTRScenario_BIRD2IPv4/bird2.conf @@ -0,0 +1,788 @@ + +router id 192.0.2.2; +define rs_as = 999; + +log "/var/log/bird.log" all; +log syslog all; +debug protocols { states, routes, filters, interfaces, events }; + +timeformat base iso long; +timeformat log iso long; +timeformat protocol iso long; +timeformat route iso long; + +protocol device {}; + +ipv4 table master4 sorted; + + + + +# --------------------------------------------------------- +# RPKI + +roa4 table RPKI4; +roa6 table RPKI6; +include "/etc/bird/rpki_rtr_config.local"; + + + + +# --------------------------------------------------------- +# IRRDB + +# AS3333, used_by client AS3333_1 +# no origin ASNs found for AS3333 + +# no IPv4 prefixes found for AS3333 + +# AS10745, used_by client AS10745_1 +# no origin ASNs found for AS10745 + +# no IPv4 prefixes found for AS10745 + +# AS1, used_by client AS1_1 +# no origin ASNs found for AS1 + +# no IPv4 prefixes found for AS1 + + + + + +# --------------------------------------------------------- +# COMMON + +# This function returns True if 'net' is a bogon prefix +# or falls within a bogon prefix. +function prefix_is_bogon() +prefix set bogons_4; +{ + bogons_4 = [ + # Default route + 0.0.0.0/0, + + # IANA - Local Identification + 0.0.0.0/8{8,32}, + + # RFC 1918 - Private Use + 10.0.0.0/8{8,32}, + + # IANA - Loopback + 127.0.0.0/8{8,32}, + + # RFC 3927 - Link Local + 169.254.0.0/16{16,32}, + + # RFC 1918 - Private Use + 172.16.0.0/12{12,32}, + + # RFC 5737 - TEST-NET-1 + 192.0.2.0/24{24,32}, + + # RFC 3068 - 6to4 prefix + 192.88.99.0/24{24,32}, + + # RFC 1918 - Private Use + 192.168.0.0/16{16,32}, + + # RFC 2544 - Network Interconnect Device Benchmark Testing + 198.18.0.0/15{15,32}, + + # RFC 5737 - TEST-NET-2 + 198.51.100.0/24{24,32}, + + # RFC 5737 - TEST-NET-3 + 203.0.113.0/24{24,32}, + + # RFC 5771 - Multcast (formerly Class D) + 224.0.0.0/3{3,32}, + + # RFC 6598 - Shared Address Space + 100.64.0.0/10{10,32} + ]; + + if net.type = NET_IP4 then + if net ~ bogons_4 then return true; + return false; +} + +# This function returns True if 'net' falls within a +# prefix contained in the global blacklist (for example, +# local networks) +function prefix_is_in_global_blacklist() +{ + # No IPv4 prefixes configured under the cfg.filtering.global_black_list_pref section. + return false; +} + +# This function returns True if the length of 'net' prefix +# falls within the range 'min'-'max' (included). +function prefix_len_is_valid (int pref_len_min; int pref_len_max) { + if net.len < pref_len_min then return false; + if net.len > pref_len_max then return false; + return true; +} + +# This function returns True if the AS_PATH contains one or +# more private/reserved ASN. +function as_path_contains_invalid_asn() +int set invalid_asns; +{ + # http://www.iana.org/assignments/as-numbers/as-numbers.xhtml + invalid_asns = [ + # 16-bit + 0, # Reserved. RFC7607 + 23456, # AS_TRANS. RFC6793 + 64496..64511, # Reserved for use in documentation and sample code. RFC5398 + 64512..65534, # Reserved for Private Use. RFC6996 + 65535, # Reserved. RFC7300 + + # 32-bit + 65536..65551, # Reserved for use in documentation and sample code. RFC5398 + 65552..131071, # Reserved. + 4200000000..4294967294, # Reserved for Private Use. [RFC6996] + 4294967295 # Reserved. RFC7300 + ]; + return bgp_path ~ invalid_asns; +} + + +# This function scrubs BGP communities used by the route server +# for signaling purpose toward its clients. (RFC7454, Section 11) +# It must be applied on routes entering the route server. +function scrub_communities_in() { +} + +# This function scrubs BGP communities used by clients to instruct +# the route server to perform some actions. +# It must be applied on routes leaving the route server. +function scrub_communities_out() { +} + +# This function verifies if the route is tagged with one of +# the blackhole filtering communities. +function is_blackhole_filtering_request() { + if net.type = NET_IP4 then { + } + return false; +} + +# This function must be applied to outgoing routes. +# It applies the blackhole filtering policy to the current route. +function apply_blackhole_filtering_policy() { + if net.type = NET_IP4 then { + + reject "blackhole filtering requested but no IPv4 policy given - REJECTING ", net; + + } +} + +# This function verifies if the current route can be announced to +# the given client on the basis of the attached control BGP +# communities. +function route_can_be_announced_to(int peer_as; ip client_ip; string client_id) +int client_rtt; +{ + return true; +} + +# This function prepends the left-most ASN times. +function do_prepend(int times) { + case times { + 1: bgp_path.prepend(bgp_path.first); + 2: bgp_path.prepend(bgp_path.first); bgp_path.prepend(bgp_path.first); + 3: bgp_path.prepend(bgp_path.first); bgp_path.prepend(bgp_path.first); bgp_path.prepend(bgp_path.first); + } +} + +# This function verifies if the current route matches one of the +# control communities in charge of prepending client's ASN. +function apply_prepend(int peer_as; ip client_ip) +int client_rtt; +{ + + + + return true; +} + +# This function adds the BGP communities used to +# keep track of RPKI validation state. +# RFC8097 extended communities are used here. +function add_rpki_community(string comm_name) { + if comm_name = "valid" then { + bgp_ext_community.add((unknown 0x4300, 0, 0)); + } + if comm_name = "unknown" then { + bgp_ext_community.add((unknown 0x4300, 0, 1)); + } + if comm_name = "invalid" then { + bgp_ext_community.add((unknown 0x4300, 0, 2)); + } +} + +# This functions performs RPKI validation of the current +# route and adds the informative communities. +function perform_rpki_validation () { + if net.type = NET_IP4 then { + case roa_check(RPKI4) { + ROA_VALID: add_rpki_community("valid"); + ROA_UNKNOWN: add_rpki_community("unknown"); + ROA_INVALID: add_rpki_community("invalid"); + } + } else { + case roa_check(RPKI6) { + ROA_VALID: add_rpki_community("valid"); + ROA_UNKNOWN: add_rpki_community("unknown"); + ROA_INVALID: add_rpki_community("invalid"); + } + } +} + +# This function returns True if the route is INVALID. +function route_is_rpki_invalid () { + return (unknown 0x4300, 0, 2) ~ bgp_ext_community; +} + +# This function returns True if RPKI INVALID routes +# should be announced to clients. +function announce_rpki_invalid_to_client(int client_asn; ip client_ip; string client_id) { + return false; +} + +# This function adds NO_EXPORT and/or NO_ADVERTISE +# well-known communities. +function add_noexport_noadvertise(int peer_as) { +} + + + + + + + + + + +# --------------------------------------------------------- +# MEMBERS + + +# AS-SET for AS10745_1 +function origin_as_is_in_AS10745_1_as_set() { + # AS-SET AS10745 referenced but empty. + return false; +} + +# R-SET for AS10745_1 +function prefix_is_in_AS10745_1_as_set() { + # AS-SET AS10745 referenced but empty. + return false; +} + +function next_hop_is_valid_for_AS10745_1() +{ + # Checks if NEXT_HOP is one of those allowed for routes announced by AS10745_1 + if bgp_next_hop = 192.0.2.22 then return true; + return false; +} + + +function verify_AS10745_1_irrdb() +bool origin_ok; +bool prefix_ok; +bool validated; +{ + origin_ok = false; + prefix_ok = false; + validated = false; + + origin_ok = origin_as_is_in_AS10745_1_as_set(); + prefix_ok = prefix_is_in_AS10745_1_as_set(); + + + + + + +} + +filter receive_from_AS10745_1 { + if !(source = RTS_BGP ) then + reject "source != RTS_BGP - REJECTING ", net; + + + if !(net.type = NET_IP4) then + reject "AFI not enabled for this peer - REJECTING ", net; + + + + scrub_communities_in(); + + + # NEXT_HOP + if !next_hop_is_valid_for_AS10745_1() then + reject "NEXT_HOP [", bgp_next_hop, "] not allowed - REJECTING ", net; + + + # AS_PATH: length + if bgp_path.len > 32 then + reject "AS_PATH len [", bgp_path.len ,"] longer than 32 - REJECTING ", net; + + + # AS_PATH: left-most ASN + if bgp_path.first != 10745 then + reject "invalid left-most ASN [", bgp_path.first, "] - REJECTING ", net; + + + # AS_PATH: invalid ASNs + if as_path_contains_invalid_asn() then + reject "AS_PATH [", bgp_path ,"] contains invalid ASN - REJECTING ", net; + + + + + + # Prefix: global blacklist + if prefix_is_in_global_blacklist() then + reject "prefix is in global blacklist - REJECTING ", net; + + + + # Prefix: bogon + if prefix_is_bogon() then + reject "prefix is bogon - REJECTING ", net; + + + # IRRdb checks + verify_AS10745_1_irrdb(); + + # Blackhole request? + if is_blackhole_filtering_request() then { + accept "blackhole filtering request from AS10745_1 - ACCEPTING ", net; + } else { + perform_rpki_validation(); + + if route_is_rpki_invalid() then + reject "RPKI, route is INVALID - REJECTING ", net; + + + # Prefix: length + if !prefix_len_is_valid(8, 24) then + reject "prefix len [", net.len, "] not in 8-24 - REJECTING ", net; + + + } + + + accept; +} + +filter announce_to_AS10745_1 { + + + # Blackhole request? + if is_blackhole_filtering_request() then { + apply_blackhole_filtering_policy(); + } else { + # RPKI: do not announce INVALID to clients + if route_is_rpki_invalid() then { + if !announce_rpki_invalid_to_client(10745, 192.0.2.22, "AS10745_1") then + reject "route is INVALID - NOT ANNOUNCING ", net, " TO AS10745_1"; + } + } + + # BGP control communities + if !route_can_be_announced_to(10745, 192.0.2.22, "AS10745_1") then + reject "route didn't pass control communities checks - NOT ANNOUNCING ", net, " TO AS10745_1"; + + apply_prepend(10745, 192.0.2.22); + + + add_noexport_noadvertise(10745); + + scrub_communities_out(); + + + + accept; +} + +protocol bgp AS10745_1 { + + local as 999; + neighbor 192.0.2.22 as 10745; + rs client; + + passive on; + ttl security off; + + interpret communities off; + + # --------------------------------------- + ipv4 { + table master4; + + + secondary; + + + import table on; + + import keep filtered on; + + import filter receive_from_AS10745_1; + export filter announce_to_AS10745_1; + + # --------------------------------------- + }; + + } + + +# AS-SET for AS1_1 +function origin_as_is_in_AS1_1_as_set() { + # AS-SET AS1 referenced but empty. + return false; +} + +# R-SET for AS1_1 +function prefix_is_in_AS1_1_as_set() { + # AS-SET AS1 referenced but empty. + return false; +} + +function next_hop_is_valid_for_AS1_1() +{ + # Checks if NEXT_HOP is one of those allowed for routes announced by AS1_1 + if bgp_next_hop = 192.0.2.111 then return true; + return false; +} + + +function verify_AS1_1_irrdb() +bool origin_ok; +bool prefix_ok; +bool validated; +{ + origin_ok = false; + prefix_ok = false; + validated = false; + + origin_ok = origin_as_is_in_AS1_1_as_set(); + prefix_ok = prefix_is_in_AS1_1_as_set(); + + + + + + +} + +filter receive_from_AS1_1 { + if !(source = RTS_BGP ) then + reject "source != RTS_BGP - REJECTING ", net; + + + if !(net.type = NET_IP4) then + reject "AFI not enabled for this peer - REJECTING ", net; + + + + scrub_communities_in(); + + + # NEXT_HOP + if !next_hop_is_valid_for_AS1_1() then + reject "NEXT_HOP [", bgp_next_hop, "] not allowed - REJECTING ", net; + + + # AS_PATH: length + if bgp_path.len > 32 then + reject "AS_PATH len [", bgp_path.len ,"] longer than 32 - REJECTING ", net; + + + # AS_PATH: left-most ASN + if bgp_path.first != 1 then + reject "invalid left-most ASN [", bgp_path.first, "] - REJECTING ", net; + + + # AS_PATH: invalid ASNs + if as_path_contains_invalid_asn() then + reject "AS_PATH [", bgp_path ,"] contains invalid ASN - REJECTING ", net; + + + + + + # Prefix: global blacklist + if prefix_is_in_global_blacklist() then + reject "prefix is in global blacklist - REJECTING ", net; + + + + # Prefix: bogon + if prefix_is_bogon() then + reject "prefix is bogon - REJECTING ", net; + + + # IRRdb checks + verify_AS1_1_irrdb(); + + # Blackhole request? + if is_blackhole_filtering_request() then { + accept "blackhole filtering request from AS1_1 - ACCEPTING ", net; + } else { + perform_rpki_validation(); + + if route_is_rpki_invalid() then + reject "RPKI, route is INVALID - REJECTING ", net; + + + # Prefix: length + if !prefix_len_is_valid(8, 24) then + reject "prefix len [", net.len, "] not in 8-24 - REJECTING ", net; + + + } + + + accept; +} + +filter announce_to_AS1_1 { + + + # Blackhole request? + if is_blackhole_filtering_request() then { + apply_blackhole_filtering_policy(); + } else { + # RPKI: do not announce INVALID to clients + if route_is_rpki_invalid() then { + if !announce_rpki_invalid_to_client(1, 192.0.2.111, "AS1_1") then + reject "route is INVALID - NOT ANNOUNCING ", net, " TO AS1_1"; + } + } + + # BGP control communities + if !route_can_be_announced_to(1, 192.0.2.111, "AS1_1") then + reject "route didn't pass control communities checks - NOT ANNOUNCING ", net, " TO AS1_1"; + + apply_prepend(1, 192.0.2.111); + + + add_noexport_noadvertise(1); + + scrub_communities_out(); + + + + accept; +} + +protocol bgp AS1_1 { + + local as 999; + neighbor 192.0.2.111 as 1; + rs client; + + passive on; + ttl security off; + + interpret communities off; + + # --------------------------------------- + ipv4 { + table master4; + + + secondary; + + + import table on; + + import keep filtered on; + + import filter receive_from_AS1_1; + export filter announce_to_AS1_1; + + # --------------------------------------- + }; + + } + + +# AS-SET for AS3333_1 +function origin_as_is_in_AS3333_1_as_set() { + # AS-SET AS3333 referenced but empty. + return false; +} + +# R-SET for AS3333_1 +function prefix_is_in_AS3333_1_as_set() { + # AS-SET AS3333 referenced but empty. + return false; +} + +function next_hop_is_valid_for_AS3333_1() +{ + # Checks if NEXT_HOP is one of those allowed for routes announced by AS3333_1 + if bgp_next_hop = 192.0.2.11 then return true; + return false; +} + + +function verify_AS3333_1_irrdb() +bool origin_ok; +bool prefix_ok; +bool validated; +{ + origin_ok = false; + prefix_ok = false; + validated = false; + + origin_ok = origin_as_is_in_AS3333_1_as_set(); + prefix_ok = prefix_is_in_AS3333_1_as_set(); + + + + + + +} + +filter receive_from_AS3333_1 { + if !(source = RTS_BGP ) then + reject "source != RTS_BGP - REJECTING ", net; + + + if !(net.type = NET_IP4) then + reject "AFI not enabled for this peer - REJECTING ", net; + + + + scrub_communities_in(); + + + # NEXT_HOP + if !next_hop_is_valid_for_AS3333_1() then + reject "NEXT_HOP [", bgp_next_hop, "] not allowed - REJECTING ", net; + + + # AS_PATH: length + if bgp_path.len > 32 then + reject "AS_PATH len [", bgp_path.len ,"] longer than 32 - REJECTING ", net; + + + # AS_PATH: left-most ASN + if bgp_path.first != 3333 then + reject "invalid left-most ASN [", bgp_path.first, "] - REJECTING ", net; + + + # AS_PATH: invalid ASNs + if as_path_contains_invalid_asn() then + reject "AS_PATH [", bgp_path ,"] contains invalid ASN - REJECTING ", net; + + + + + + # Prefix: global blacklist + if prefix_is_in_global_blacklist() then + reject "prefix is in global blacklist - REJECTING ", net; + + + + # Prefix: bogon + if prefix_is_bogon() then + reject "prefix is bogon - REJECTING ", net; + + + # IRRdb checks + verify_AS3333_1_irrdb(); + + # Blackhole request? + if is_blackhole_filtering_request() then { + accept "blackhole filtering request from AS3333_1 - ACCEPTING ", net; + } else { + perform_rpki_validation(); + + if route_is_rpki_invalid() then + reject "RPKI, route is INVALID - REJECTING ", net; + + + # Prefix: length + if !prefix_len_is_valid(8, 24) then + reject "prefix len [", net.len, "] not in 8-24 - REJECTING ", net; + + + } + + + accept; +} + +filter announce_to_AS3333_1 { + + + # Blackhole request? + if is_blackhole_filtering_request() then { + apply_blackhole_filtering_policy(); + } else { + # RPKI: do not announce INVALID to clients + if route_is_rpki_invalid() then { + if !announce_rpki_invalid_to_client(3333, 192.0.2.11, "AS3333_1") then + reject "route is INVALID - NOT ANNOUNCING ", net, " TO AS3333_1"; + } + } + + # BGP control communities + if !route_can_be_announced_to(3333, 192.0.2.11, "AS3333_1") then + reject "route didn't pass control communities checks - NOT ANNOUNCING ", net, " TO AS3333_1"; + + apply_prepend(3333, 192.0.2.11); + + + add_noexport_noadvertise(3333); + + scrub_communities_out(); + + + + accept; +} + +protocol bgp AS3333_1 { + + local as 999; + neighbor 192.0.2.11 as 3333; + rs client; + + passive on; + ttl security off; + + interpret communities off; + + # --------------------------------------- + ipv4 { + table master4; + + + secondary; + + + import table on; + + import keep filtered on; + + import filter receive_from_AS3333_1; + export filter announce_to_AS3333_1; + + # --------------------------------------- + }; + + } + + + diff --git a/tests/live_tests/scenarios/rpki_rtr_example/configs/RPKIRTRScenario_OpenBGPDIPv4/openbgpd69.conf b/tests/live_tests/scenarios/rpki_rtr_example/configs/RPKIRTRScenario_OpenBGPDIPv4/openbgpd69.conf new file mode 100644 index 00000000..1d5f2cba --- /dev/null +++ b/tests/live_tests/scenarios/rpki_rtr_example/configs/RPKIRTRScenario_OpenBGPDIPv4/openbgpd69.conf @@ -0,0 +1,661 @@ +# built by ARouteServer +AS 999 +router-id 192.0.2.2 + +fib-update no +log updates + +nexthop qualify via default + +INTCOMM_PREF_OK_ROA="soo 65535:1" +INTCOMM_ROUTE_OK_WL="soo 65535:2" +INTCOMM_PREF_OK_ARINDB="soo 65535:3" +INTCOMM_PREF_OK_REGISTROBRDB="soo 65535:12" + +INTCOMM_ORIGIN_OK="soo 65535:4" +INTCOMM_ORIGIN_KO="soo 65535:5" +INTCOMM_PREFIX_OK="soo 65535:6" +INTCOMM_PREFIX_KO="soo 65535:7" +INTCOMM_IRR_REJECT="soo 65535:8" + +INTCOMM_RPKI_UNKNOWN="soo 65535:9" +INTCOMM_RPKI_INVALID="soo 65535:10" +INTCOMM_RPKI_VALID="soo 65535:11" + +INTCOMM_NO_EXPORT="soo 65535:65281" +INTCOMM_NO_ADVERTISE="soo 65535:65282" + +# --------------------------------------------------------- +# IRRDB + +# AS3333, used by client AS3333_1 +# no origin ASNs found for AS3333 +# no prefixes found for AS3333 + +# AS10745, used by client AS10745_1, client AS10745_2 +# no origin ASNs found for AS10745 +# no prefixes found for AS10745 + +# AS1, used by client AS1_1 +# no origin ASNs found for AS1 +# no prefixes found for AS1 + + + + +# --------------------------------------------------------- +# MEMBERS + +group "clients" { + + neighbor 192.0.2.22 { + remote-as 10745 + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::22 { + remote-as 10745 + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.111 { + remote-as 1 + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 192.0.2.11 { + remote-as 3333 + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } +} + + + +# --------------------------------------------------------- +# FILTERS + +# NO_ADVERTISE usage notes. +# The NO_ADVERTISE well-know community is used here to handle +# filters that span over multiple steps. At first it is added +# to any route, then it is removed as filters conditions are +# satisfied. Finally, if it is still present, it means that +# the route should be discarded. + + + + + +prefix-set "bogons" { + 0.0.0.0/0 + 0.0.0.0/8 prefixlen 8 - 32 + 10.0.0.0/8 prefixlen 8 - 32 + 127.0.0.0/8 prefixlen 8 - 32 + 169.254.0.0/16 prefixlen 16 - 32 + 172.16.0.0/12 prefixlen 12 - 32 + 192.0.2.0/24 prefixlen 24 - 32 + 192.88.99.0/24 prefixlen 24 - 32 + 192.168.0.0/16 prefixlen 16 - 32 + 198.18.0.0/15 prefixlen 15 - 32 + 198.51.100.0/24 prefixlen 24 - 32 + 203.0.113.0/24 prefixlen 24 - 32 + 224.0.0.0/3 prefixlen 3 - 32 + 100.64.0.0/10 prefixlen 10 - 32 + ::/0 + ::/8 prefixlen 8 - 128 + 64:ff9b::/96 prefixlen 96 - 128 + 100::/8 prefixlen 8 - 128 + 200::/7 prefixlen 7 - 128 + 400::/6 prefixlen 6 - 128 + 800::/5 prefixlen 5 - 128 + 1000::/4 prefixlen 4 - 128 + 2001::/33 prefixlen 33 - 128 + 2001:0:8000::/33 prefixlen 33 - 128 + 2001:2::/48 prefixlen 48 - 128 + 2001:3::/32 prefixlen 32 - 128 + 2001:10::/28 prefixlen 28 - 128 + 2001:20::/28 prefixlen 28 - 128 + 2001:db8::/32 prefixlen 32 - 128 + 2002::/16 prefixlen 16 - 128 + 3ffe::/16 prefixlen 16 - 128 + 4000::/3 prefixlen 3 - 128 + 5f00::/8 prefixlen 8 - 128 + 6000::/3 prefixlen 3 - 128 + 8000::/3 prefixlen 3 - 128 + a000::/3 prefixlen 3 - 128 + c000::/3 prefixlen 3 - 128 + e000::/4 prefixlen 4 - 128 + f000::/5 prefixlen 5 - 128 + f800::/6 prefixlen 6 - 128 + fc00::/7 prefixlen 7 - 128 + fe80::/10 prefixlen 10 - 128 + fec0::/10 prefixlen 10 - 128 + ff00::/8 prefixlen 8 - 128 + +} + +# ===================================================================================== +# Global rules. + +# This part of configuration is processed at the beginning of the filters. +# The rules defined in this part are applied to all the clients, and not on a +# client-by-client basis (see the 'match from group clients'), so only global policies +# can be implemented here, that is no client-level configuration are allowed. + + + +# Scrub communities from inbound routes + +# Scrub internal communities from inbound routes +match from group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + + +# The main goal of this block is to enrich routes received from clients by attaching to them +# internal informational communities which are used later by the rest of the filter rules. + +# Internal communities used for RFC1997 well-known communities handling + +# Transform NO_EXPORT into $INTCOMM_NO_EXPORT +match from group clients community NO_EXPORT set { ext-community $INTCOMM_NO_EXPORT community delete NO_EXPORT } + +# Transform NO_ADVERTISE into $INTCOMM_NO_ADVERTISE +match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ADVERTISE community delete NO_ADVERTISE } + + +# --------------------------------------------------------- +# RPKI-based Origin Validation + + +include "/etc/bgpd/rpki_rtr_config.local" + +# Add $INTCOMM_RPKI_UNKNOWN, $INTCOMM_RPKI_INVALID and $INTCOMM_RPKI_VALID +# ext community on the basis of ovs. +match from group clients ovs not-found set ext-community $INTCOMM_RPKI_UNKNOWN +match from group clients ovs valid set ext-community $INTCOMM_RPKI_VALID +match from group clients ovs invalid set ext-community $INTCOMM_RPKI_INVALID + + + + + + + + + + + +# AS_PATH: length +# Reject inbound routes when 'from group clients max-as-len 32' - reject code: 1 +deny quick from group clients max-as-len 32 + + + +# Prefix: only IPv6 Global Unicast space allowed +match from group clients inet6 set community NO_ADVERTISE +match from group clients prefix 2000::/3 or-longer set community delete NO_ADVERTISE +# Reject inbound routes when 'from group clients community NO_ADVERTISE' - reject code: 10 +deny quick from group clients community NO_ADVERTISE + + +# Prefix: bogon +# Reject inbound routes when 'from group clients prefix-set bogons' - reject code: 2 +deny quick from group clients prefix-set bogons + + + + +# ===================================================================================== +# Per client rules. + + +# --------------------------------------------- +# client AS10745_1, inbound + + + +# NEXT_HOP +match from 192.0.2.22 set community NO_ADVERTISE +match from 192.0.2.22 nexthop 192.0.2.22 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.22 community NO_ADVERTISE' - reject code: 5 +deny quick from 192.0.2.22 community NO_ADVERTISE + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.22 peer-as != 10745' - reject code: 6 +deny quick from 192.0.2.22 peer-as != 10745 + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.22 AS 23456' - reject code: 7 +deny quick from 192.0.2.22 AS 23456 + +# Reject inbound routes when 'from 192.0.2.22 AS 64496 - 131071' - reject code: 7 +deny quick from 192.0.2.22 AS 64496 - 131071 + +# Reject inbound routes when 'from 192.0.2.22 AS 4200000000 - 4294967295' - reject code: 7 +deny quick from 192.0.2.22 AS 4200000000 - 4294967295 + + + + + +match from 192.0.2.22 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS10745_1, AS10745: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.22 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS10745 referenced but empty. + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS10745_1, AS10745: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.22 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS10745 referenced but empty. + + + + + + + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 192.0.2.22 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +deny quick from 192.0.2.22 ext-community $INTCOMM_RPKI_INVALID + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.22 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +deny quick from 192.0.2.22 prefix 0.0.0.0/0 prefixlen 8 >< 24 + + + +# Remove internal communities before accepting the route +match from 192.0.2.22 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + + + +allow quick from 192.0.2.22 + + + +# --------------------------------------------- +# client AS10745_1, outbound + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.22 community BLACKHOLE + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 192.0.2.22 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.22 + + + + + + +# --------------------------------------------- +# client AS10745_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::22 set community NO_ADVERTISE +match from 2001:db8:1:1::22 nexthop 2001:db8:1:1::22 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::22 community NO_ADVERTISE' - reject code: 5 +deny quick from 2001:db8:1:1::22 community NO_ADVERTISE + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::22 peer-as != 10745' - reject code: 6 +deny quick from 2001:db8:1:1::22 peer-as != 10745 + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::22 AS 23456' - reject code: 7 +deny quick from 2001:db8:1:1::22 AS 23456 + +# Reject inbound routes when 'from 2001:db8:1:1::22 AS 64496 - 131071' - reject code: 7 +deny quick from 2001:db8:1:1::22 AS 64496 - 131071 + +# Reject inbound routes when 'from 2001:db8:1:1::22 AS 4200000000 - 4294967295' - reject code: 7 +deny quick from 2001:db8:1:1::22 AS 4200000000 - 4294967295 + + + + + +match from 2001:db8:1:1::22 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS10745_2, AS10745: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::22 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS10745 referenced but empty. + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS10745_2, AS10745: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::22 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS10745 referenced but empty. + + + + + + + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 2001:db8:1:1::22 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +deny quick from 2001:db8:1:1::22 ext-community $INTCOMM_RPKI_INVALID + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::22 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +deny quick from 2001:db8:1:1::22 prefix ::/0 prefixlen 12 >< 48 + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::22 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + + + +allow quick from 2001:db8:1:1::22 + + + +# --------------------------------------------- +# client AS10745_2, outbound + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::22 community BLACKHOLE + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 2001:db8:1:1::22 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::22 + + + + + + +# --------------------------------------------- +# client AS1_1, inbound + + + +# NEXT_HOP +match from 192.0.2.111 set community NO_ADVERTISE +match from 192.0.2.111 nexthop 192.0.2.111 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.111 community NO_ADVERTISE' - reject code: 5 +deny quick from 192.0.2.111 community NO_ADVERTISE + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.111 peer-as != 1' - reject code: 6 +deny quick from 192.0.2.111 peer-as != 1 + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.111 AS 23456' - reject code: 7 +deny quick from 192.0.2.111 AS 23456 + +# Reject inbound routes when 'from 192.0.2.111 AS 64496 - 131071' - reject code: 7 +deny quick from 192.0.2.111 AS 64496 - 131071 + +# Reject inbound routes when 'from 192.0.2.111 AS 4200000000 - 4294967295' - reject code: 7 +deny quick from 192.0.2.111 AS 4200000000 - 4294967295 + + + + + +match from 192.0.2.111 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS1_1, AS1: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.111 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS1 referenced but empty. + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS1_1, AS1: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.111 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS1 referenced but empty. + + + + + + + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 192.0.2.111 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +deny quick from 192.0.2.111 ext-community $INTCOMM_RPKI_INVALID + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.111 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +deny quick from 192.0.2.111 prefix 0.0.0.0/0 prefixlen 8 >< 24 + + + +# Remove internal communities before accepting the route +match from 192.0.2.111 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + + + +allow quick from 192.0.2.111 + + + +# --------------------------------------------- +# client AS1_1, outbound + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.111 community BLACKHOLE + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 192.0.2.111 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.111 + + + + + + +# --------------------------------------------- +# client AS3333_1, inbound + + + +# NEXT_HOP +match from 192.0.2.11 set community NO_ADVERTISE +match from 192.0.2.11 nexthop 192.0.2.11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.11 community NO_ADVERTISE' - reject code: 5 +deny quick from 192.0.2.11 community NO_ADVERTISE + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.11 peer-as != 3333' - reject code: 6 +deny quick from 192.0.2.11 peer-as != 3333 + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.11 AS 23456' - reject code: 7 +deny quick from 192.0.2.11 AS 23456 + +# Reject inbound routes when 'from 192.0.2.11 AS 64496 - 131071' - reject code: 7 +deny quick from 192.0.2.11 AS 64496 - 131071 + +# Reject inbound routes when 'from 192.0.2.11 AS 4200000000 - 4294967295' - reject code: 7 +deny quick from 192.0.2.11 AS 4200000000 - 4294967295 + + + + + +match from 192.0.2.11 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS3333_1, AS3333: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.11 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS3333 referenced but empty. + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS3333_1, AS3333: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.11 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS3333 referenced but empty. + + + + + + + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 192.0.2.11 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +deny quick from 192.0.2.11 ext-community $INTCOMM_RPKI_INVALID + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +deny quick from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24 + + + +# Remove internal communities before accepting the route +match from 192.0.2.11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + + + +allow quick from 192.0.2.11 + + + +# --------------------------------------------- +# client AS3333_1, outbound + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.11 community BLACKHOLE + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 192.0.2.11 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.11 + + + + + + + + +# Scrub communities from outbound routes + +# Scrub prepending communities + + +# RFC1997 NO_EXPORT/NO_ADVERTISE received from clients and propagated because of pass-through policy +match to group clients ext-community $INTCOMM_NO_EXPORT set community NO_EXPORT +match to group clients ext-community $INTCOMM_NO_ADVERTISE set community NO_ADVERTISE + +# Remove internal communities before announcing the route +match to group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + diff --git a/tests/live_tests/scenarios/rpki_rtr_example/configs/RPKIRTRScenario_OpenBGPDIPv4/openbgpd69p.conf b/tests/live_tests/scenarios/rpki_rtr_example/configs/RPKIRTRScenario_OpenBGPDIPv4/openbgpd69p.conf new file mode 100644 index 00000000..903286a0 --- /dev/null +++ b/tests/live_tests/scenarios/rpki_rtr_example/configs/RPKIRTRScenario_OpenBGPDIPv4/openbgpd69p.conf @@ -0,0 +1,677 @@ +# built by ARouteServer +AS 999 +router-id 192.0.2.2 + +fib-update no +log updates + +nexthop qualify via default + +rde evaluate all + +INTCOMM_PREF_OK_ROA="soo 65535:1" +INTCOMM_ROUTE_OK_WL="soo 65535:2" +INTCOMM_PREF_OK_ARINDB="soo 65535:3" +INTCOMM_PREF_OK_REGISTROBRDB="soo 65535:12" + +INTCOMM_ORIGIN_OK="soo 65535:4" +INTCOMM_ORIGIN_KO="soo 65535:5" +INTCOMM_PREFIX_OK="soo 65535:6" +INTCOMM_PREFIX_KO="soo 65535:7" +INTCOMM_IRR_REJECT="soo 65535:8" + +INTCOMM_RPKI_UNKNOWN="soo 65535:9" +INTCOMM_RPKI_INVALID="soo 65535:10" +INTCOMM_RPKI_VALID="soo 65535:11" + +INTCOMM_NO_EXPORT="soo 65535:65281" +INTCOMM_NO_ADVERTISE="soo 65535:65282" + +# --------------------------------------------------------- +# IRRDB + +# AS3333, used by client AS3333_1 +# no origin ASNs found for AS3333 +# no prefixes found for AS3333 + +# AS10745, used by client AS10745_1, client AS10745_2 +# no origin ASNs found for AS10745 +# no prefixes found for AS10745 + +# AS1, used by client AS1_1 +# no origin ASNs found for AS1 +# no prefixes found for AS1 + + + + +# --------------------------------------------------------- +# MEMBERS + +group "clients" { + + neighbor 192.0.2.22 { + remote-as 10745 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::22 { + remote-as 10745 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.111 { + remote-as 1 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 192.0.2.11 { + remote-as 3333 + + rde evaluate all + + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } +} + + + +# --------------------------------------------------------- +# FILTERS + +# NO_ADVERTISE usage notes. +# The NO_ADVERTISE well-know community is used here to handle +# filters that span over multiple steps. At first it is added +# to any route, then it is removed as filters conditions are +# satisfied. Finally, if it is still present, it means that +# the route should be discarded. + + + + + +prefix-set "bogons" { + 0.0.0.0/0 + 0.0.0.0/8 prefixlen 8 - 32 + 10.0.0.0/8 prefixlen 8 - 32 + 127.0.0.0/8 prefixlen 8 - 32 + 169.254.0.0/16 prefixlen 16 - 32 + 172.16.0.0/12 prefixlen 12 - 32 + 192.0.2.0/24 prefixlen 24 - 32 + 192.88.99.0/24 prefixlen 24 - 32 + 192.168.0.0/16 prefixlen 16 - 32 + 198.18.0.0/15 prefixlen 15 - 32 + 198.51.100.0/24 prefixlen 24 - 32 + 203.0.113.0/24 prefixlen 24 - 32 + 224.0.0.0/3 prefixlen 3 - 32 + 100.64.0.0/10 prefixlen 10 - 32 + ::/0 + ::/8 prefixlen 8 - 128 + 64:ff9b::/96 prefixlen 96 - 128 + 100::/8 prefixlen 8 - 128 + 200::/7 prefixlen 7 - 128 + 400::/6 prefixlen 6 - 128 + 800::/5 prefixlen 5 - 128 + 1000::/4 prefixlen 4 - 128 + 2001::/33 prefixlen 33 - 128 + 2001:0:8000::/33 prefixlen 33 - 128 + 2001:2::/48 prefixlen 48 - 128 + 2001:3::/32 prefixlen 32 - 128 + 2001:10::/28 prefixlen 28 - 128 + 2001:20::/28 prefixlen 28 - 128 + 2001:db8::/32 prefixlen 32 - 128 + 2002::/16 prefixlen 16 - 128 + 3ffe::/16 prefixlen 16 - 128 + 4000::/3 prefixlen 3 - 128 + 5f00::/8 prefixlen 8 - 128 + 6000::/3 prefixlen 3 - 128 + 8000::/3 prefixlen 3 - 128 + a000::/3 prefixlen 3 - 128 + c000::/3 prefixlen 3 - 128 + e000::/4 prefixlen 4 - 128 + f000::/5 prefixlen 5 - 128 + f800::/6 prefixlen 6 - 128 + fc00::/7 prefixlen 7 - 128 + fe80::/10 prefixlen 10 - 128 + fec0::/10 prefixlen 10 - 128 + ff00::/8 prefixlen 8 - 128 + +} + +# ===================================================================================== +# Global rules. + +# This part of configuration is processed at the beginning of the filters. +# The rules defined in this part are applied to all the clients, and not on a +# client-by-client basis (see the 'match from group clients'), so only global policies +# can be implemented here, that is no client-level configuration are allowed. + + + +# Scrub communities from inbound routes + +# Scrub internal communities from inbound routes +match from group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + + +# The main goal of this block is to enrich routes received from clients by attaching to them +# internal informational communities which are used later by the rest of the filter rules. + +# Internal communities used for RFC1997 well-known communities handling + +# Transform NO_EXPORT into $INTCOMM_NO_EXPORT +match from group clients community NO_EXPORT set { ext-community $INTCOMM_NO_EXPORT community delete NO_EXPORT } + +# Transform NO_ADVERTISE into $INTCOMM_NO_ADVERTISE +match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ADVERTISE community delete NO_ADVERTISE } + + +# --------------------------------------------------------- +# ROAs source + + +include "/etc/bgpd/rpki_rtr_config.local" + + + +# --------------------------------------------------------- +# RPKI-based Origin Validation + + +# Add $INTCOMM_RPKI_UNKNOWN, $INTCOMM_RPKI_INVALID and $INTCOMM_RPKI_VALID +# ext community on the basis of ovs. +match from group clients ovs not-found set ext-community $INTCOMM_RPKI_UNKNOWN +match from group clients ovs valid set ext-community $INTCOMM_RPKI_VALID +match from group clients ovs invalid set ext-community $INTCOMM_RPKI_INVALID + + + + + + + + + + + +# AS_PATH: length +# Reject inbound routes when 'from group clients max-as-len 32' - reject code: 1 +deny quick from group clients max-as-len 32 + + + +# Prefix: only IPv6 Global Unicast space allowed +match from group clients inet6 set community NO_ADVERTISE +match from group clients prefix 2000::/3 or-longer set community delete NO_ADVERTISE +# Reject inbound routes when 'from group clients community NO_ADVERTISE' - reject code: 10 +deny quick from group clients community NO_ADVERTISE + + +# Prefix: bogon +# Reject inbound routes when 'from group clients prefix-set bogons' - reject code: 2 +deny quick from group clients prefix-set bogons + + + + +# ===================================================================================== +# Per client rules. + + +# --------------------------------------------- +# client AS10745_1, inbound + + + +# NEXT_HOP +match from 192.0.2.22 set community NO_ADVERTISE +match from 192.0.2.22 nexthop 192.0.2.22 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.22 community NO_ADVERTISE' - reject code: 5 +deny quick from 192.0.2.22 community NO_ADVERTISE + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.22 peer-as != 10745' - reject code: 6 +deny quick from 192.0.2.22 peer-as != 10745 + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.22 AS 23456' - reject code: 7 +deny quick from 192.0.2.22 AS 23456 + +# Reject inbound routes when 'from 192.0.2.22 AS 64496 - 131071' - reject code: 7 +deny quick from 192.0.2.22 AS 64496 - 131071 + +# Reject inbound routes when 'from 192.0.2.22 AS 4200000000 - 4294967295' - reject code: 7 +deny quick from 192.0.2.22 AS 4200000000 - 4294967295 + + + + + +match from 192.0.2.22 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS10745_1, AS10745: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.22 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS10745 referenced but empty. + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS10745_1, AS10745: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.22 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS10745 referenced but empty. + + + + + + + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 192.0.2.22 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +deny quick from 192.0.2.22 ext-community $INTCOMM_RPKI_INVALID + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.22 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +deny quick from 192.0.2.22 prefix 0.0.0.0/0 prefixlen 8 >< 24 + + + +# Remove internal communities before accepting the route +match from 192.0.2.22 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + + + +allow quick from 192.0.2.22 + + + +# --------------------------------------------- +# client AS10745_1, outbound + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.22 community BLACKHOLE + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 192.0.2.22 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.22 + + + + + + +# --------------------------------------------- +# client AS10745_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::22 set community NO_ADVERTISE +match from 2001:db8:1:1::22 nexthop 2001:db8:1:1::22 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::22 community NO_ADVERTISE' - reject code: 5 +deny quick from 2001:db8:1:1::22 community NO_ADVERTISE + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::22 peer-as != 10745' - reject code: 6 +deny quick from 2001:db8:1:1::22 peer-as != 10745 + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::22 AS 23456' - reject code: 7 +deny quick from 2001:db8:1:1::22 AS 23456 + +# Reject inbound routes when 'from 2001:db8:1:1::22 AS 64496 - 131071' - reject code: 7 +deny quick from 2001:db8:1:1::22 AS 64496 - 131071 + +# Reject inbound routes when 'from 2001:db8:1:1::22 AS 4200000000 - 4294967295' - reject code: 7 +deny quick from 2001:db8:1:1::22 AS 4200000000 - 4294967295 + + + + + +match from 2001:db8:1:1::22 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS10745_2, AS10745: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::22 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS10745 referenced but empty. + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS10745_2, AS10745: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::22 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS10745 referenced but empty. + + + + + + + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 2001:db8:1:1::22 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +deny quick from 2001:db8:1:1::22 ext-community $INTCOMM_RPKI_INVALID + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::22 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +deny quick from 2001:db8:1:1::22 prefix ::/0 prefixlen 12 >< 48 + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::22 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + + + +allow quick from 2001:db8:1:1::22 + + + +# --------------------------------------------- +# client AS10745_2, outbound + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::22 community BLACKHOLE + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 2001:db8:1:1::22 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::22 + + + + + + +# --------------------------------------------- +# client AS1_1, inbound + + + +# NEXT_HOP +match from 192.0.2.111 set community NO_ADVERTISE +match from 192.0.2.111 nexthop 192.0.2.111 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.111 community NO_ADVERTISE' - reject code: 5 +deny quick from 192.0.2.111 community NO_ADVERTISE + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.111 peer-as != 1' - reject code: 6 +deny quick from 192.0.2.111 peer-as != 1 + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.111 AS 23456' - reject code: 7 +deny quick from 192.0.2.111 AS 23456 + +# Reject inbound routes when 'from 192.0.2.111 AS 64496 - 131071' - reject code: 7 +deny quick from 192.0.2.111 AS 64496 - 131071 + +# Reject inbound routes when 'from 192.0.2.111 AS 4200000000 - 4294967295' - reject code: 7 +deny quick from 192.0.2.111 AS 4200000000 - 4294967295 + + + + + +match from 192.0.2.111 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS1_1, AS1: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.111 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS1 referenced but empty. + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS1_1, AS1: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.111 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS1 referenced but empty. + + + + + + + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 192.0.2.111 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +deny quick from 192.0.2.111 ext-community $INTCOMM_RPKI_INVALID + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.111 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +deny quick from 192.0.2.111 prefix 0.0.0.0/0 prefixlen 8 >< 24 + + + +# Remove internal communities before accepting the route +match from 192.0.2.111 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + + + +allow quick from 192.0.2.111 + + + +# --------------------------------------------- +# client AS1_1, outbound + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.111 community BLACKHOLE + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 192.0.2.111 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.111 + + + + + + +# --------------------------------------------- +# client AS3333_1, inbound + + + +# NEXT_HOP +match from 192.0.2.11 set community NO_ADVERTISE +match from 192.0.2.11 nexthop 192.0.2.11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.11 community NO_ADVERTISE' - reject code: 5 +deny quick from 192.0.2.11 community NO_ADVERTISE + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.11 peer-as != 3333' - reject code: 6 +deny quick from 192.0.2.11 peer-as != 3333 + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.11 AS 23456' - reject code: 7 +deny quick from 192.0.2.11 AS 23456 + +# Reject inbound routes when 'from 192.0.2.11 AS 64496 - 131071' - reject code: 7 +deny quick from 192.0.2.11 AS 64496 - 131071 + +# Reject inbound routes when 'from 192.0.2.11 AS 4200000000 - 4294967295' - reject code: 7 +deny quick from 192.0.2.11 AS 4200000000 - 4294967295 + + + + + +match from 192.0.2.11 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS3333_1, AS3333: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.11 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS3333 referenced but empty. + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS3333_1, AS3333: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.11 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS3333 referenced but empty. + + + + + + + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 192.0.2.11 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +deny quick from 192.0.2.11 ext-community $INTCOMM_RPKI_INVALID + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +deny quick from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24 + + + +# Remove internal communities before accepting the route +match from 192.0.2.11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + + + +allow quick from 192.0.2.11 + + + +# --------------------------------------------- +# client AS3333_1, outbound + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.11 community BLACKHOLE + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 192.0.2.11 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.11 + + + + + + + + +# Scrub communities from outbound routes + +# Scrub prepending communities + + +# RFC1997 NO_EXPORT/NO_ADVERTISE received from clients and propagated because of pass-through policy +match to group clients ext-community $INTCOMM_NO_EXPORT set community NO_EXPORT +match to group clients ext-community $INTCOMM_NO_ADVERTISE set community NO_ADVERTISE + +# Remove internal communities before announcing the route +match to group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + diff --git a/tests/live_tests/scenarios/bird2_rpki_rtr_example/data4.py b/tests/live_tests/scenarios/rpki_rtr_example/data4.py similarity index 95% rename from tests/live_tests/scenarios/bird2_rpki_rtr_example/data4.py rename to tests/live_tests/scenarios/rpki_rtr_example/data4.py index f6a1beb8..bc988090 100644 --- a/tests/live_tests/scenarios/bird2_rpki_rtr_example/data4.py +++ b/tests/live_tests/scenarios/rpki_rtr_example/data4.py @@ -13,7 +13,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -class BIRD2RPKIRTRScenario_Data4(object): +class RPKIRTRScenario_Data4(object): DATA = { "rs_IPAddress": "192.0.2.2", diff --git a/tests/live_tests/scenarios/bird2_rpki_rtr_example/data6.py b/tests/live_tests/scenarios/rpki_rtr_example/data6.py similarity index 95% rename from tests/live_tests/scenarios/bird2_rpki_rtr_example/data6.py rename to tests/live_tests/scenarios/rpki_rtr_example/data6.py index c5eb6104..5bfa4b75 100644 --- a/tests/live_tests/scenarios/bird2_rpki_rtr_example/data6.py +++ b/tests/live_tests/scenarios/rpki_rtr_example/data6.py @@ -13,7 +13,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -class RichConfigExampleScenario_Data6(object): +class RPKIRTRScenario_Data6(object): DATA = { "rs_IPAddress": "2001:db8:1:1::2", diff --git a/tests/live_tests/scenarios/rpki_rtr_example/general.yml b/tests/live_tests/scenarios/rpki_rtr_example/general.yml new file mode 120000 index 00000000..04b18e2a --- /dev/null +++ b/tests/live_tests/scenarios/rpki_rtr_example/general.yml @@ -0,0 +1 @@ +../../../../examples/rpki_rtr/general.yml \ No newline at end of file diff --git a/tests/live_tests/scenarios/rpki_rtr_example/openbgpd b/tests/live_tests/scenarios/rpki_rtr_example/openbgpd new file mode 120000 index 00000000..0b1a323a --- /dev/null +++ b/tests/live_tests/scenarios/rpki_rtr_example/openbgpd @@ -0,0 +1 @@ +../../../../templates/openbgpd \ No newline at end of file diff --git a/tests/live_tests/scenarios/bird2_rpki_rtr_example/peeringdb_data/never_via_route_servers.json b/tests/live_tests/scenarios/rpki_rtr_example/peeringdb_data/never_via_route_servers.json similarity index 100% rename from tests/live_tests/scenarios/bird2_rpki_rtr_example/peeringdb_data/never_via_route_servers.json rename to tests/live_tests/scenarios/rpki_rtr_example/peeringdb_data/never_via_route_servers.json diff --git a/tests/live_tests/scenarios/rpki_rtr_example/routes/BIRD2RPKIRTRScenario_IPv4/bird2/AS1.txt b/tests/live_tests/scenarios/rpki_rtr_example/routes/BIRD2RPKIRTRScenario_IPv4/bird2/AS1.txt new file mode 100644 index 00000000..e69de29b diff --git a/tests/live_tests/scenarios/rpki_rtr_example/routes/BIRD2RPKIRTRScenario_IPv4/bird2/AS1_1.txt b/tests/live_tests/scenarios/rpki_rtr_example/routes/BIRD2RPKIRTRScenario_IPv4/bird2/AS1_1.txt new file mode 100644 index 00000000..e69de29b diff --git a/tests/live_tests/scenarios/bird2_rpki_rtr_example/routes/BIRD2RPKIRTRScenario_IPv4/bird2/rs.txt b/tests/live_tests/scenarios/rpki_rtr_example/routes/BIRD2RPKIRTRScenario_IPv4/bird2/rs.txt similarity index 100% rename from tests/live_tests/scenarios/bird2_rpki_rtr_example/routes/BIRD2RPKIRTRScenario_IPv4/bird2/rs.txt rename to tests/live_tests/scenarios/rpki_rtr_example/routes/BIRD2RPKIRTRScenario_IPv4/bird2/rs.txt diff --git a/tests/live_tests/scenarios/rpki_rtr_example/routes/RPKIRTRScenario_BIRD2IPv4/bird2/AS1_1.txt b/tests/live_tests/scenarios/rpki_rtr_example/routes/RPKIRTRScenario_BIRD2IPv4/bird2/AS1_1.txt new file mode 100644 index 00000000..e69de29b diff --git a/tests/live_tests/scenarios/rpki_rtr_example/routes/RPKIRTRScenario_BIRD2IPv4/bird2/rs.txt b/tests/live_tests/scenarios/rpki_rtr_example/routes/RPKIRTRScenario_BIRD2IPv4/bird2/rs.txt new file mode 100644 index 00000000..e6b98c75 --- /dev/null +++ b/tests/live_tests/scenarios/rpki_rtr_example/routes/RPKIRTRScenario_BIRD2IPv4/bird2/rs.txt @@ -0,0 +1,7 @@ +193.0.0.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.111, via 192.0.2.111 + std comms: + ext comms: generic:0x43000000:0x2 + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: True () + diff --git a/tests/live_tests/scenarios/rpki_rtr_example/routes/RPKIRTRScenario_OpenBGPDIPv4/openbgpd69p/AS1_1.txt b/tests/live_tests/scenarios/rpki_rtr_example/routes/RPKIRTRScenario_OpenBGPDIPv4/openbgpd69p/AS1_1.txt new file mode 100644 index 00000000..e69de29b diff --git a/tests/live_tests/scenarios/rpki_rtr_example/routes/RPKIRTRScenario_OpenBGPDIPv4/openbgpd69p/rs.txt b/tests/live_tests/scenarios/rpki_rtr_example/routes/RPKIRTRScenario_OpenBGPDIPv4/openbgpd69p/rs.txt new file mode 100644 index 00000000..e69de29b diff --git a/tests/live_tests/scenarios/bird2_rpki_rtr_example/routinator_local_exceptions.json b/tests/live_tests/scenarios/rpki_rtr_example/routinator_local_exceptions.json similarity index 100% rename from tests/live_tests/scenarios/bird2_rpki_rtr_example/routinator_local_exceptions.json rename to tests/live_tests/scenarios/rpki_rtr_example/routinator_local_exceptions.json diff --git a/tests/live_tests/scenarios/rpki_rtr_example/rpki_rtr_config.local.BIRD b/tests/live_tests/scenarios/rpki_rtr_example/rpki_rtr_config.local.BIRD new file mode 120000 index 00000000..d4c923ba --- /dev/null +++ b/tests/live_tests/scenarios/rpki_rtr_example/rpki_rtr_config.local.BIRD @@ -0,0 +1 @@ +../../../../examples/rpki_rtr/rpki_rtr_config.local.BIRD \ No newline at end of file diff --git a/tests/live_tests/scenarios/rpki_rtr_example/rpki_rtr_config.local.OpenBGPD b/tests/live_tests/scenarios/rpki_rtr_example/rpki_rtr_config.local.OpenBGPD new file mode 120000 index 00000000..ca957131 --- /dev/null +++ b/tests/live_tests/scenarios/rpki_rtr_example/rpki_rtr_config.local.OpenBGPD @@ -0,0 +1 @@ +../../../../examples/rpki_rtr/rpki_rtr_config.local.OpenBGPD \ No newline at end of file diff --git a/tests/live_tests/scenarios/bird2_rpki_rtr_example/test_bird2_4.py b/tests/live_tests/scenarios/rpki_rtr_example/test_bird2_4.py similarity index 84% rename from tests/live_tests/scenarios/bird2_rpki_rtr_example/test_bird2_4.py rename to tests/live_tests/scenarios/rpki_rtr_example/test_bird2_4.py index 8705f320..7a85ee0a 100644 --- a/tests/live_tests/scenarios/bird2_rpki_rtr_example/test_bird2_4.py +++ b/tests/live_tests/scenarios/rpki_rtr_example/test_bird2_4.py @@ -13,11 +13,11 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -from .base import BIRD2RPKIRTRScenario -from .data4 import BIRD2RPKIRTRScenario_Data4 +from .base import RPKIRTRScenarioBIRD +from .data4 import RPKIRTRScenario_Data4 from pierky.arouteserver.tests.live_tests.bird import BIRDInstanceIPv4, BIRD2Instance -class BIRD2RPKIRTRScenario_IPv4(BIRD2RPKIRTRScenario_Data4, BIRD2RPKIRTRScenario): +class RPKIRTRScenario_BIRD2IPv4(RPKIRTRScenario_Data4, RPKIRTRScenarioBIRD): __test__ = True SHORT_DESCR = "Live test, BIRD v2, RTR protocol" diff --git a/tests/live_tests/scenarios/rpki_rtr_example/test_openbgpd_portable_4.py b/tests/live_tests/scenarios/rpki_rtr_example/test_openbgpd_portable_4.py new file mode 100644 index 00000000..5a920d9f --- /dev/null +++ b/tests/live_tests/scenarios/rpki_rtr_example/test_openbgpd_portable_4.py @@ -0,0 +1,28 @@ +# Copyright (C) 2017-2021 Pier Carlo Chiodi +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +from .base import RPKIRTRScenarioOpenBGPD +from .data4 import RPKIRTRScenario_Data4 +from pierky.arouteserver.tests.live_tests.bird import BIRDInstanceIPv4 +from pierky.arouteserver.tests.live_tests.openbgpd import OpenBGPDPortableLatestInstance + +class RPKIRTRScenario_OpenBGPDIPv4(RPKIRTRScenario_Data4, RPKIRTRScenarioOpenBGPD): + __test__ = True + + SHORT_DESCR = "Live test, OpenBGPD {}, RTR protocol".format( + OpenBGPDPortableLatestInstance.BGP_SPEAKER_VERSION + ) + RS_INSTANCE_CLASS = OpenBGPDPortableLatestInstance + CLIENT_INSTANCE_CLASS = BIRDInstanceIPv4 diff --git a/tests/live_tests/scenarios/tag_as_set/configs/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv4/openbgpd68.conf b/tests/live_tests/scenarios/tag_as_set/configs/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv4/openbgpd68.conf index 28c1493b..4de83da4 100644 --- a/tests/live_tests/scenarios/tag_as_set/configs/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv4/openbgpd68.conf +++ b/tests/live_tests/scenarios/tag_as_set/configs/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv4/openbgpd68.conf @@ -7,6 +7,7 @@ log updates nexthop qualify via default + INTCOMM_PREF_OK_ROA="soo 65535:1" INTCOMM_ROUTE_OK_WL="soo 65535:2" INTCOMM_PREF_OK_ARINDB="soo 65535:3" @@ -125,6 +126,7 @@ group "clients" { neighbor 192.0.2.11 { remote-as 1 + descr "AS1_1 client, no AS-SET" passive ttl-security no @@ -141,6 +143,7 @@ group "clients" { neighbor 2001:db8:1:1::11 { remote-as 1 + descr "AS1_1 client, no AS-SET" passive ttl-security no @@ -157,6 +160,7 @@ group "clients" { neighbor 192.0.2.21 { remote-as 2 + descr "AS2_1 client, AS-SET from AS..." passive ttl-security no @@ -173,6 +177,7 @@ group "clients" { neighbor 2001:db8:1:1::21 { remote-as 2 + descr "AS2_1 client, AS-SET from AS..." passive ttl-security no @@ -189,6 +194,7 @@ group "clients" { neighbor 192.0.2.41 { remote-as 4 + descr "AS4_1 client, AS-SET configu..." passive ttl-security no @@ -205,6 +211,7 @@ group "clients" { neighbor 2001:db8:1:1::41 { remote-as 4 + descr "AS4_1 client, AS-SET configu..." passive ttl-security no @@ -221,6 +228,7 @@ group "clients" { neighbor 192.0.2.51 { remote-as 5 + descr "AS5_1 client, AS-SET from Pe..." passive ttl-security no @@ -237,6 +245,7 @@ group "clients" { neighbor 2001:db8:1:1::51 { remote-as 5 + descr "AS5_1 client, AS-SET from Pe..." passive ttl-security no @@ -253,6 +262,7 @@ group "clients" { neighbor 192.0.2.61 { remote-as 6 + descr "AS6_1 client" passive ttl-security no @@ -269,6 +279,7 @@ group "clients" { neighbor 2001:db8:1:1::61 { remote-as 6 + descr "AS6_1 client" passive ttl-security no @@ -404,6 +415,26 @@ match from group clients community NO_EXPORT set { ext-community $INTCOMM_NO_EXP match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ADVERTISE community delete NO_ADVERTISE } +# --------------------------------------------------------- +# ROAs source + + +roa-set { + +} + + + + +# --------------------------------------------------------- +# RPKI ROAs used as route objects. + +# Add the $INTCOMM_PREF_OK_ROA ext community to routes whose +# origin ASN has a ROA for the announced prefix. +# It will be used later during IRRDB validation in +# case the origin ASN is authorized by a client's +# AS-SET but the prefix is not. + @@ -520,6 +551,11 @@ match from 192.0.2.11 ext-community $INTCOMM_PREFIX_OK set community 999:64512 match from 192.0.2.11 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT @@ -628,6 +664,11 @@ match from 2001:db8:1:1::11 ext-community $INTCOMM_PREFIX_OK set community 999:6 match from 2001:db8:1:1::11 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT @@ -740,6 +781,11 @@ match from 192.0.2.21 ext-community $INTCOMM_PREFIX_OK set community 999:64512 match from 192.0.2.21 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT @@ -852,6 +898,11 @@ match from 2001:db8:1:1::21 ext-community $INTCOMM_PREFIX_OK set community 999:6 match from 2001:db8:1:1::21 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT @@ -976,6 +1027,11 @@ match from 192.0.2.41 ext-community $INTCOMM_PREFIX_OK set community 999:64512 match from 192.0.2.41 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT @@ -1109,6 +1165,11 @@ match from 2001:db8:1:1::41 ext-community $INTCOMM_PREFIX_OK set community 999:6 match from 2001:db8:1:1::41 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT @@ -1230,6 +1291,11 @@ match from 192.0.2.51 ext-community $INTCOMM_PREFIX_OK set community 999:64512 match from 192.0.2.51 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT @@ -1346,6 +1412,11 @@ match from 2001:db8:1:1::51 ext-community $INTCOMM_PREFIX_OK set community 999:6 match from 2001:db8:1:1::51 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT @@ -1466,6 +1537,11 @@ match from 192.0.2.61 ext-community $INTCOMM_PREFIX_OK set community 999:64512 match from 192.0.2.61 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT @@ -1595,6 +1671,11 @@ match from 2001:db8:1:1::61 ext-community $INTCOMM_PREFIX_OK set community 999:6 match from 2001:db8:1:1::61 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT diff --git a/tests/live_tests/scenarios/tag_as_set/configs/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv4/openbgpd69.conf b/tests/live_tests/scenarios/tag_as_set/configs/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv4/openbgpd69.conf new file mode 100644 index 00000000..29ee9fb1 --- /dev/null +++ b/tests/live_tests/scenarios/tag_as_set/configs/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv4/openbgpd69.conf @@ -0,0 +1,1765 @@ +# built by ARouteServer +AS 999 +router-id 192.0.2.2 + +fib-update no +log updates + +nexthop qualify via default + +rde evaluate all + +INTCOMM_PREF_OK_ROA="soo 65535:1" +INTCOMM_ROUTE_OK_WL="soo 65535:2" +INTCOMM_PREF_OK_ARINDB="soo 65535:3" +INTCOMM_PREF_OK_REGISTROBRDB="soo 65535:12" + +INTCOMM_ORIGIN_OK="soo 65535:4" +INTCOMM_ORIGIN_KO="soo 65535:5" +INTCOMM_PREFIX_OK="soo 65535:6" +INTCOMM_PREFIX_KO="soo 65535:7" +INTCOMM_IRR_REJECT="soo 65535:8" + +INTCOMM_RPKI_UNKNOWN="soo 65535:9" +INTCOMM_RPKI_INVALID="soo 65535:10" +INTCOMM_RPKI_VALID="soo 65535:11" + +INTCOMM_NO_EXPORT="soo 65535:65281" +INTCOMM_NO_ADVERTISE="soo 65535:65282" + +# --------------------------------------------------------- +# IRRDB + +# WHITE_LIST_AS4_1, used by client AS4_1 white list +as-set "AS_SET_WHITE_LIST_AS4_1_asns" { + 41 +} +prefix-set "AS_SET_WHITE_LIST_AS4_1_prefixes" { + 4.2.0.0/16 prefixlen 16 - 32 + 2a04:2::/32 prefixlen 32 - 128 +} + +# AS4, used by client AS4_1, client AS4_2 +# no origin ASNs found for AS4 +# no prefixes found for AS4 + +# WHITE_LIST_AS2_2, used by client AS2_2 white list +as-set "AS_SET_WHITE_LIST_AS2_2_asns" { + 21 +} +prefix-set "AS_SET_WHITE_LIST_AS2_2_prefixes" { + 2.2.0.0/16 prefixlen 16 - 32 + 2a02:2::/32 prefixlen 32 - 128 +} + +# AS-AS5_FROM_PDB, used by client AS5_1, client AS5_2 +# no origin ASNs found for AS_AS5_FROM_PDB +# no prefixes found for AS_AS5_FROM_PDB + +# AS-AS4, used by client AS4_1, client AS4_2 +# no origin ASNs found for AS_AS4 +# no prefixes found for AS_AS4 + +# AS2, used by client AS2_1, client AS2_2 +# no origin ASNs found for AS2 +# no prefixes found for AS2 + +# WHITE_LIST_AS5_2, used by client AS5_2 white list +as-set "AS_SET_WHITE_LIST_AS5_2_asns" { + 51 +} +prefix-set "AS_SET_WHITE_LIST_AS5_2_prefixes" { + 5.2.0.0/16 prefixlen 16 - 32 + 2a05:2::/32 prefixlen 32 - 128 +} + +# AS5, used by client AS5_1, client AS5_2 +# no origin ASNs found for AS5 +# no prefixes found for AS5 + +# AS6, used by client AS6_1, client AS6_2 +# no origin ASNs found for AS6 +# no prefixes found for AS6 + +# WHITE_LIST_AS5_1, used by client AS5_1 white list +as-set "AS_SET_WHITE_LIST_AS5_1_asns" { + 51 +} +prefix-set "AS_SET_WHITE_LIST_AS5_1_prefixes" { + 5.2.0.0/16 prefixlen 16 - 32 + 2a05:2::/32 prefixlen 32 - 128 +} + +# WHITE_LIST_AS2_1, used by client AS2_1 white list +as-set "AS_SET_WHITE_LIST_AS2_1_asns" { + 21 +} +prefix-set "AS_SET_WHITE_LIST_AS2_1_prefixes" { + 2.2.0.0/16 prefixlen 16 - 32 + 2a02:2::/32 prefixlen 32 - 128 +} + +# AS1, used by client AS1_1, client AS1_2 +# no origin ASNs found for AS1 +# no prefixes found for AS1 + +# WHITE_LIST_AS4_2, used by client AS4_2 white list +as-set "AS_SET_WHITE_LIST_AS4_2_asns" { + 41 +} +prefix-set "AS_SET_WHITE_LIST_AS4_2_prefixes" { + 4.2.0.0/16 prefixlen 16 - 32 + 2a04:2::/32 prefixlen 32 - 128 +} + +# AS-AS2, used by client AS2_1, client AS2_2 +# no origin ASNs found for AS_AS2 +# no prefixes found for AS_AS2 + + + + +# --------------------------------------------------------- +# MEMBERS + +group "clients" { + + neighbor 192.0.2.11 { + remote-as 1 + + rde evaluate all + + descr "AS1_1 client, no AS-SET" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::11 { + remote-as 1 + + rde evaluate all + + descr "AS1_1 client, no AS-SET" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.21 { + remote-as 2 + + rde evaluate all + + descr "AS2_1 client, AS-SET from AS..." + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::21 { + remote-as 2 + + rde evaluate all + + descr "AS2_1 client, AS-SET from AS..." + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.41 { + remote-as 4 + + rde evaluate all + + descr "AS4_1 client, AS-SET configu..." + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::41 { + remote-as 4 + + rde evaluate all + + descr "AS4_1 client, AS-SET configu..." + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.51 { + remote-as 5 + + rde evaluate all + + descr "AS5_1 client, AS-SET from Pe..." + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::51 { + remote-as 5 + + rde evaluate all + + descr "AS5_1 client, AS-SET from Pe..." + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.61 { + remote-as 6 + + rde evaluate all + + descr "AS6_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::61 { + remote-as 6 + + rde evaluate all + + descr "AS6_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } +} + + + +# --------------------------------------------------------- +# FILTERS + +# NO_ADVERTISE usage notes. +# The NO_ADVERTISE well-know community is used here to handle +# filters that span over multiple steps. At first it is added +# to any route, then it is removed as filters conditions are +# satisfied. Finally, if it is still present, it means that +# the route should be discarded. + + + + + +prefix-set "bogons" { + 0.0.0.0/0 + 0.0.0.0/8 prefixlen 8 - 32 + 10.0.0.0/8 prefixlen 8 - 32 + 127.0.0.0/8 prefixlen 8 - 32 + 169.254.0.0/16 prefixlen 16 - 32 + 172.16.0.0/12 prefixlen 12 - 32 + 192.0.2.0/24 prefixlen 24 - 32 + 192.88.99.0/24 prefixlen 24 - 32 + 192.168.0.0/16 prefixlen 16 - 32 + 198.18.0.0/15 prefixlen 15 - 32 + 198.51.100.0/24 prefixlen 24 - 32 + 203.0.113.0/24 prefixlen 24 - 32 + 224.0.0.0/3 prefixlen 3 - 32 + 100.64.0.0/10 prefixlen 10 - 32 + ::/0 + ::/8 prefixlen 8 - 128 + 64:ff9b::/96 prefixlen 96 - 128 + 100::/8 prefixlen 8 - 128 + 200::/7 prefixlen 7 - 128 + 400::/6 prefixlen 6 - 128 + 800::/5 prefixlen 5 - 128 + 1000::/4 prefixlen 4 - 128 + 2001::/33 prefixlen 33 - 128 + 2001:0:8000::/33 prefixlen 33 - 128 + 2001:2::/48 prefixlen 48 - 128 + 2001:3::/32 prefixlen 32 - 128 + 2001:10::/28 prefixlen 28 - 128 + 2001:20::/28 prefixlen 28 - 128 + 2001:db8::/32 prefixlen 32 - 128 + 2002::/16 prefixlen 16 - 128 + 3ffe::/16 prefixlen 16 - 128 + 4000::/3 prefixlen 3 - 128 + 5f00::/8 prefixlen 8 - 128 + 6000::/3 prefixlen 3 - 128 + 8000::/3 prefixlen 3 - 128 + a000::/3 prefixlen 3 - 128 + c000::/3 prefixlen 3 - 128 + e000::/4 prefixlen 4 - 128 + f000::/5 prefixlen 5 - 128 + f800::/6 prefixlen 6 - 128 + fc00::/7 prefixlen 7 - 128 + fe80::/10 prefixlen 10 - 128 + fec0::/10 prefixlen 10 - 128 + ff00::/8 prefixlen 8 - 128 + +} + +# ===================================================================================== +# Global rules. + +# This part of configuration is processed at the beginning of the filters. +# The rules defined in this part are applied to all the clients, and not on a +# client-by-client basis (see the 'match from group clients'), so only global policies +# can be implemented here, that is no client-level configuration are allowed. + + + +# Scrub communities from inbound routes +# origin_not_present_in_as_set +match from group clients set community delete 999:64515 +match from group clients set large-community delete 999:0:64515 + +# origin_present_in_as_set +match from group clients set community delete 999:64514 +match from group clients set large-community delete 999:0:64514 + +# prefix_not_present_in_as_set +match from group clients set community delete 999:64513 +match from group clients set large-community delete 999:0:64513 + +# prefix_present_in_as_set +match from group clients set community delete 999:64512 +match from group clients set large-community delete 999:0:64512 + +# prefix_validated_via_arin_whois_db_dump +match from group clients set community delete 999:64518 +match from group clients set large-community delete 999:0:64518 + +# prefix_validated_via_rpki_roas +match from group clients set community delete 999:64516 +match from group clients set large-community delete 999:0:64516 + +# route_validated_via_white_list +match from group clients set community delete 999:64517 +match from group clients set large-community delete 999:0:64517 + + +# Scrub internal communities from inbound routes +match from group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + + +# The main goal of this block is to enrich routes received from clients by attaching to them +# internal informational communities which are used later by the rest of the filter rules. + +# Internal communities used for RFC1997 well-known communities handling + +# Transform NO_EXPORT into $INTCOMM_NO_EXPORT +match from group clients community NO_EXPORT set { ext-community $INTCOMM_NO_EXPORT community delete NO_EXPORT } + +# Transform NO_ADVERTISE into $INTCOMM_NO_ADVERTISE +match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ADVERTISE community delete NO_ADVERTISE } + + +# --------------------------------------------------------- +# ROAs source + + +roa-set { + +} + + + + +# --------------------------------------------------------- +# RPKI ROAs used as route objects. + +# Add the $INTCOMM_PREF_OK_ROA ext community to routes whose +# origin ASN has a ROA for the announced prefix. +# It will be used later during IRRDB validation in +# case the origin ASN is authorized by a client's +# AS-SET but the prefix is not. + +match from group clients ovs valid set ext-community $INTCOMM_PREF_OK_ROA + + + + + + +# Set the 'rejected_route_announced_by' community for all the clients. +# It will be removed later if the route is not invalid +match from 192.0.2.11 set ext-community rt 65520:1 + +match from 2001:db8:1:1::11 set ext-community rt 65520:1 + +match from 192.0.2.21 set ext-community rt 65520:2 + +match from 2001:db8:1:1::21 set ext-community rt 65520:2 + +match from 192.0.2.41 set ext-community rt 65520:4 + +match from 2001:db8:1:1::41 set ext-community rt 65520:4 + +match from 192.0.2.51 set ext-community rt 65520:5 + +match from 2001:db8:1:1::51 set ext-community rt 65520:5 + +match from 192.0.2.61 set ext-community rt 65520:6 + +match from 2001:db8:1:1::61 set ext-community rt 65520:6 + + + + +# AS_PATH: length +# Reject inbound routes when 'from group clients max-as-len 32' - reject code: 1 +allow quick from group clients max-as-len 32 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:1} + + + +# Prefix: only IPv6 Global Unicast space allowed +match from group clients inet6 set community NO_ADVERTISE +match from group clients prefix 2000::/3 or-longer set community delete NO_ADVERTISE +# Reject inbound routes when 'from group clients community NO_ADVERTISE' - reject code: 10 +allow quick from group clients community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:10} + + +# Prefix: bogon +# Reject inbound routes when 'from group clients prefix-set bogons' - reject code: 2 +allow quick from group clients prefix-set bogons set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:2} + + + + +# ===================================================================================== +# Per client rules. + + +# --------------------------------------------- +# client AS1_1, inbound + + + +# NEXT_HOP +match from 192.0.2.11 set community NO_ADVERTISE +match from 192.0.2.11 nexthop 192.0.2.11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.11 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.11 peer-as != 1' - reject code: 6 +allow quick from 192.0.2.11 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.11 AS 23456' - reject code: 7 +allow quick from 192.0.2.11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + +match from 192.0.2.11 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS1_1, AS1: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.11 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS1 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS1_1, AS1: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.11 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS1 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.11 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 192.0.2.11 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 192.0.2.11 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 192.0.2.11 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.11 set ext-community delete rt 65520:1 + + + +allow quick from 192.0.2.11 + + + +# --------------------------------------------- +# client AS1_1, outbound + +deny quick to 192.0.2.11 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.11 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.11 + + + + + + +# --------------------------------------------- +# client AS1_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::11 set community NO_ADVERTISE +match from 2001:db8:1:1::11 nexthop 2001:db8:1:1::11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::11 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::11 peer-as != 1' - reject code: 6 +allow quick from 2001:db8:1:1::11 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + +match from 2001:db8:1:1::11 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS1_2, AS1: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::11 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS1 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS1_2, AS1: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::11 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS1 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::11 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 2001:db8:1:1::11 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::11 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 2001:db8:1:1::11 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::11 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::11 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::11 set ext-community delete rt 65520:1 + + + +allow quick from 2001:db8:1:1::11 + + + +# --------------------------------------------- +# client AS1_2, outbound + +deny quick to 2001:db8:1:1::11 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::11 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::11 + + + + + + +# --------------------------------------------- +# client AS2_1, inbound + + + +# NEXT_HOP +match from 192.0.2.21 set community NO_ADVERTISE +match from 192.0.2.21 nexthop 192.0.2.21 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.21 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.21 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.21 peer-as != 2' - reject code: 6 +allow quick from 192.0.2.21 peer-as != 2 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.21 AS 23456' - reject code: 7 +allow quick from 192.0.2.21 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.21 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.21 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.21 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.21 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + +match from 192.0.2.21 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS2_1, AS2: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.21 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS2 referenced but empty. +match from 192.0.2.21 source-as as-set AS_SET_WHITE_LIST_AS2_1_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # WHITE_LIST_AS2_1 +# AS-SET AS_AS2 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS2_1, AS2: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.21 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS2 referenced but empty. +match from 192.0.2.21 prefix-set AS_SET_WHITE_LIST_AS2_1_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # WHITE_LIST_AS2_1 +# AS-SET AS_AS2 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.21 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 192.0.2.21 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 192.0.2.21 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 192.0.2.21 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.21 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.21 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.21 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.21 set ext-community delete rt 65520:2 + + + +allow quick from 192.0.2.21 + + + +# --------------------------------------------- +# client AS2_1, outbound + +deny quick to 192.0.2.21 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.21 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.21 + + + + + + +# --------------------------------------------- +# client AS2_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::21 set community NO_ADVERTISE +match from 2001:db8:1:1::21 nexthop 2001:db8:1:1::21 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::21 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::21 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::21 peer-as != 2' - reject code: 6 +allow quick from 2001:db8:1:1::21 peer-as != 2 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + +match from 2001:db8:1:1::21 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS2_2, AS2: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::21 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::21 source-as as-set AS_SET_WHITE_LIST_AS2_2_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # WHITE_LIST_AS2_2 +# AS-SET AS2 referenced but empty. +# AS-SET AS_AS2 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS2_2, AS2: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::21 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::21 prefix-set AS_SET_WHITE_LIST_AS2_2_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # WHITE_LIST_AS2_2 +# AS-SET AS2 referenced but empty. +# AS-SET AS_AS2 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::21 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 2001:db8:1:1::21 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::21 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 2001:db8:1:1::21 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::21 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::21 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::21 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::21 set ext-community delete rt 65520:2 + + + +allow quick from 2001:db8:1:1::21 + + + +# --------------------------------------------- +# client AS2_2, outbound + +deny quick to 2001:db8:1:1::21 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::21 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::21 + + + + + + +# --------------------------------------------- +# client AS4_1, inbound + + + +# NEXT_HOP +match from 192.0.2.41 set community NO_ADVERTISE +match from 192.0.2.41 nexthop 192.0.2.41 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.41 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.41 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.41 peer-as != 4' - reject code: 6 +allow quick from 192.0.2.41 peer-as != 4 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.41 AS 23456' - reject code: 7 +allow quick from 192.0.2.41 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.41 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.41 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.41 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.41 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + +# client's white list +# Add the $INTCOMM_ROUTE_OK_WL ext community to routes which +# are validated by a client's white list entry. +# It will be used later during IRRDB validation in +# case the route is not authorized by a client's +# AS-SET. +match from 192.0.2.41 prefix 2a04:4::/32 source-as 44 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.41 prefix 2a04:5::/32 prefixlen 32 - 128 source-as 43 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.41 prefix 2a04:6::/32 prefixlen 32 - 128 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.41 prefix 4.4.0.0/16 source-as 44 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.41 prefix 4.5.0.0/16 prefixlen 16 - 32 source-as 43 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.41 prefix 4.6.0.0/16 prefixlen 16 - 32 set ext-community $INTCOMM_ROUTE_OK_WL # None + +match from 192.0.2.41 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS4_1, AS4: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.41 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.41 source-as as-set AS_SET_WHITE_LIST_AS4_1_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # WHITE_LIST_AS4_1 +# AS-SET AS4 referenced but empty. +# AS-SET AS_AS4 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS4_1, AS4: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.41 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.41 prefix-set AS_SET_WHITE_LIST_AS4_1_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # WHITE_LIST_AS4_1 +# AS-SET AS4 referenced but empty. +# AS-SET AS_AS4 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.41 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 192.0.2.41 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 192.0.2.41 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 192.0.2.41 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + + + +# route authorized by a client's white list? +match from 192.0.2.41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set community 999:64517 +match from 192.0.2.41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set large-community 999:0:64517 + +match from 192.0.2.41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set ext-community delete $INTCOMM_IRR_REJECT + +# enforcing: origin ASN +# Reject inbound routes when 'from 192.0.2.41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 192.0.2.41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.41 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.41 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.41 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.41 set ext-community delete rt 65520:4 + + + +allow quick from 192.0.2.41 + + + +# --------------------------------------------- +# client AS4_1, outbound + +deny quick to 192.0.2.41 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.41 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.41 + + + + + + +# --------------------------------------------- +# client AS4_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::41 set community NO_ADVERTISE +match from 2001:db8:1:1::41 nexthop 2001:db8:1:1::41 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::41 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::41 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::41 peer-as != 4' - reject code: 6 +allow quick from 2001:db8:1:1::41 peer-as != 4 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + +# client's white list +# Add the $INTCOMM_ROUTE_OK_WL ext community to routes which +# are validated by a client's white list entry. +# It will be used later during IRRDB validation in +# case the route is not authorized by a client's +# AS-SET. +match from 2001:db8:1:1::41 prefix 2a04:4::/32 source-as 44 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::41 prefix 2a04:5::/32 prefixlen 32 - 128 source-as 43 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::41 prefix 2a04:6::/32 prefixlen 32 - 128 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::41 prefix 4.4.0.0/16 source-as 44 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::41 prefix 4.5.0.0/16 prefixlen 16 - 32 source-as 43 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::41 prefix 4.6.0.0/16 prefixlen 16 - 32 set ext-community $INTCOMM_ROUTE_OK_WL # None + +match from 2001:db8:1:1::41 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS4_2, AS4: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::41 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS4 referenced but empty. +# AS-SET AS_AS4 referenced but empty. +match from 2001:db8:1:1::41 source-as as-set AS_SET_WHITE_LIST_AS4_2_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # WHITE_LIST_AS4_2 +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS4_2, AS4: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::41 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS4 referenced but empty. +# AS-SET AS_AS4 referenced but empty. +match from 2001:db8:1:1::41 prefix-set AS_SET_WHITE_LIST_AS4_2_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # WHITE_LIST_AS4_2 +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::41 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 2001:db8:1:1::41 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::41 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 2001:db8:1:1::41 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + + + +# route authorized by a client's white list? +match from 2001:db8:1:1::41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set community 999:64517 +match from 2001:db8:1:1::41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set large-community 999:0:64517 + +match from 2001:db8:1:1::41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set ext-community delete $INTCOMM_IRR_REJECT + +# enforcing: origin ASN +# Reject inbound routes when 'from 2001:db8:1:1::41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 2001:db8:1:1::41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::41 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::41 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::41 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::41 set ext-community delete rt 65520:4 + + + +allow quick from 2001:db8:1:1::41 + + + +# --------------------------------------------- +# client AS4_2, outbound + +deny quick to 2001:db8:1:1::41 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::41 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::41 + + + + + + +# --------------------------------------------- +# client AS5_1, inbound + + + +# NEXT_HOP +match from 192.0.2.51 set community NO_ADVERTISE +match from 192.0.2.51 nexthop 192.0.2.51 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.51 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.51 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.51 peer-as != 5' - reject code: 6 +allow quick from 192.0.2.51 peer-as != 5 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.51 AS 23456' - reject code: 7 +allow quick from 192.0.2.51 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.51 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.51 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.51 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.51 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + +match from 192.0.2.51 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS5_1, AS5: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.51 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS_AS5_FROM_PDB referenced but empty. +# AS-SET AS5 referenced but empty. +match from 192.0.2.51 source-as as-set AS_SET_WHITE_LIST_AS5_1_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # WHITE_LIST_AS5_1 +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS5_1, AS5: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.51 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS_AS5_FROM_PDB referenced but empty. +# AS-SET AS5 referenced but empty. +match from 192.0.2.51 prefix-set AS_SET_WHITE_LIST_AS5_1_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # WHITE_LIST_AS5_1 +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.51 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 192.0.2.51 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 192.0.2.51 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 192.0.2.51 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + + + + +# enforcing: prefix +# Reject inbound routes when 'from 192.0.2.51 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 192.0.2.51 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.51 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.51 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.51 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.51 set ext-community delete rt 65520:5 + + + +allow quick from 192.0.2.51 + + + +# --------------------------------------------- +# client AS5_1, outbound + +deny quick to 192.0.2.51 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.51 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.51 + + + + + + +# --------------------------------------------- +# client AS5_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::51 set community NO_ADVERTISE +match from 2001:db8:1:1::51 nexthop 2001:db8:1:1::51 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::51 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::51 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::51 peer-as != 5' - reject code: 6 +allow quick from 2001:db8:1:1::51 peer-as != 5 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::51 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::51 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::51 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::51 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::51 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::51 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + +match from 2001:db8:1:1::51 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS5_2, AS5: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::51 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS_AS5_FROM_PDB referenced but empty. +match from 2001:db8:1:1::51 source-as as-set AS_SET_WHITE_LIST_AS5_2_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # WHITE_LIST_AS5_2 +# AS-SET AS5 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS5_2, AS5: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::51 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS_AS5_FROM_PDB referenced but empty. +match from 2001:db8:1:1::51 prefix-set AS_SET_WHITE_LIST_AS5_2_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # WHITE_LIST_AS5_2 +# AS-SET AS5 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::51 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 2001:db8:1:1::51 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::51 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 2001:db8:1:1::51 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + + + + +# enforcing: prefix +# Reject inbound routes when 'from 2001:db8:1:1::51 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 2001:db8:1:1::51 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::51 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::51 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::51 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::51 set ext-community delete rt 65520:5 + + + +allow quick from 2001:db8:1:1::51 + + + +# --------------------------------------------- +# client AS5_2, outbound + +deny quick to 2001:db8:1:1::51 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::51 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::51 + + + + + + +# --------------------------------------------- +# client AS6_1, inbound + + + +# NEXT_HOP +match from 192.0.2.61 set community NO_ADVERTISE +match from 192.0.2.61 nexthop 192.0.2.61 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.61 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.61 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.61 peer-as != 6' - reject code: 6 +allow quick from 192.0.2.61 peer-as != 6 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.61 AS 23456' - reject code: 7 +allow quick from 192.0.2.61 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.61 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.61 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.61 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.61 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + +# client's white list +# Add the $INTCOMM_ROUTE_OK_WL ext community to routes which +# are validated by a client's white list entry. +# It will be used later during IRRDB validation in +# case the route is not authorized by a client's +# AS-SET. +match from 192.0.2.61 prefix 2a03:2::/32 prefixlen 32 - 128 source-as 3 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.61 prefix 3.2.0.0/16 prefixlen 16 - 32 source-as 3 set ext-community $INTCOMM_ROUTE_OK_WL # None + +match from 192.0.2.61 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS6_1, AS6: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.61 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS6 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS6_1, AS6: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.61 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS6 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.61 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 192.0.2.61 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 192.0.2.61 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 192.0.2.61 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + + + +# route authorized by a client's white list? +match from 192.0.2.61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set community 999:64517 +match from 192.0.2.61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set large-community 999:0:64517 + +match from 192.0.2.61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set ext-community delete $INTCOMM_IRR_REJECT + +# enforcing: origin ASN +# Reject inbound routes when 'from 192.0.2.61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 192.0.2.61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 192.0.2.61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 192.0.2.61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.61 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.61 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.61 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.61 set ext-community delete rt 65520:6 + + + +allow quick from 192.0.2.61 + + + +# --------------------------------------------- +# client AS6_1, outbound + +deny quick to 192.0.2.61 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.61 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.61 + + + + + + +# --------------------------------------------- +# client AS6_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::61 set community NO_ADVERTISE +match from 2001:db8:1:1::61 nexthop 2001:db8:1:1::61 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::61 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::61 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::61 peer-as != 6' - reject code: 6 +allow quick from 2001:db8:1:1::61 peer-as != 6 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::61 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::61 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::61 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::61 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::61 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::61 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + +# client's white list +# Add the $INTCOMM_ROUTE_OK_WL ext community to routes which +# are validated by a client's white list entry. +# It will be used later during IRRDB validation in +# case the route is not authorized by a client's +# AS-SET. +match from 2001:db8:1:1::61 prefix 2a03:2::/32 prefixlen 32 - 128 source-as 3 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::61 prefix 3.2.0.0/16 prefixlen 16 - 32 source-as 3 set ext-community $INTCOMM_ROUTE_OK_WL # None + +match from 2001:db8:1:1::61 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS6_2, AS6: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::61 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS6 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS6_2, AS6: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::61 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS6 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::61 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 2001:db8:1:1::61 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::61 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 2001:db8:1:1::61 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + + + +# route authorized by a client's white list? +match from 2001:db8:1:1::61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set community 999:64517 +match from 2001:db8:1:1::61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set large-community 999:0:64517 + +match from 2001:db8:1:1::61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set ext-community delete $INTCOMM_IRR_REJECT + +# enforcing: origin ASN +# Reject inbound routes when 'from 2001:db8:1:1::61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 2001:db8:1:1::61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 2001:db8:1:1::61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 2001:db8:1:1::61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::61 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::61 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::61 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::61 set ext-community delete rt 65520:6 + + + +allow quick from 2001:db8:1:1::61 + + + +# --------------------------------------------- +# client AS6_2, outbound + +deny quick to 2001:db8:1:1::61 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::61 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::61 + + + + + + + + +# Scrub communities from outbound routes + +# Scrub prepending communities + + +# RFC1997 NO_EXPORT/NO_ADVERTISE received from clients and propagated because of pass-through policy +match to group clients ext-community $INTCOMM_NO_EXPORT set community NO_EXPORT +match to group clients ext-community $INTCOMM_NO_ADVERTISE set community NO_ADVERTISE + +# Remove internal communities before announcing the route +match to group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + diff --git a/tests/live_tests/scenarios/tag_as_set/configs/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv4/openbgpd69p.conf b/tests/live_tests/scenarios/tag_as_set/configs/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv4/openbgpd69p.conf new file mode 100644 index 00000000..29ee9fb1 --- /dev/null +++ b/tests/live_tests/scenarios/tag_as_set/configs/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv4/openbgpd69p.conf @@ -0,0 +1,1765 @@ +# built by ARouteServer +AS 999 +router-id 192.0.2.2 + +fib-update no +log updates + +nexthop qualify via default + +rde evaluate all + +INTCOMM_PREF_OK_ROA="soo 65535:1" +INTCOMM_ROUTE_OK_WL="soo 65535:2" +INTCOMM_PREF_OK_ARINDB="soo 65535:3" +INTCOMM_PREF_OK_REGISTROBRDB="soo 65535:12" + +INTCOMM_ORIGIN_OK="soo 65535:4" +INTCOMM_ORIGIN_KO="soo 65535:5" +INTCOMM_PREFIX_OK="soo 65535:6" +INTCOMM_PREFIX_KO="soo 65535:7" +INTCOMM_IRR_REJECT="soo 65535:8" + +INTCOMM_RPKI_UNKNOWN="soo 65535:9" +INTCOMM_RPKI_INVALID="soo 65535:10" +INTCOMM_RPKI_VALID="soo 65535:11" + +INTCOMM_NO_EXPORT="soo 65535:65281" +INTCOMM_NO_ADVERTISE="soo 65535:65282" + +# --------------------------------------------------------- +# IRRDB + +# WHITE_LIST_AS4_1, used by client AS4_1 white list +as-set "AS_SET_WHITE_LIST_AS4_1_asns" { + 41 +} +prefix-set "AS_SET_WHITE_LIST_AS4_1_prefixes" { + 4.2.0.0/16 prefixlen 16 - 32 + 2a04:2::/32 prefixlen 32 - 128 +} + +# AS4, used by client AS4_1, client AS4_2 +# no origin ASNs found for AS4 +# no prefixes found for AS4 + +# WHITE_LIST_AS2_2, used by client AS2_2 white list +as-set "AS_SET_WHITE_LIST_AS2_2_asns" { + 21 +} +prefix-set "AS_SET_WHITE_LIST_AS2_2_prefixes" { + 2.2.0.0/16 prefixlen 16 - 32 + 2a02:2::/32 prefixlen 32 - 128 +} + +# AS-AS5_FROM_PDB, used by client AS5_1, client AS5_2 +# no origin ASNs found for AS_AS5_FROM_PDB +# no prefixes found for AS_AS5_FROM_PDB + +# AS-AS4, used by client AS4_1, client AS4_2 +# no origin ASNs found for AS_AS4 +# no prefixes found for AS_AS4 + +# AS2, used by client AS2_1, client AS2_2 +# no origin ASNs found for AS2 +# no prefixes found for AS2 + +# WHITE_LIST_AS5_2, used by client AS5_2 white list +as-set "AS_SET_WHITE_LIST_AS5_2_asns" { + 51 +} +prefix-set "AS_SET_WHITE_LIST_AS5_2_prefixes" { + 5.2.0.0/16 prefixlen 16 - 32 + 2a05:2::/32 prefixlen 32 - 128 +} + +# AS5, used by client AS5_1, client AS5_2 +# no origin ASNs found for AS5 +# no prefixes found for AS5 + +# AS6, used by client AS6_1, client AS6_2 +# no origin ASNs found for AS6 +# no prefixes found for AS6 + +# WHITE_LIST_AS5_1, used by client AS5_1 white list +as-set "AS_SET_WHITE_LIST_AS5_1_asns" { + 51 +} +prefix-set "AS_SET_WHITE_LIST_AS5_1_prefixes" { + 5.2.0.0/16 prefixlen 16 - 32 + 2a05:2::/32 prefixlen 32 - 128 +} + +# WHITE_LIST_AS2_1, used by client AS2_1 white list +as-set "AS_SET_WHITE_LIST_AS2_1_asns" { + 21 +} +prefix-set "AS_SET_WHITE_LIST_AS2_1_prefixes" { + 2.2.0.0/16 prefixlen 16 - 32 + 2a02:2::/32 prefixlen 32 - 128 +} + +# AS1, used by client AS1_1, client AS1_2 +# no origin ASNs found for AS1 +# no prefixes found for AS1 + +# WHITE_LIST_AS4_2, used by client AS4_2 white list +as-set "AS_SET_WHITE_LIST_AS4_2_asns" { + 41 +} +prefix-set "AS_SET_WHITE_LIST_AS4_2_prefixes" { + 4.2.0.0/16 prefixlen 16 - 32 + 2a04:2::/32 prefixlen 32 - 128 +} + +# AS-AS2, used by client AS2_1, client AS2_2 +# no origin ASNs found for AS_AS2 +# no prefixes found for AS_AS2 + + + + +# --------------------------------------------------------- +# MEMBERS + +group "clients" { + + neighbor 192.0.2.11 { + remote-as 1 + + rde evaluate all + + descr "AS1_1 client, no AS-SET" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::11 { + remote-as 1 + + rde evaluate all + + descr "AS1_1 client, no AS-SET" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.21 { + remote-as 2 + + rde evaluate all + + descr "AS2_1 client, AS-SET from AS..." + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::21 { + remote-as 2 + + rde evaluate all + + descr "AS2_1 client, AS-SET from AS..." + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.41 { + remote-as 4 + + rde evaluate all + + descr "AS4_1 client, AS-SET configu..." + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::41 { + remote-as 4 + + rde evaluate all + + descr "AS4_1 client, AS-SET configu..." + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.51 { + remote-as 5 + + rde evaluate all + + descr "AS5_1 client, AS-SET from Pe..." + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::51 { + remote-as 5 + + rde evaluate all + + descr "AS5_1 client, AS-SET from Pe..." + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.61 { + remote-as 6 + + rde evaluate all + + descr "AS6_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::61 { + remote-as 6 + + rde evaluate all + + descr "AS6_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } +} + + + +# --------------------------------------------------------- +# FILTERS + +# NO_ADVERTISE usage notes. +# The NO_ADVERTISE well-know community is used here to handle +# filters that span over multiple steps. At first it is added +# to any route, then it is removed as filters conditions are +# satisfied. Finally, if it is still present, it means that +# the route should be discarded. + + + + + +prefix-set "bogons" { + 0.0.0.0/0 + 0.0.0.0/8 prefixlen 8 - 32 + 10.0.0.0/8 prefixlen 8 - 32 + 127.0.0.0/8 prefixlen 8 - 32 + 169.254.0.0/16 prefixlen 16 - 32 + 172.16.0.0/12 prefixlen 12 - 32 + 192.0.2.0/24 prefixlen 24 - 32 + 192.88.99.0/24 prefixlen 24 - 32 + 192.168.0.0/16 prefixlen 16 - 32 + 198.18.0.0/15 prefixlen 15 - 32 + 198.51.100.0/24 prefixlen 24 - 32 + 203.0.113.0/24 prefixlen 24 - 32 + 224.0.0.0/3 prefixlen 3 - 32 + 100.64.0.0/10 prefixlen 10 - 32 + ::/0 + ::/8 prefixlen 8 - 128 + 64:ff9b::/96 prefixlen 96 - 128 + 100::/8 prefixlen 8 - 128 + 200::/7 prefixlen 7 - 128 + 400::/6 prefixlen 6 - 128 + 800::/5 prefixlen 5 - 128 + 1000::/4 prefixlen 4 - 128 + 2001::/33 prefixlen 33 - 128 + 2001:0:8000::/33 prefixlen 33 - 128 + 2001:2::/48 prefixlen 48 - 128 + 2001:3::/32 prefixlen 32 - 128 + 2001:10::/28 prefixlen 28 - 128 + 2001:20::/28 prefixlen 28 - 128 + 2001:db8::/32 prefixlen 32 - 128 + 2002::/16 prefixlen 16 - 128 + 3ffe::/16 prefixlen 16 - 128 + 4000::/3 prefixlen 3 - 128 + 5f00::/8 prefixlen 8 - 128 + 6000::/3 prefixlen 3 - 128 + 8000::/3 prefixlen 3 - 128 + a000::/3 prefixlen 3 - 128 + c000::/3 prefixlen 3 - 128 + e000::/4 prefixlen 4 - 128 + f000::/5 prefixlen 5 - 128 + f800::/6 prefixlen 6 - 128 + fc00::/7 prefixlen 7 - 128 + fe80::/10 prefixlen 10 - 128 + fec0::/10 prefixlen 10 - 128 + ff00::/8 prefixlen 8 - 128 + +} + +# ===================================================================================== +# Global rules. + +# This part of configuration is processed at the beginning of the filters. +# The rules defined in this part are applied to all the clients, and not on a +# client-by-client basis (see the 'match from group clients'), so only global policies +# can be implemented here, that is no client-level configuration are allowed. + + + +# Scrub communities from inbound routes +# origin_not_present_in_as_set +match from group clients set community delete 999:64515 +match from group clients set large-community delete 999:0:64515 + +# origin_present_in_as_set +match from group clients set community delete 999:64514 +match from group clients set large-community delete 999:0:64514 + +# prefix_not_present_in_as_set +match from group clients set community delete 999:64513 +match from group clients set large-community delete 999:0:64513 + +# prefix_present_in_as_set +match from group clients set community delete 999:64512 +match from group clients set large-community delete 999:0:64512 + +# prefix_validated_via_arin_whois_db_dump +match from group clients set community delete 999:64518 +match from group clients set large-community delete 999:0:64518 + +# prefix_validated_via_rpki_roas +match from group clients set community delete 999:64516 +match from group clients set large-community delete 999:0:64516 + +# route_validated_via_white_list +match from group clients set community delete 999:64517 +match from group clients set large-community delete 999:0:64517 + + +# Scrub internal communities from inbound routes +match from group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + + +# The main goal of this block is to enrich routes received from clients by attaching to them +# internal informational communities which are used later by the rest of the filter rules. + +# Internal communities used for RFC1997 well-known communities handling + +# Transform NO_EXPORT into $INTCOMM_NO_EXPORT +match from group clients community NO_EXPORT set { ext-community $INTCOMM_NO_EXPORT community delete NO_EXPORT } + +# Transform NO_ADVERTISE into $INTCOMM_NO_ADVERTISE +match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ADVERTISE community delete NO_ADVERTISE } + + +# --------------------------------------------------------- +# ROAs source + + +roa-set { + +} + + + + +# --------------------------------------------------------- +# RPKI ROAs used as route objects. + +# Add the $INTCOMM_PREF_OK_ROA ext community to routes whose +# origin ASN has a ROA for the announced prefix. +# It will be used later during IRRDB validation in +# case the origin ASN is authorized by a client's +# AS-SET but the prefix is not. + +match from group clients ovs valid set ext-community $INTCOMM_PREF_OK_ROA + + + + + + +# Set the 'rejected_route_announced_by' community for all the clients. +# It will be removed later if the route is not invalid +match from 192.0.2.11 set ext-community rt 65520:1 + +match from 2001:db8:1:1::11 set ext-community rt 65520:1 + +match from 192.0.2.21 set ext-community rt 65520:2 + +match from 2001:db8:1:1::21 set ext-community rt 65520:2 + +match from 192.0.2.41 set ext-community rt 65520:4 + +match from 2001:db8:1:1::41 set ext-community rt 65520:4 + +match from 192.0.2.51 set ext-community rt 65520:5 + +match from 2001:db8:1:1::51 set ext-community rt 65520:5 + +match from 192.0.2.61 set ext-community rt 65520:6 + +match from 2001:db8:1:1::61 set ext-community rt 65520:6 + + + + +# AS_PATH: length +# Reject inbound routes when 'from group clients max-as-len 32' - reject code: 1 +allow quick from group clients max-as-len 32 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:1} + + + +# Prefix: only IPv6 Global Unicast space allowed +match from group clients inet6 set community NO_ADVERTISE +match from group clients prefix 2000::/3 or-longer set community delete NO_ADVERTISE +# Reject inbound routes when 'from group clients community NO_ADVERTISE' - reject code: 10 +allow quick from group clients community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:10} + + +# Prefix: bogon +# Reject inbound routes when 'from group clients prefix-set bogons' - reject code: 2 +allow quick from group clients prefix-set bogons set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:2} + + + + +# ===================================================================================== +# Per client rules. + + +# --------------------------------------------- +# client AS1_1, inbound + + + +# NEXT_HOP +match from 192.0.2.11 set community NO_ADVERTISE +match from 192.0.2.11 nexthop 192.0.2.11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.11 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.11 peer-as != 1' - reject code: 6 +allow quick from 192.0.2.11 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.11 AS 23456' - reject code: 7 +allow quick from 192.0.2.11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + +match from 192.0.2.11 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS1_1, AS1: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.11 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS1 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS1_1, AS1: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.11 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS1 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.11 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 192.0.2.11 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 192.0.2.11 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 192.0.2.11 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.11 set ext-community delete rt 65520:1 + + + +allow quick from 192.0.2.11 + + + +# --------------------------------------------- +# client AS1_1, outbound + +deny quick to 192.0.2.11 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.11 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.11 + + + + + + +# --------------------------------------------- +# client AS1_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::11 set community NO_ADVERTISE +match from 2001:db8:1:1::11 nexthop 2001:db8:1:1::11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::11 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::11 peer-as != 1' - reject code: 6 +allow quick from 2001:db8:1:1::11 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + +match from 2001:db8:1:1::11 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS1_2, AS1: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::11 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS1 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS1_2, AS1: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::11 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS1 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::11 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 2001:db8:1:1::11 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::11 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 2001:db8:1:1::11 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::11 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::11 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::11 set ext-community delete rt 65520:1 + + + +allow quick from 2001:db8:1:1::11 + + + +# --------------------------------------------- +# client AS1_2, outbound + +deny quick to 2001:db8:1:1::11 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::11 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::11 + + + + + + +# --------------------------------------------- +# client AS2_1, inbound + + + +# NEXT_HOP +match from 192.0.2.21 set community NO_ADVERTISE +match from 192.0.2.21 nexthop 192.0.2.21 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.21 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.21 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.21 peer-as != 2' - reject code: 6 +allow quick from 192.0.2.21 peer-as != 2 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.21 AS 23456' - reject code: 7 +allow quick from 192.0.2.21 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.21 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.21 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.21 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.21 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + +match from 192.0.2.21 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS2_1, AS2: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.21 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS2 referenced but empty. +match from 192.0.2.21 source-as as-set AS_SET_WHITE_LIST_AS2_1_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # WHITE_LIST_AS2_1 +# AS-SET AS_AS2 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS2_1, AS2: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.21 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS2 referenced but empty. +match from 192.0.2.21 prefix-set AS_SET_WHITE_LIST_AS2_1_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # WHITE_LIST_AS2_1 +# AS-SET AS_AS2 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.21 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 192.0.2.21 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 192.0.2.21 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 192.0.2.21 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.21 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.21 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.21 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.21 set ext-community delete rt 65520:2 + + + +allow quick from 192.0.2.21 + + + +# --------------------------------------------- +# client AS2_1, outbound + +deny quick to 192.0.2.21 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.21 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.21 + + + + + + +# --------------------------------------------- +# client AS2_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::21 set community NO_ADVERTISE +match from 2001:db8:1:1::21 nexthop 2001:db8:1:1::21 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::21 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::21 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::21 peer-as != 2' - reject code: 6 +allow quick from 2001:db8:1:1::21 peer-as != 2 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + +match from 2001:db8:1:1::21 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS2_2, AS2: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::21 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::21 source-as as-set AS_SET_WHITE_LIST_AS2_2_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # WHITE_LIST_AS2_2 +# AS-SET AS2 referenced but empty. +# AS-SET AS_AS2 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS2_2, AS2: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::21 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::21 prefix-set AS_SET_WHITE_LIST_AS2_2_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # WHITE_LIST_AS2_2 +# AS-SET AS2 referenced but empty. +# AS-SET AS_AS2 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::21 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 2001:db8:1:1::21 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::21 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 2001:db8:1:1::21 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::21 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::21 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::21 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::21 set ext-community delete rt 65520:2 + + + +allow quick from 2001:db8:1:1::21 + + + +# --------------------------------------------- +# client AS2_2, outbound + +deny quick to 2001:db8:1:1::21 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::21 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::21 + + + + + + +# --------------------------------------------- +# client AS4_1, inbound + + + +# NEXT_HOP +match from 192.0.2.41 set community NO_ADVERTISE +match from 192.0.2.41 nexthop 192.0.2.41 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.41 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.41 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.41 peer-as != 4' - reject code: 6 +allow quick from 192.0.2.41 peer-as != 4 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.41 AS 23456' - reject code: 7 +allow quick from 192.0.2.41 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.41 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.41 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.41 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.41 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + +# client's white list +# Add the $INTCOMM_ROUTE_OK_WL ext community to routes which +# are validated by a client's white list entry. +# It will be used later during IRRDB validation in +# case the route is not authorized by a client's +# AS-SET. +match from 192.0.2.41 prefix 2a04:4::/32 source-as 44 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.41 prefix 2a04:5::/32 prefixlen 32 - 128 source-as 43 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.41 prefix 2a04:6::/32 prefixlen 32 - 128 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.41 prefix 4.4.0.0/16 source-as 44 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.41 prefix 4.5.0.0/16 prefixlen 16 - 32 source-as 43 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.41 prefix 4.6.0.0/16 prefixlen 16 - 32 set ext-community $INTCOMM_ROUTE_OK_WL # None + +match from 192.0.2.41 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS4_1, AS4: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.41 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.41 source-as as-set AS_SET_WHITE_LIST_AS4_1_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # WHITE_LIST_AS4_1 +# AS-SET AS4 referenced but empty. +# AS-SET AS_AS4 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS4_1, AS4: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.41 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.41 prefix-set AS_SET_WHITE_LIST_AS4_1_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # WHITE_LIST_AS4_1 +# AS-SET AS4 referenced but empty. +# AS-SET AS_AS4 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.41 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 192.0.2.41 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 192.0.2.41 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 192.0.2.41 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + + + +# route authorized by a client's white list? +match from 192.0.2.41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set community 999:64517 +match from 192.0.2.41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set large-community 999:0:64517 + +match from 192.0.2.41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set ext-community delete $INTCOMM_IRR_REJECT + +# enforcing: origin ASN +# Reject inbound routes when 'from 192.0.2.41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 192.0.2.41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.41 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.41 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.41 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.41 set ext-community delete rt 65520:4 + + + +allow quick from 192.0.2.41 + + + +# --------------------------------------------- +# client AS4_1, outbound + +deny quick to 192.0.2.41 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.41 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.41 + + + + + + +# --------------------------------------------- +# client AS4_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::41 set community NO_ADVERTISE +match from 2001:db8:1:1::41 nexthop 2001:db8:1:1::41 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::41 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::41 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::41 peer-as != 4' - reject code: 6 +allow quick from 2001:db8:1:1::41 peer-as != 4 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + +# client's white list +# Add the $INTCOMM_ROUTE_OK_WL ext community to routes which +# are validated by a client's white list entry. +# It will be used later during IRRDB validation in +# case the route is not authorized by a client's +# AS-SET. +match from 2001:db8:1:1::41 prefix 2a04:4::/32 source-as 44 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::41 prefix 2a04:5::/32 prefixlen 32 - 128 source-as 43 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::41 prefix 2a04:6::/32 prefixlen 32 - 128 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::41 prefix 4.4.0.0/16 source-as 44 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::41 prefix 4.5.0.0/16 prefixlen 16 - 32 source-as 43 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::41 prefix 4.6.0.0/16 prefixlen 16 - 32 set ext-community $INTCOMM_ROUTE_OK_WL # None + +match from 2001:db8:1:1::41 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS4_2, AS4: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::41 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS4 referenced but empty. +# AS-SET AS_AS4 referenced but empty. +match from 2001:db8:1:1::41 source-as as-set AS_SET_WHITE_LIST_AS4_2_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # WHITE_LIST_AS4_2 +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS4_2, AS4: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::41 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS4 referenced but empty. +# AS-SET AS_AS4 referenced but empty. +match from 2001:db8:1:1::41 prefix-set AS_SET_WHITE_LIST_AS4_2_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # WHITE_LIST_AS4_2 +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::41 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 2001:db8:1:1::41 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::41 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 2001:db8:1:1::41 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + + + +# route authorized by a client's white list? +match from 2001:db8:1:1::41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set community 999:64517 +match from 2001:db8:1:1::41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set large-community 999:0:64517 + +match from 2001:db8:1:1::41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set ext-community delete $INTCOMM_IRR_REJECT + +# enforcing: origin ASN +# Reject inbound routes when 'from 2001:db8:1:1::41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 2001:db8:1:1::41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::41 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::41 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::41 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::41 set ext-community delete rt 65520:4 + + + +allow quick from 2001:db8:1:1::41 + + + +# --------------------------------------------- +# client AS4_2, outbound + +deny quick to 2001:db8:1:1::41 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::41 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::41 + + + + + + +# --------------------------------------------- +# client AS5_1, inbound + + + +# NEXT_HOP +match from 192.0.2.51 set community NO_ADVERTISE +match from 192.0.2.51 nexthop 192.0.2.51 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.51 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.51 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.51 peer-as != 5' - reject code: 6 +allow quick from 192.0.2.51 peer-as != 5 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.51 AS 23456' - reject code: 7 +allow quick from 192.0.2.51 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.51 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.51 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.51 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.51 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + +match from 192.0.2.51 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS5_1, AS5: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.51 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS_AS5_FROM_PDB referenced but empty. +# AS-SET AS5 referenced but empty. +match from 192.0.2.51 source-as as-set AS_SET_WHITE_LIST_AS5_1_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # WHITE_LIST_AS5_1 +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS5_1, AS5: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.51 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS_AS5_FROM_PDB referenced but empty. +# AS-SET AS5 referenced but empty. +match from 192.0.2.51 prefix-set AS_SET_WHITE_LIST_AS5_1_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # WHITE_LIST_AS5_1 +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.51 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 192.0.2.51 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 192.0.2.51 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 192.0.2.51 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + + + + +# enforcing: prefix +# Reject inbound routes when 'from 192.0.2.51 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 192.0.2.51 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.51 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.51 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.51 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.51 set ext-community delete rt 65520:5 + + + +allow quick from 192.0.2.51 + + + +# --------------------------------------------- +# client AS5_1, outbound + +deny quick to 192.0.2.51 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.51 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.51 + + + + + + +# --------------------------------------------- +# client AS5_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::51 set community NO_ADVERTISE +match from 2001:db8:1:1::51 nexthop 2001:db8:1:1::51 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::51 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::51 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::51 peer-as != 5' - reject code: 6 +allow quick from 2001:db8:1:1::51 peer-as != 5 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::51 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::51 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::51 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::51 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::51 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::51 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + +match from 2001:db8:1:1::51 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS5_2, AS5: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::51 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS_AS5_FROM_PDB referenced but empty. +match from 2001:db8:1:1::51 source-as as-set AS_SET_WHITE_LIST_AS5_2_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # WHITE_LIST_AS5_2 +# AS-SET AS5 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS5_2, AS5: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::51 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS_AS5_FROM_PDB referenced but empty. +match from 2001:db8:1:1::51 prefix-set AS_SET_WHITE_LIST_AS5_2_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # WHITE_LIST_AS5_2 +# AS-SET AS5 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::51 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 2001:db8:1:1::51 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::51 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 2001:db8:1:1::51 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + + + + +# enforcing: prefix +# Reject inbound routes when 'from 2001:db8:1:1::51 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 2001:db8:1:1::51 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::51 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::51 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::51 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::51 set ext-community delete rt 65520:5 + + + +allow quick from 2001:db8:1:1::51 + + + +# --------------------------------------------- +# client AS5_2, outbound + +deny quick to 2001:db8:1:1::51 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::51 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::51 + + + + + + +# --------------------------------------------- +# client AS6_1, inbound + + + +# NEXT_HOP +match from 192.0.2.61 set community NO_ADVERTISE +match from 192.0.2.61 nexthop 192.0.2.61 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.61 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.61 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.61 peer-as != 6' - reject code: 6 +allow quick from 192.0.2.61 peer-as != 6 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.61 AS 23456' - reject code: 7 +allow quick from 192.0.2.61 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.61 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.61 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.61 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.61 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + +# client's white list +# Add the $INTCOMM_ROUTE_OK_WL ext community to routes which +# are validated by a client's white list entry. +# It will be used later during IRRDB validation in +# case the route is not authorized by a client's +# AS-SET. +match from 192.0.2.61 prefix 2a03:2::/32 prefixlen 32 - 128 source-as 3 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.61 prefix 3.2.0.0/16 prefixlen 16 - 32 source-as 3 set ext-community $INTCOMM_ROUTE_OK_WL # None + +match from 192.0.2.61 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS6_1, AS6: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.61 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS6 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS6_1, AS6: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.61 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS6 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.61 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 192.0.2.61 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 192.0.2.61 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 192.0.2.61 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + + + +# route authorized by a client's white list? +match from 192.0.2.61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set community 999:64517 +match from 192.0.2.61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set large-community 999:0:64517 + +match from 192.0.2.61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set ext-community delete $INTCOMM_IRR_REJECT + +# enforcing: origin ASN +# Reject inbound routes when 'from 192.0.2.61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 192.0.2.61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 192.0.2.61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 192.0.2.61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.61 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.61 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.61 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.61 set ext-community delete rt 65520:6 + + + +allow quick from 192.0.2.61 + + + +# --------------------------------------------- +# client AS6_1, outbound + +deny quick to 192.0.2.61 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.61 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.61 + + + + + + +# --------------------------------------------- +# client AS6_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::61 set community NO_ADVERTISE +match from 2001:db8:1:1::61 nexthop 2001:db8:1:1::61 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::61 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::61 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::61 peer-as != 6' - reject code: 6 +allow quick from 2001:db8:1:1::61 peer-as != 6 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::61 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::61 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::61 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::61 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::61 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::61 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + +# client's white list +# Add the $INTCOMM_ROUTE_OK_WL ext community to routes which +# are validated by a client's white list entry. +# It will be used later during IRRDB validation in +# case the route is not authorized by a client's +# AS-SET. +match from 2001:db8:1:1::61 prefix 2a03:2::/32 prefixlen 32 - 128 source-as 3 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::61 prefix 3.2.0.0/16 prefixlen 16 - 32 source-as 3 set ext-community $INTCOMM_ROUTE_OK_WL # None + +match from 2001:db8:1:1::61 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS6_2, AS6: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::61 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS6 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS6_2, AS6: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::61 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS6 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::61 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 2001:db8:1:1::61 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::61 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 2001:db8:1:1::61 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + + + +# route authorized by a client's white list? +match from 2001:db8:1:1::61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set community 999:64517 +match from 2001:db8:1:1::61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set large-community 999:0:64517 + +match from 2001:db8:1:1::61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set ext-community delete $INTCOMM_IRR_REJECT + +# enforcing: origin ASN +# Reject inbound routes when 'from 2001:db8:1:1::61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 2001:db8:1:1::61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 2001:db8:1:1::61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 2001:db8:1:1::61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::61 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::61 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::61 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::61 set ext-community delete rt 65520:6 + + + +allow quick from 2001:db8:1:1::61 + + + +# --------------------------------------------- +# client AS6_2, outbound + +deny quick to 2001:db8:1:1::61 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::61 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::61 + + + + + + + + +# Scrub communities from outbound routes + +# Scrub prepending communities + + +# RFC1997 NO_EXPORT/NO_ADVERTISE received from clients and propagated because of pass-through policy +match to group clients ext-community $INTCOMM_NO_EXPORT set community NO_EXPORT +match to group clients ext-community $INTCOMM_NO_ADVERTISE set community NO_ADVERTISE + +# Remove internal communities before announcing the route +match to group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + diff --git a/tests/live_tests/scenarios/tag_as_set/configs/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv6/openbgpd68.conf b/tests/live_tests/scenarios/tag_as_set/configs/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv6/openbgpd68.conf index 28c1493b..4de83da4 100644 --- a/tests/live_tests/scenarios/tag_as_set/configs/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv6/openbgpd68.conf +++ b/tests/live_tests/scenarios/tag_as_set/configs/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv6/openbgpd68.conf @@ -7,6 +7,7 @@ log updates nexthop qualify via default + INTCOMM_PREF_OK_ROA="soo 65535:1" INTCOMM_ROUTE_OK_WL="soo 65535:2" INTCOMM_PREF_OK_ARINDB="soo 65535:3" @@ -125,6 +126,7 @@ group "clients" { neighbor 192.0.2.11 { remote-as 1 + descr "AS1_1 client, no AS-SET" passive ttl-security no @@ -141,6 +143,7 @@ group "clients" { neighbor 2001:db8:1:1::11 { remote-as 1 + descr "AS1_1 client, no AS-SET" passive ttl-security no @@ -157,6 +160,7 @@ group "clients" { neighbor 192.0.2.21 { remote-as 2 + descr "AS2_1 client, AS-SET from AS..." passive ttl-security no @@ -173,6 +177,7 @@ group "clients" { neighbor 2001:db8:1:1::21 { remote-as 2 + descr "AS2_1 client, AS-SET from AS..." passive ttl-security no @@ -189,6 +194,7 @@ group "clients" { neighbor 192.0.2.41 { remote-as 4 + descr "AS4_1 client, AS-SET configu..." passive ttl-security no @@ -205,6 +211,7 @@ group "clients" { neighbor 2001:db8:1:1::41 { remote-as 4 + descr "AS4_1 client, AS-SET configu..." passive ttl-security no @@ -221,6 +228,7 @@ group "clients" { neighbor 192.0.2.51 { remote-as 5 + descr "AS5_1 client, AS-SET from Pe..." passive ttl-security no @@ -237,6 +245,7 @@ group "clients" { neighbor 2001:db8:1:1::51 { remote-as 5 + descr "AS5_1 client, AS-SET from Pe..." passive ttl-security no @@ -253,6 +262,7 @@ group "clients" { neighbor 192.0.2.61 { remote-as 6 + descr "AS6_1 client" passive ttl-security no @@ -269,6 +279,7 @@ group "clients" { neighbor 2001:db8:1:1::61 { remote-as 6 + descr "AS6_1 client" passive ttl-security no @@ -404,6 +415,26 @@ match from group clients community NO_EXPORT set { ext-community $INTCOMM_NO_EXP match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ADVERTISE community delete NO_ADVERTISE } +# --------------------------------------------------------- +# ROAs source + + +roa-set { + +} + + + + +# --------------------------------------------------------- +# RPKI ROAs used as route objects. + +# Add the $INTCOMM_PREF_OK_ROA ext community to routes whose +# origin ASN has a ROA for the announced prefix. +# It will be used later during IRRDB validation in +# case the origin ASN is authorized by a client's +# AS-SET but the prefix is not. + @@ -520,6 +551,11 @@ match from 192.0.2.11 ext-community $INTCOMM_PREFIX_OK set community 999:64512 match from 192.0.2.11 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT @@ -628,6 +664,11 @@ match from 2001:db8:1:1::11 ext-community $INTCOMM_PREFIX_OK set community 999:6 match from 2001:db8:1:1::11 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT @@ -740,6 +781,11 @@ match from 192.0.2.21 ext-community $INTCOMM_PREFIX_OK set community 999:64512 match from 192.0.2.21 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT @@ -852,6 +898,11 @@ match from 2001:db8:1:1::21 ext-community $INTCOMM_PREFIX_OK set community 999:6 match from 2001:db8:1:1::21 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT @@ -976,6 +1027,11 @@ match from 192.0.2.41 ext-community $INTCOMM_PREFIX_OK set community 999:64512 match from 192.0.2.41 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT @@ -1109,6 +1165,11 @@ match from 2001:db8:1:1::41 ext-community $INTCOMM_PREFIX_OK set community 999:6 match from 2001:db8:1:1::41 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT @@ -1230,6 +1291,11 @@ match from 192.0.2.51 ext-community $INTCOMM_PREFIX_OK set community 999:64512 match from 192.0.2.51 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT @@ -1346,6 +1412,11 @@ match from 2001:db8:1:1::51 ext-community $INTCOMM_PREFIX_OK set community 999:6 match from 2001:db8:1:1::51 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT @@ -1466,6 +1537,11 @@ match from 192.0.2.61 ext-community $INTCOMM_PREFIX_OK set community 999:64512 match from 192.0.2.61 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT @@ -1595,6 +1671,11 @@ match from 2001:db8:1:1::61 ext-community $INTCOMM_PREFIX_OK set community 999:6 match from 2001:db8:1:1::61 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT diff --git a/tests/live_tests/scenarios/tag_as_set/configs/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv6/openbgpd69.conf b/tests/live_tests/scenarios/tag_as_set/configs/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv6/openbgpd69.conf new file mode 100644 index 00000000..29ee9fb1 --- /dev/null +++ b/tests/live_tests/scenarios/tag_as_set/configs/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv6/openbgpd69.conf @@ -0,0 +1,1765 @@ +# built by ARouteServer +AS 999 +router-id 192.0.2.2 + +fib-update no +log updates + +nexthop qualify via default + +rde evaluate all + +INTCOMM_PREF_OK_ROA="soo 65535:1" +INTCOMM_ROUTE_OK_WL="soo 65535:2" +INTCOMM_PREF_OK_ARINDB="soo 65535:3" +INTCOMM_PREF_OK_REGISTROBRDB="soo 65535:12" + +INTCOMM_ORIGIN_OK="soo 65535:4" +INTCOMM_ORIGIN_KO="soo 65535:5" +INTCOMM_PREFIX_OK="soo 65535:6" +INTCOMM_PREFIX_KO="soo 65535:7" +INTCOMM_IRR_REJECT="soo 65535:8" + +INTCOMM_RPKI_UNKNOWN="soo 65535:9" +INTCOMM_RPKI_INVALID="soo 65535:10" +INTCOMM_RPKI_VALID="soo 65535:11" + +INTCOMM_NO_EXPORT="soo 65535:65281" +INTCOMM_NO_ADVERTISE="soo 65535:65282" + +# --------------------------------------------------------- +# IRRDB + +# WHITE_LIST_AS4_1, used by client AS4_1 white list +as-set "AS_SET_WHITE_LIST_AS4_1_asns" { + 41 +} +prefix-set "AS_SET_WHITE_LIST_AS4_1_prefixes" { + 4.2.0.0/16 prefixlen 16 - 32 + 2a04:2::/32 prefixlen 32 - 128 +} + +# AS4, used by client AS4_1, client AS4_2 +# no origin ASNs found for AS4 +# no prefixes found for AS4 + +# WHITE_LIST_AS2_2, used by client AS2_2 white list +as-set "AS_SET_WHITE_LIST_AS2_2_asns" { + 21 +} +prefix-set "AS_SET_WHITE_LIST_AS2_2_prefixes" { + 2.2.0.0/16 prefixlen 16 - 32 + 2a02:2::/32 prefixlen 32 - 128 +} + +# AS-AS5_FROM_PDB, used by client AS5_1, client AS5_2 +# no origin ASNs found for AS_AS5_FROM_PDB +# no prefixes found for AS_AS5_FROM_PDB + +# AS-AS4, used by client AS4_1, client AS4_2 +# no origin ASNs found for AS_AS4 +# no prefixes found for AS_AS4 + +# AS2, used by client AS2_1, client AS2_2 +# no origin ASNs found for AS2 +# no prefixes found for AS2 + +# WHITE_LIST_AS5_2, used by client AS5_2 white list +as-set "AS_SET_WHITE_LIST_AS5_2_asns" { + 51 +} +prefix-set "AS_SET_WHITE_LIST_AS5_2_prefixes" { + 5.2.0.0/16 prefixlen 16 - 32 + 2a05:2::/32 prefixlen 32 - 128 +} + +# AS5, used by client AS5_1, client AS5_2 +# no origin ASNs found for AS5 +# no prefixes found for AS5 + +# AS6, used by client AS6_1, client AS6_2 +# no origin ASNs found for AS6 +# no prefixes found for AS6 + +# WHITE_LIST_AS5_1, used by client AS5_1 white list +as-set "AS_SET_WHITE_LIST_AS5_1_asns" { + 51 +} +prefix-set "AS_SET_WHITE_LIST_AS5_1_prefixes" { + 5.2.0.0/16 prefixlen 16 - 32 + 2a05:2::/32 prefixlen 32 - 128 +} + +# WHITE_LIST_AS2_1, used by client AS2_1 white list +as-set "AS_SET_WHITE_LIST_AS2_1_asns" { + 21 +} +prefix-set "AS_SET_WHITE_LIST_AS2_1_prefixes" { + 2.2.0.0/16 prefixlen 16 - 32 + 2a02:2::/32 prefixlen 32 - 128 +} + +# AS1, used by client AS1_1, client AS1_2 +# no origin ASNs found for AS1 +# no prefixes found for AS1 + +# WHITE_LIST_AS4_2, used by client AS4_2 white list +as-set "AS_SET_WHITE_LIST_AS4_2_asns" { + 41 +} +prefix-set "AS_SET_WHITE_LIST_AS4_2_prefixes" { + 4.2.0.0/16 prefixlen 16 - 32 + 2a04:2::/32 prefixlen 32 - 128 +} + +# AS-AS2, used by client AS2_1, client AS2_2 +# no origin ASNs found for AS_AS2 +# no prefixes found for AS_AS2 + + + + +# --------------------------------------------------------- +# MEMBERS + +group "clients" { + + neighbor 192.0.2.11 { + remote-as 1 + + rde evaluate all + + descr "AS1_1 client, no AS-SET" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::11 { + remote-as 1 + + rde evaluate all + + descr "AS1_1 client, no AS-SET" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.21 { + remote-as 2 + + rde evaluate all + + descr "AS2_1 client, AS-SET from AS..." + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::21 { + remote-as 2 + + rde evaluate all + + descr "AS2_1 client, AS-SET from AS..." + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.41 { + remote-as 4 + + rde evaluate all + + descr "AS4_1 client, AS-SET configu..." + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::41 { + remote-as 4 + + rde evaluate all + + descr "AS4_1 client, AS-SET configu..." + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.51 { + remote-as 5 + + rde evaluate all + + descr "AS5_1 client, AS-SET from Pe..." + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::51 { + remote-as 5 + + rde evaluate all + + descr "AS5_1 client, AS-SET from Pe..." + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.61 { + remote-as 6 + + rde evaluate all + + descr "AS6_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::61 { + remote-as 6 + + rde evaluate all + + descr "AS6_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } +} + + + +# --------------------------------------------------------- +# FILTERS + +# NO_ADVERTISE usage notes. +# The NO_ADVERTISE well-know community is used here to handle +# filters that span over multiple steps. At first it is added +# to any route, then it is removed as filters conditions are +# satisfied. Finally, if it is still present, it means that +# the route should be discarded. + + + + + +prefix-set "bogons" { + 0.0.0.0/0 + 0.0.0.0/8 prefixlen 8 - 32 + 10.0.0.0/8 prefixlen 8 - 32 + 127.0.0.0/8 prefixlen 8 - 32 + 169.254.0.0/16 prefixlen 16 - 32 + 172.16.0.0/12 prefixlen 12 - 32 + 192.0.2.0/24 prefixlen 24 - 32 + 192.88.99.0/24 prefixlen 24 - 32 + 192.168.0.0/16 prefixlen 16 - 32 + 198.18.0.0/15 prefixlen 15 - 32 + 198.51.100.0/24 prefixlen 24 - 32 + 203.0.113.0/24 prefixlen 24 - 32 + 224.0.0.0/3 prefixlen 3 - 32 + 100.64.0.0/10 prefixlen 10 - 32 + ::/0 + ::/8 prefixlen 8 - 128 + 64:ff9b::/96 prefixlen 96 - 128 + 100::/8 prefixlen 8 - 128 + 200::/7 prefixlen 7 - 128 + 400::/6 prefixlen 6 - 128 + 800::/5 prefixlen 5 - 128 + 1000::/4 prefixlen 4 - 128 + 2001::/33 prefixlen 33 - 128 + 2001:0:8000::/33 prefixlen 33 - 128 + 2001:2::/48 prefixlen 48 - 128 + 2001:3::/32 prefixlen 32 - 128 + 2001:10::/28 prefixlen 28 - 128 + 2001:20::/28 prefixlen 28 - 128 + 2001:db8::/32 prefixlen 32 - 128 + 2002::/16 prefixlen 16 - 128 + 3ffe::/16 prefixlen 16 - 128 + 4000::/3 prefixlen 3 - 128 + 5f00::/8 prefixlen 8 - 128 + 6000::/3 prefixlen 3 - 128 + 8000::/3 prefixlen 3 - 128 + a000::/3 prefixlen 3 - 128 + c000::/3 prefixlen 3 - 128 + e000::/4 prefixlen 4 - 128 + f000::/5 prefixlen 5 - 128 + f800::/6 prefixlen 6 - 128 + fc00::/7 prefixlen 7 - 128 + fe80::/10 prefixlen 10 - 128 + fec0::/10 prefixlen 10 - 128 + ff00::/8 prefixlen 8 - 128 + +} + +# ===================================================================================== +# Global rules. + +# This part of configuration is processed at the beginning of the filters. +# The rules defined in this part are applied to all the clients, and not on a +# client-by-client basis (see the 'match from group clients'), so only global policies +# can be implemented here, that is no client-level configuration are allowed. + + + +# Scrub communities from inbound routes +# origin_not_present_in_as_set +match from group clients set community delete 999:64515 +match from group clients set large-community delete 999:0:64515 + +# origin_present_in_as_set +match from group clients set community delete 999:64514 +match from group clients set large-community delete 999:0:64514 + +# prefix_not_present_in_as_set +match from group clients set community delete 999:64513 +match from group clients set large-community delete 999:0:64513 + +# prefix_present_in_as_set +match from group clients set community delete 999:64512 +match from group clients set large-community delete 999:0:64512 + +# prefix_validated_via_arin_whois_db_dump +match from group clients set community delete 999:64518 +match from group clients set large-community delete 999:0:64518 + +# prefix_validated_via_rpki_roas +match from group clients set community delete 999:64516 +match from group clients set large-community delete 999:0:64516 + +# route_validated_via_white_list +match from group clients set community delete 999:64517 +match from group clients set large-community delete 999:0:64517 + + +# Scrub internal communities from inbound routes +match from group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + + +# The main goal of this block is to enrich routes received from clients by attaching to them +# internal informational communities which are used later by the rest of the filter rules. + +# Internal communities used for RFC1997 well-known communities handling + +# Transform NO_EXPORT into $INTCOMM_NO_EXPORT +match from group clients community NO_EXPORT set { ext-community $INTCOMM_NO_EXPORT community delete NO_EXPORT } + +# Transform NO_ADVERTISE into $INTCOMM_NO_ADVERTISE +match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ADVERTISE community delete NO_ADVERTISE } + + +# --------------------------------------------------------- +# ROAs source + + +roa-set { + +} + + + + +# --------------------------------------------------------- +# RPKI ROAs used as route objects. + +# Add the $INTCOMM_PREF_OK_ROA ext community to routes whose +# origin ASN has a ROA for the announced prefix. +# It will be used later during IRRDB validation in +# case the origin ASN is authorized by a client's +# AS-SET but the prefix is not. + +match from group clients ovs valid set ext-community $INTCOMM_PREF_OK_ROA + + + + + + +# Set the 'rejected_route_announced_by' community for all the clients. +# It will be removed later if the route is not invalid +match from 192.0.2.11 set ext-community rt 65520:1 + +match from 2001:db8:1:1::11 set ext-community rt 65520:1 + +match from 192.0.2.21 set ext-community rt 65520:2 + +match from 2001:db8:1:1::21 set ext-community rt 65520:2 + +match from 192.0.2.41 set ext-community rt 65520:4 + +match from 2001:db8:1:1::41 set ext-community rt 65520:4 + +match from 192.0.2.51 set ext-community rt 65520:5 + +match from 2001:db8:1:1::51 set ext-community rt 65520:5 + +match from 192.0.2.61 set ext-community rt 65520:6 + +match from 2001:db8:1:1::61 set ext-community rt 65520:6 + + + + +# AS_PATH: length +# Reject inbound routes when 'from group clients max-as-len 32' - reject code: 1 +allow quick from group clients max-as-len 32 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:1} + + + +# Prefix: only IPv6 Global Unicast space allowed +match from group clients inet6 set community NO_ADVERTISE +match from group clients prefix 2000::/3 or-longer set community delete NO_ADVERTISE +# Reject inbound routes when 'from group clients community NO_ADVERTISE' - reject code: 10 +allow quick from group clients community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:10} + + +# Prefix: bogon +# Reject inbound routes when 'from group clients prefix-set bogons' - reject code: 2 +allow quick from group clients prefix-set bogons set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:2} + + + + +# ===================================================================================== +# Per client rules. + + +# --------------------------------------------- +# client AS1_1, inbound + + + +# NEXT_HOP +match from 192.0.2.11 set community NO_ADVERTISE +match from 192.0.2.11 nexthop 192.0.2.11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.11 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.11 peer-as != 1' - reject code: 6 +allow quick from 192.0.2.11 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.11 AS 23456' - reject code: 7 +allow quick from 192.0.2.11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + +match from 192.0.2.11 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS1_1, AS1: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.11 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS1 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS1_1, AS1: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.11 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS1 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.11 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 192.0.2.11 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 192.0.2.11 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 192.0.2.11 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.11 set ext-community delete rt 65520:1 + + + +allow quick from 192.0.2.11 + + + +# --------------------------------------------- +# client AS1_1, outbound + +deny quick to 192.0.2.11 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.11 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.11 + + + + + + +# --------------------------------------------- +# client AS1_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::11 set community NO_ADVERTISE +match from 2001:db8:1:1::11 nexthop 2001:db8:1:1::11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::11 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::11 peer-as != 1' - reject code: 6 +allow quick from 2001:db8:1:1::11 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + +match from 2001:db8:1:1::11 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS1_2, AS1: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::11 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS1 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS1_2, AS1: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::11 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS1 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::11 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 2001:db8:1:1::11 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::11 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 2001:db8:1:1::11 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::11 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::11 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::11 set ext-community delete rt 65520:1 + + + +allow quick from 2001:db8:1:1::11 + + + +# --------------------------------------------- +# client AS1_2, outbound + +deny quick to 2001:db8:1:1::11 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::11 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::11 + + + + + + +# --------------------------------------------- +# client AS2_1, inbound + + + +# NEXT_HOP +match from 192.0.2.21 set community NO_ADVERTISE +match from 192.0.2.21 nexthop 192.0.2.21 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.21 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.21 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.21 peer-as != 2' - reject code: 6 +allow quick from 192.0.2.21 peer-as != 2 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.21 AS 23456' - reject code: 7 +allow quick from 192.0.2.21 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.21 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.21 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.21 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.21 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + +match from 192.0.2.21 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS2_1, AS2: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.21 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS2 referenced but empty. +match from 192.0.2.21 source-as as-set AS_SET_WHITE_LIST_AS2_1_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # WHITE_LIST_AS2_1 +# AS-SET AS_AS2 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS2_1, AS2: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.21 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS2 referenced but empty. +match from 192.0.2.21 prefix-set AS_SET_WHITE_LIST_AS2_1_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # WHITE_LIST_AS2_1 +# AS-SET AS_AS2 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.21 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 192.0.2.21 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 192.0.2.21 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 192.0.2.21 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.21 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.21 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.21 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.21 set ext-community delete rt 65520:2 + + + +allow quick from 192.0.2.21 + + + +# --------------------------------------------- +# client AS2_1, outbound + +deny quick to 192.0.2.21 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.21 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.21 + + + + + + +# --------------------------------------------- +# client AS2_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::21 set community NO_ADVERTISE +match from 2001:db8:1:1::21 nexthop 2001:db8:1:1::21 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::21 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::21 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::21 peer-as != 2' - reject code: 6 +allow quick from 2001:db8:1:1::21 peer-as != 2 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + +match from 2001:db8:1:1::21 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS2_2, AS2: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::21 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::21 source-as as-set AS_SET_WHITE_LIST_AS2_2_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # WHITE_LIST_AS2_2 +# AS-SET AS2 referenced but empty. +# AS-SET AS_AS2 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS2_2, AS2: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::21 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::21 prefix-set AS_SET_WHITE_LIST_AS2_2_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # WHITE_LIST_AS2_2 +# AS-SET AS2 referenced but empty. +# AS-SET AS_AS2 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::21 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 2001:db8:1:1::21 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::21 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 2001:db8:1:1::21 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::21 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::21 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::21 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::21 set ext-community delete rt 65520:2 + + + +allow quick from 2001:db8:1:1::21 + + + +# --------------------------------------------- +# client AS2_2, outbound + +deny quick to 2001:db8:1:1::21 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::21 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::21 + + + + + + +# --------------------------------------------- +# client AS4_1, inbound + + + +# NEXT_HOP +match from 192.0.2.41 set community NO_ADVERTISE +match from 192.0.2.41 nexthop 192.0.2.41 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.41 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.41 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.41 peer-as != 4' - reject code: 6 +allow quick from 192.0.2.41 peer-as != 4 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.41 AS 23456' - reject code: 7 +allow quick from 192.0.2.41 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.41 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.41 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.41 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.41 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + +# client's white list +# Add the $INTCOMM_ROUTE_OK_WL ext community to routes which +# are validated by a client's white list entry. +# It will be used later during IRRDB validation in +# case the route is not authorized by a client's +# AS-SET. +match from 192.0.2.41 prefix 2a04:4::/32 source-as 44 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.41 prefix 2a04:5::/32 prefixlen 32 - 128 source-as 43 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.41 prefix 2a04:6::/32 prefixlen 32 - 128 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.41 prefix 4.4.0.0/16 source-as 44 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.41 prefix 4.5.0.0/16 prefixlen 16 - 32 source-as 43 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.41 prefix 4.6.0.0/16 prefixlen 16 - 32 set ext-community $INTCOMM_ROUTE_OK_WL # None + +match from 192.0.2.41 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS4_1, AS4: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.41 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.41 source-as as-set AS_SET_WHITE_LIST_AS4_1_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # WHITE_LIST_AS4_1 +# AS-SET AS4 referenced but empty. +# AS-SET AS_AS4 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS4_1, AS4: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.41 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.41 prefix-set AS_SET_WHITE_LIST_AS4_1_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # WHITE_LIST_AS4_1 +# AS-SET AS4 referenced but empty. +# AS-SET AS_AS4 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.41 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 192.0.2.41 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 192.0.2.41 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 192.0.2.41 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + + + +# route authorized by a client's white list? +match from 192.0.2.41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set community 999:64517 +match from 192.0.2.41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set large-community 999:0:64517 + +match from 192.0.2.41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set ext-community delete $INTCOMM_IRR_REJECT + +# enforcing: origin ASN +# Reject inbound routes when 'from 192.0.2.41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 192.0.2.41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.41 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.41 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.41 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.41 set ext-community delete rt 65520:4 + + + +allow quick from 192.0.2.41 + + + +# --------------------------------------------- +# client AS4_1, outbound + +deny quick to 192.0.2.41 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.41 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.41 + + + + + + +# --------------------------------------------- +# client AS4_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::41 set community NO_ADVERTISE +match from 2001:db8:1:1::41 nexthop 2001:db8:1:1::41 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::41 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::41 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::41 peer-as != 4' - reject code: 6 +allow quick from 2001:db8:1:1::41 peer-as != 4 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + +# client's white list +# Add the $INTCOMM_ROUTE_OK_WL ext community to routes which +# are validated by a client's white list entry. +# It will be used later during IRRDB validation in +# case the route is not authorized by a client's +# AS-SET. +match from 2001:db8:1:1::41 prefix 2a04:4::/32 source-as 44 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::41 prefix 2a04:5::/32 prefixlen 32 - 128 source-as 43 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::41 prefix 2a04:6::/32 prefixlen 32 - 128 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::41 prefix 4.4.0.0/16 source-as 44 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::41 prefix 4.5.0.0/16 prefixlen 16 - 32 source-as 43 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::41 prefix 4.6.0.0/16 prefixlen 16 - 32 set ext-community $INTCOMM_ROUTE_OK_WL # None + +match from 2001:db8:1:1::41 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS4_2, AS4: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::41 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS4 referenced but empty. +# AS-SET AS_AS4 referenced but empty. +match from 2001:db8:1:1::41 source-as as-set AS_SET_WHITE_LIST_AS4_2_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # WHITE_LIST_AS4_2 +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS4_2, AS4: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::41 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS4 referenced but empty. +# AS-SET AS_AS4 referenced but empty. +match from 2001:db8:1:1::41 prefix-set AS_SET_WHITE_LIST_AS4_2_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # WHITE_LIST_AS4_2 +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::41 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 2001:db8:1:1::41 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::41 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 2001:db8:1:1::41 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + + + +# route authorized by a client's white list? +match from 2001:db8:1:1::41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set community 999:64517 +match from 2001:db8:1:1::41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set large-community 999:0:64517 + +match from 2001:db8:1:1::41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set ext-community delete $INTCOMM_IRR_REJECT + +# enforcing: origin ASN +# Reject inbound routes when 'from 2001:db8:1:1::41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 2001:db8:1:1::41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::41 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::41 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::41 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::41 set ext-community delete rt 65520:4 + + + +allow quick from 2001:db8:1:1::41 + + + +# --------------------------------------------- +# client AS4_2, outbound + +deny quick to 2001:db8:1:1::41 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::41 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::41 + + + + + + +# --------------------------------------------- +# client AS5_1, inbound + + + +# NEXT_HOP +match from 192.0.2.51 set community NO_ADVERTISE +match from 192.0.2.51 nexthop 192.0.2.51 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.51 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.51 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.51 peer-as != 5' - reject code: 6 +allow quick from 192.0.2.51 peer-as != 5 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.51 AS 23456' - reject code: 7 +allow quick from 192.0.2.51 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.51 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.51 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.51 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.51 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + +match from 192.0.2.51 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS5_1, AS5: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.51 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS_AS5_FROM_PDB referenced but empty. +# AS-SET AS5 referenced but empty. +match from 192.0.2.51 source-as as-set AS_SET_WHITE_LIST_AS5_1_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # WHITE_LIST_AS5_1 +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS5_1, AS5: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.51 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS_AS5_FROM_PDB referenced but empty. +# AS-SET AS5 referenced but empty. +match from 192.0.2.51 prefix-set AS_SET_WHITE_LIST_AS5_1_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # WHITE_LIST_AS5_1 +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.51 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 192.0.2.51 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 192.0.2.51 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 192.0.2.51 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + + + + +# enforcing: prefix +# Reject inbound routes when 'from 192.0.2.51 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 192.0.2.51 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.51 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.51 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.51 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.51 set ext-community delete rt 65520:5 + + + +allow quick from 192.0.2.51 + + + +# --------------------------------------------- +# client AS5_1, outbound + +deny quick to 192.0.2.51 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.51 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.51 + + + + + + +# --------------------------------------------- +# client AS5_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::51 set community NO_ADVERTISE +match from 2001:db8:1:1::51 nexthop 2001:db8:1:1::51 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::51 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::51 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::51 peer-as != 5' - reject code: 6 +allow quick from 2001:db8:1:1::51 peer-as != 5 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::51 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::51 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::51 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::51 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::51 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::51 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + +match from 2001:db8:1:1::51 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS5_2, AS5: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::51 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS_AS5_FROM_PDB referenced but empty. +match from 2001:db8:1:1::51 source-as as-set AS_SET_WHITE_LIST_AS5_2_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # WHITE_LIST_AS5_2 +# AS-SET AS5 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS5_2, AS5: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::51 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS_AS5_FROM_PDB referenced but empty. +match from 2001:db8:1:1::51 prefix-set AS_SET_WHITE_LIST_AS5_2_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # WHITE_LIST_AS5_2 +# AS-SET AS5 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::51 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 2001:db8:1:1::51 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::51 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 2001:db8:1:1::51 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + + + + +# enforcing: prefix +# Reject inbound routes when 'from 2001:db8:1:1::51 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 2001:db8:1:1::51 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::51 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::51 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::51 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::51 set ext-community delete rt 65520:5 + + + +allow quick from 2001:db8:1:1::51 + + + +# --------------------------------------------- +# client AS5_2, outbound + +deny quick to 2001:db8:1:1::51 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::51 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::51 + + + + + + +# --------------------------------------------- +# client AS6_1, inbound + + + +# NEXT_HOP +match from 192.0.2.61 set community NO_ADVERTISE +match from 192.0.2.61 nexthop 192.0.2.61 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.61 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.61 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.61 peer-as != 6' - reject code: 6 +allow quick from 192.0.2.61 peer-as != 6 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.61 AS 23456' - reject code: 7 +allow quick from 192.0.2.61 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.61 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.61 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.61 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.61 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + +# client's white list +# Add the $INTCOMM_ROUTE_OK_WL ext community to routes which +# are validated by a client's white list entry. +# It will be used later during IRRDB validation in +# case the route is not authorized by a client's +# AS-SET. +match from 192.0.2.61 prefix 2a03:2::/32 prefixlen 32 - 128 source-as 3 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.61 prefix 3.2.0.0/16 prefixlen 16 - 32 source-as 3 set ext-community $INTCOMM_ROUTE_OK_WL # None + +match from 192.0.2.61 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS6_1, AS6: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.61 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS6 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS6_1, AS6: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.61 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS6 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.61 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 192.0.2.61 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 192.0.2.61 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 192.0.2.61 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + + + +# route authorized by a client's white list? +match from 192.0.2.61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set community 999:64517 +match from 192.0.2.61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set large-community 999:0:64517 + +match from 192.0.2.61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set ext-community delete $INTCOMM_IRR_REJECT + +# enforcing: origin ASN +# Reject inbound routes when 'from 192.0.2.61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 192.0.2.61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 192.0.2.61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 192.0.2.61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.61 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.61 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.61 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.61 set ext-community delete rt 65520:6 + + + +allow quick from 192.0.2.61 + + + +# --------------------------------------------- +# client AS6_1, outbound + +deny quick to 192.0.2.61 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.61 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.61 + + + + + + +# --------------------------------------------- +# client AS6_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::61 set community NO_ADVERTISE +match from 2001:db8:1:1::61 nexthop 2001:db8:1:1::61 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::61 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::61 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::61 peer-as != 6' - reject code: 6 +allow quick from 2001:db8:1:1::61 peer-as != 6 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::61 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::61 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::61 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::61 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::61 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::61 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + +# client's white list +# Add the $INTCOMM_ROUTE_OK_WL ext community to routes which +# are validated by a client's white list entry. +# It will be used later during IRRDB validation in +# case the route is not authorized by a client's +# AS-SET. +match from 2001:db8:1:1::61 prefix 2a03:2::/32 prefixlen 32 - 128 source-as 3 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::61 prefix 3.2.0.0/16 prefixlen 16 - 32 source-as 3 set ext-community $INTCOMM_ROUTE_OK_WL # None + +match from 2001:db8:1:1::61 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS6_2, AS6: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::61 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS6 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS6_2, AS6: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::61 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS6 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::61 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 2001:db8:1:1::61 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::61 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 2001:db8:1:1::61 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + + + +# route authorized by a client's white list? +match from 2001:db8:1:1::61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set community 999:64517 +match from 2001:db8:1:1::61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set large-community 999:0:64517 + +match from 2001:db8:1:1::61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set ext-community delete $INTCOMM_IRR_REJECT + +# enforcing: origin ASN +# Reject inbound routes when 'from 2001:db8:1:1::61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 2001:db8:1:1::61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 2001:db8:1:1::61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 2001:db8:1:1::61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::61 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::61 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::61 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::61 set ext-community delete rt 65520:6 + + + +allow quick from 2001:db8:1:1::61 + + + +# --------------------------------------------- +# client AS6_2, outbound + +deny quick to 2001:db8:1:1::61 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::61 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::61 + + + + + + + + +# Scrub communities from outbound routes + +# Scrub prepending communities + + +# RFC1997 NO_EXPORT/NO_ADVERTISE received from clients and propagated because of pass-through policy +match to group clients ext-community $INTCOMM_NO_EXPORT set community NO_EXPORT +match to group clients ext-community $INTCOMM_NO_ADVERTISE set community NO_ADVERTISE + +# Remove internal communities before announcing the route +match to group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + diff --git a/tests/live_tests/scenarios/tag_as_set/configs/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv6/openbgpd69p.conf b/tests/live_tests/scenarios/tag_as_set/configs/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv6/openbgpd69p.conf new file mode 100644 index 00000000..29ee9fb1 --- /dev/null +++ b/tests/live_tests/scenarios/tag_as_set/configs/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv6/openbgpd69p.conf @@ -0,0 +1,1765 @@ +# built by ARouteServer +AS 999 +router-id 192.0.2.2 + +fib-update no +log updates + +nexthop qualify via default + +rde evaluate all + +INTCOMM_PREF_OK_ROA="soo 65535:1" +INTCOMM_ROUTE_OK_WL="soo 65535:2" +INTCOMM_PREF_OK_ARINDB="soo 65535:3" +INTCOMM_PREF_OK_REGISTROBRDB="soo 65535:12" + +INTCOMM_ORIGIN_OK="soo 65535:4" +INTCOMM_ORIGIN_KO="soo 65535:5" +INTCOMM_PREFIX_OK="soo 65535:6" +INTCOMM_PREFIX_KO="soo 65535:7" +INTCOMM_IRR_REJECT="soo 65535:8" + +INTCOMM_RPKI_UNKNOWN="soo 65535:9" +INTCOMM_RPKI_INVALID="soo 65535:10" +INTCOMM_RPKI_VALID="soo 65535:11" + +INTCOMM_NO_EXPORT="soo 65535:65281" +INTCOMM_NO_ADVERTISE="soo 65535:65282" + +# --------------------------------------------------------- +# IRRDB + +# WHITE_LIST_AS4_1, used by client AS4_1 white list +as-set "AS_SET_WHITE_LIST_AS4_1_asns" { + 41 +} +prefix-set "AS_SET_WHITE_LIST_AS4_1_prefixes" { + 4.2.0.0/16 prefixlen 16 - 32 + 2a04:2::/32 prefixlen 32 - 128 +} + +# AS4, used by client AS4_1, client AS4_2 +# no origin ASNs found for AS4 +# no prefixes found for AS4 + +# WHITE_LIST_AS2_2, used by client AS2_2 white list +as-set "AS_SET_WHITE_LIST_AS2_2_asns" { + 21 +} +prefix-set "AS_SET_WHITE_LIST_AS2_2_prefixes" { + 2.2.0.0/16 prefixlen 16 - 32 + 2a02:2::/32 prefixlen 32 - 128 +} + +# AS-AS5_FROM_PDB, used by client AS5_1, client AS5_2 +# no origin ASNs found for AS_AS5_FROM_PDB +# no prefixes found for AS_AS5_FROM_PDB + +# AS-AS4, used by client AS4_1, client AS4_2 +# no origin ASNs found for AS_AS4 +# no prefixes found for AS_AS4 + +# AS2, used by client AS2_1, client AS2_2 +# no origin ASNs found for AS2 +# no prefixes found for AS2 + +# WHITE_LIST_AS5_2, used by client AS5_2 white list +as-set "AS_SET_WHITE_LIST_AS5_2_asns" { + 51 +} +prefix-set "AS_SET_WHITE_LIST_AS5_2_prefixes" { + 5.2.0.0/16 prefixlen 16 - 32 + 2a05:2::/32 prefixlen 32 - 128 +} + +# AS5, used by client AS5_1, client AS5_2 +# no origin ASNs found for AS5 +# no prefixes found for AS5 + +# AS6, used by client AS6_1, client AS6_2 +# no origin ASNs found for AS6 +# no prefixes found for AS6 + +# WHITE_LIST_AS5_1, used by client AS5_1 white list +as-set "AS_SET_WHITE_LIST_AS5_1_asns" { + 51 +} +prefix-set "AS_SET_WHITE_LIST_AS5_1_prefixes" { + 5.2.0.0/16 prefixlen 16 - 32 + 2a05:2::/32 prefixlen 32 - 128 +} + +# WHITE_LIST_AS2_1, used by client AS2_1 white list +as-set "AS_SET_WHITE_LIST_AS2_1_asns" { + 21 +} +prefix-set "AS_SET_WHITE_LIST_AS2_1_prefixes" { + 2.2.0.0/16 prefixlen 16 - 32 + 2a02:2::/32 prefixlen 32 - 128 +} + +# AS1, used by client AS1_1, client AS1_2 +# no origin ASNs found for AS1 +# no prefixes found for AS1 + +# WHITE_LIST_AS4_2, used by client AS4_2 white list +as-set "AS_SET_WHITE_LIST_AS4_2_asns" { + 41 +} +prefix-set "AS_SET_WHITE_LIST_AS4_2_prefixes" { + 4.2.0.0/16 prefixlen 16 - 32 + 2a04:2::/32 prefixlen 32 - 128 +} + +# AS-AS2, used by client AS2_1, client AS2_2 +# no origin ASNs found for AS_AS2 +# no prefixes found for AS_AS2 + + + + +# --------------------------------------------------------- +# MEMBERS + +group "clients" { + + neighbor 192.0.2.11 { + remote-as 1 + + rde evaluate all + + descr "AS1_1 client, no AS-SET" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::11 { + remote-as 1 + + rde evaluate all + + descr "AS1_1 client, no AS-SET" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.21 { + remote-as 2 + + rde evaluate all + + descr "AS2_1 client, AS-SET from AS..." + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::21 { + remote-as 2 + + rde evaluate all + + descr "AS2_1 client, AS-SET from AS..." + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.41 { + remote-as 4 + + rde evaluate all + + descr "AS4_1 client, AS-SET configu..." + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::41 { + remote-as 4 + + rde evaluate all + + descr "AS4_1 client, AS-SET configu..." + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.51 { + remote-as 5 + + rde evaluate all + + descr "AS5_1 client, AS-SET from Pe..." + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::51 { + remote-as 5 + + rde evaluate all + + descr "AS5_1 client, AS-SET from Pe..." + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.61 { + remote-as 6 + + rde evaluate all + + descr "AS6_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::61 { + remote-as 6 + + rde evaluate all + + descr "AS6_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } +} + + + +# --------------------------------------------------------- +# FILTERS + +# NO_ADVERTISE usage notes. +# The NO_ADVERTISE well-know community is used here to handle +# filters that span over multiple steps. At first it is added +# to any route, then it is removed as filters conditions are +# satisfied. Finally, if it is still present, it means that +# the route should be discarded. + + + + + +prefix-set "bogons" { + 0.0.0.0/0 + 0.0.0.0/8 prefixlen 8 - 32 + 10.0.0.0/8 prefixlen 8 - 32 + 127.0.0.0/8 prefixlen 8 - 32 + 169.254.0.0/16 prefixlen 16 - 32 + 172.16.0.0/12 prefixlen 12 - 32 + 192.0.2.0/24 prefixlen 24 - 32 + 192.88.99.0/24 prefixlen 24 - 32 + 192.168.0.0/16 prefixlen 16 - 32 + 198.18.0.0/15 prefixlen 15 - 32 + 198.51.100.0/24 prefixlen 24 - 32 + 203.0.113.0/24 prefixlen 24 - 32 + 224.0.0.0/3 prefixlen 3 - 32 + 100.64.0.0/10 prefixlen 10 - 32 + ::/0 + ::/8 prefixlen 8 - 128 + 64:ff9b::/96 prefixlen 96 - 128 + 100::/8 prefixlen 8 - 128 + 200::/7 prefixlen 7 - 128 + 400::/6 prefixlen 6 - 128 + 800::/5 prefixlen 5 - 128 + 1000::/4 prefixlen 4 - 128 + 2001::/33 prefixlen 33 - 128 + 2001:0:8000::/33 prefixlen 33 - 128 + 2001:2::/48 prefixlen 48 - 128 + 2001:3::/32 prefixlen 32 - 128 + 2001:10::/28 prefixlen 28 - 128 + 2001:20::/28 prefixlen 28 - 128 + 2001:db8::/32 prefixlen 32 - 128 + 2002::/16 prefixlen 16 - 128 + 3ffe::/16 prefixlen 16 - 128 + 4000::/3 prefixlen 3 - 128 + 5f00::/8 prefixlen 8 - 128 + 6000::/3 prefixlen 3 - 128 + 8000::/3 prefixlen 3 - 128 + a000::/3 prefixlen 3 - 128 + c000::/3 prefixlen 3 - 128 + e000::/4 prefixlen 4 - 128 + f000::/5 prefixlen 5 - 128 + f800::/6 prefixlen 6 - 128 + fc00::/7 prefixlen 7 - 128 + fe80::/10 prefixlen 10 - 128 + fec0::/10 prefixlen 10 - 128 + ff00::/8 prefixlen 8 - 128 + +} + +# ===================================================================================== +# Global rules. + +# This part of configuration is processed at the beginning of the filters. +# The rules defined in this part are applied to all the clients, and not on a +# client-by-client basis (see the 'match from group clients'), so only global policies +# can be implemented here, that is no client-level configuration are allowed. + + + +# Scrub communities from inbound routes +# origin_not_present_in_as_set +match from group clients set community delete 999:64515 +match from group clients set large-community delete 999:0:64515 + +# origin_present_in_as_set +match from group clients set community delete 999:64514 +match from group clients set large-community delete 999:0:64514 + +# prefix_not_present_in_as_set +match from group clients set community delete 999:64513 +match from group clients set large-community delete 999:0:64513 + +# prefix_present_in_as_set +match from group clients set community delete 999:64512 +match from group clients set large-community delete 999:0:64512 + +# prefix_validated_via_arin_whois_db_dump +match from group clients set community delete 999:64518 +match from group clients set large-community delete 999:0:64518 + +# prefix_validated_via_rpki_roas +match from group clients set community delete 999:64516 +match from group clients set large-community delete 999:0:64516 + +# route_validated_via_white_list +match from group clients set community delete 999:64517 +match from group clients set large-community delete 999:0:64517 + + +# Scrub internal communities from inbound routes +match from group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + + +# The main goal of this block is to enrich routes received from clients by attaching to them +# internal informational communities which are used later by the rest of the filter rules. + +# Internal communities used for RFC1997 well-known communities handling + +# Transform NO_EXPORT into $INTCOMM_NO_EXPORT +match from group clients community NO_EXPORT set { ext-community $INTCOMM_NO_EXPORT community delete NO_EXPORT } + +# Transform NO_ADVERTISE into $INTCOMM_NO_ADVERTISE +match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ADVERTISE community delete NO_ADVERTISE } + + +# --------------------------------------------------------- +# ROAs source + + +roa-set { + +} + + + + +# --------------------------------------------------------- +# RPKI ROAs used as route objects. + +# Add the $INTCOMM_PREF_OK_ROA ext community to routes whose +# origin ASN has a ROA for the announced prefix. +# It will be used later during IRRDB validation in +# case the origin ASN is authorized by a client's +# AS-SET but the prefix is not. + +match from group clients ovs valid set ext-community $INTCOMM_PREF_OK_ROA + + + + + + +# Set the 'rejected_route_announced_by' community for all the clients. +# It will be removed later if the route is not invalid +match from 192.0.2.11 set ext-community rt 65520:1 + +match from 2001:db8:1:1::11 set ext-community rt 65520:1 + +match from 192.0.2.21 set ext-community rt 65520:2 + +match from 2001:db8:1:1::21 set ext-community rt 65520:2 + +match from 192.0.2.41 set ext-community rt 65520:4 + +match from 2001:db8:1:1::41 set ext-community rt 65520:4 + +match from 192.0.2.51 set ext-community rt 65520:5 + +match from 2001:db8:1:1::51 set ext-community rt 65520:5 + +match from 192.0.2.61 set ext-community rt 65520:6 + +match from 2001:db8:1:1::61 set ext-community rt 65520:6 + + + + +# AS_PATH: length +# Reject inbound routes when 'from group clients max-as-len 32' - reject code: 1 +allow quick from group clients max-as-len 32 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:1} + + + +# Prefix: only IPv6 Global Unicast space allowed +match from group clients inet6 set community NO_ADVERTISE +match from group clients prefix 2000::/3 or-longer set community delete NO_ADVERTISE +# Reject inbound routes when 'from group clients community NO_ADVERTISE' - reject code: 10 +allow quick from group clients community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:10} + + +# Prefix: bogon +# Reject inbound routes when 'from group clients prefix-set bogons' - reject code: 2 +allow quick from group clients prefix-set bogons set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:2} + + + + +# ===================================================================================== +# Per client rules. + + +# --------------------------------------------- +# client AS1_1, inbound + + + +# NEXT_HOP +match from 192.0.2.11 set community NO_ADVERTISE +match from 192.0.2.11 nexthop 192.0.2.11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.11 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.11 peer-as != 1' - reject code: 6 +allow quick from 192.0.2.11 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.11 AS 23456' - reject code: 7 +allow quick from 192.0.2.11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + +match from 192.0.2.11 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS1_1, AS1: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.11 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS1 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS1_1, AS1: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.11 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS1 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.11 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 192.0.2.11 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 192.0.2.11 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 192.0.2.11 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.11 set ext-community delete rt 65520:1 + + + +allow quick from 192.0.2.11 + + + +# --------------------------------------------- +# client AS1_1, outbound + +deny quick to 192.0.2.11 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.11 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.11 + + + + + + +# --------------------------------------------- +# client AS1_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::11 set community NO_ADVERTISE +match from 2001:db8:1:1::11 nexthop 2001:db8:1:1::11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::11 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::11 peer-as != 1' - reject code: 6 +allow quick from 2001:db8:1:1::11 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + +match from 2001:db8:1:1::11 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS1_2, AS1: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::11 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS1 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS1_2, AS1: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::11 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS1 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::11 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 2001:db8:1:1::11 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::11 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 2001:db8:1:1::11 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::11 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::11 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::11 set ext-community delete rt 65520:1 + + + +allow quick from 2001:db8:1:1::11 + + + +# --------------------------------------------- +# client AS1_2, outbound + +deny quick to 2001:db8:1:1::11 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::11 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::11 + + + + + + +# --------------------------------------------- +# client AS2_1, inbound + + + +# NEXT_HOP +match from 192.0.2.21 set community NO_ADVERTISE +match from 192.0.2.21 nexthop 192.0.2.21 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.21 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.21 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.21 peer-as != 2' - reject code: 6 +allow quick from 192.0.2.21 peer-as != 2 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.21 AS 23456' - reject code: 7 +allow quick from 192.0.2.21 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.21 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.21 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.21 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.21 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + +match from 192.0.2.21 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS2_1, AS2: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.21 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS2 referenced but empty. +match from 192.0.2.21 source-as as-set AS_SET_WHITE_LIST_AS2_1_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # WHITE_LIST_AS2_1 +# AS-SET AS_AS2 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS2_1, AS2: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.21 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS2 referenced but empty. +match from 192.0.2.21 prefix-set AS_SET_WHITE_LIST_AS2_1_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # WHITE_LIST_AS2_1 +# AS-SET AS_AS2 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.21 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 192.0.2.21 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 192.0.2.21 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 192.0.2.21 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.21 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.21 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.21 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.21 set ext-community delete rt 65520:2 + + + +allow quick from 192.0.2.21 + + + +# --------------------------------------------- +# client AS2_1, outbound + +deny quick to 192.0.2.21 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.21 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.21 + + + + + + +# --------------------------------------------- +# client AS2_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::21 set community NO_ADVERTISE +match from 2001:db8:1:1::21 nexthop 2001:db8:1:1::21 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::21 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::21 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::21 peer-as != 2' - reject code: 6 +allow quick from 2001:db8:1:1::21 peer-as != 2 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + +match from 2001:db8:1:1::21 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS2_2, AS2: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::21 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::21 source-as as-set AS_SET_WHITE_LIST_AS2_2_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # WHITE_LIST_AS2_2 +# AS-SET AS2 referenced but empty. +# AS-SET AS_AS2 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS2_2, AS2: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::21 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::21 prefix-set AS_SET_WHITE_LIST_AS2_2_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # WHITE_LIST_AS2_2 +# AS-SET AS2 referenced but empty. +# AS-SET AS_AS2 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::21 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 2001:db8:1:1::21 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::21 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 2001:db8:1:1::21 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::21 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::21 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::21 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::21 set ext-community delete rt 65520:2 + + + +allow quick from 2001:db8:1:1::21 + + + +# --------------------------------------------- +# client AS2_2, outbound + +deny quick to 2001:db8:1:1::21 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::21 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::21 + + + + + + +# --------------------------------------------- +# client AS4_1, inbound + + + +# NEXT_HOP +match from 192.0.2.41 set community NO_ADVERTISE +match from 192.0.2.41 nexthop 192.0.2.41 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.41 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.41 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.41 peer-as != 4' - reject code: 6 +allow quick from 192.0.2.41 peer-as != 4 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.41 AS 23456' - reject code: 7 +allow quick from 192.0.2.41 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.41 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.41 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.41 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.41 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + +# client's white list +# Add the $INTCOMM_ROUTE_OK_WL ext community to routes which +# are validated by a client's white list entry. +# It will be used later during IRRDB validation in +# case the route is not authorized by a client's +# AS-SET. +match from 192.0.2.41 prefix 2a04:4::/32 source-as 44 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.41 prefix 2a04:5::/32 prefixlen 32 - 128 source-as 43 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.41 prefix 2a04:6::/32 prefixlen 32 - 128 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.41 prefix 4.4.0.0/16 source-as 44 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.41 prefix 4.5.0.0/16 prefixlen 16 - 32 source-as 43 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.41 prefix 4.6.0.0/16 prefixlen 16 - 32 set ext-community $INTCOMM_ROUTE_OK_WL # None + +match from 192.0.2.41 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS4_1, AS4: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.41 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.41 source-as as-set AS_SET_WHITE_LIST_AS4_1_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # WHITE_LIST_AS4_1 +# AS-SET AS4 referenced but empty. +# AS-SET AS_AS4 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS4_1, AS4: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.41 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.41 prefix-set AS_SET_WHITE_LIST_AS4_1_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # WHITE_LIST_AS4_1 +# AS-SET AS4 referenced but empty. +# AS-SET AS_AS4 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.41 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 192.0.2.41 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 192.0.2.41 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 192.0.2.41 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + + + +# route authorized by a client's white list? +match from 192.0.2.41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set community 999:64517 +match from 192.0.2.41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set large-community 999:0:64517 + +match from 192.0.2.41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set ext-community delete $INTCOMM_IRR_REJECT + +# enforcing: origin ASN +# Reject inbound routes when 'from 192.0.2.41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 192.0.2.41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.41 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.41 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.41 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.41 set ext-community delete rt 65520:4 + + + +allow quick from 192.0.2.41 + + + +# --------------------------------------------- +# client AS4_1, outbound + +deny quick to 192.0.2.41 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.41 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.41 + + + + + + +# --------------------------------------------- +# client AS4_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::41 set community NO_ADVERTISE +match from 2001:db8:1:1::41 nexthop 2001:db8:1:1::41 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::41 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::41 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::41 peer-as != 4' - reject code: 6 +allow quick from 2001:db8:1:1::41 peer-as != 4 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + +# client's white list +# Add the $INTCOMM_ROUTE_OK_WL ext community to routes which +# are validated by a client's white list entry. +# It will be used later during IRRDB validation in +# case the route is not authorized by a client's +# AS-SET. +match from 2001:db8:1:1::41 prefix 2a04:4::/32 source-as 44 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::41 prefix 2a04:5::/32 prefixlen 32 - 128 source-as 43 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::41 prefix 2a04:6::/32 prefixlen 32 - 128 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::41 prefix 4.4.0.0/16 source-as 44 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::41 prefix 4.5.0.0/16 prefixlen 16 - 32 source-as 43 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::41 prefix 4.6.0.0/16 prefixlen 16 - 32 set ext-community $INTCOMM_ROUTE_OK_WL # None + +match from 2001:db8:1:1::41 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS4_2, AS4: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::41 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS4 referenced but empty. +# AS-SET AS_AS4 referenced but empty. +match from 2001:db8:1:1::41 source-as as-set AS_SET_WHITE_LIST_AS4_2_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # WHITE_LIST_AS4_2 +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS4_2, AS4: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::41 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS4 referenced but empty. +# AS-SET AS_AS4 referenced but empty. +match from 2001:db8:1:1::41 prefix-set AS_SET_WHITE_LIST_AS4_2_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # WHITE_LIST_AS4_2 +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::41 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 2001:db8:1:1::41 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::41 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 2001:db8:1:1::41 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + + + +# route authorized by a client's white list? +match from 2001:db8:1:1::41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set community 999:64517 +match from 2001:db8:1:1::41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set large-community 999:0:64517 + +match from 2001:db8:1:1::41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set ext-community delete $INTCOMM_IRR_REJECT + +# enforcing: origin ASN +# Reject inbound routes when 'from 2001:db8:1:1::41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 2001:db8:1:1::41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::41 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::41 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::41 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::41 set ext-community delete rt 65520:4 + + + +allow quick from 2001:db8:1:1::41 + + + +# --------------------------------------------- +# client AS4_2, outbound + +deny quick to 2001:db8:1:1::41 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::41 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::41 + + + + + + +# --------------------------------------------- +# client AS5_1, inbound + + + +# NEXT_HOP +match from 192.0.2.51 set community NO_ADVERTISE +match from 192.0.2.51 nexthop 192.0.2.51 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.51 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.51 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.51 peer-as != 5' - reject code: 6 +allow quick from 192.0.2.51 peer-as != 5 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.51 AS 23456' - reject code: 7 +allow quick from 192.0.2.51 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.51 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.51 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.51 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.51 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + +match from 192.0.2.51 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS5_1, AS5: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.51 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS_AS5_FROM_PDB referenced but empty. +# AS-SET AS5 referenced but empty. +match from 192.0.2.51 source-as as-set AS_SET_WHITE_LIST_AS5_1_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # WHITE_LIST_AS5_1 +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS5_1, AS5: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.51 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS_AS5_FROM_PDB referenced but empty. +# AS-SET AS5 referenced but empty. +match from 192.0.2.51 prefix-set AS_SET_WHITE_LIST_AS5_1_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # WHITE_LIST_AS5_1 +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.51 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 192.0.2.51 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 192.0.2.51 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 192.0.2.51 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + + + + +# enforcing: prefix +# Reject inbound routes when 'from 192.0.2.51 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 192.0.2.51 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.51 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.51 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.51 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.51 set ext-community delete rt 65520:5 + + + +allow quick from 192.0.2.51 + + + +# --------------------------------------------- +# client AS5_1, outbound + +deny quick to 192.0.2.51 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.51 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.51 + + + + + + +# --------------------------------------------- +# client AS5_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::51 set community NO_ADVERTISE +match from 2001:db8:1:1::51 nexthop 2001:db8:1:1::51 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::51 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::51 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::51 peer-as != 5' - reject code: 6 +allow quick from 2001:db8:1:1::51 peer-as != 5 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::51 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::51 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::51 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::51 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::51 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::51 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + +match from 2001:db8:1:1::51 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS5_2, AS5: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::51 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS_AS5_FROM_PDB referenced but empty. +match from 2001:db8:1:1::51 source-as as-set AS_SET_WHITE_LIST_AS5_2_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # WHITE_LIST_AS5_2 +# AS-SET AS5 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS5_2, AS5: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::51 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS_AS5_FROM_PDB referenced but empty. +match from 2001:db8:1:1::51 prefix-set AS_SET_WHITE_LIST_AS5_2_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # WHITE_LIST_AS5_2 +# AS-SET AS5 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::51 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 2001:db8:1:1::51 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::51 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 2001:db8:1:1::51 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + + + + +# enforcing: prefix +# Reject inbound routes when 'from 2001:db8:1:1::51 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 2001:db8:1:1::51 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::51 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::51 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::51 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::51 set ext-community delete rt 65520:5 + + + +allow quick from 2001:db8:1:1::51 + + + +# --------------------------------------------- +# client AS5_2, outbound + +deny quick to 2001:db8:1:1::51 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::51 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::51 + + + + + + +# --------------------------------------------- +# client AS6_1, inbound + + + +# NEXT_HOP +match from 192.0.2.61 set community NO_ADVERTISE +match from 192.0.2.61 nexthop 192.0.2.61 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.61 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.61 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.61 peer-as != 6' - reject code: 6 +allow quick from 192.0.2.61 peer-as != 6 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.61 AS 23456' - reject code: 7 +allow quick from 192.0.2.61 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.61 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.61 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.61 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.61 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + +# client's white list +# Add the $INTCOMM_ROUTE_OK_WL ext community to routes which +# are validated by a client's white list entry. +# It will be used later during IRRDB validation in +# case the route is not authorized by a client's +# AS-SET. +match from 192.0.2.61 prefix 2a03:2::/32 prefixlen 32 - 128 source-as 3 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.61 prefix 3.2.0.0/16 prefixlen 16 - 32 source-as 3 set ext-community $INTCOMM_ROUTE_OK_WL # None + +match from 192.0.2.61 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS6_1, AS6: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.61 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS6 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS6_1, AS6: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.61 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS6 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.61 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 192.0.2.61 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 192.0.2.61 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 192.0.2.61 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + + + +# route authorized by a client's white list? +match from 192.0.2.61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set community 999:64517 +match from 192.0.2.61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set large-community 999:0:64517 + +match from 192.0.2.61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set ext-community delete $INTCOMM_IRR_REJECT + +# enforcing: origin ASN +# Reject inbound routes when 'from 192.0.2.61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 192.0.2.61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 192.0.2.61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 192.0.2.61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.61 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.61 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.61 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.61 set ext-community delete rt 65520:6 + + + +allow quick from 192.0.2.61 + + + +# --------------------------------------------- +# client AS6_1, outbound + +deny quick to 192.0.2.61 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.61 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.61 + + + + + + +# --------------------------------------------- +# client AS6_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::61 set community NO_ADVERTISE +match from 2001:db8:1:1::61 nexthop 2001:db8:1:1::61 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::61 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::61 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::61 peer-as != 6' - reject code: 6 +allow quick from 2001:db8:1:1::61 peer-as != 6 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::61 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::61 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::61 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::61 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::61 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::61 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + +# client's white list +# Add the $INTCOMM_ROUTE_OK_WL ext community to routes which +# are validated by a client's white list entry. +# It will be used later during IRRDB validation in +# case the route is not authorized by a client's +# AS-SET. +match from 2001:db8:1:1::61 prefix 2a03:2::/32 prefixlen 32 - 128 source-as 3 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::61 prefix 3.2.0.0/16 prefixlen 16 - 32 source-as 3 set ext-community $INTCOMM_ROUTE_OK_WL # None + +match from 2001:db8:1:1::61 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS6_2, AS6: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::61 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS6 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS6_2, AS6: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::61 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS6 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::61 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 2001:db8:1:1::61 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::61 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 2001:db8:1:1::61 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + + + +# route authorized by a client's white list? +match from 2001:db8:1:1::61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set community 999:64517 +match from 2001:db8:1:1::61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set large-community 999:0:64517 + +match from 2001:db8:1:1::61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set ext-community delete $INTCOMM_IRR_REJECT + +# enforcing: origin ASN +# Reject inbound routes when 'from 2001:db8:1:1::61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 2001:db8:1:1::61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 2001:db8:1:1::61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 2001:db8:1:1::61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::61 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::61 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::61 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::61 set ext-community delete rt 65520:6 + + + +allow quick from 2001:db8:1:1::61 + + + +# --------------------------------------------- +# client AS6_2, outbound + +deny quick to 2001:db8:1:1::61 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::61 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::61 + + + + + + + + +# Scrub communities from outbound routes + +# Scrub prepending communities + + +# RFC1997 NO_EXPORT/NO_ADVERTISE received from clients and propagated because of pass-through policy +match to group clients ext-community $INTCOMM_NO_EXPORT set community NO_EXPORT +match to group clients ext-community $INTCOMM_NO_ADVERTISE set community NO_ADVERTISE + +# Remove internal communities before announcing the route +match to group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + diff --git a/tests/live_tests/scenarios/tag_as_set/configs/TagASSetScenario_WithAS_SETs_OpenBGPDIPv4/openbgpd68.conf b/tests/live_tests/scenarios/tag_as_set/configs/TagASSetScenario_WithAS_SETs_OpenBGPDIPv4/openbgpd68.conf index a1bc6974..049b7ae3 100644 --- a/tests/live_tests/scenarios/tag_as_set/configs/TagASSetScenario_WithAS_SETs_OpenBGPDIPv4/openbgpd68.conf +++ b/tests/live_tests/scenarios/tag_as_set/configs/TagASSetScenario_WithAS_SETs_OpenBGPDIPv4/openbgpd68.conf @@ -7,6 +7,7 @@ log updates nexthop qualify via default + INTCOMM_PREF_OK_ROA="soo 65535:1" INTCOMM_ROUTE_OK_WL="soo 65535:2" INTCOMM_PREF_OK_ARINDB="soo 65535:3" @@ -145,6 +146,7 @@ group "clients" { neighbor 192.0.2.11 { remote-as 1 + descr "AS1_1 client, no AS-SET" passive ttl-security no @@ -161,6 +163,7 @@ group "clients" { neighbor 2001:db8:1:1::11 { remote-as 1 + descr "AS1_1 client, no AS-SET" passive ttl-security no @@ -177,6 +180,7 @@ group "clients" { neighbor 192.0.2.21 { remote-as 2 + descr "AS2_1 client, AS-SET from AS..." passive ttl-security no @@ -193,6 +197,7 @@ group "clients" { neighbor 2001:db8:1:1::21 { remote-as 2 + descr "AS2_1 client, AS-SET from AS..." passive ttl-security no @@ -209,6 +214,7 @@ group "clients" { neighbor 192.0.2.41 { remote-as 4 + descr "AS4_1 client, AS-SET configu..." passive ttl-security no @@ -225,6 +231,7 @@ group "clients" { neighbor 2001:db8:1:1::41 { remote-as 4 + descr "AS4_1 client, AS-SET configu..." passive ttl-security no @@ -241,6 +248,7 @@ group "clients" { neighbor 192.0.2.51 { remote-as 5 + descr "AS5_1 client, AS-SET from Pe..." passive ttl-security no @@ -257,6 +265,7 @@ group "clients" { neighbor 2001:db8:1:1::51 { remote-as 5 + descr "AS5_1 client, AS-SET from Pe..." passive ttl-security no @@ -273,6 +282,7 @@ group "clients" { neighbor 192.0.2.61 { remote-as 6 + descr "AS6_1 client" passive ttl-security no @@ -289,6 +299,7 @@ group "clients" { neighbor 2001:db8:1:1::61 { remote-as 6 + descr "AS6_1 client" passive ttl-security no @@ -424,14 +435,40 @@ match from group clients community NO_EXPORT set { ext-community $INTCOMM_NO_EXP match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ADVERTISE community delete NO_ADVERTISE } +# --------------------------------------------------------- +# ROAs source + + +roa-set { + 2.4.0.0/16 source-as 2 + 2.5.0.0/16 source-as 2 + 2.7.0.0/16 source-as 2 + 3.1.0.0/16 source-as 3 + 3.3.0.0/16 source-as 3 + 2.0.4.0/24 source-as 2 + 6.0.1.0/24 source-as 6 + 2a02:4::/32 source-as 2 + 2a02:5::/32 source-as 2 + 2a02:7::/32 source-as 2 + 2a03:1::/32 source-as 3 + 2a03:3::/32 source-as 3 + 2a02:0:4::/48 source-as 2 + 2a06:0:1::/48 source-as 6 + +} + + +# --------------------------------------------------------- # RPKI ROAs used as route objects. + # Add the $INTCOMM_PREF_OK_ROA ext community to routes whose # origin ASN has a ROA for the announced prefix. # It will be used later during IRRDB validation in # case the origin ASN is authorized by a client's # AS-SET but the prefix is not. + origin-set "RPKI_ROA" { 2.4.0.0/16 source-as 2 2.5.0.0/16 source-as 2 @@ -451,6 +488,7 @@ origin-set "RPKI_ROA" { } match from group clients origin-set RPKI_ROA set ext-community $INTCOMM_PREF_OK_ROA + # ARIN Whois records used for preifx validation # --------------------------------------------- diff --git a/tests/live_tests/scenarios/tag_as_set/configs/TagASSetScenario_WithAS_SETs_OpenBGPDIPv4/openbgpd69.conf b/tests/live_tests/scenarios/tag_as_set/configs/TagASSetScenario_WithAS_SETs_OpenBGPDIPv4/openbgpd69.conf new file mode 100644 index 00000000..404f403e --- /dev/null +++ b/tests/live_tests/scenarios/tag_as_set/configs/TagASSetScenario_WithAS_SETs_OpenBGPDIPv4/openbgpd69.conf @@ -0,0 +1,1889 @@ +# built by ARouteServer +AS 999 +router-id 192.0.2.2 + +fib-update no +log updates + +nexthop qualify via default + +rde evaluate all + +INTCOMM_PREF_OK_ROA="soo 65535:1" +INTCOMM_ROUTE_OK_WL="soo 65535:2" +INTCOMM_PREF_OK_ARINDB="soo 65535:3" +INTCOMM_PREF_OK_REGISTROBRDB="soo 65535:12" + +INTCOMM_ORIGIN_OK="soo 65535:4" +INTCOMM_ORIGIN_KO="soo 65535:5" +INTCOMM_PREFIX_OK="soo 65535:6" +INTCOMM_PREFIX_KO="soo 65535:7" +INTCOMM_IRR_REJECT="soo 65535:8" + +INTCOMM_RPKI_UNKNOWN="soo 65535:9" +INTCOMM_RPKI_INVALID="soo 65535:10" +INTCOMM_RPKI_VALID="soo 65535:11" + +INTCOMM_NO_EXPORT="soo 65535:65281" +INTCOMM_NO_ADVERTISE="soo 65535:65282" + +# --------------------------------------------------------- +# IRRDB + +# WHITE_LIST_AS4_1, used by client AS4_1 white list +as-set "AS_SET_WHITE_LIST_AS4_1_asns" { + 41 +} +prefix-set "AS_SET_WHITE_LIST_AS4_1_prefixes" { + 4.2.0.0/16 prefixlen 16 - 32 + 2a04:2::/32 prefixlen 32 - 128 +} + +# AS4, used by client AS4_1, client AS4_2 +# no origin ASNs found for AS4 +# no prefixes found for AS4 + +# WHITE_LIST_AS2_2, used by client AS2_2 white list +as-set "AS_SET_WHITE_LIST_AS2_2_asns" { + 21 +} +prefix-set "AS_SET_WHITE_LIST_AS2_2_prefixes" { + 2.2.0.0/16 prefixlen 16 - 32 + 2a02:2::/32 prefixlen 32 - 128 +} + +# AS-AS5_FROM_PDB, used by client AS5_1, client AS5_2 +as-set "AS_SET_AS_AS5_FROM_PDB_asns" { + 5 +} +prefix-set "AS_SET_AS_AS5_FROM_PDB_prefixes" { + 5.0.0.0/16 prefixlen 16 - 32 +} + +# AS-AS4, used by client AS4_1, client AS4_2 +as-set "AS_SET_AS_AS4_asns" { + 4 +} +prefix-set "AS_SET_AS_AS4_prefixes" { + 4.0.0.0/16 prefixlen 16 - 32 +} + +# AS2, used by client AS2_1, client AS2_2 +# no origin ASNs found for AS2 +# no prefixes found for AS2 + +# WHITE_LIST_AS5_2, used by client AS5_2 white list +as-set "AS_SET_WHITE_LIST_AS5_2_asns" { + 51 +} +prefix-set "AS_SET_WHITE_LIST_AS5_2_prefixes" { + 5.2.0.0/16 prefixlen 16 - 32 + 2a05:2::/32 prefixlen 32 - 128 +} + +# AS5, used by client AS5_1, client AS5_2 +# no origin ASNs found for AS5 +# no prefixes found for AS5 + +# AS6, used by client AS6_1, client AS6_2 +as-set "AS_SET_AS6_asns" { + 3 6 +} +prefix-set "AS_SET_AS6_prefixes" { + 6.0.0.0/16 prefixlen 16 - 32 +} + +# WHITE_LIST_AS5_1, used by client AS5_1 white list +as-set "AS_SET_WHITE_LIST_AS5_1_asns" { + 51 +} +prefix-set "AS_SET_WHITE_LIST_AS5_1_prefixes" { + 5.2.0.0/16 prefixlen 16 - 32 + 2a05:2::/32 prefixlen 32 - 128 +} + +# WHITE_LIST_AS2_1, used by client AS2_1 white list +as-set "AS_SET_WHITE_LIST_AS2_1_asns" { + 21 +} +prefix-set "AS_SET_WHITE_LIST_AS2_1_prefixes" { + 2.2.0.0/16 prefixlen 16 - 32 + 2a02:2::/32 prefixlen 32 - 128 +} + +# AS1, used by client AS1_1, client AS1_2 +as-set "AS_SET_AS1_asns" { + 1 +} +prefix-set "AS_SET_AS1_prefixes" { + 1.0.0.0/16 prefixlen 16 - 32 +} + +# WHITE_LIST_AS4_2, used by client AS4_2 white list +as-set "AS_SET_WHITE_LIST_AS4_2_asns" { + 41 +} +prefix-set "AS_SET_WHITE_LIST_AS4_2_prefixes" { + 4.2.0.0/16 prefixlen 16 - 32 + 2a04:2::/32 prefixlen 32 - 128 +} + +# AS-AS2, used by client AS2_1, client AS2_2 +as-set "AS_SET_AS_AS2_asns" { + 2 +} +prefix-set "AS_SET_AS_AS2_prefixes" { + 2.0.0.0/16 prefixlen 16 - 32 +} + + + + +# --------------------------------------------------------- +# MEMBERS + +group "clients" { + + neighbor 192.0.2.11 { + remote-as 1 + + rde evaluate all + + descr "AS1_1 client, no AS-SET" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::11 { + remote-as 1 + + rde evaluate all + + descr "AS1_1 client, no AS-SET" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.21 { + remote-as 2 + + rde evaluate all + + descr "AS2_1 client, AS-SET from AS..." + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::21 { + remote-as 2 + + rde evaluate all + + descr "AS2_1 client, AS-SET from AS..." + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.41 { + remote-as 4 + + rde evaluate all + + descr "AS4_1 client, AS-SET configu..." + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::41 { + remote-as 4 + + rde evaluate all + + descr "AS4_1 client, AS-SET configu..." + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.51 { + remote-as 5 + + rde evaluate all + + descr "AS5_1 client, AS-SET from Pe..." + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::51 { + remote-as 5 + + rde evaluate all + + descr "AS5_1 client, AS-SET from Pe..." + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.61 { + remote-as 6 + + rde evaluate all + + descr "AS6_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::61 { + remote-as 6 + + rde evaluate all + + descr "AS6_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } +} + + + +# --------------------------------------------------------- +# FILTERS + +# NO_ADVERTISE usage notes. +# The NO_ADVERTISE well-know community is used here to handle +# filters that span over multiple steps. At first it is added +# to any route, then it is removed as filters conditions are +# satisfied. Finally, if it is still present, it means that +# the route should be discarded. + + + + + +prefix-set "bogons" { + 0.0.0.0/0 + 0.0.0.0/8 prefixlen 8 - 32 + 10.0.0.0/8 prefixlen 8 - 32 + 127.0.0.0/8 prefixlen 8 - 32 + 169.254.0.0/16 prefixlen 16 - 32 + 172.16.0.0/12 prefixlen 12 - 32 + 192.0.2.0/24 prefixlen 24 - 32 + 192.88.99.0/24 prefixlen 24 - 32 + 192.168.0.0/16 prefixlen 16 - 32 + 198.18.0.0/15 prefixlen 15 - 32 + 198.51.100.0/24 prefixlen 24 - 32 + 203.0.113.0/24 prefixlen 24 - 32 + 224.0.0.0/3 prefixlen 3 - 32 + 100.64.0.0/10 prefixlen 10 - 32 + ::/0 + ::/8 prefixlen 8 - 128 + 64:ff9b::/96 prefixlen 96 - 128 + 100::/8 prefixlen 8 - 128 + 200::/7 prefixlen 7 - 128 + 400::/6 prefixlen 6 - 128 + 800::/5 prefixlen 5 - 128 + 1000::/4 prefixlen 4 - 128 + 2001::/33 prefixlen 33 - 128 + 2001:0:8000::/33 prefixlen 33 - 128 + 2001:2::/48 prefixlen 48 - 128 + 2001:3::/32 prefixlen 32 - 128 + 2001:10::/28 prefixlen 28 - 128 + 2001:20::/28 prefixlen 28 - 128 + 2001:db8::/32 prefixlen 32 - 128 + 2002::/16 prefixlen 16 - 128 + 3ffe::/16 prefixlen 16 - 128 + 4000::/3 prefixlen 3 - 128 + 5f00::/8 prefixlen 8 - 128 + 6000::/3 prefixlen 3 - 128 + 8000::/3 prefixlen 3 - 128 + a000::/3 prefixlen 3 - 128 + c000::/3 prefixlen 3 - 128 + e000::/4 prefixlen 4 - 128 + f000::/5 prefixlen 5 - 128 + f800::/6 prefixlen 6 - 128 + fc00::/7 prefixlen 7 - 128 + fe80::/10 prefixlen 10 - 128 + fec0::/10 prefixlen 10 - 128 + ff00::/8 prefixlen 8 - 128 + +} + +# ===================================================================================== +# Global rules. + +# This part of configuration is processed at the beginning of the filters. +# The rules defined in this part are applied to all the clients, and not on a +# client-by-client basis (see the 'match from group clients'), so only global policies +# can be implemented here, that is no client-level configuration are allowed. + + + +# Scrub communities from inbound routes +# origin_not_present_in_as_set +match from group clients set community delete 999:64515 +match from group clients set large-community delete 999:0:64515 + +# origin_present_in_as_set +match from group clients set community delete 999:64514 +match from group clients set large-community delete 999:0:64514 + +# prefix_not_present_in_as_set +match from group clients set community delete 999:64513 +match from group clients set large-community delete 999:0:64513 + +# prefix_present_in_as_set +match from group clients set community delete 999:64512 +match from group clients set large-community delete 999:0:64512 + +# prefix_validated_via_arin_whois_db_dump +match from group clients set community delete 999:64518 +match from group clients set large-community delete 999:0:64518 + +# prefix_validated_via_rpki_roas +match from group clients set community delete 999:64516 +match from group clients set large-community delete 999:0:64516 + +# route_validated_via_white_list +match from group clients set community delete 999:64517 +match from group clients set large-community delete 999:0:64517 + + +# Scrub internal communities from inbound routes +match from group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + + +# The main goal of this block is to enrich routes received from clients by attaching to them +# internal informational communities which are used later by the rest of the filter rules. + +# Internal communities used for RFC1997 well-known communities handling + +# Transform NO_EXPORT into $INTCOMM_NO_EXPORT +match from group clients community NO_EXPORT set { ext-community $INTCOMM_NO_EXPORT community delete NO_EXPORT } + +# Transform NO_ADVERTISE into $INTCOMM_NO_ADVERTISE +match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ADVERTISE community delete NO_ADVERTISE } + + +# --------------------------------------------------------- +# ROAs source + + +roa-set { + 2.4.0.0/16 source-as 2 + 2.5.0.0/16 source-as 2 + 2.7.0.0/16 source-as 2 + 3.1.0.0/16 source-as 3 + 3.3.0.0/16 source-as 3 + 2.0.4.0/24 source-as 2 + 6.0.1.0/24 source-as 6 + 2a02:4::/32 source-as 2 + 2a02:5::/32 source-as 2 + 2a02:7::/32 source-as 2 + 2a03:1::/32 source-as 3 + 2a03:3::/32 source-as 3 + 2a02:0:4::/48 source-as 2 + 2a06:0:1::/48 source-as 6 + +} + + + + +# --------------------------------------------------------- +# RPKI ROAs used as route objects. + +# Add the $INTCOMM_PREF_OK_ROA ext community to routes whose +# origin ASN has a ROA for the announced prefix. +# It will be used later during IRRDB validation in +# case the origin ASN is authorized by a client's +# AS-SET but the prefix is not. + +origin-set "RPKI_ROA" { + 2.4.0.0/16 source-as 2 + 2.5.0.0/16 source-as 2 + 2.7.0.0/16 source-as 2 + 3.1.0.0/16 source-as 3 + 3.3.0.0/16 source-as 3 + 2.0.4.0/24 source-as 2 + 6.0.1.0/24 source-as 6 + 2a02:4::/32 source-as 2 + 2a02:5::/32 source-as 2 + 2a02:7::/32 source-as 2 + 2a03:1::/32 source-as 3 + 2a03:3::/32 source-as 3 + 2a02:0:4::/48 source-as 2 + 2a06:0:1::/48 source-as 6 + +} +match from group clients origin-set RPKI_ROA set ext-community $INTCOMM_PREF_OK_ROA + + +# ARIN Whois records used for preifx validation +# --------------------------------------------- + +# Add the $INTCOMM_PREF_OK_ARINDB ext community to routes whose +# origin ASN has an ARIN Whois record for the announced prefix. +# It will be used later during IRRDB validation in +# case the origin ASN is authorized by a client's +# AS-SET but the prefix is not. +origin-set "ARINDB" { +2.0.5.0/24 prefixlen 24 - 32 source-as 2 +2.6.0.0/16 prefixlen 16 - 32 source-as 2 +2.7.0.0/16 prefixlen 16 - 32 source-as 2 +2a02:0:5::/48 prefixlen 48 - 128 source-as 2 +2a02:6::/32 prefixlen 32 - 128 source-as 2 +2a02:7::/32 prefixlen 32 - 128 source-as 2 +2a03:2::/32 prefixlen 32 - 128 source-as 3 +2a03:3::/32 prefixlen 32 - 128 source-as 3 +3.2.0.0/16 prefixlen 16 - 32 source-as 3 +3.3.0.0/16 prefixlen 16 - 32 source-as 3 +2a06:0:1::/48 prefixlen 48 - 128 source-as 6 +6.0.1.0/24 prefixlen 24 - 32 source-as 6 +} +match from group clients origin-set ARINDB set ext-community $INTCOMM_PREF_OK_ARINDB + + + + +# Set the 'rejected_route_announced_by' community for all the clients. +# It will be removed later if the route is not invalid +match from 192.0.2.11 set ext-community rt 65520:1 + +match from 2001:db8:1:1::11 set ext-community rt 65520:1 + +match from 192.0.2.21 set ext-community rt 65520:2 + +match from 2001:db8:1:1::21 set ext-community rt 65520:2 + +match from 192.0.2.41 set ext-community rt 65520:4 + +match from 2001:db8:1:1::41 set ext-community rt 65520:4 + +match from 192.0.2.51 set ext-community rt 65520:5 + +match from 2001:db8:1:1::51 set ext-community rt 65520:5 + +match from 192.0.2.61 set ext-community rt 65520:6 + +match from 2001:db8:1:1::61 set ext-community rt 65520:6 + + + + +# AS_PATH: length +# Reject inbound routes when 'from group clients max-as-len 32' - reject code: 1 +allow quick from group clients max-as-len 32 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:1} + + + +# Prefix: only IPv6 Global Unicast space allowed +match from group clients inet6 set community NO_ADVERTISE +match from group clients prefix 2000::/3 or-longer set community delete NO_ADVERTISE +# Reject inbound routes when 'from group clients community NO_ADVERTISE' - reject code: 10 +allow quick from group clients community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:10} + + +# Prefix: bogon +# Reject inbound routes when 'from group clients prefix-set bogons' - reject code: 2 +allow quick from group clients prefix-set bogons set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:2} + + + + +# ===================================================================================== +# Per client rules. + + +# --------------------------------------------- +# client AS1_1, inbound + + + +# NEXT_HOP +match from 192.0.2.11 set community NO_ADVERTISE +match from 192.0.2.11 nexthop 192.0.2.11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.11 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.11 peer-as != 1' - reject code: 6 +allow quick from 192.0.2.11 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.11 AS 23456' - reject code: 7 +allow quick from 192.0.2.11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + +match from 192.0.2.11 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS1_1, AS1: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.11 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.11 source-as as-set AS_SET_AS1_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS1 +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS1_1, AS1: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.11 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.11 prefix-set AS_SET_AS1_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS1 +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.11 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 192.0.2.11 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 192.0.2.11 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 192.0.2.11 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set community 999:64518 +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set large-community 999:0:64518 + +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.11 set ext-community delete rt 65520:1 + + + +allow quick from 192.0.2.11 + + + +# --------------------------------------------- +# client AS1_1, outbound + +deny quick to 192.0.2.11 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.11 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.11 + + + + + + +# --------------------------------------------- +# client AS1_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::11 set community NO_ADVERTISE +match from 2001:db8:1:1::11 nexthop 2001:db8:1:1::11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::11 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::11 peer-as != 1' - reject code: 6 +allow quick from 2001:db8:1:1::11 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + +match from 2001:db8:1:1::11 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS1_2, AS1: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::11 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::11 source-as as-set AS_SET_AS1_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS1 +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS1_2, AS1: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::11 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::11 prefix-set AS_SET_AS1_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS1 +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::11 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 2001:db8:1:1::11 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::11 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 2001:db8:1:1::11 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set community 999:64518 +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set large-community 999:0:64518 + +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::11 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::11 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::11 set ext-community delete rt 65520:1 + + + +allow quick from 2001:db8:1:1::11 + + + +# --------------------------------------------- +# client AS1_2, outbound + +deny quick to 2001:db8:1:1::11 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::11 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::11 + + + + + + +# --------------------------------------------- +# client AS2_1, inbound + + + +# NEXT_HOP +match from 192.0.2.21 set community NO_ADVERTISE +match from 192.0.2.21 nexthop 192.0.2.21 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.21 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.21 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.21 peer-as != 2' - reject code: 6 +allow quick from 192.0.2.21 peer-as != 2 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.21 AS 23456' - reject code: 7 +allow quick from 192.0.2.21 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.21 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.21 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.21 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.21 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + +match from 192.0.2.21 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS2_1, AS2: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.21 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS2 referenced but empty. +match from 192.0.2.21 source-as as-set AS_SET_WHITE_LIST_AS2_1_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # WHITE_LIST_AS2_1 +match from 192.0.2.21 source-as as-set AS_SET_AS_AS2_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS2 +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS2_1, AS2: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.21 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS2 referenced but empty. +match from 192.0.2.21 prefix-set AS_SET_WHITE_LIST_AS2_1_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # WHITE_LIST_AS2_1 +match from 192.0.2.21 prefix-set AS_SET_AS_AS2_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS2 +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.21 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 192.0.2.21 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 192.0.2.21 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 192.0.2.21 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set community 999:64518 +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set large-community 999:0:64518 + +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.21 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.21 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.21 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.21 set ext-community delete rt 65520:2 + + + +allow quick from 192.0.2.21 + + + +# --------------------------------------------- +# client AS2_1, outbound + +deny quick to 192.0.2.21 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.21 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.21 + + + + + + +# --------------------------------------------- +# client AS2_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::21 set community NO_ADVERTISE +match from 2001:db8:1:1::21 nexthop 2001:db8:1:1::21 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::21 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::21 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::21 peer-as != 2' - reject code: 6 +allow quick from 2001:db8:1:1::21 peer-as != 2 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + +match from 2001:db8:1:1::21 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS2_2, AS2: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::21 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::21 source-as as-set AS_SET_WHITE_LIST_AS2_2_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # WHITE_LIST_AS2_2 +# AS-SET AS2 referenced but empty. +match from 2001:db8:1:1::21 source-as as-set AS_SET_AS_AS2_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS2 +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS2_2, AS2: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::21 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::21 prefix-set AS_SET_WHITE_LIST_AS2_2_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # WHITE_LIST_AS2_2 +# AS-SET AS2 referenced but empty. +match from 2001:db8:1:1::21 prefix-set AS_SET_AS_AS2_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS2 +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::21 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 2001:db8:1:1::21 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::21 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 2001:db8:1:1::21 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set community 999:64518 +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set large-community 999:0:64518 + +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::21 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::21 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::21 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::21 set ext-community delete rt 65520:2 + + + +allow quick from 2001:db8:1:1::21 + + + +# --------------------------------------------- +# client AS2_2, outbound + +deny quick to 2001:db8:1:1::21 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::21 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::21 + + + + + + +# --------------------------------------------- +# client AS4_1, inbound + + + +# NEXT_HOP +match from 192.0.2.41 set community NO_ADVERTISE +match from 192.0.2.41 nexthop 192.0.2.41 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.41 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.41 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.41 peer-as != 4' - reject code: 6 +allow quick from 192.0.2.41 peer-as != 4 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.41 AS 23456' - reject code: 7 +allow quick from 192.0.2.41 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.41 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.41 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.41 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.41 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + +# client's white list +# Add the $INTCOMM_ROUTE_OK_WL ext community to routes which +# are validated by a client's white list entry. +# It will be used later during IRRDB validation in +# case the route is not authorized by a client's +# AS-SET. +match from 192.0.2.41 prefix 2a04:4::/32 source-as 44 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.41 prefix 2a04:5::/32 prefixlen 32 - 128 source-as 43 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.41 prefix 2a04:6::/32 prefixlen 32 - 128 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.41 prefix 4.4.0.0/16 source-as 44 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.41 prefix 4.5.0.0/16 prefixlen 16 - 32 source-as 43 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.41 prefix 4.6.0.0/16 prefixlen 16 - 32 set ext-community $INTCOMM_ROUTE_OK_WL # None + +match from 192.0.2.41 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS4_1, AS4: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.41 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.41 source-as as-set AS_SET_WHITE_LIST_AS4_1_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # WHITE_LIST_AS4_1 +# AS-SET AS4 referenced but empty. +match from 192.0.2.41 source-as as-set AS_SET_AS_AS4_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS4 +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS4_1, AS4: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.41 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.41 prefix-set AS_SET_WHITE_LIST_AS4_1_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # WHITE_LIST_AS4_1 +# AS-SET AS4 referenced but empty. +match from 192.0.2.41 prefix-set AS_SET_AS_AS4_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS4 +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.41 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 192.0.2.41 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 192.0.2.41 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 192.0.2.41 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set community 999:64518 +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set large-community 999:0:64518 + +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + + +# route authorized by a client's white list? +match from 192.0.2.41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set community 999:64517 +match from 192.0.2.41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set large-community 999:0:64517 + +match from 192.0.2.41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set ext-community delete $INTCOMM_IRR_REJECT + +# enforcing: origin ASN +# Reject inbound routes when 'from 192.0.2.41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 192.0.2.41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.41 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.41 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.41 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.41 set ext-community delete rt 65520:4 + + + +allow quick from 192.0.2.41 + + + +# --------------------------------------------- +# client AS4_1, outbound + +deny quick to 192.0.2.41 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.41 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.41 + + + + + + +# --------------------------------------------- +# client AS4_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::41 set community NO_ADVERTISE +match from 2001:db8:1:1::41 nexthop 2001:db8:1:1::41 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::41 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::41 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::41 peer-as != 4' - reject code: 6 +allow quick from 2001:db8:1:1::41 peer-as != 4 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + +# client's white list +# Add the $INTCOMM_ROUTE_OK_WL ext community to routes which +# are validated by a client's white list entry. +# It will be used later during IRRDB validation in +# case the route is not authorized by a client's +# AS-SET. +match from 2001:db8:1:1::41 prefix 2a04:4::/32 source-as 44 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::41 prefix 2a04:5::/32 prefixlen 32 - 128 source-as 43 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::41 prefix 2a04:6::/32 prefixlen 32 - 128 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::41 prefix 4.4.0.0/16 source-as 44 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::41 prefix 4.5.0.0/16 prefixlen 16 - 32 source-as 43 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::41 prefix 4.6.0.0/16 prefixlen 16 - 32 set ext-community $INTCOMM_ROUTE_OK_WL # None + +match from 2001:db8:1:1::41 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS4_2, AS4: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::41 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS4 referenced but empty. +match from 2001:db8:1:1::41 source-as as-set AS_SET_AS_AS4_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS4 +match from 2001:db8:1:1::41 source-as as-set AS_SET_WHITE_LIST_AS4_2_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # WHITE_LIST_AS4_2 +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS4_2, AS4: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::41 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS4 referenced but empty. +match from 2001:db8:1:1::41 prefix-set AS_SET_AS_AS4_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS4 +match from 2001:db8:1:1::41 prefix-set AS_SET_WHITE_LIST_AS4_2_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # WHITE_LIST_AS4_2 +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::41 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 2001:db8:1:1::41 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::41 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 2001:db8:1:1::41 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set community 999:64518 +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set large-community 999:0:64518 + +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + + +# route authorized by a client's white list? +match from 2001:db8:1:1::41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set community 999:64517 +match from 2001:db8:1:1::41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set large-community 999:0:64517 + +match from 2001:db8:1:1::41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set ext-community delete $INTCOMM_IRR_REJECT + +# enforcing: origin ASN +# Reject inbound routes when 'from 2001:db8:1:1::41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 2001:db8:1:1::41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::41 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::41 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::41 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::41 set ext-community delete rt 65520:4 + + + +allow quick from 2001:db8:1:1::41 + + + +# --------------------------------------------- +# client AS4_2, outbound + +deny quick to 2001:db8:1:1::41 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::41 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::41 + + + + + + +# --------------------------------------------- +# client AS5_1, inbound + + + +# NEXT_HOP +match from 192.0.2.51 set community NO_ADVERTISE +match from 192.0.2.51 nexthop 192.0.2.51 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.51 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.51 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.51 peer-as != 5' - reject code: 6 +allow quick from 192.0.2.51 peer-as != 5 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.51 AS 23456' - reject code: 7 +allow quick from 192.0.2.51 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.51 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.51 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.51 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.51 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + +match from 192.0.2.51 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS5_1, AS5: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.51 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.51 source-as as-set AS_SET_AS_AS5_FROM_PDB_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS5_FROM_PDB +# AS-SET AS5 referenced but empty. +match from 192.0.2.51 source-as as-set AS_SET_WHITE_LIST_AS5_1_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # WHITE_LIST_AS5_1 +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS5_1, AS5: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.51 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.51 prefix-set AS_SET_AS_AS5_FROM_PDB_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS5_FROM_PDB +# AS-SET AS5 referenced but empty. +match from 192.0.2.51 prefix-set AS_SET_WHITE_LIST_AS5_1_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # WHITE_LIST_AS5_1 +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.51 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 192.0.2.51 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 192.0.2.51 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 192.0.2.51 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set community 999:64518 +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set large-community 999:0:64518 + +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + + + +# enforcing: prefix +# Reject inbound routes when 'from 192.0.2.51 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 192.0.2.51 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.51 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.51 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.51 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.51 set ext-community delete rt 65520:5 + + + +allow quick from 192.0.2.51 + + + +# --------------------------------------------- +# client AS5_1, outbound + +deny quick to 192.0.2.51 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.51 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.51 + + + + + + +# --------------------------------------------- +# client AS5_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::51 set community NO_ADVERTISE +match from 2001:db8:1:1::51 nexthop 2001:db8:1:1::51 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::51 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::51 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::51 peer-as != 5' - reject code: 6 +allow quick from 2001:db8:1:1::51 peer-as != 5 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::51 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::51 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::51 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::51 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::51 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::51 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + +match from 2001:db8:1:1::51 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS5_2, AS5: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::51 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::51 source-as as-set AS_SET_AS_AS5_FROM_PDB_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS5_FROM_PDB +match from 2001:db8:1:1::51 source-as as-set AS_SET_WHITE_LIST_AS5_2_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # WHITE_LIST_AS5_2 +# AS-SET AS5 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS5_2, AS5: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::51 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::51 prefix-set AS_SET_AS_AS5_FROM_PDB_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS5_FROM_PDB +match from 2001:db8:1:1::51 prefix-set AS_SET_WHITE_LIST_AS5_2_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # WHITE_LIST_AS5_2 +# AS-SET AS5 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::51 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 2001:db8:1:1::51 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::51 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 2001:db8:1:1::51 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set community 999:64518 +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set large-community 999:0:64518 + +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + + + +# enforcing: prefix +# Reject inbound routes when 'from 2001:db8:1:1::51 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 2001:db8:1:1::51 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::51 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::51 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::51 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::51 set ext-community delete rt 65520:5 + + + +allow quick from 2001:db8:1:1::51 + + + +# --------------------------------------------- +# client AS5_2, outbound + +deny quick to 2001:db8:1:1::51 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::51 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::51 + + + + + + +# --------------------------------------------- +# client AS6_1, inbound + + + +# NEXT_HOP +match from 192.0.2.61 set community NO_ADVERTISE +match from 192.0.2.61 nexthop 192.0.2.61 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.61 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.61 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.61 peer-as != 6' - reject code: 6 +allow quick from 192.0.2.61 peer-as != 6 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.61 AS 23456' - reject code: 7 +allow quick from 192.0.2.61 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.61 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.61 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.61 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.61 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + +# client's white list +# Add the $INTCOMM_ROUTE_OK_WL ext community to routes which +# are validated by a client's white list entry. +# It will be used later during IRRDB validation in +# case the route is not authorized by a client's +# AS-SET. +match from 192.0.2.61 prefix 2a03:2::/32 prefixlen 32 - 128 source-as 3 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.61 prefix 3.2.0.0/16 prefixlen 16 - 32 source-as 3 set ext-community $INTCOMM_ROUTE_OK_WL # None + +match from 192.0.2.61 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS6_1, AS6: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.61 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.61 source-as as-set AS_SET_AS6_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS6 +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS6_1, AS6: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.61 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.61 prefix-set AS_SET_AS6_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS6 +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.61 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 192.0.2.61 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 192.0.2.61 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 192.0.2.61 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set community 999:64518 +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set large-community 999:0:64518 + +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + + +# route authorized by a client's white list? +match from 192.0.2.61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set community 999:64517 +match from 192.0.2.61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set large-community 999:0:64517 + +match from 192.0.2.61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set ext-community delete $INTCOMM_IRR_REJECT + +# enforcing: origin ASN +# Reject inbound routes when 'from 192.0.2.61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 192.0.2.61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 192.0.2.61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 192.0.2.61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.61 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.61 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.61 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.61 set ext-community delete rt 65520:6 + + + +allow quick from 192.0.2.61 + + + +# --------------------------------------------- +# client AS6_1, outbound + +deny quick to 192.0.2.61 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.61 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.61 + + + + + + +# --------------------------------------------- +# client AS6_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::61 set community NO_ADVERTISE +match from 2001:db8:1:1::61 nexthop 2001:db8:1:1::61 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::61 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::61 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::61 peer-as != 6' - reject code: 6 +allow quick from 2001:db8:1:1::61 peer-as != 6 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::61 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::61 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::61 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::61 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::61 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::61 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + +# client's white list +# Add the $INTCOMM_ROUTE_OK_WL ext community to routes which +# are validated by a client's white list entry. +# It will be used later during IRRDB validation in +# case the route is not authorized by a client's +# AS-SET. +match from 2001:db8:1:1::61 prefix 2a03:2::/32 prefixlen 32 - 128 source-as 3 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::61 prefix 3.2.0.0/16 prefixlen 16 - 32 source-as 3 set ext-community $INTCOMM_ROUTE_OK_WL # None + +match from 2001:db8:1:1::61 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS6_2, AS6: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::61 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::61 source-as as-set AS_SET_AS6_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS6 +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS6_2, AS6: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::61 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::61 prefix-set AS_SET_AS6_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS6 +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::61 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 2001:db8:1:1::61 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::61 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 2001:db8:1:1::61 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set community 999:64518 +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set large-community 999:0:64518 + +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + + +# route authorized by a client's white list? +match from 2001:db8:1:1::61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set community 999:64517 +match from 2001:db8:1:1::61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set large-community 999:0:64517 + +match from 2001:db8:1:1::61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set ext-community delete $INTCOMM_IRR_REJECT + +# enforcing: origin ASN +# Reject inbound routes when 'from 2001:db8:1:1::61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 2001:db8:1:1::61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 2001:db8:1:1::61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 2001:db8:1:1::61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::61 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::61 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::61 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::61 set ext-community delete rt 65520:6 + + + +allow quick from 2001:db8:1:1::61 + + + +# --------------------------------------------- +# client AS6_2, outbound + +deny quick to 2001:db8:1:1::61 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::61 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::61 + + + + + + + + +# Scrub communities from outbound routes + +# Scrub prepending communities + + +# RFC1997 NO_EXPORT/NO_ADVERTISE received from clients and propagated because of pass-through policy +match to group clients ext-community $INTCOMM_NO_EXPORT set community NO_EXPORT +match to group clients ext-community $INTCOMM_NO_ADVERTISE set community NO_ADVERTISE + +# Remove internal communities before announcing the route +match to group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + diff --git a/tests/live_tests/scenarios/tag_as_set/configs/TagASSetScenario_WithAS_SETs_OpenBGPDIPv4/openbgpd69p.conf b/tests/live_tests/scenarios/tag_as_set/configs/TagASSetScenario_WithAS_SETs_OpenBGPDIPv4/openbgpd69p.conf new file mode 100644 index 00000000..404f403e --- /dev/null +++ b/tests/live_tests/scenarios/tag_as_set/configs/TagASSetScenario_WithAS_SETs_OpenBGPDIPv4/openbgpd69p.conf @@ -0,0 +1,1889 @@ +# built by ARouteServer +AS 999 +router-id 192.0.2.2 + +fib-update no +log updates + +nexthop qualify via default + +rde evaluate all + +INTCOMM_PREF_OK_ROA="soo 65535:1" +INTCOMM_ROUTE_OK_WL="soo 65535:2" +INTCOMM_PREF_OK_ARINDB="soo 65535:3" +INTCOMM_PREF_OK_REGISTROBRDB="soo 65535:12" + +INTCOMM_ORIGIN_OK="soo 65535:4" +INTCOMM_ORIGIN_KO="soo 65535:5" +INTCOMM_PREFIX_OK="soo 65535:6" +INTCOMM_PREFIX_KO="soo 65535:7" +INTCOMM_IRR_REJECT="soo 65535:8" + +INTCOMM_RPKI_UNKNOWN="soo 65535:9" +INTCOMM_RPKI_INVALID="soo 65535:10" +INTCOMM_RPKI_VALID="soo 65535:11" + +INTCOMM_NO_EXPORT="soo 65535:65281" +INTCOMM_NO_ADVERTISE="soo 65535:65282" + +# --------------------------------------------------------- +# IRRDB + +# WHITE_LIST_AS4_1, used by client AS4_1 white list +as-set "AS_SET_WHITE_LIST_AS4_1_asns" { + 41 +} +prefix-set "AS_SET_WHITE_LIST_AS4_1_prefixes" { + 4.2.0.0/16 prefixlen 16 - 32 + 2a04:2::/32 prefixlen 32 - 128 +} + +# AS4, used by client AS4_1, client AS4_2 +# no origin ASNs found for AS4 +# no prefixes found for AS4 + +# WHITE_LIST_AS2_2, used by client AS2_2 white list +as-set "AS_SET_WHITE_LIST_AS2_2_asns" { + 21 +} +prefix-set "AS_SET_WHITE_LIST_AS2_2_prefixes" { + 2.2.0.0/16 prefixlen 16 - 32 + 2a02:2::/32 prefixlen 32 - 128 +} + +# AS-AS5_FROM_PDB, used by client AS5_1, client AS5_2 +as-set "AS_SET_AS_AS5_FROM_PDB_asns" { + 5 +} +prefix-set "AS_SET_AS_AS5_FROM_PDB_prefixes" { + 5.0.0.0/16 prefixlen 16 - 32 +} + +# AS-AS4, used by client AS4_1, client AS4_2 +as-set "AS_SET_AS_AS4_asns" { + 4 +} +prefix-set "AS_SET_AS_AS4_prefixes" { + 4.0.0.0/16 prefixlen 16 - 32 +} + +# AS2, used by client AS2_1, client AS2_2 +# no origin ASNs found for AS2 +# no prefixes found for AS2 + +# WHITE_LIST_AS5_2, used by client AS5_2 white list +as-set "AS_SET_WHITE_LIST_AS5_2_asns" { + 51 +} +prefix-set "AS_SET_WHITE_LIST_AS5_2_prefixes" { + 5.2.0.0/16 prefixlen 16 - 32 + 2a05:2::/32 prefixlen 32 - 128 +} + +# AS5, used by client AS5_1, client AS5_2 +# no origin ASNs found for AS5 +# no prefixes found for AS5 + +# AS6, used by client AS6_1, client AS6_2 +as-set "AS_SET_AS6_asns" { + 3 6 +} +prefix-set "AS_SET_AS6_prefixes" { + 6.0.0.0/16 prefixlen 16 - 32 +} + +# WHITE_LIST_AS5_1, used by client AS5_1 white list +as-set "AS_SET_WHITE_LIST_AS5_1_asns" { + 51 +} +prefix-set "AS_SET_WHITE_LIST_AS5_1_prefixes" { + 5.2.0.0/16 prefixlen 16 - 32 + 2a05:2::/32 prefixlen 32 - 128 +} + +# WHITE_LIST_AS2_1, used by client AS2_1 white list +as-set "AS_SET_WHITE_LIST_AS2_1_asns" { + 21 +} +prefix-set "AS_SET_WHITE_LIST_AS2_1_prefixes" { + 2.2.0.0/16 prefixlen 16 - 32 + 2a02:2::/32 prefixlen 32 - 128 +} + +# AS1, used by client AS1_1, client AS1_2 +as-set "AS_SET_AS1_asns" { + 1 +} +prefix-set "AS_SET_AS1_prefixes" { + 1.0.0.0/16 prefixlen 16 - 32 +} + +# WHITE_LIST_AS4_2, used by client AS4_2 white list +as-set "AS_SET_WHITE_LIST_AS4_2_asns" { + 41 +} +prefix-set "AS_SET_WHITE_LIST_AS4_2_prefixes" { + 4.2.0.0/16 prefixlen 16 - 32 + 2a04:2::/32 prefixlen 32 - 128 +} + +# AS-AS2, used by client AS2_1, client AS2_2 +as-set "AS_SET_AS_AS2_asns" { + 2 +} +prefix-set "AS_SET_AS_AS2_prefixes" { + 2.0.0.0/16 prefixlen 16 - 32 +} + + + + +# --------------------------------------------------------- +# MEMBERS + +group "clients" { + + neighbor 192.0.2.11 { + remote-as 1 + + rde evaluate all + + descr "AS1_1 client, no AS-SET" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::11 { + remote-as 1 + + rde evaluate all + + descr "AS1_1 client, no AS-SET" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.21 { + remote-as 2 + + rde evaluate all + + descr "AS2_1 client, AS-SET from AS..." + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::21 { + remote-as 2 + + rde evaluate all + + descr "AS2_1 client, AS-SET from AS..." + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.41 { + remote-as 4 + + rde evaluate all + + descr "AS4_1 client, AS-SET configu..." + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::41 { + remote-as 4 + + rde evaluate all + + descr "AS4_1 client, AS-SET configu..." + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.51 { + remote-as 5 + + rde evaluate all + + descr "AS5_1 client, AS-SET from Pe..." + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::51 { + remote-as 5 + + rde evaluate all + + descr "AS5_1 client, AS-SET from Pe..." + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.61 { + remote-as 6 + + rde evaluate all + + descr "AS6_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::61 { + remote-as 6 + + rde evaluate all + + descr "AS6_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } +} + + + +# --------------------------------------------------------- +# FILTERS + +# NO_ADVERTISE usage notes. +# The NO_ADVERTISE well-know community is used here to handle +# filters that span over multiple steps. At first it is added +# to any route, then it is removed as filters conditions are +# satisfied. Finally, if it is still present, it means that +# the route should be discarded. + + + + + +prefix-set "bogons" { + 0.0.0.0/0 + 0.0.0.0/8 prefixlen 8 - 32 + 10.0.0.0/8 prefixlen 8 - 32 + 127.0.0.0/8 prefixlen 8 - 32 + 169.254.0.0/16 prefixlen 16 - 32 + 172.16.0.0/12 prefixlen 12 - 32 + 192.0.2.0/24 prefixlen 24 - 32 + 192.88.99.0/24 prefixlen 24 - 32 + 192.168.0.0/16 prefixlen 16 - 32 + 198.18.0.0/15 prefixlen 15 - 32 + 198.51.100.0/24 prefixlen 24 - 32 + 203.0.113.0/24 prefixlen 24 - 32 + 224.0.0.0/3 prefixlen 3 - 32 + 100.64.0.0/10 prefixlen 10 - 32 + ::/0 + ::/8 prefixlen 8 - 128 + 64:ff9b::/96 prefixlen 96 - 128 + 100::/8 prefixlen 8 - 128 + 200::/7 prefixlen 7 - 128 + 400::/6 prefixlen 6 - 128 + 800::/5 prefixlen 5 - 128 + 1000::/4 prefixlen 4 - 128 + 2001::/33 prefixlen 33 - 128 + 2001:0:8000::/33 prefixlen 33 - 128 + 2001:2::/48 prefixlen 48 - 128 + 2001:3::/32 prefixlen 32 - 128 + 2001:10::/28 prefixlen 28 - 128 + 2001:20::/28 prefixlen 28 - 128 + 2001:db8::/32 prefixlen 32 - 128 + 2002::/16 prefixlen 16 - 128 + 3ffe::/16 prefixlen 16 - 128 + 4000::/3 prefixlen 3 - 128 + 5f00::/8 prefixlen 8 - 128 + 6000::/3 prefixlen 3 - 128 + 8000::/3 prefixlen 3 - 128 + a000::/3 prefixlen 3 - 128 + c000::/3 prefixlen 3 - 128 + e000::/4 prefixlen 4 - 128 + f000::/5 prefixlen 5 - 128 + f800::/6 prefixlen 6 - 128 + fc00::/7 prefixlen 7 - 128 + fe80::/10 prefixlen 10 - 128 + fec0::/10 prefixlen 10 - 128 + ff00::/8 prefixlen 8 - 128 + +} + +# ===================================================================================== +# Global rules. + +# This part of configuration is processed at the beginning of the filters. +# The rules defined in this part are applied to all the clients, and not on a +# client-by-client basis (see the 'match from group clients'), so only global policies +# can be implemented here, that is no client-level configuration are allowed. + + + +# Scrub communities from inbound routes +# origin_not_present_in_as_set +match from group clients set community delete 999:64515 +match from group clients set large-community delete 999:0:64515 + +# origin_present_in_as_set +match from group clients set community delete 999:64514 +match from group clients set large-community delete 999:0:64514 + +# prefix_not_present_in_as_set +match from group clients set community delete 999:64513 +match from group clients set large-community delete 999:0:64513 + +# prefix_present_in_as_set +match from group clients set community delete 999:64512 +match from group clients set large-community delete 999:0:64512 + +# prefix_validated_via_arin_whois_db_dump +match from group clients set community delete 999:64518 +match from group clients set large-community delete 999:0:64518 + +# prefix_validated_via_rpki_roas +match from group clients set community delete 999:64516 +match from group clients set large-community delete 999:0:64516 + +# route_validated_via_white_list +match from group clients set community delete 999:64517 +match from group clients set large-community delete 999:0:64517 + + +# Scrub internal communities from inbound routes +match from group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + + +# The main goal of this block is to enrich routes received from clients by attaching to them +# internal informational communities which are used later by the rest of the filter rules. + +# Internal communities used for RFC1997 well-known communities handling + +# Transform NO_EXPORT into $INTCOMM_NO_EXPORT +match from group clients community NO_EXPORT set { ext-community $INTCOMM_NO_EXPORT community delete NO_EXPORT } + +# Transform NO_ADVERTISE into $INTCOMM_NO_ADVERTISE +match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ADVERTISE community delete NO_ADVERTISE } + + +# --------------------------------------------------------- +# ROAs source + + +roa-set { + 2.4.0.0/16 source-as 2 + 2.5.0.0/16 source-as 2 + 2.7.0.0/16 source-as 2 + 3.1.0.0/16 source-as 3 + 3.3.0.0/16 source-as 3 + 2.0.4.0/24 source-as 2 + 6.0.1.0/24 source-as 6 + 2a02:4::/32 source-as 2 + 2a02:5::/32 source-as 2 + 2a02:7::/32 source-as 2 + 2a03:1::/32 source-as 3 + 2a03:3::/32 source-as 3 + 2a02:0:4::/48 source-as 2 + 2a06:0:1::/48 source-as 6 + +} + + + + +# --------------------------------------------------------- +# RPKI ROAs used as route objects. + +# Add the $INTCOMM_PREF_OK_ROA ext community to routes whose +# origin ASN has a ROA for the announced prefix. +# It will be used later during IRRDB validation in +# case the origin ASN is authorized by a client's +# AS-SET but the prefix is not. + +origin-set "RPKI_ROA" { + 2.4.0.0/16 source-as 2 + 2.5.0.0/16 source-as 2 + 2.7.0.0/16 source-as 2 + 3.1.0.0/16 source-as 3 + 3.3.0.0/16 source-as 3 + 2.0.4.0/24 source-as 2 + 6.0.1.0/24 source-as 6 + 2a02:4::/32 source-as 2 + 2a02:5::/32 source-as 2 + 2a02:7::/32 source-as 2 + 2a03:1::/32 source-as 3 + 2a03:3::/32 source-as 3 + 2a02:0:4::/48 source-as 2 + 2a06:0:1::/48 source-as 6 + +} +match from group clients origin-set RPKI_ROA set ext-community $INTCOMM_PREF_OK_ROA + + +# ARIN Whois records used for preifx validation +# --------------------------------------------- + +# Add the $INTCOMM_PREF_OK_ARINDB ext community to routes whose +# origin ASN has an ARIN Whois record for the announced prefix. +# It will be used later during IRRDB validation in +# case the origin ASN is authorized by a client's +# AS-SET but the prefix is not. +origin-set "ARINDB" { +2.0.5.0/24 prefixlen 24 - 32 source-as 2 +2.6.0.0/16 prefixlen 16 - 32 source-as 2 +2.7.0.0/16 prefixlen 16 - 32 source-as 2 +2a02:0:5::/48 prefixlen 48 - 128 source-as 2 +2a02:6::/32 prefixlen 32 - 128 source-as 2 +2a02:7::/32 prefixlen 32 - 128 source-as 2 +2a03:2::/32 prefixlen 32 - 128 source-as 3 +2a03:3::/32 prefixlen 32 - 128 source-as 3 +3.2.0.0/16 prefixlen 16 - 32 source-as 3 +3.3.0.0/16 prefixlen 16 - 32 source-as 3 +2a06:0:1::/48 prefixlen 48 - 128 source-as 6 +6.0.1.0/24 prefixlen 24 - 32 source-as 6 +} +match from group clients origin-set ARINDB set ext-community $INTCOMM_PREF_OK_ARINDB + + + + +# Set the 'rejected_route_announced_by' community for all the clients. +# It will be removed later if the route is not invalid +match from 192.0.2.11 set ext-community rt 65520:1 + +match from 2001:db8:1:1::11 set ext-community rt 65520:1 + +match from 192.0.2.21 set ext-community rt 65520:2 + +match from 2001:db8:1:1::21 set ext-community rt 65520:2 + +match from 192.0.2.41 set ext-community rt 65520:4 + +match from 2001:db8:1:1::41 set ext-community rt 65520:4 + +match from 192.0.2.51 set ext-community rt 65520:5 + +match from 2001:db8:1:1::51 set ext-community rt 65520:5 + +match from 192.0.2.61 set ext-community rt 65520:6 + +match from 2001:db8:1:1::61 set ext-community rt 65520:6 + + + + +# AS_PATH: length +# Reject inbound routes when 'from group clients max-as-len 32' - reject code: 1 +allow quick from group clients max-as-len 32 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:1} + + + +# Prefix: only IPv6 Global Unicast space allowed +match from group clients inet6 set community NO_ADVERTISE +match from group clients prefix 2000::/3 or-longer set community delete NO_ADVERTISE +# Reject inbound routes when 'from group clients community NO_ADVERTISE' - reject code: 10 +allow quick from group clients community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:10} + + +# Prefix: bogon +# Reject inbound routes when 'from group clients prefix-set bogons' - reject code: 2 +allow quick from group clients prefix-set bogons set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:2} + + + + +# ===================================================================================== +# Per client rules. + + +# --------------------------------------------- +# client AS1_1, inbound + + + +# NEXT_HOP +match from 192.0.2.11 set community NO_ADVERTISE +match from 192.0.2.11 nexthop 192.0.2.11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.11 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.11 peer-as != 1' - reject code: 6 +allow quick from 192.0.2.11 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.11 AS 23456' - reject code: 7 +allow quick from 192.0.2.11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + +match from 192.0.2.11 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS1_1, AS1: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.11 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.11 source-as as-set AS_SET_AS1_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS1 +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS1_1, AS1: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.11 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.11 prefix-set AS_SET_AS1_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS1 +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.11 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 192.0.2.11 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 192.0.2.11 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 192.0.2.11 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set community 999:64518 +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set large-community 999:0:64518 + +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.11 set ext-community delete rt 65520:1 + + + +allow quick from 192.0.2.11 + + + +# --------------------------------------------- +# client AS1_1, outbound + +deny quick to 192.0.2.11 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.11 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.11 + + + + + + +# --------------------------------------------- +# client AS1_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::11 set community NO_ADVERTISE +match from 2001:db8:1:1::11 nexthop 2001:db8:1:1::11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::11 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::11 peer-as != 1' - reject code: 6 +allow quick from 2001:db8:1:1::11 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + +match from 2001:db8:1:1::11 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS1_2, AS1: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::11 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::11 source-as as-set AS_SET_AS1_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS1 +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS1_2, AS1: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::11 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::11 prefix-set AS_SET_AS1_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS1 +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::11 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 2001:db8:1:1::11 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::11 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 2001:db8:1:1::11 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set community 999:64518 +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set large-community 999:0:64518 + +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::11 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::11 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::11 set ext-community delete rt 65520:1 + + + +allow quick from 2001:db8:1:1::11 + + + +# --------------------------------------------- +# client AS1_2, outbound + +deny quick to 2001:db8:1:1::11 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::11 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::11 + + + + + + +# --------------------------------------------- +# client AS2_1, inbound + + + +# NEXT_HOP +match from 192.0.2.21 set community NO_ADVERTISE +match from 192.0.2.21 nexthop 192.0.2.21 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.21 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.21 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.21 peer-as != 2' - reject code: 6 +allow quick from 192.0.2.21 peer-as != 2 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.21 AS 23456' - reject code: 7 +allow quick from 192.0.2.21 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.21 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.21 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.21 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.21 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + +match from 192.0.2.21 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS2_1, AS2: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.21 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS2 referenced but empty. +match from 192.0.2.21 source-as as-set AS_SET_WHITE_LIST_AS2_1_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # WHITE_LIST_AS2_1 +match from 192.0.2.21 source-as as-set AS_SET_AS_AS2_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS2 +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS2_1, AS2: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.21 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS2 referenced but empty. +match from 192.0.2.21 prefix-set AS_SET_WHITE_LIST_AS2_1_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # WHITE_LIST_AS2_1 +match from 192.0.2.21 prefix-set AS_SET_AS_AS2_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS2 +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.21 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 192.0.2.21 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 192.0.2.21 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 192.0.2.21 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set community 999:64518 +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set large-community 999:0:64518 + +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.21 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.21 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.21 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.21 set ext-community delete rt 65520:2 + + + +allow quick from 192.0.2.21 + + + +# --------------------------------------------- +# client AS2_1, outbound + +deny quick to 192.0.2.21 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.21 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.21 + + + + + + +# --------------------------------------------- +# client AS2_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::21 set community NO_ADVERTISE +match from 2001:db8:1:1::21 nexthop 2001:db8:1:1::21 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::21 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::21 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::21 peer-as != 2' - reject code: 6 +allow quick from 2001:db8:1:1::21 peer-as != 2 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + +match from 2001:db8:1:1::21 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS2_2, AS2: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::21 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::21 source-as as-set AS_SET_WHITE_LIST_AS2_2_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # WHITE_LIST_AS2_2 +# AS-SET AS2 referenced but empty. +match from 2001:db8:1:1::21 source-as as-set AS_SET_AS_AS2_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS2 +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS2_2, AS2: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::21 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::21 prefix-set AS_SET_WHITE_LIST_AS2_2_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # WHITE_LIST_AS2_2 +# AS-SET AS2 referenced but empty. +match from 2001:db8:1:1::21 prefix-set AS_SET_AS_AS2_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS2 +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::21 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 2001:db8:1:1::21 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::21 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 2001:db8:1:1::21 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set community 999:64518 +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set large-community 999:0:64518 + +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::21 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::21 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::21 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::21 set ext-community delete rt 65520:2 + + + +allow quick from 2001:db8:1:1::21 + + + +# --------------------------------------------- +# client AS2_2, outbound + +deny quick to 2001:db8:1:1::21 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::21 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::21 + + + + + + +# --------------------------------------------- +# client AS4_1, inbound + + + +# NEXT_HOP +match from 192.0.2.41 set community NO_ADVERTISE +match from 192.0.2.41 nexthop 192.0.2.41 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.41 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.41 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.41 peer-as != 4' - reject code: 6 +allow quick from 192.0.2.41 peer-as != 4 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.41 AS 23456' - reject code: 7 +allow quick from 192.0.2.41 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.41 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.41 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.41 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.41 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + +# client's white list +# Add the $INTCOMM_ROUTE_OK_WL ext community to routes which +# are validated by a client's white list entry. +# It will be used later during IRRDB validation in +# case the route is not authorized by a client's +# AS-SET. +match from 192.0.2.41 prefix 2a04:4::/32 source-as 44 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.41 prefix 2a04:5::/32 prefixlen 32 - 128 source-as 43 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.41 prefix 2a04:6::/32 prefixlen 32 - 128 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.41 prefix 4.4.0.0/16 source-as 44 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.41 prefix 4.5.0.0/16 prefixlen 16 - 32 source-as 43 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.41 prefix 4.6.0.0/16 prefixlen 16 - 32 set ext-community $INTCOMM_ROUTE_OK_WL # None + +match from 192.0.2.41 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS4_1, AS4: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.41 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.41 source-as as-set AS_SET_WHITE_LIST_AS4_1_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # WHITE_LIST_AS4_1 +# AS-SET AS4 referenced but empty. +match from 192.0.2.41 source-as as-set AS_SET_AS_AS4_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS4 +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS4_1, AS4: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.41 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.41 prefix-set AS_SET_WHITE_LIST_AS4_1_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # WHITE_LIST_AS4_1 +# AS-SET AS4 referenced but empty. +match from 192.0.2.41 prefix-set AS_SET_AS_AS4_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS4 +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.41 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 192.0.2.41 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 192.0.2.41 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 192.0.2.41 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set community 999:64518 +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set large-community 999:0:64518 + +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + + +# route authorized by a client's white list? +match from 192.0.2.41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set community 999:64517 +match from 192.0.2.41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set large-community 999:0:64517 + +match from 192.0.2.41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set ext-community delete $INTCOMM_IRR_REJECT + +# enforcing: origin ASN +# Reject inbound routes when 'from 192.0.2.41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 192.0.2.41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.41 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.41 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.41 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.41 set ext-community delete rt 65520:4 + + + +allow quick from 192.0.2.41 + + + +# --------------------------------------------- +# client AS4_1, outbound + +deny quick to 192.0.2.41 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.41 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.41 + + + + + + +# --------------------------------------------- +# client AS4_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::41 set community NO_ADVERTISE +match from 2001:db8:1:1::41 nexthop 2001:db8:1:1::41 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::41 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::41 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::41 peer-as != 4' - reject code: 6 +allow quick from 2001:db8:1:1::41 peer-as != 4 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + +# client's white list +# Add the $INTCOMM_ROUTE_OK_WL ext community to routes which +# are validated by a client's white list entry. +# It will be used later during IRRDB validation in +# case the route is not authorized by a client's +# AS-SET. +match from 2001:db8:1:1::41 prefix 2a04:4::/32 source-as 44 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::41 prefix 2a04:5::/32 prefixlen 32 - 128 source-as 43 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::41 prefix 2a04:6::/32 prefixlen 32 - 128 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::41 prefix 4.4.0.0/16 source-as 44 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::41 prefix 4.5.0.0/16 prefixlen 16 - 32 source-as 43 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::41 prefix 4.6.0.0/16 prefixlen 16 - 32 set ext-community $INTCOMM_ROUTE_OK_WL # None + +match from 2001:db8:1:1::41 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS4_2, AS4: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::41 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS4 referenced but empty. +match from 2001:db8:1:1::41 source-as as-set AS_SET_AS_AS4_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS4 +match from 2001:db8:1:1::41 source-as as-set AS_SET_WHITE_LIST_AS4_2_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # WHITE_LIST_AS4_2 +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS4_2, AS4: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::41 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS4 referenced but empty. +match from 2001:db8:1:1::41 prefix-set AS_SET_AS_AS4_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS4 +match from 2001:db8:1:1::41 prefix-set AS_SET_WHITE_LIST_AS4_2_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # WHITE_LIST_AS4_2 +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::41 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 2001:db8:1:1::41 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::41 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 2001:db8:1:1::41 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set community 999:64518 +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set large-community 999:0:64518 + +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + + +# route authorized by a client's white list? +match from 2001:db8:1:1::41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set community 999:64517 +match from 2001:db8:1:1::41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set large-community 999:0:64517 + +match from 2001:db8:1:1::41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set ext-community delete $INTCOMM_IRR_REJECT + +# enforcing: origin ASN +# Reject inbound routes when 'from 2001:db8:1:1::41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 2001:db8:1:1::41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::41 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::41 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::41 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::41 set ext-community delete rt 65520:4 + + + +allow quick from 2001:db8:1:1::41 + + + +# --------------------------------------------- +# client AS4_2, outbound + +deny quick to 2001:db8:1:1::41 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::41 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::41 + + + + + + +# --------------------------------------------- +# client AS5_1, inbound + + + +# NEXT_HOP +match from 192.0.2.51 set community NO_ADVERTISE +match from 192.0.2.51 nexthop 192.0.2.51 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.51 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.51 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.51 peer-as != 5' - reject code: 6 +allow quick from 192.0.2.51 peer-as != 5 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.51 AS 23456' - reject code: 7 +allow quick from 192.0.2.51 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.51 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.51 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.51 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.51 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + +match from 192.0.2.51 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS5_1, AS5: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.51 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.51 source-as as-set AS_SET_AS_AS5_FROM_PDB_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS5_FROM_PDB +# AS-SET AS5 referenced but empty. +match from 192.0.2.51 source-as as-set AS_SET_WHITE_LIST_AS5_1_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # WHITE_LIST_AS5_1 +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS5_1, AS5: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.51 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.51 prefix-set AS_SET_AS_AS5_FROM_PDB_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS5_FROM_PDB +# AS-SET AS5 referenced but empty. +match from 192.0.2.51 prefix-set AS_SET_WHITE_LIST_AS5_1_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # WHITE_LIST_AS5_1 +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.51 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 192.0.2.51 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 192.0.2.51 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 192.0.2.51 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set community 999:64518 +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set large-community 999:0:64518 + +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + + + +# enforcing: prefix +# Reject inbound routes when 'from 192.0.2.51 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 192.0.2.51 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.51 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.51 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.51 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.51 set ext-community delete rt 65520:5 + + + +allow quick from 192.0.2.51 + + + +# --------------------------------------------- +# client AS5_1, outbound + +deny quick to 192.0.2.51 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.51 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.51 + + + + + + +# --------------------------------------------- +# client AS5_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::51 set community NO_ADVERTISE +match from 2001:db8:1:1::51 nexthop 2001:db8:1:1::51 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::51 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::51 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::51 peer-as != 5' - reject code: 6 +allow quick from 2001:db8:1:1::51 peer-as != 5 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::51 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::51 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::51 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::51 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::51 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::51 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + +match from 2001:db8:1:1::51 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS5_2, AS5: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::51 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::51 source-as as-set AS_SET_AS_AS5_FROM_PDB_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS5_FROM_PDB +match from 2001:db8:1:1::51 source-as as-set AS_SET_WHITE_LIST_AS5_2_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # WHITE_LIST_AS5_2 +# AS-SET AS5 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS5_2, AS5: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::51 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::51 prefix-set AS_SET_AS_AS5_FROM_PDB_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS5_FROM_PDB +match from 2001:db8:1:1::51 prefix-set AS_SET_WHITE_LIST_AS5_2_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # WHITE_LIST_AS5_2 +# AS-SET AS5 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::51 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 2001:db8:1:1::51 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::51 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 2001:db8:1:1::51 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set community 999:64518 +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set large-community 999:0:64518 + +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + + + +# enforcing: prefix +# Reject inbound routes when 'from 2001:db8:1:1::51 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 2001:db8:1:1::51 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::51 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::51 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::51 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::51 set ext-community delete rt 65520:5 + + + +allow quick from 2001:db8:1:1::51 + + + +# --------------------------------------------- +# client AS5_2, outbound + +deny quick to 2001:db8:1:1::51 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::51 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::51 + + + + + + +# --------------------------------------------- +# client AS6_1, inbound + + + +# NEXT_HOP +match from 192.0.2.61 set community NO_ADVERTISE +match from 192.0.2.61 nexthop 192.0.2.61 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.61 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.61 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.61 peer-as != 6' - reject code: 6 +allow quick from 192.0.2.61 peer-as != 6 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.61 AS 23456' - reject code: 7 +allow quick from 192.0.2.61 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.61 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.61 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.61 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.61 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + +# client's white list +# Add the $INTCOMM_ROUTE_OK_WL ext community to routes which +# are validated by a client's white list entry. +# It will be used later during IRRDB validation in +# case the route is not authorized by a client's +# AS-SET. +match from 192.0.2.61 prefix 2a03:2::/32 prefixlen 32 - 128 source-as 3 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.61 prefix 3.2.0.0/16 prefixlen 16 - 32 source-as 3 set ext-community $INTCOMM_ROUTE_OK_WL # None + +match from 192.0.2.61 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS6_1, AS6: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.61 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.61 source-as as-set AS_SET_AS6_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS6 +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS6_1, AS6: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.61 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.61 prefix-set AS_SET_AS6_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS6 +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.61 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 192.0.2.61 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 192.0.2.61 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 192.0.2.61 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set community 999:64518 +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set large-community 999:0:64518 + +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + + +# route authorized by a client's white list? +match from 192.0.2.61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set community 999:64517 +match from 192.0.2.61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set large-community 999:0:64517 + +match from 192.0.2.61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set ext-community delete $INTCOMM_IRR_REJECT + +# enforcing: origin ASN +# Reject inbound routes when 'from 192.0.2.61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 192.0.2.61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 192.0.2.61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 192.0.2.61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.61 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.61 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.61 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.61 set ext-community delete rt 65520:6 + + + +allow quick from 192.0.2.61 + + + +# --------------------------------------------- +# client AS6_1, outbound + +deny quick to 192.0.2.61 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.61 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.61 + + + + + + +# --------------------------------------------- +# client AS6_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::61 set community NO_ADVERTISE +match from 2001:db8:1:1::61 nexthop 2001:db8:1:1::61 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::61 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::61 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::61 peer-as != 6' - reject code: 6 +allow quick from 2001:db8:1:1::61 peer-as != 6 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::61 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::61 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::61 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::61 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::61 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::61 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + +# client's white list +# Add the $INTCOMM_ROUTE_OK_WL ext community to routes which +# are validated by a client's white list entry. +# It will be used later during IRRDB validation in +# case the route is not authorized by a client's +# AS-SET. +match from 2001:db8:1:1::61 prefix 2a03:2::/32 prefixlen 32 - 128 source-as 3 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::61 prefix 3.2.0.0/16 prefixlen 16 - 32 source-as 3 set ext-community $INTCOMM_ROUTE_OK_WL # None + +match from 2001:db8:1:1::61 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS6_2, AS6: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::61 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::61 source-as as-set AS_SET_AS6_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS6 +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS6_2, AS6: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::61 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::61 prefix-set AS_SET_AS6_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS6 +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::61 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 2001:db8:1:1::61 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::61 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 2001:db8:1:1::61 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set community 999:64518 +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set large-community 999:0:64518 + +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + + +# route authorized by a client's white list? +match from 2001:db8:1:1::61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set community 999:64517 +match from 2001:db8:1:1::61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set large-community 999:0:64517 + +match from 2001:db8:1:1::61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set ext-community delete $INTCOMM_IRR_REJECT + +# enforcing: origin ASN +# Reject inbound routes when 'from 2001:db8:1:1::61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 2001:db8:1:1::61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 2001:db8:1:1::61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 2001:db8:1:1::61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::61 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::61 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::61 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::61 set ext-community delete rt 65520:6 + + + +allow quick from 2001:db8:1:1::61 + + + +# --------------------------------------------- +# client AS6_2, outbound + +deny quick to 2001:db8:1:1::61 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::61 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::61 + + + + + + + + +# Scrub communities from outbound routes + +# Scrub prepending communities + + +# RFC1997 NO_EXPORT/NO_ADVERTISE received from clients and propagated because of pass-through policy +match to group clients ext-community $INTCOMM_NO_EXPORT set community NO_EXPORT +match to group clients ext-community $INTCOMM_NO_ADVERTISE set community NO_ADVERTISE + +# Remove internal communities before announcing the route +match to group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + diff --git a/tests/live_tests/scenarios/tag_as_set/configs/TagASSetScenario_WithAS_SETs_OpenBGPDIPv6/openbgpd68.conf b/tests/live_tests/scenarios/tag_as_set/configs/TagASSetScenario_WithAS_SETs_OpenBGPDIPv6/openbgpd68.conf index 6ef552e1..73526613 100644 --- a/tests/live_tests/scenarios/tag_as_set/configs/TagASSetScenario_WithAS_SETs_OpenBGPDIPv6/openbgpd68.conf +++ b/tests/live_tests/scenarios/tag_as_set/configs/TagASSetScenario_WithAS_SETs_OpenBGPDIPv6/openbgpd68.conf @@ -7,6 +7,7 @@ log updates nexthop qualify via default + INTCOMM_PREF_OK_ROA="soo 65535:1" INTCOMM_ROUTE_OK_WL="soo 65535:2" INTCOMM_PREF_OK_ARINDB="soo 65535:3" @@ -145,6 +146,7 @@ group "clients" { neighbor 192.0.2.11 { remote-as 1 + descr "AS1_1 client, no AS-SET" passive ttl-security no @@ -161,6 +163,7 @@ group "clients" { neighbor 2001:db8:1:1::11 { remote-as 1 + descr "AS1_1 client, no AS-SET" passive ttl-security no @@ -177,6 +180,7 @@ group "clients" { neighbor 192.0.2.21 { remote-as 2 + descr "AS2_1 client, AS-SET from AS..." passive ttl-security no @@ -193,6 +197,7 @@ group "clients" { neighbor 2001:db8:1:1::21 { remote-as 2 + descr "AS2_1 client, AS-SET from AS..." passive ttl-security no @@ -209,6 +214,7 @@ group "clients" { neighbor 192.0.2.41 { remote-as 4 + descr "AS4_1 client, AS-SET configu..." passive ttl-security no @@ -225,6 +231,7 @@ group "clients" { neighbor 2001:db8:1:1::41 { remote-as 4 + descr "AS4_1 client, AS-SET configu..." passive ttl-security no @@ -241,6 +248,7 @@ group "clients" { neighbor 192.0.2.51 { remote-as 5 + descr "AS5_1 client, AS-SET from Pe..." passive ttl-security no @@ -257,6 +265,7 @@ group "clients" { neighbor 2001:db8:1:1::51 { remote-as 5 + descr "AS5_1 client, AS-SET from Pe..." passive ttl-security no @@ -273,6 +282,7 @@ group "clients" { neighbor 192.0.2.61 { remote-as 6 + descr "AS6_1 client" passive ttl-security no @@ -289,6 +299,7 @@ group "clients" { neighbor 2001:db8:1:1::61 { remote-as 6 + descr "AS6_1 client" passive ttl-security no @@ -424,14 +435,40 @@ match from group clients community NO_EXPORT set { ext-community $INTCOMM_NO_EXP match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ADVERTISE community delete NO_ADVERTISE } +# --------------------------------------------------------- +# ROAs source + + +roa-set { + 2.4.0.0/16 source-as 2 + 2.5.0.0/16 source-as 2 + 2.7.0.0/16 source-as 2 + 3.1.0.0/16 source-as 3 + 3.3.0.0/16 source-as 3 + 2.0.4.0/24 source-as 2 + 6.0.1.0/24 source-as 6 + 2a02:4::/32 source-as 2 + 2a02:5::/32 source-as 2 + 2a02:7::/32 source-as 2 + 2a03:1::/32 source-as 3 + 2a03:3::/32 source-as 3 + 2a02:0:4::/48 source-as 2 + 2a06:0:1::/48 source-as 6 + +} + + +# --------------------------------------------------------- # RPKI ROAs used as route objects. + # Add the $INTCOMM_PREF_OK_ROA ext community to routes whose # origin ASN has a ROA for the announced prefix. # It will be used later during IRRDB validation in # case the origin ASN is authorized by a client's # AS-SET but the prefix is not. + origin-set "RPKI_ROA" { 2.4.0.0/16 source-as 2 2.5.0.0/16 source-as 2 @@ -451,6 +488,7 @@ origin-set "RPKI_ROA" { } match from group clients origin-set RPKI_ROA set ext-community $INTCOMM_PREF_OK_ROA + # ARIN Whois records used for preifx validation # --------------------------------------------- diff --git a/tests/live_tests/scenarios/tag_as_set/configs/TagASSetScenario_WithAS_SETs_OpenBGPDIPv6/openbgpd69.conf b/tests/live_tests/scenarios/tag_as_set/configs/TagASSetScenario_WithAS_SETs_OpenBGPDIPv6/openbgpd69.conf new file mode 100644 index 00000000..cba398f8 --- /dev/null +++ b/tests/live_tests/scenarios/tag_as_set/configs/TagASSetScenario_WithAS_SETs_OpenBGPDIPv6/openbgpd69.conf @@ -0,0 +1,1889 @@ +# built by ARouteServer +AS 999 +router-id 192.0.2.2 + +fib-update no +log updates + +nexthop qualify via default + +rde evaluate all + +INTCOMM_PREF_OK_ROA="soo 65535:1" +INTCOMM_ROUTE_OK_WL="soo 65535:2" +INTCOMM_PREF_OK_ARINDB="soo 65535:3" +INTCOMM_PREF_OK_REGISTROBRDB="soo 65535:12" + +INTCOMM_ORIGIN_OK="soo 65535:4" +INTCOMM_ORIGIN_KO="soo 65535:5" +INTCOMM_PREFIX_OK="soo 65535:6" +INTCOMM_PREFIX_KO="soo 65535:7" +INTCOMM_IRR_REJECT="soo 65535:8" + +INTCOMM_RPKI_UNKNOWN="soo 65535:9" +INTCOMM_RPKI_INVALID="soo 65535:10" +INTCOMM_RPKI_VALID="soo 65535:11" + +INTCOMM_NO_EXPORT="soo 65535:65281" +INTCOMM_NO_ADVERTISE="soo 65535:65282" + +# --------------------------------------------------------- +# IRRDB + +# WHITE_LIST_AS4_1, used by client AS4_1 white list +as-set "AS_SET_WHITE_LIST_AS4_1_asns" { + 41 +} +prefix-set "AS_SET_WHITE_LIST_AS4_1_prefixes" { + 4.2.0.0/16 prefixlen 16 - 32 + 2a04:2::/32 prefixlen 32 - 128 +} + +# AS4, used by client AS4_1, client AS4_2 +# no origin ASNs found for AS4 +# no prefixes found for AS4 + +# WHITE_LIST_AS2_2, used by client AS2_2 white list +as-set "AS_SET_WHITE_LIST_AS2_2_asns" { + 21 +} +prefix-set "AS_SET_WHITE_LIST_AS2_2_prefixes" { + 2.2.0.0/16 prefixlen 16 - 32 + 2a02:2::/32 prefixlen 32 - 128 +} + +# AS-AS5_FROM_PDB, used by client AS5_1, client AS5_2 +as-set "AS_SET_AS_AS5_FROM_PDB_asns" { + 5 +} +prefix-set "AS_SET_AS_AS5_FROM_PDB_prefixes" { + 2a05::/32 prefixlen 32 - 128 +} + +# AS-AS4, used by client AS4_1, client AS4_2 +as-set "AS_SET_AS_AS4_asns" { + 4 +} +prefix-set "AS_SET_AS_AS4_prefixes" { + 2a04::/32 prefixlen 32 - 128 +} + +# AS2, used by client AS2_1, client AS2_2 +# no origin ASNs found for AS2 +# no prefixes found for AS2 + +# WHITE_LIST_AS5_2, used by client AS5_2 white list +as-set "AS_SET_WHITE_LIST_AS5_2_asns" { + 51 +} +prefix-set "AS_SET_WHITE_LIST_AS5_2_prefixes" { + 5.2.0.0/16 prefixlen 16 - 32 + 2a05:2::/32 prefixlen 32 - 128 +} + +# AS5, used by client AS5_1, client AS5_2 +# no origin ASNs found for AS5 +# no prefixes found for AS5 + +# AS6, used by client AS6_1, client AS6_2 +as-set "AS_SET_AS6_asns" { + 3 6 +} +prefix-set "AS_SET_AS6_prefixes" { + 2a06::/32 prefixlen 32 - 128 +} + +# WHITE_LIST_AS5_1, used by client AS5_1 white list +as-set "AS_SET_WHITE_LIST_AS5_1_asns" { + 51 +} +prefix-set "AS_SET_WHITE_LIST_AS5_1_prefixes" { + 5.2.0.0/16 prefixlen 16 - 32 + 2a05:2::/32 prefixlen 32 - 128 +} + +# WHITE_LIST_AS2_1, used by client AS2_1 white list +as-set "AS_SET_WHITE_LIST_AS2_1_asns" { + 21 +} +prefix-set "AS_SET_WHITE_LIST_AS2_1_prefixes" { + 2.2.0.0/16 prefixlen 16 - 32 + 2a02:2::/32 prefixlen 32 - 128 +} + +# AS1, used by client AS1_1, client AS1_2 +as-set "AS_SET_AS1_asns" { + 1 +} +prefix-set "AS_SET_AS1_prefixes" { + 2a01::/32 prefixlen 32 - 128 +} + +# WHITE_LIST_AS4_2, used by client AS4_2 white list +as-set "AS_SET_WHITE_LIST_AS4_2_asns" { + 41 +} +prefix-set "AS_SET_WHITE_LIST_AS4_2_prefixes" { + 4.2.0.0/16 prefixlen 16 - 32 + 2a04:2::/32 prefixlen 32 - 128 +} + +# AS-AS2, used by client AS2_1, client AS2_2 +as-set "AS_SET_AS_AS2_asns" { + 2 +} +prefix-set "AS_SET_AS_AS2_prefixes" { + 2a02::/32 prefixlen 32 - 128 +} + + + + +# --------------------------------------------------------- +# MEMBERS + +group "clients" { + + neighbor 192.0.2.11 { + remote-as 1 + + rde evaluate all + + descr "AS1_1 client, no AS-SET" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::11 { + remote-as 1 + + rde evaluate all + + descr "AS1_1 client, no AS-SET" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.21 { + remote-as 2 + + rde evaluate all + + descr "AS2_1 client, AS-SET from AS..." + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::21 { + remote-as 2 + + rde evaluate all + + descr "AS2_1 client, AS-SET from AS..." + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.41 { + remote-as 4 + + rde evaluate all + + descr "AS4_1 client, AS-SET configu..." + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::41 { + remote-as 4 + + rde evaluate all + + descr "AS4_1 client, AS-SET configu..." + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.51 { + remote-as 5 + + rde evaluate all + + descr "AS5_1 client, AS-SET from Pe..." + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::51 { + remote-as 5 + + rde evaluate all + + descr "AS5_1 client, AS-SET from Pe..." + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.61 { + remote-as 6 + + rde evaluate all + + descr "AS6_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::61 { + remote-as 6 + + rde evaluate all + + descr "AS6_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } +} + + + +# --------------------------------------------------------- +# FILTERS + +# NO_ADVERTISE usage notes. +# The NO_ADVERTISE well-know community is used here to handle +# filters that span over multiple steps. At first it is added +# to any route, then it is removed as filters conditions are +# satisfied. Finally, if it is still present, it means that +# the route should be discarded. + + + + + +prefix-set "bogons" { + 0.0.0.0/0 + 0.0.0.0/8 prefixlen 8 - 32 + 10.0.0.0/8 prefixlen 8 - 32 + 127.0.0.0/8 prefixlen 8 - 32 + 169.254.0.0/16 prefixlen 16 - 32 + 172.16.0.0/12 prefixlen 12 - 32 + 192.0.2.0/24 prefixlen 24 - 32 + 192.88.99.0/24 prefixlen 24 - 32 + 192.168.0.0/16 prefixlen 16 - 32 + 198.18.0.0/15 prefixlen 15 - 32 + 198.51.100.0/24 prefixlen 24 - 32 + 203.0.113.0/24 prefixlen 24 - 32 + 224.0.0.0/3 prefixlen 3 - 32 + 100.64.0.0/10 prefixlen 10 - 32 + ::/0 + ::/8 prefixlen 8 - 128 + 64:ff9b::/96 prefixlen 96 - 128 + 100::/8 prefixlen 8 - 128 + 200::/7 prefixlen 7 - 128 + 400::/6 prefixlen 6 - 128 + 800::/5 prefixlen 5 - 128 + 1000::/4 prefixlen 4 - 128 + 2001::/33 prefixlen 33 - 128 + 2001:0:8000::/33 prefixlen 33 - 128 + 2001:2::/48 prefixlen 48 - 128 + 2001:3::/32 prefixlen 32 - 128 + 2001:10::/28 prefixlen 28 - 128 + 2001:20::/28 prefixlen 28 - 128 + 2001:db8::/32 prefixlen 32 - 128 + 2002::/16 prefixlen 16 - 128 + 3ffe::/16 prefixlen 16 - 128 + 4000::/3 prefixlen 3 - 128 + 5f00::/8 prefixlen 8 - 128 + 6000::/3 prefixlen 3 - 128 + 8000::/3 prefixlen 3 - 128 + a000::/3 prefixlen 3 - 128 + c000::/3 prefixlen 3 - 128 + e000::/4 prefixlen 4 - 128 + f000::/5 prefixlen 5 - 128 + f800::/6 prefixlen 6 - 128 + fc00::/7 prefixlen 7 - 128 + fe80::/10 prefixlen 10 - 128 + fec0::/10 prefixlen 10 - 128 + ff00::/8 prefixlen 8 - 128 + +} + +# ===================================================================================== +# Global rules. + +# This part of configuration is processed at the beginning of the filters. +# The rules defined in this part are applied to all the clients, and not on a +# client-by-client basis (see the 'match from group clients'), so only global policies +# can be implemented here, that is no client-level configuration are allowed. + + + +# Scrub communities from inbound routes +# origin_not_present_in_as_set +match from group clients set community delete 999:64515 +match from group clients set large-community delete 999:0:64515 + +# origin_present_in_as_set +match from group clients set community delete 999:64514 +match from group clients set large-community delete 999:0:64514 + +# prefix_not_present_in_as_set +match from group clients set community delete 999:64513 +match from group clients set large-community delete 999:0:64513 + +# prefix_present_in_as_set +match from group clients set community delete 999:64512 +match from group clients set large-community delete 999:0:64512 + +# prefix_validated_via_arin_whois_db_dump +match from group clients set community delete 999:64518 +match from group clients set large-community delete 999:0:64518 + +# prefix_validated_via_rpki_roas +match from group clients set community delete 999:64516 +match from group clients set large-community delete 999:0:64516 + +# route_validated_via_white_list +match from group clients set community delete 999:64517 +match from group clients set large-community delete 999:0:64517 + + +# Scrub internal communities from inbound routes +match from group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + + +# The main goal of this block is to enrich routes received from clients by attaching to them +# internal informational communities which are used later by the rest of the filter rules. + +# Internal communities used for RFC1997 well-known communities handling + +# Transform NO_EXPORT into $INTCOMM_NO_EXPORT +match from group clients community NO_EXPORT set { ext-community $INTCOMM_NO_EXPORT community delete NO_EXPORT } + +# Transform NO_ADVERTISE into $INTCOMM_NO_ADVERTISE +match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ADVERTISE community delete NO_ADVERTISE } + + +# --------------------------------------------------------- +# ROAs source + + +roa-set { + 2.4.0.0/16 source-as 2 + 2.5.0.0/16 source-as 2 + 2.7.0.0/16 source-as 2 + 3.1.0.0/16 source-as 3 + 3.3.0.0/16 source-as 3 + 2.0.4.0/24 source-as 2 + 6.0.1.0/24 source-as 6 + 2a02:4::/32 source-as 2 + 2a02:5::/32 source-as 2 + 2a02:7::/32 source-as 2 + 2a03:1::/32 source-as 3 + 2a03:3::/32 source-as 3 + 2a02:0:4::/48 source-as 2 + 2a06:0:1::/48 source-as 6 + +} + + + + +# --------------------------------------------------------- +# RPKI ROAs used as route objects. + +# Add the $INTCOMM_PREF_OK_ROA ext community to routes whose +# origin ASN has a ROA for the announced prefix. +# It will be used later during IRRDB validation in +# case the origin ASN is authorized by a client's +# AS-SET but the prefix is not. + +origin-set "RPKI_ROA" { + 2.4.0.0/16 source-as 2 + 2.5.0.0/16 source-as 2 + 2.7.0.0/16 source-as 2 + 3.1.0.0/16 source-as 3 + 3.3.0.0/16 source-as 3 + 2.0.4.0/24 source-as 2 + 6.0.1.0/24 source-as 6 + 2a02:4::/32 source-as 2 + 2a02:5::/32 source-as 2 + 2a02:7::/32 source-as 2 + 2a03:1::/32 source-as 3 + 2a03:3::/32 source-as 3 + 2a02:0:4::/48 source-as 2 + 2a06:0:1::/48 source-as 6 + +} +match from group clients origin-set RPKI_ROA set ext-community $INTCOMM_PREF_OK_ROA + + +# ARIN Whois records used for preifx validation +# --------------------------------------------- + +# Add the $INTCOMM_PREF_OK_ARINDB ext community to routes whose +# origin ASN has an ARIN Whois record for the announced prefix. +# It will be used later during IRRDB validation in +# case the origin ASN is authorized by a client's +# AS-SET but the prefix is not. +origin-set "ARINDB" { +2.0.5.0/24 prefixlen 24 - 32 source-as 2 +2.6.0.0/16 prefixlen 16 - 32 source-as 2 +2.7.0.0/16 prefixlen 16 - 32 source-as 2 +2a02:0:5::/48 prefixlen 48 - 128 source-as 2 +2a02:6::/32 prefixlen 32 - 128 source-as 2 +2a02:7::/32 prefixlen 32 - 128 source-as 2 +2a03:2::/32 prefixlen 32 - 128 source-as 3 +2a03:3::/32 prefixlen 32 - 128 source-as 3 +3.2.0.0/16 prefixlen 16 - 32 source-as 3 +3.3.0.0/16 prefixlen 16 - 32 source-as 3 +2a06:0:1::/48 prefixlen 48 - 128 source-as 6 +6.0.1.0/24 prefixlen 24 - 32 source-as 6 +} +match from group clients origin-set ARINDB set ext-community $INTCOMM_PREF_OK_ARINDB + + + + +# Set the 'rejected_route_announced_by' community for all the clients. +# It will be removed later if the route is not invalid +match from 192.0.2.11 set ext-community rt 65520:1 + +match from 2001:db8:1:1::11 set ext-community rt 65520:1 + +match from 192.0.2.21 set ext-community rt 65520:2 + +match from 2001:db8:1:1::21 set ext-community rt 65520:2 + +match from 192.0.2.41 set ext-community rt 65520:4 + +match from 2001:db8:1:1::41 set ext-community rt 65520:4 + +match from 192.0.2.51 set ext-community rt 65520:5 + +match from 2001:db8:1:1::51 set ext-community rt 65520:5 + +match from 192.0.2.61 set ext-community rt 65520:6 + +match from 2001:db8:1:1::61 set ext-community rt 65520:6 + + + + +# AS_PATH: length +# Reject inbound routes when 'from group clients max-as-len 32' - reject code: 1 +allow quick from group clients max-as-len 32 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:1} + + + +# Prefix: only IPv6 Global Unicast space allowed +match from group clients inet6 set community NO_ADVERTISE +match from group clients prefix 2000::/3 or-longer set community delete NO_ADVERTISE +# Reject inbound routes when 'from group clients community NO_ADVERTISE' - reject code: 10 +allow quick from group clients community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:10} + + +# Prefix: bogon +# Reject inbound routes when 'from group clients prefix-set bogons' - reject code: 2 +allow quick from group clients prefix-set bogons set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:2} + + + + +# ===================================================================================== +# Per client rules. + + +# --------------------------------------------- +# client AS1_1, inbound + + + +# NEXT_HOP +match from 192.0.2.11 set community NO_ADVERTISE +match from 192.0.2.11 nexthop 192.0.2.11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.11 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.11 peer-as != 1' - reject code: 6 +allow quick from 192.0.2.11 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.11 AS 23456' - reject code: 7 +allow quick from 192.0.2.11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + +match from 192.0.2.11 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS1_1, AS1: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.11 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.11 source-as as-set AS_SET_AS1_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS1 +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS1_1, AS1: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.11 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.11 prefix-set AS_SET_AS1_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS1 +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.11 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 192.0.2.11 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 192.0.2.11 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 192.0.2.11 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set community 999:64518 +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set large-community 999:0:64518 + +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.11 set ext-community delete rt 65520:1 + + + +allow quick from 192.0.2.11 + + + +# --------------------------------------------- +# client AS1_1, outbound + +deny quick to 192.0.2.11 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.11 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.11 + + + + + + +# --------------------------------------------- +# client AS1_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::11 set community NO_ADVERTISE +match from 2001:db8:1:1::11 nexthop 2001:db8:1:1::11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::11 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::11 peer-as != 1' - reject code: 6 +allow quick from 2001:db8:1:1::11 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + +match from 2001:db8:1:1::11 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS1_2, AS1: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::11 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::11 source-as as-set AS_SET_AS1_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS1 +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS1_2, AS1: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::11 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::11 prefix-set AS_SET_AS1_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS1 +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::11 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 2001:db8:1:1::11 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::11 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 2001:db8:1:1::11 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set community 999:64518 +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set large-community 999:0:64518 + +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::11 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::11 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::11 set ext-community delete rt 65520:1 + + + +allow quick from 2001:db8:1:1::11 + + + +# --------------------------------------------- +# client AS1_2, outbound + +deny quick to 2001:db8:1:1::11 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::11 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::11 + + + + + + +# --------------------------------------------- +# client AS2_1, inbound + + + +# NEXT_HOP +match from 192.0.2.21 set community NO_ADVERTISE +match from 192.0.2.21 nexthop 192.0.2.21 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.21 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.21 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.21 peer-as != 2' - reject code: 6 +allow quick from 192.0.2.21 peer-as != 2 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.21 AS 23456' - reject code: 7 +allow quick from 192.0.2.21 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.21 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.21 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.21 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.21 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + +match from 192.0.2.21 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS2_1, AS2: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.21 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS2 referenced but empty. +match from 192.0.2.21 source-as as-set AS_SET_WHITE_LIST_AS2_1_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # WHITE_LIST_AS2_1 +match from 192.0.2.21 source-as as-set AS_SET_AS_AS2_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS2 +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS2_1, AS2: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.21 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS2 referenced but empty. +match from 192.0.2.21 prefix-set AS_SET_WHITE_LIST_AS2_1_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # WHITE_LIST_AS2_1 +match from 192.0.2.21 prefix-set AS_SET_AS_AS2_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS2 +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.21 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 192.0.2.21 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 192.0.2.21 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 192.0.2.21 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set community 999:64518 +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set large-community 999:0:64518 + +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.21 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.21 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.21 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.21 set ext-community delete rt 65520:2 + + + +allow quick from 192.0.2.21 + + + +# --------------------------------------------- +# client AS2_1, outbound + +deny quick to 192.0.2.21 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.21 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.21 + + + + + + +# --------------------------------------------- +# client AS2_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::21 set community NO_ADVERTISE +match from 2001:db8:1:1::21 nexthop 2001:db8:1:1::21 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::21 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::21 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::21 peer-as != 2' - reject code: 6 +allow quick from 2001:db8:1:1::21 peer-as != 2 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + +match from 2001:db8:1:1::21 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS2_2, AS2: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::21 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::21 source-as as-set AS_SET_WHITE_LIST_AS2_2_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # WHITE_LIST_AS2_2 +# AS-SET AS2 referenced but empty. +match from 2001:db8:1:1::21 source-as as-set AS_SET_AS_AS2_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS2 +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS2_2, AS2: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::21 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::21 prefix-set AS_SET_WHITE_LIST_AS2_2_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # WHITE_LIST_AS2_2 +# AS-SET AS2 referenced but empty. +match from 2001:db8:1:1::21 prefix-set AS_SET_AS_AS2_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS2 +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::21 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 2001:db8:1:1::21 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::21 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 2001:db8:1:1::21 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set community 999:64518 +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set large-community 999:0:64518 + +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::21 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::21 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::21 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::21 set ext-community delete rt 65520:2 + + + +allow quick from 2001:db8:1:1::21 + + + +# --------------------------------------------- +# client AS2_2, outbound + +deny quick to 2001:db8:1:1::21 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::21 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::21 + + + + + + +# --------------------------------------------- +# client AS4_1, inbound + + + +# NEXT_HOP +match from 192.0.2.41 set community NO_ADVERTISE +match from 192.0.2.41 nexthop 192.0.2.41 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.41 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.41 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.41 peer-as != 4' - reject code: 6 +allow quick from 192.0.2.41 peer-as != 4 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.41 AS 23456' - reject code: 7 +allow quick from 192.0.2.41 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.41 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.41 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.41 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.41 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + +# client's white list +# Add the $INTCOMM_ROUTE_OK_WL ext community to routes which +# are validated by a client's white list entry. +# It will be used later during IRRDB validation in +# case the route is not authorized by a client's +# AS-SET. +match from 192.0.2.41 prefix 2a04:4::/32 source-as 44 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.41 prefix 2a04:5::/32 prefixlen 32 - 128 source-as 43 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.41 prefix 2a04:6::/32 prefixlen 32 - 128 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.41 prefix 4.4.0.0/16 source-as 44 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.41 prefix 4.5.0.0/16 prefixlen 16 - 32 source-as 43 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.41 prefix 4.6.0.0/16 prefixlen 16 - 32 set ext-community $INTCOMM_ROUTE_OK_WL # None + +match from 192.0.2.41 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS4_1, AS4: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.41 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.41 source-as as-set AS_SET_WHITE_LIST_AS4_1_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # WHITE_LIST_AS4_1 +# AS-SET AS4 referenced but empty. +match from 192.0.2.41 source-as as-set AS_SET_AS_AS4_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS4 +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS4_1, AS4: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.41 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.41 prefix-set AS_SET_WHITE_LIST_AS4_1_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # WHITE_LIST_AS4_1 +# AS-SET AS4 referenced but empty. +match from 192.0.2.41 prefix-set AS_SET_AS_AS4_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS4 +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.41 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 192.0.2.41 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 192.0.2.41 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 192.0.2.41 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set community 999:64518 +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set large-community 999:0:64518 + +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + + +# route authorized by a client's white list? +match from 192.0.2.41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set community 999:64517 +match from 192.0.2.41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set large-community 999:0:64517 + +match from 192.0.2.41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set ext-community delete $INTCOMM_IRR_REJECT + +# enforcing: origin ASN +# Reject inbound routes when 'from 192.0.2.41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 192.0.2.41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.41 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.41 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.41 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.41 set ext-community delete rt 65520:4 + + + +allow quick from 192.0.2.41 + + + +# --------------------------------------------- +# client AS4_1, outbound + +deny quick to 192.0.2.41 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.41 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.41 + + + + + + +# --------------------------------------------- +# client AS4_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::41 set community NO_ADVERTISE +match from 2001:db8:1:1::41 nexthop 2001:db8:1:1::41 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::41 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::41 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::41 peer-as != 4' - reject code: 6 +allow quick from 2001:db8:1:1::41 peer-as != 4 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + +# client's white list +# Add the $INTCOMM_ROUTE_OK_WL ext community to routes which +# are validated by a client's white list entry. +# It will be used later during IRRDB validation in +# case the route is not authorized by a client's +# AS-SET. +match from 2001:db8:1:1::41 prefix 2a04:4::/32 source-as 44 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::41 prefix 2a04:5::/32 prefixlen 32 - 128 source-as 43 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::41 prefix 2a04:6::/32 prefixlen 32 - 128 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::41 prefix 4.4.0.0/16 source-as 44 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::41 prefix 4.5.0.0/16 prefixlen 16 - 32 source-as 43 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::41 prefix 4.6.0.0/16 prefixlen 16 - 32 set ext-community $INTCOMM_ROUTE_OK_WL # None + +match from 2001:db8:1:1::41 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS4_2, AS4: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::41 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS4 referenced but empty. +match from 2001:db8:1:1::41 source-as as-set AS_SET_AS_AS4_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS4 +match from 2001:db8:1:1::41 source-as as-set AS_SET_WHITE_LIST_AS4_2_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # WHITE_LIST_AS4_2 +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS4_2, AS4: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::41 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS4 referenced but empty. +match from 2001:db8:1:1::41 prefix-set AS_SET_AS_AS4_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS4 +match from 2001:db8:1:1::41 prefix-set AS_SET_WHITE_LIST_AS4_2_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # WHITE_LIST_AS4_2 +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::41 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 2001:db8:1:1::41 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::41 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 2001:db8:1:1::41 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set community 999:64518 +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set large-community 999:0:64518 + +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + + +# route authorized by a client's white list? +match from 2001:db8:1:1::41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set community 999:64517 +match from 2001:db8:1:1::41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set large-community 999:0:64517 + +match from 2001:db8:1:1::41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set ext-community delete $INTCOMM_IRR_REJECT + +# enforcing: origin ASN +# Reject inbound routes when 'from 2001:db8:1:1::41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 2001:db8:1:1::41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::41 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::41 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::41 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::41 set ext-community delete rt 65520:4 + + + +allow quick from 2001:db8:1:1::41 + + + +# --------------------------------------------- +# client AS4_2, outbound + +deny quick to 2001:db8:1:1::41 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::41 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::41 + + + + + + +# --------------------------------------------- +# client AS5_1, inbound + + + +# NEXT_HOP +match from 192.0.2.51 set community NO_ADVERTISE +match from 192.0.2.51 nexthop 192.0.2.51 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.51 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.51 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.51 peer-as != 5' - reject code: 6 +allow quick from 192.0.2.51 peer-as != 5 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.51 AS 23456' - reject code: 7 +allow quick from 192.0.2.51 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.51 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.51 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.51 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.51 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + +match from 192.0.2.51 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS5_1, AS5: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.51 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.51 source-as as-set AS_SET_AS_AS5_FROM_PDB_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS5_FROM_PDB +# AS-SET AS5 referenced but empty. +match from 192.0.2.51 source-as as-set AS_SET_WHITE_LIST_AS5_1_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # WHITE_LIST_AS5_1 +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS5_1, AS5: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.51 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.51 prefix-set AS_SET_AS_AS5_FROM_PDB_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS5_FROM_PDB +# AS-SET AS5 referenced but empty. +match from 192.0.2.51 prefix-set AS_SET_WHITE_LIST_AS5_1_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # WHITE_LIST_AS5_1 +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.51 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 192.0.2.51 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 192.0.2.51 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 192.0.2.51 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set community 999:64518 +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set large-community 999:0:64518 + +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + + + +# enforcing: prefix +# Reject inbound routes when 'from 192.0.2.51 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 192.0.2.51 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.51 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.51 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.51 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.51 set ext-community delete rt 65520:5 + + + +allow quick from 192.0.2.51 + + + +# --------------------------------------------- +# client AS5_1, outbound + +deny quick to 192.0.2.51 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.51 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.51 + + + + + + +# --------------------------------------------- +# client AS5_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::51 set community NO_ADVERTISE +match from 2001:db8:1:1::51 nexthop 2001:db8:1:1::51 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::51 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::51 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::51 peer-as != 5' - reject code: 6 +allow quick from 2001:db8:1:1::51 peer-as != 5 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::51 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::51 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::51 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::51 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::51 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::51 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + +match from 2001:db8:1:1::51 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS5_2, AS5: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::51 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::51 source-as as-set AS_SET_AS_AS5_FROM_PDB_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS5_FROM_PDB +match from 2001:db8:1:1::51 source-as as-set AS_SET_WHITE_LIST_AS5_2_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # WHITE_LIST_AS5_2 +# AS-SET AS5 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS5_2, AS5: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::51 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::51 prefix-set AS_SET_AS_AS5_FROM_PDB_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS5_FROM_PDB +match from 2001:db8:1:1::51 prefix-set AS_SET_WHITE_LIST_AS5_2_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # WHITE_LIST_AS5_2 +# AS-SET AS5 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::51 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 2001:db8:1:1::51 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::51 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 2001:db8:1:1::51 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set community 999:64518 +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set large-community 999:0:64518 + +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + + + +# enforcing: prefix +# Reject inbound routes when 'from 2001:db8:1:1::51 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 2001:db8:1:1::51 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::51 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::51 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::51 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::51 set ext-community delete rt 65520:5 + + + +allow quick from 2001:db8:1:1::51 + + + +# --------------------------------------------- +# client AS5_2, outbound + +deny quick to 2001:db8:1:1::51 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::51 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::51 + + + + + + +# --------------------------------------------- +# client AS6_1, inbound + + + +# NEXT_HOP +match from 192.0.2.61 set community NO_ADVERTISE +match from 192.0.2.61 nexthop 192.0.2.61 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.61 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.61 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.61 peer-as != 6' - reject code: 6 +allow quick from 192.0.2.61 peer-as != 6 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.61 AS 23456' - reject code: 7 +allow quick from 192.0.2.61 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.61 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.61 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.61 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.61 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + +# client's white list +# Add the $INTCOMM_ROUTE_OK_WL ext community to routes which +# are validated by a client's white list entry. +# It will be used later during IRRDB validation in +# case the route is not authorized by a client's +# AS-SET. +match from 192.0.2.61 prefix 2a03:2::/32 prefixlen 32 - 128 source-as 3 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.61 prefix 3.2.0.0/16 prefixlen 16 - 32 source-as 3 set ext-community $INTCOMM_ROUTE_OK_WL # None + +match from 192.0.2.61 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS6_1, AS6: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.61 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.61 source-as as-set AS_SET_AS6_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS6 +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS6_1, AS6: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.61 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.61 prefix-set AS_SET_AS6_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS6 +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.61 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 192.0.2.61 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 192.0.2.61 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 192.0.2.61 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set community 999:64518 +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set large-community 999:0:64518 + +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + + +# route authorized by a client's white list? +match from 192.0.2.61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set community 999:64517 +match from 192.0.2.61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set large-community 999:0:64517 + +match from 192.0.2.61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set ext-community delete $INTCOMM_IRR_REJECT + +# enforcing: origin ASN +# Reject inbound routes when 'from 192.0.2.61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 192.0.2.61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 192.0.2.61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 192.0.2.61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.61 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.61 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.61 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.61 set ext-community delete rt 65520:6 + + + +allow quick from 192.0.2.61 + + + +# --------------------------------------------- +# client AS6_1, outbound + +deny quick to 192.0.2.61 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.61 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.61 + + + + + + +# --------------------------------------------- +# client AS6_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::61 set community NO_ADVERTISE +match from 2001:db8:1:1::61 nexthop 2001:db8:1:1::61 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::61 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::61 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::61 peer-as != 6' - reject code: 6 +allow quick from 2001:db8:1:1::61 peer-as != 6 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::61 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::61 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::61 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::61 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::61 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::61 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + +# client's white list +# Add the $INTCOMM_ROUTE_OK_WL ext community to routes which +# are validated by a client's white list entry. +# It will be used later during IRRDB validation in +# case the route is not authorized by a client's +# AS-SET. +match from 2001:db8:1:1::61 prefix 2a03:2::/32 prefixlen 32 - 128 source-as 3 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::61 prefix 3.2.0.0/16 prefixlen 16 - 32 source-as 3 set ext-community $INTCOMM_ROUTE_OK_WL # None + +match from 2001:db8:1:1::61 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS6_2, AS6: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::61 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::61 source-as as-set AS_SET_AS6_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS6 +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS6_2, AS6: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::61 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::61 prefix-set AS_SET_AS6_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS6 +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::61 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 2001:db8:1:1::61 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::61 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 2001:db8:1:1::61 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set community 999:64518 +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set large-community 999:0:64518 + +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + + +# route authorized by a client's white list? +match from 2001:db8:1:1::61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set community 999:64517 +match from 2001:db8:1:1::61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set large-community 999:0:64517 + +match from 2001:db8:1:1::61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set ext-community delete $INTCOMM_IRR_REJECT + +# enforcing: origin ASN +# Reject inbound routes when 'from 2001:db8:1:1::61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 2001:db8:1:1::61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 2001:db8:1:1::61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 2001:db8:1:1::61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::61 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::61 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::61 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::61 set ext-community delete rt 65520:6 + + + +allow quick from 2001:db8:1:1::61 + + + +# --------------------------------------------- +# client AS6_2, outbound + +deny quick to 2001:db8:1:1::61 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::61 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::61 + + + + + + + + +# Scrub communities from outbound routes + +# Scrub prepending communities + + +# RFC1997 NO_EXPORT/NO_ADVERTISE received from clients and propagated because of pass-through policy +match to group clients ext-community $INTCOMM_NO_EXPORT set community NO_EXPORT +match to group clients ext-community $INTCOMM_NO_ADVERTISE set community NO_ADVERTISE + +# Remove internal communities before announcing the route +match to group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + diff --git a/tests/live_tests/scenarios/tag_as_set/configs/TagASSetScenario_WithAS_SETs_OpenBGPDIPv6/openbgpd69p.conf b/tests/live_tests/scenarios/tag_as_set/configs/TagASSetScenario_WithAS_SETs_OpenBGPDIPv6/openbgpd69p.conf new file mode 100644 index 00000000..cba398f8 --- /dev/null +++ b/tests/live_tests/scenarios/tag_as_set/configs/TagASSetScenario_WithAS_SETs_OpenBGPDIPv6/openbgpd69p.conf @@ -0,0 +1,1889 @@ +# built by ARouteServer +AS 999 +router-id 192.0.2.2 + +fib-update no +log updates + +nexthop qualify via default + +rde evaluate all + +INTCOMM_PREF_OK_ROA="soo 65535:1" +INTCOMM_ROUTE_OK_WL="soo 65535:2" +INTCOMM_PREF_OK_ARINDB="soo 65535:3" +INTCOMM_PREF_OK_REGISTROBRDB="soo 65535:12" + +INTCOMM_ORIGIN_OK="soo 65535:4" +INTCOMM_ORIGIN_KO="soo 65535:5" +INTCOMM_PREFIX_OK="soo 65535:6" +INTCOMM_PREFIX_KO="soo 65535:7" +INTCOMM_IRR_REJECT="soo 65535:8" + +INTCOMM_RPKI_UNKNOWN="soo 65535:9" +INTCOMM_RPKI_INVALID="soo 65535:10" +INTCOMM_RPKI_VALID="soo 65535:11" + +INTCOMM_NO_EXPORT="soo 65535:65281" +INTCOMM_NO_ADVERTISE="soo 65535:65282" + +# --------------------------------------------------------- +# IRRDB + +# WHITE_LIST_AS4_1, used by client AS4_1 white list +as-set "AS_SET_WHITE_LIST_AS4_1_asns" { + 41 +} +prefix-set "AS_SET_WHITE_LIST_AS4_1_prefixes" { + 4.2.0.0/16 prefixlen 16 - 32 + 2a04:2::/32 prefixlen 32 - 128 +} + +# AS4, used by client AS4_1, client AS4_2 +# no origin ASNs found for AS4 +# no prefixes found for AS4 + +# WHITE_LIST_AS2_2, used by client AS2_2 white list +as-set "AS_SET_WHITE_LIST_AS2_2_asns" { + 21 +} +prefix-set "AS_SET_WHITE_LIST_AS2_2_prefixes" { + 2.2.0.0/16 prefixlen 16 - 32 + 2a02:2::/32 prefixlen 32 - 128 +} + +# AS-AS5_FROM_PDB, used by client AS5_1, client AS5_2 +as-set "AS_SET_AS_AS5_FROM_PDB_asns" { + 5 +} +prefix-set "AS_SET_AS_AS5_FROM_PDB_prefixes" { + 2a05::/32 prefixlen 32 - 128 +} + +# AS-AS4, used by client AS4_1, client AS4_2 +as-set "AS_SET_AS_AS4_asns" { + 4 +} +prefix-set "AS_SET_AS_AS4_prefixes" { + 2a04::/32 prefixlen 32 - 128 +} + +# AS2, used by client AS2_1, client AS2_2 +# no origin ASNs found for AS2 +# no prefixes found for AS2 + +# WHITE_LIST_AS5_2, used by client AS5_2 white list +as-set "AS_SET_WHITE_LIST_AS5_2_asns" { + 51 +} +prefix-set "AS_SET_WHITE_LIST_AS5_2_prefixes" { + 5.2.0.0/16 prefixlen 16 - 32 + 2a05:2::/32 prefixlen 32 - 128 +} + +# AS5, used by client AS5_1, client AS5_2 +# no origin ASNs found for AS5 +# no prefixes found for AS5 + +# AS6, used by client AS6_1, client AS6_2 +as-set "AS_SET_AS6_asns" { + 3 6 +} +prefix-set "AS_SET_AS6_prefixes" { + 2a06::/32 prefixlen 32 - 128 +} + +# WHITE_LIST_AS5_1, used by client AS5_1 white list +as-set "AS_SET_WHITE_LIST_AS5_1_asns" { + 51 +} +prefix-set "AS_SET_WHITE_LIST_AS5_1_prefixes" { + 5.2.0.0/16 prefixlen 16 - 32 + 2a05:2::/32 prefixlen 32 - 128 +} + +# WHITE_LIST_AS2_1, used by client AS2_1 white list +as-set "AS_SET_WHITE_LIST_AS2_1_asns" { + 21 +} +prefix-set "AS_SET_WHITE_LIST_AS2_1_prefixes" { + 2.2.0.0/16 prefixlen 16 - 32 + 2a02:2::/32 prefixlen 32 - 128 +} + +# AS1, used by client AS1_1, client AS1_2 +as-set "AS_SET_AS1_asns" { + 1 +} +prefix-set "AS_SET_AS1_prefixes" { + 2a01::/32 prefixlen 32 - 128 +} + +# WHITE_LIST_AS4_2, used by client AS4_2 white list +as-set "AS_SET_WHITE_LIST_AS4_2_asns" { + 41 +} +prefix-set "AS_SET_WHITE_LIST_AS4_2_prefixes" { + 4.2.0.0/16 prefixlen 16 - 32 + 2a04:2::/32 prefixlen 32 - 128 +} + +# AS-AS2, used by client AS2_1, client AS2_2 +as-set "AS_SET_AS_AS2_asns" { + 2 +} +prefix-set "AS_SET_AS_AS2_prefixes" { + 2a02::/32 prefixlen 32 - 128 +} + + + + +# --------------------------------------------------------- +# MEMBERS + +group "clients" { + + neighbor 192.0.2.11 { + remote-as 1 + + rde evaluate all + + descr "AS1_1 client, no AS-SET" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::11 { + remote-as 1 + + rde evaluate all + + descr "AS1_1 client, no AS-SET" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.21 { + remote-as 2 + + rde evaluate all + + descr "AS2_1 client, AS-SET from AS..." + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::21 { + remote-as 2 + + rde evaluate all + + descr "AS2_1 client, AS-SET from AS..." + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.41 { + remote-as 4 + + rde evaluate all + + descr "AS4_1 client, AS-SET configu..." + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::41 { + remote-as 4 + + rde evaluate all + + descr "AS4_1 client, AS-SET configu..." + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.51 { + remote-as 5 + + rde evaluate all + + descr "AS5_1 client, AS-SET from Pe..." + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::51 { + remote-as 5 + + rde evaluate all + + descr "AS5_1 client, AS-SET from Pe..." + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.61 { + remote-as 6 + + rde evaluate all + + descr "AS6_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::61 { + remote-as 6 + + rde evaluate all + + descr "AS6_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } +} + + + +# --------------------------------------------------------- +# FILTERS + +# NO_ADVERTISE usage notes. +# The NO_ADVERTISE well-know community is used here to handle +# filters that span over multiple steps. At first it is added +# to any route, then it is removed as filters conditions are +# satisfied. Finally, if it is still present, it means that +# the route should be discarded. + + + + + +prefix-set "bogons" { + 0.0.0.0/0 + 0.0.0.0/8 prefixlen 8 - 32 + 10.0.0.0/8 prefixlen 8 - 32 + 127.0.0.0/8 prefixlen 8 - 32 + 169.254.0.0/16 prefixlen 16 - 32 + 172.16.0.0/12 prefixlen 12 - 32 + 192.0.2.0/24 prefixlen 24 - 32 + 192.88.99.0/24 prefixlen 24 - 32 + 192.168.0.0/16 prefixlen 16 - 32 + 198.18.0.0/15 prefixlen 15 - 32 + 198.51.100.0/24 prefixlen 24 - 32 + 203.0.113.0/24 prefixlen 24 - 32 + 224.0.0.0/3 prefixlen 3 - 32 + 100.64.0.0/10 prefixlen 10 - 32 + ::/0 + ::/8 prefixlen 8 - 128 + 64:ff9b::/96 prefixlen 96 - 128 + 100::/8 prefixlen 8 - 128 + 200::/7 prefixlen 7 - 128 + 400::/6 prefixlen 6 - 128 + 800::/5 prefixlen 5 - 128 + 1000::/4 prefixlen 4 - 128 + 2001::/33 prefixlen 33 - 128 + 2001:0:8000::/33 prefixlen 33 - 128 + 2001:2::/48 prefixlen 48 - 128 + 2001:3::/32 prefixlen 32 - 128 + 2001:10::/28 prefixlen 28 - 128 + 2001:20::/28 prefixlen 28 - 128 + 2001:db8::/32 prefixlen 32 - 128 + 2002::/16 prefixlen 16 - 128 + 3ffe::/16 prefixlen 16 - 128 + 4000::/3 prefixlen 3 - 128 + 5f00::/8 prefixlen 8 - 128 + 6000::/3 prefixlen 3 - 128 + 8000::/3 prefixlen 3 - 128 + a000::/3 prefixlen 3 - 128 + c000::/3 prefixlen 3 - 128 + e000::/4 prefixlen 4 - 128 + f000::/5 prefixlen 5 - 128 + f800::/6 prefixlen 6 - 128 + fc00::/7 prefixlen 7 - 128 + fe80::/10 prefixlen 10 - 128 + fec0::/10 prefixlen 10 - 128 + ff00::/8 prefixlen 8 - 128 + +} + +# ===================================================================================== +# Global rules. + +# This part of configuration is processed at the beginning of the filters. +# The rules defined in this part are applied to all the clients, and not on a +# client-by-client basis (see the 'match from group clients'), so only global policies +# can be implemented here, that is no client-level configuration are allowed. + + + +# Scrub communities from inbound routes +# origin_not_present_in_as_set +match from group clients set community delete 999:64515 +match from group clients set large-community delete 999:0:64515 + +# origin_present_in_as_set +match from group clients set community delete 999:64514 +match from group clients set large-community delete 999:0:64514 + +# prefix_not_present_in_as_set +match from group clients set community delete 999:64513 +match from group clients set large-community delete 999:0:64513 + +# prefix_present_in_as_set +match from group clients set community delete 999:64512 +match from group clients set large-community delete 999:0:64512 + +# prefix_validated_via_arin_whois_db_dump +match from group clients set community delete 999:64518 +match from group clients set large-community delete 999:0:64518 + +# prefix_validated_via_rpki_roas +match from group clients set community delete 999:64516 +match from group clients set large-community delete 999:0:64516 + +# route_validated_via_white_list +match from group clients set community delete 999:64517 +match from group clients set large-community delete 999:0:64517 + + +# Scrub internal communities from inbound routes +match from group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + + +# The main goal of this block is to enrich routes received from clients by attaching to them +# internal informational communities which are used later by the rest of the filter rules. + +# Internal communities used for RFC1997 well-known communities handling + +# Transform NO_EXPORT into $INTCOMM_NO_EXPORT +match from group clients community NO_EXPORT set { ext-community $INTCOMM_NO_EXPORT community delete NO_EXPORT } + +# Transform NO_ADVERTISE into $INTCOMM_NO_ADVERTISE +match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ADVERTISE community delete NO_ADVERTISE } + + +# --------------------------------------------------------- +# ROAs source + + +roa-set { + 2.4.0.0/16 source-as 2 + 2.5.0.0/16 source-as 2 + 2.7.0.0/16 source-as 2 + 3.1.0.0/16 source-as 3 + 3.3.0.0/16 source-as 3 + 2.0.4.0/24 source-as 2 + 6.0.1.0/24 source-as 6 + 2a02:4::/32 source-as 2 + 2a02:5::/32 source-as 2 + 2a02:7::/32 source-as 2 + 2a03:1::/32 source-as 3 + 2a03:3::/32 source-as 3 + 2a02:0:4::/48 source-as 2 + 2a06:0:1::/48 source-as 6 + +} + + + + +# --------------------------------------------------------- +# RPKI ROAs used as route objects. + +# Add the $INTCOMM_PREF_OK_ROA ext community to routes whose +# origin ASN has a ROA for the announced prefix. +# It will be used later during IRRDB validation in +# case the origin ASN is authorized by a client's +# AS-SET but the prefix is not. + +origin-set "RPKI_ROA" { + 2.4.0.0/16 source-as 2 + 2.5.0.0/16 source-as 2 + 2.7.0.0/16 source-as 2 + 3.1.0.0/16 source-as 3 + 3.3.0.0/16 source-as 3 + 2.0.4.0/24 source-as 2 + 6.0.1.0/24 source-as 6 + 2a02:4::/32 source-as 2 + 2a02:5::/32 source-as 2 + 2a02:7::/32 source-as 2 + 2a03:1::/32 source-as 3 + 2a03:3::/32 source-as 3 + 2a02:0:4::/48 source-as 2 + 2a06:0:1::/48 source-as 6 + +} +match from group clients origin-set RPKI_ROA set ext-community $INTCOMM_PREF_OK_ROA + + +# ARIN Whois records used for preifx validation +# --------------------------------------------- + +# Add the $INTCOMM_PREF_OK_ARINDB ext community to routes whose +# origin ASN has an ARIN Whois record for the announced prefix. +# It will be used later during IRRDB validation in +# case the origin ASN is authorized by a client's +# AS-SET but the prefix is not. +origin-set "ARINDB" { +2.0.5.0/24 prefixlen 24 - 32 source-as 2 +2.6.0.0/16 prefixlen 16 - 32 source-as 2 +2.7.0.0/16 prefixlen 16 - 32 source-as 2 +2a02:0:5::/48 prefixlen 48 - 128 source-as 2 +2a02:6::/32 prefixlen 32 - 128 source-as 2 +2a02:7::/32 prefixlen 32 - 128 source-as 2 +2a03:2::/32 prefixlen 32 - 128 source-as 3 +2a03:3::/32 prefixlen 32 - 128 source-as 3 +3.2.0.0/16 prefixlen 16 - 32 source-as 3 +3.3.0.0/16 prefixlen 16 - 32 source-as 3 +2a06:0:1::/48 prefixlen 48 - 128 source-as 6 +6.0.1.0/24 prefixlen 24 - 32 source-as 6 +} +match from group clients origin-set ARINDB set ext-community $INTCOMM_PREF_OK_ARINDB + + + + +# Set the 'rejected_route_announced_by' community for all the clients. +# It will be removed later if the route is not invalid +match from 192.0.2.11 set ext-community rt 65520:1 + +match from 2001:db8:1:1::11 set ext-community rt 65520:1 + +match from 192.0.2.21 set ext-community rt 65520:2 + +match from 2001:db8:1:1::21 set ext-community rt 65520:2 + +match from 192.0.2.41 set ext-community rt 65520:4 + +match from 2001:db8:1:1::41 set ext-community rt 65520:4 + +match from 192.0.2.51 set ext-community rt 65520:5 + +match from 2001:db8:1:1::51 set ext-community rt 65520:5 + +match from 192.0.2.61 set ext-community rt 65520:6 + +match from 2001:db8:1:1::61 set ext-community rt 65520:6 + + + + +# AS_PATH: length +# Reject inbound routes when 'from group clients max-as-len 32' - reject code: 1 +allow quick from group clients max-as-len 32 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:1} + + + +# Prefix: only IPv6 Global Unicast space allowed +match from group clients inet6 set community NO_ADVERTISE +match from group clients prefix 2000::/3 or-longer set community delete NO_ADVERTISE +# Reject inbound routes when 'from group clients community NO_ADVERTISE' - reject code: 10 +allow quick from group clients community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:10} + + +# Prefix: bogon +# Reject inbound routes when 'from group clients prefix-set bogons' - reject code: 2 +allow quick from group clients prefix-set bogons set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:2} + + + + +# ===================================================================================== +# Per client rules. + + +# --------------------------------------------- +# client AS1_1, inbound + + + +# NEXT_HOP +match from 192.0.2.11 set community NO_ADVERTISE +match from 192.0.2.11 nexthop 192.0.2.11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.11 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.11 peer-as != 1' - reject code: 6 +allow quick from 192.0.2.11 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.11 AS 23456' - reject code: 7 +allow quick from 192.0.2.11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + +match from 192.0.2.11 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS1_1, AS1: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.11 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.11 source-as as-set AS_SET_AS1_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS1 +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS1_1, AS1: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.11 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.11 prefix-set AS_SET_AS1_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS1 +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.11 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 192.0.2.11 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 192.0.2.11 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 192.0.2.11 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set community 999:64518 +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set large-community 999:0:64518 + +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.11 set ext-community delete rt 65520:1 + + + +allow quick from 192.0.2.11 + + + +# --------------------------------------------- +# client AS1_1, outbound + +deny quick to 192.0.2.11 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.11 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.11 + + + + + + +# --------------------------------------------- +# client AS1_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::11 set community NO_ADVERTISE +match from 2001:db8:1:1::11 nexthop 2001:db8:1:1::11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::11 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::11 peer-as != 1' - reject code: 6 +allow quick from 2001:db8:1:1::11 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + +match from 2001:db8:1:1::11 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS1_2, AS1: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::11 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::11 source-as as-set AS_SET_AS1_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS1 +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS1_2, AS1: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::11 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::11 prefix-set AS_SET_AS1_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS1 +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::11 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 2001:db8:1:1::11 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::11 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 2001:db8:1:1::11 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set community 999:64518 +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set large-community 999:0:64518 + +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::11 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::11 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::11 set ext-community delete rt 65520:1 + + + +allow quick from 2001:db8:1:1::11 + + + +# --------------------------------------------- +# client AS1_2, outbound + +deny quick to 2001:db8:1:1::11 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::11 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::11 + + + + + + +# --------------------------------------------- +# client AS2_1, inbound + + + +# NEXT_HOP +match from 192.0.2.21 set community NO_ADVERTISE +match from 192.0.2.21 nexthop 192.0.2.21 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.21 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.21 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.21 peer-as != 2' - reject code: 6 +allow quick from 192.0.2.21 peer-as != 2 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.21 AS 23456' - reject code: 7 +allow quick from 192.0.2.21 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.21 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.21 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.21 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.21 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + +match from 192.0.2.21 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS2_1, AS2: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.21 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS2 referenced but empty. +match from 192.0.2.21 source-as as-set AS_SET_WHITE_LIST_AS2_1_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # WHITE_LIST_AS2_1 +match from 192.0.2.21 source-as as-set AS_SET_AS_AS2_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS2 +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS2_1, AS2: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.21 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS2 referenced but empty. +match from 192.0.2.21 prefix-set AS_SET_WHITE_LIST_AS2_1_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # WHITE_LIST_AS2_1 +match from 192.0.2.21 prefix-set AS_SET_AS_AS2_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS2 +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.21 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 192.0.2.21 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 192.0.2.21 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 192.0.2.21 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set community 999:64518 +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set large-community 999:0:64518 + +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + + + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.21 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.21 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.21 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.21 set ext-community delete rt 65520:2 + + + +allow quick from 192.0.2.21 + + + +# --------------------------------------------- +# client AS2_1, outbound + +deny quick to 192.0.2.21 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.21 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.21 + + + + + + +# --------------------------------------------- +# client AS2_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::21 set community NO_ADVERTISE +match from 2001:db8:1:1::21 nexthop 2001:db8:1:1::21 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::21 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::21 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::21 peer-as != 2' - reject code: 6 +allow quick from 2001:db8:1:1::21 peer-as != 2 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + +match from 2001:db8:1:1::21 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS2_2, AS2: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::21 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::21 source-as as-set AS_SET_WHITE_LIST_AS2_2_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # WHITE_LIST_AS2_2 +# AS-SET AS2 referenced but empty. +match from 2001:db8:1:1::21 source-as as-set AS_SET_AS_AS2_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS2 +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS2_2, AS2: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::21 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::21 prefix-set AS_SET_WHITE_LIST_AS2_2_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # WHITE_LIST_AS2_2 +# AS-SET AS2 referenced but empty. +match from 2001:db8:1:1::21 prefix-set AS_SET_AS_AS2_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS2 +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::21 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 2001:db8:1:1::21 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::21 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 2001:db8:1:1::21 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set community 999:64518 +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set large-community 999:0:64518 + +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + + + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::21 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::21 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::21 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::21 set ext-community delete rt 65520:2 + + + +allow quick from 2001:db8:1:1::21 + + + +# --------------------------------------------- +# client AS2_2, outbound + +deny quick to 2001:db8:1:1::21 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::21 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::21 + + + + + + +# --------------------------------------------- +# client AS4_1, inbound + + + +# NEXT_HOP +match from 192.0.2.41 set community NO_ADVERTISE +match from 192.0.2.41 nexthop 192.0.2.41 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.41 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.41 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.41 peer-as != 4' - reject code: 6 +allow quick from 192.0.2.41 peer-as != 4 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.41 AS 23456' - reject code: 7 +allow quick from 192.0.2.41 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.41 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.41 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.41 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.41 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + +# client's white list +# Add the $INTCOMM_ROUTE_OK_WL ext community to routes which +# are validated by a client's white list entry. +# It will be used later during IRRDB validation in +# case the route is not authorized by a client's +# AS-SET. +match from 192.0.2.41 prefix 2a04:4::/32 source-as 44 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.41 prefix 2a04:5::/32 prefixlen 32 - 128 source-as 43 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.41 prefix 2a04:6::/32 prefixlen 32 - 128 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.41 prefix 4.4.0.0/16 source-as 44 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.41 prefix 4.5.0.0/16 prefixlen 16 - 32 source-as 43 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.41 prefix 4.6.0.0/16 prefixlen 16 - 32 set ext-community $INTCOMM_ROUTE_OK_WL # None + +match from 192.0.2.41 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS4_1, AS4: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.41 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.41 source-as as-set AS_SET_WHITE_LIST_AS4_1_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # WHITE_LIST_AS4_1 +# AS-SET AS4 referenced but empty. +match from 192.0.2.41 source-as as-set AS_SET_AS_AS4_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS4 +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS4_1, AS4: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.41 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.41 prefix-set AS_SET_WHITE_LIST_AS4_1_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # WHITE_LIST_AS4_1 +# AS-SET AS4 referenced but empty. +match from 192.0.2.41 prefix-set AS_SET_AS_AS4_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS4 +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.41 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 192.0.2.41 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 192.0.2.41 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 192.0.2.41 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set community 999:64518 +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set large-community 999:0:64518 + +match from 192.0.2.41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + + +# route authorized by a client's white list? +match from 192.0.2.41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set community 999:64517 +match from 192.0.2.41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set large-community 999:0:64517 + +match from 192.0.2.41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set ext-community delete $INTCOMM_IRR_REJECT + +# enforcing: origin ASN +# Reject inbound routes when 'from 192.0.2.41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 192.0.2.41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.41 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.41 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.41 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.41 set ext-community delete rt 65520:4 + + + +allow quick from 192.0.2.41 + + + +# --------------------------------------------- +# client AS4_1, outbound + +deny quick to 192.0.2.41 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.41 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.41 + + + + + + +# --------------------------------------------- +# client AS4_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::41 set community NO_ADVERTISE +match from 2001:db8:1:1::41 nexthop 2001:db8:1:1::41 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::41 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::41 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::41 peer-as != 4' - reject code: 6 +allow quick from 2001:db8:1:1::41 peer-as != 4 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + +# client's white list +# Add the $INTCOMM_ROUTE_OK_WL ext community to routes which +# are validated by a client's white list entry. +# It will be used later during IRRDB validation in +# case the route is not authorized by a client's +# AS-SET. +match from 2001:db8:1:1::41 prefix 2a04:4::/32 source-as 44 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::41 prefix 2a04:5::/32 prefixlen 32 - 128 source-as 43 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::41 prefix 2a04:6::/32 prefixlen 32 - 128 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::41 prefix 4.4.0.0/16 source-as 44 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::41 prefix 4.5.0.0/16 prefixlen 16 - 32 source-as 43 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::41 prefix 4.6.0.0/16 prefixlen 16 - 32 set ext-community $INTCOMM_ROUTE_OK_WL # None + +match from 2001:db8:1:1::41 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS4_2, AS4: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::41 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS4 referenced but empty. +match from 2001:db8:1:1::41 source-as as-set AS_SET_AS_AS4_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS4 +match from 2001:db8:1:1::41 source-as as-set AS_SET_WHITE_LIST_AS4_2_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # WHITE_LIST_AS4_2 +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS4_2, AS4: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::41 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS4 referenced but empty. +match from 2001:db8:1:1::41 prefix-set AS_SET_AS_AS4_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS4 +match from 2001:db8:1:1::41 prefix-set AS_SET_WHITE_LIST_AS4_2_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # WHITE_LIST_AS4_2 +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::41 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 2001:db8:1:1::41 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::41 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 2001:db8:1:1::41 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set community 999:64518 +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set large-community 999:0:64518 + +match from 2001:db8:1:1::41 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + + +# route authorized by a client's white list? +match from 2001:db8:1:1::41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set community 999:64517 +match from 2001:db8:1:1::41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set large-community 999:0:64517 + +match from 2001:db8:1:1::41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set ext-community delete $INTCOMM_IRR_REJECT + +# enforcing: origin ASN +# Reject inbound routes when 'from 2001:db8:1:1::41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 2001:db8:1:1::41 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::41 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::41 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::41 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::41 set ext-community delete rt 65520:4 + + + +allow quick from 2001:db8:1:1::41 + + + +# --------------------------------------------- +# client AS4_2, outbound + +deny quick to 2001:db8:1:1::41 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::41 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::41 + + + + + + +# --------------------------------------------- +# client AS5_1, inbound + + + +# NEXT_HOP +match from 192.0.2.51 set community NO_ADVERTISE +match from 192.0.2.51 nexthop 192.0.2.51 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.51 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.51 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.51 peer-as != 5' - reject code: 6 +allow quick from 192.0.2.51 peer-as != 5 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.51 AS 23456' - reject code: 7 +allow quick from 192.0.2.51 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.51 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.51 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.51 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.51 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + +match from 192.0.2.51 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS5_1, AS5: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.51 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.51 source-as as-set AS_SET_AS_AS5_FROM_PDB_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS5_FROM_PDB +# AS-SET AS5 referenced but empty. +match from 192.0.2.51 source-as as-set AS_SET_WHITE_LIST_AS5_1_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # WHITE_LIST_AS5_1 +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS5_1, AS5: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.51 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.51 prefix-set AS_SET_AS_AS5_FROM_PDB_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS5_FROM_PDB +# AS-SET AS5 referenced but empty. +match from 192.0.2.51 prefix-set AS_SET_WHITE_LIST_AS5_1_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # WHITE_LIST_AS5_1 +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.51 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 192.0.2.51 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 192.0.2.51 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 192.0.2.51 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set community 999:64518 +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set large-community 999:0:64518 + +match from 192.0.2.51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + + + +# enforcing: prefix +# Reject inbound routes when 'from 192.0.2.51 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 192.0.2.51 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.51 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.51 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.51 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.51 set ext-community delete rt 65520:5 + + + +allow quick from 192.0.2.51 + + + +# --------------------------------------------- +# client AS5_1, outbound + +deny quick to 192.0.2.51 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.51 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.51 + + + + + + +# --------------------------------------------- +# client AS5_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::51 set community NO_ADVERTISE +match from 2001:db8:1:1::51 nexthop 2001:db8:1:1::51 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::51 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::51 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::51 peer-as != 5' - reject code: 6 +allow quick from 2001:db8:1:1::51 peer-as != 5 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::51 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::51 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::51 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::51 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::51 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::51 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + + +match from 2001:db8:1:1::51 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS5_2, AS5: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::51 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::51 source-as as-set AS_SET_AS_AS5_FROM_PDB_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS5_FROM_PDB +match from 2001:db8:1:1::51 source-as as-set AS_SET_WHITE_LIST_AS5_2_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # WHITE_LIST_AS5_2 +# AS-SET AS5 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS5_2, AS5: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::51 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::51 prefix-set AS_SET_AS_AS5_FROM_PDB_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS5_FROM_PDB +match from 2001:db8:1:1::51 prefix-set AS_SET_WHITE_LIST_AS5_2_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # WHITE_LIST_AS5_2 +# AS-SET AS5 referenced but empty. +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::51 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 2001:db8:1:1::51 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::51 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 2001:db8:1:1::51 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set community 999:64518 +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set large-community 999:0:64518 + +match from 2001:db8:1:1::51 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + + + +# enforcing: prefix +# Reject inbound routes when 'from 2001:db8:1:1::51 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 2001:db8:1:1::51 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::51 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::51 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::51 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::51 set ext-community delete rt 65520:5 + + + +allow quick from 2001:db8:1:1::51 + + + +# --------------------------------------------- +# client AS5_2, outbound + +deny quick to 2001:db8:1:1::51 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::51 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::51 + + + + + + +# --------------------------------------------- +# client AS6_1, inbound + + + +# NEXT_HOP +match from 192.0.2.61 set community NO_ADVERTISE +match from 192.0.2.61 nexthop 192.0.2.61 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.61 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.61 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.61 peer-as != 6' - reject code: 6 +allow quick from 192.0.2.61 peer-as != 6 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.61 AS 23456' - reject code: 7 +allow quick from 192.0.2.61 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.61 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.61 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.61 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.61 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + +# client's white list +# Add the $INTCOMM_ROUTE_OK_WL ext community to routes which +# are validated by a client's white list entry. +# It will be used later during IRRDB validation in +# case the route is not authorized by a client's +# AS-SET. +match from 192.0.2.61 prefix 2a03:2::/32 prefixlen 32 - 128 source-as 3 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.61 prefix 3.2.0.0/16 prefixlen 16 - 32 source-as 3 set ext-community $INTCOMM_ROUTE_OK_WL # None + +match from 192.0.2.61 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS6_1, AS6: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.61 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.61 source-as as-set AS_SET_AS6_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS6 +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS6_1, AS6: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.61 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.61 prefix-set AS_SET_AS6_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS6 +# adding not_present_in_as_set community to unauthorized routes +match from 192.0.2.61 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 192.0.2.61 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 192.0.2.61 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 192.0.2.61 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set community 999:64518 +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set large-community 999:0:64518 + +match from 192.0.2.61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + + +# route authorized by a client's white list? +match from 192.0.2.61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set community 999:64517 +match from 192.0.2.61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set large-community 999:0:64517 + +match from 192.0.2.61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set ext-community delete $INTCOMM_IRR_REJECT + +# enforcing: origin ASN +# Reject inbound routes when 'from 192.0.2.61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 192.0.2.61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 192.0.2.61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 192.0.2.61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.61 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.61 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 192.0.2.61 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.61 set ext-community delete rt 65520:6 + + + +allow quick from 192.0.2.61 + + + +# --------------------------------------------- +# client AS6_1, outbound + +deny quick to 192.0.2.61 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 192.0.2.61 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 192.0.2.61 + + + + + + +# --------------------------------------------- +# client AS6_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::61 set community NO_ADVERTISE +match from 2001:db8:1:1::61 nexthop 2001:db8:1:1::61 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::61 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::61 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::61 peer-as != 6' - reject code: 6 +allow quick from 2001:db8:1:1::61 peer-as != 6 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::61 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::61 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::61 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::61 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::61 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::61 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + + + +# client's white list +# Add the $INTCOMM_ROUTE_OK_WL ext community to routes which +# are validated by a client's white list entry. +# It will be used later during IRRDB validation in +# case the route is not authorized by a client's +# AS-SET. +match from 2001:db8:1:1::61 prefix 2a03:2::/32 prefixlen 32 - 128 source-as 3 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::61 prefix 3.2.0.0/16 prefixlen 16 - 32 source-as 3 set ext-community $INTCOMM_ROUTE_OK_WL # None + +match from 2001:db8:1:1::61 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS6_2, AS6: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::61 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::61 source-as as-set AS_SET_AS6_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS6 +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_KO set community 999:64515 +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_KO set large-community 999:0:64515 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_OK set community 999:64514 +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_OK set large-community 999:0:64514 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS6_2, AS6: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::61 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::61 prefix-set AS_SET_AS6_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS6 +# adding not_present_in_as_set community to unauthorized routes +match from 2001:db8:1:1::61 ext-community $INTCOMM_PREFIX_KO set community 999:64513 +match from 2001:db8:1:1::61 ext-community $INTCOMM_PREFIX_KO set large-community 999:0:64513 +# adding present_in_as_set community to authorized routes +match from 2001:db8:1:1::61 ext-community $INTCOMM_PREFIX_OK set community 999:64512 +match from 2001:db8:1:1::61 ext-community $INTCOMM_PREFIX_OK set large-community 999:0:64512 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set community 999:64516 +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set large-community 999:0:64516 + +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + +# routes tagged with $INTCOMM_PREF_OK_ARINDB community have the prefix validated by an ARIN Whois record; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set community 999:64518 +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set large-community 999:0:64518 + +match from 2001:db8:1:1::61 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ARINDB set ext-community delete $INTCOMM_IRR_REJECT + + +# route authorized by a client's white list? +match from 2001:db8:1:1::61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set community 999:64517 +match from 2001:db8:1:1::61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set large-community 999:0:64517 + +match from 2001:db8:1:1::61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set ext-community delete $INTCOMM_IRR_REJECT + +# enforcing: origin ASN +# Reject inbound routes when 'from 2001:db8:1:1::61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 2001:db8:1:1::61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 2001:db8:1:1::61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 2001:db8:1:1::61 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::61 prefix ::/0 prefixlen 12 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::61 prefix ::/0 prefixlen 12 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::61 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::61 set ext-community delete rt 65520:6 + + + +allow quick from 2001:db8:1:1::61 + + + +# --------------------------------------------- +# client AS6_2, outbound + +deny quick to 2001:db8:1:1::61 community 65520:0 + + + +# Blackhole request? +# No blackhole filtering policy given +deny quick to 2001:db8:1:1::61 community BLACKHOLE + + + +# NO_EXPORT and NO_ADVERTISE communities + +# BGP control communities +allow to 2001:db8:1:1::61 + + + + + + + + +# Scrub communities from outbound routes + +# Scrub prepending communities + + +# RFC1997 NO_EXPORT/NO_ADVERTISE received from clients and propagated because of pass-through policy +match to group clients ext-community $INTCOMM_NO_EXPORT set community NO_EXPORT +match to group clients ext-community $INTCOMM_NO_ADVERTISE set community NO_ADVERTISE + +# Remove internal communities before announcing the route +match to group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + diff --git a/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv4/openbgpd69/AS1.txt b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv4/openbgpd69/AS1.txt new file mode 100644 index 00000000..a8837f73 --- /dev/null +++ b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv4/openbgpd69/AS1.txt @@ -0,0 +1,168 @@ +2.0.1.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.2.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.0/24, AS_PATH: 2 21, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.4.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.5.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.1.0.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.2.1.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.2.2.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.2.3.0/24, AS_PATH: 2 21, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.3.1.0/24, AS_PATH: 2 21, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.5.0.0/16, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.6.0.0/16, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.7.0.0/16, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.1.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +3.2.1.0/24, AS_PATH: 6 3, NEXT_HOP: 192.0.2.61, via 192.0.2.2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.3.0/24, AS_PATH: 4 41, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.2.3.0/24, AS_PATH: 4 41, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.3.1.0/24, AS_PATH: 4 41, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.4.0.0/16, AS_PATH: 4 44, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.5.1.0/24, AS_PATH: 4 43, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.6.1.0/24, AS_PATH: 4 45, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.2.1.0/24, AS_PATH: 5, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.2.2.0/24, AS_PATH: 5 3, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.2.3.0/24, AS_PATH: 5 51, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv4/openbgpd69/AS2.txt b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv4/openbgpd69/AS2.txt new file mode 100644 index 00000000..e63496cd --- /dev/null +++ b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv4/openbgpd69/AS2.txt @@ -0,0 +1,70 @@ +3.2.1.0/24, AS_PATH: 6 3, NEXT_HOP: 192.0.2.61, via 192.0.2.2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.3.0/24, AS_PATH: 4 41, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.2.3.0/24, AS_PATH: 4 41, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.3.1.0/24, AS_PATH: 4 41, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.4.0.0/16, AS_PATH: 4 44, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.5.1.0/24, AS_PATH: 4 43, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.6.1.0/24, AS_PATH: 4 45, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.2.1.0/24, AS_PATH: 5, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.2.2.0/24, AS_PATH: 5 3, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.2.3.0/24, AS_PATH: 5 51, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv4/openbgpd69/AS4.txt b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv4/openbgpd69/AS4.txt new file mode 100644 index 00000000..16590df8 --- /dev/null +++ b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv4/openbgpd69/AS4.txt @@ -0,0 +1,126 @@ +2.0.1.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.2.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.0/24, AS_PATH: 2 21, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: False, LOCAL_PREF: 100 + filtered: False () + +2.0.4.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.5.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.1.0.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.2.1.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.2.2.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.2.3.0/24, AS_PATH: 2 21, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.3.1.0/24, AS_PATH: 2 21, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.5.0.0/16, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.6.0.0/16, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.7.0.0/16, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +3.2.1.0/24, AS_PATH: 6 3, NEXT_HOP: 192.0.2.61, via 192.0.2.2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.2.1.0/24, AS_PATH: 5, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.2.2.0/24, AS_PATH: 5 3, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.2.3.0/24, AS_PATH: 5 51, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv4/openbgpd69/AS5.txt b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv4/openbgpd69/AS5.txt new file mode 100644 index 00000000..2e9887a9 --- /dev/null +++ b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv4/openbgpd69/AS5.txt @@ -0,0 +1,147 @@ +2.0.1.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.2.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.0/24, AS_PATH: 2 21, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: False, LOCAL_PREF: 100 + filtered: False () + +2.0.4.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.5.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.1.0.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.2.1.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.2.2.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.2.3.0/24, AS_PATH: 2 21, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.3.1.0/24, AS_PATH: 2 21, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.5.0.0/16, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.6.0.0/16, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.7.0.0/16, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +3.2.1.0/24, AS_PATH: 6 3, NEXT_HOP: 192.0.2.61, via 192.0.2.2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.3.0/24, AS_PATH: 4 41, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.2.3.0/24, AS_PATH: 4 41, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.3.1.0/24, AS_PATH: 4 41, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.4.0.0/16, AS_PATH: 4 44, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.5.1.0/24, AS_PATH: 4 43, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.6.1.0/24, AS_PATH: 4 45, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv4/openbgpd69/AS6.txt b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv4/openbgpd69/AS6.txt new file mode 100644 index 00000000..6460e7ee --- /dev/null +++ b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv4/openbgpd69/AS6.txt @@ -0,0 +1,161 @@ +2.0.1.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.2.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.0/24, AS_PATH: 2 21, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.4.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.5.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.1.0.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.2.1.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.2.2.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.2.3.0/24, AS_PATH: 2 21, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.3.1.0/24, AS_PATH: 2 21, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.5.0.0/16, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.6.0.0/16, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.7.0.0/16, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.1.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.3.0/24, AS_PATH: 4 41, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.2.3.0/24, AS_PATH: 4 41, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.3.1.0/24, AS_PATH: 4 41, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.4.0.0/16, AS_PATH: 4 44, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.5.1.0/24, AS_PATH: 4 43, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.6.1.0/24, AS_PATH: 4 45, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.2.1.0/24, AS_PATH: 5, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.2.2.0/24, AS_PATH: 5 3, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.2.3.0/24, AS_PATH: 5 51, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv4/openbgpd69/rs.txt b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv4/openbgpd69/rs.txt new file mode 100644 index 00000000..176237ed --- /dev/null +++ b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv4/openbgpd69/rs.txt @@ -0,0 +1,294 @@ +2.0.1.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.2.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.0/24, AS_PATH: 2 21, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.4.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.5.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.1.0.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.2.1.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.2.2.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.2.3.0/24, AS_PATH: 2 21, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.3.1.0/24, AS_PATH: 2 21, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.4.0.0/16, AS_PATH: 6 2, NEXT_HOP: 192.0.2.61, via 192.0.2.61 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (9) + +2.5.0.0/16, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.6.0.0/16, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.7.0.0/16, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.1.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.1.0/24, AS_PATH: 4 3, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: False, LOCAL_PREF: 1 + filtered: True (9) + +3.0.1.0/24, AS_PATH: 5 3, NEXT_HOP: 192.0.2.51, via 192.0.2.51 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: False, LOCAL_PREF: 1 + filtered: True (12) + +3.1.0.0/16, AS_PATH: 6 3, NEXT_HOP: 192.0.2.61, via 192.0.2.61 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (9) + +3.2.1.0/24, AS_PATH: 6 3, NEXT_HOP: 192.0.2.61, via 192.0.2.61 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +3.3.0.0/16, AS_PATH: 6 3, NEXT_HOP: 192.0.2.61, via 192.0.2.61 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (9) + +4.0.1.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (9) + +4.0.2.0/24, AS_PATH: 4 3, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (9) + +4.0.3.0/24, AS_PATH: 4 41, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.1.0.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (9) + +4.2.1.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (9) + +4.2.2.0/24, AS_PATH: 4 3, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (9) + +4.2.3.0/24, AS_PATH: 4 41, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.3.1.0/24, AS_PATH: 4 41, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.4.0.0/16, AS_PATH: 4 44, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.4.1.0/24, AS_PATH: 4 44, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (9) + +4.5.1.0/24, AS_PATH: 4 43, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.5.2.0/24, AS_PATH: 4 45, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (9) + +4.6.1.0/24, AS_PATH: 4 45, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.0.1.0/24, AS_PATH: 5, NEXT_HOP: 192.0.2.51, via 192.0.2.51 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (12) + +5.0.2.0/24, AS_PATH: 5 3, NEXT_HOP: 192.0.2.51, via 192.0.2.51 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (12) + +5.0.3.0/24, AS_PATH: 5 51, NEXT_HOP: 192.0.2.51, via 192.0.2.51 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 1 + filtered: True (12) + +5.1.0.0/24, AS_PATH: 5, NEXT_HOP: 192.0.2.51, via 192.0.2.51 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (12) + +5.2.1.0/24, AS_PATH: 5, NEXT_HOP: 192.0.2.51, via 192.0.2.51 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.2.2.0/24, AS_PATH: 5 3, NEXT_HOP: 192.0.2.51, via 192.0.2.51 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.2.3.0/24, AS_PATH: 5 51, NEXT_HOP: 192.0.2.51, via 192.0.2.51 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.3.1.0/24, AS_PATH: 5 51, NEXT_HOP: 192.0.2.51, via 192.0.2.51 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 1 + filtered: True (12) + +6.0.1.0/24, AS_PATH: 6, NEXT_HOP: 192.0.2.61, via 192.0.2.61 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (9) + diff --git a/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv4/openbgpd69p/AS1.txt b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv4/openbgpd69p/AS1.txt new file mode 100644 index 00000000..a8837f73 --- /dev/null +++ b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv4/openbgpd69p/AS1.txt @@ -0,0 +1,168 @@ +2.0.1.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.2.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.0/24, AS_PATH: 2 21, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.4.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.5.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.1.0.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.2.1.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.2.2.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.2.3.0/24, AS_PATH: 2 21, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.3.1.0/24, AS_PATH: 2 21, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.5.0.0/16, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.6.0.0/16, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.7.0.0/16, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.1.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +3.2.1.0/24, AS_PATH: 6 3, NEXT_HOP: 192.0.2.61, via 192.0.2.2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.3.0/24, AS_PATH: 4 41, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.2.3.0/24, AS_PATH: 4 41, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.3.1.0/24, AS_PATH: 4 41, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.4.0.0/16, AS_PATH: 4 44, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.5.1.0/24, AS_PATH: 4 43, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.6.1.0/24, AS_PATH: 4 45, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.2.1.0/24, AS_PATH: 5, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.2.2.0/24, AS_PATH: 5 3, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.2.3.0/24, AS_PATH: 5 51, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv4/openbgpd69p/AS2.txt b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv4/openbgpd69p/AS2.txt new file mode 100644 index 00000000..e63496cd --- /dev/null +++ b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv4/openbgpd69p/AS2.txt @@ -0,0 +1,70 @@ +3.2.1.0/24, AS_PATH: 6 3, NEXT_HOP: 192.0.2.61, via 192.0.2.2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.3.0/24, AS_PATH: 4 41, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.2.3.0/24, AS_PATH: 4 41, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.3.1.0/24, AS_PATH: 4 41, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.4.0.0/16, AS_PATH: 4 44, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.5.1.0/24, AS_PATH: 4 43, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.6.1.0/24, AS_PATH: 4 45, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.2.1.0/24, AS_PATH: 5, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.2.2.0/24, AS_PATH: 5 3, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.2.3.0/24, AS_PATH: 5 51, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv4/openbgpd69p/AS4.txt b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv4/openbgpd69p/AS4.txt new file mode 100644 index 00000000..16590df8 --- /dev/null +++ b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv4/openbgpd69p/AS4.txt @@ -0,0 +1,126 @@ +2.0.1.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.2.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.0/24, AS_PATH: 2 21, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: False, LOCAL_PREF: 100 + filtered: False () + +2.0.4.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.5.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.1.0.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.2.1.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.2.2.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.2.3.0/24, AS_PATH: 2 21, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.3.1.0/24, AS_PATH: 2 21, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.5.0.0/16, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.6.0.0/16, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.7.0.0/16, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +3.2.1.0/24, AS_PATH: 6 3, NEXT_HOP: 192.0.2.61, via 192.0.2.2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.2.1.0/24, AS_PATH: 5, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.2.2.0/24, AS_PATH: 5 3, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.2.3.0/24, AS_PATH: 5 51, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv4/openbgpd69p/AS5.txt b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv4/openbgpd69p/AS5.txt new file mode 100644 index 00000000..2e9887a9 --- /dev/null +++ b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv4/openbgpd69p/AS5.txt @@ -0,0 +1,147 @@ +2.0.1.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.2.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.0/24, AS_PATH: 2 21, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: False, LOCAL_PREF: 100 + filtered: False () + +2.0.4.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.5.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.1.0.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.2.1.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.2.2.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.2.3.0/24, AS_PATH: 2 21, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.3.1.0/24, AS_PATH: 2 21, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.5.0.0/16, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.6.0.0/16, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.7.0.0/16, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +3.2.1.0/24, AS_PATH: 6 3, NEXT_HOP: 192.0.2.61, via 192.0.2.2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.3.0/24, AS_PATH: 4 41, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.2.3.0/24, AS_PATH: 4 41, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.3.1.0/24, AS_PATH: 4 41, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.4.0.0/16, AS_PATH: 4 44, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.5.1.0/24, AS_PATH: 4 43, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.6.1.0/24, AS_PATH: 4 45, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv4/openbgpd69p/AS6.txt b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv4/openbgpd69p/AS6.txt new file mode 100644 index 00000000..6460e7ee --- /dev/null +++ b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv4/openbgpd69p/AS6.txt @@ -0,0 +1,161 @@ +2.0.1.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.2.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.0/24, AS_PATH: 2 21, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.4.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.5.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.1.0.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.2.1.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.2.2.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.2.3.0/24, AS_PATH: 2 21, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.3.1.0/24, AS_PATH: 2 21, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.5.0.0/16, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.6.0.0/16, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.7.0.0/16, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.1.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.3.0/24, AS_PATH: 4 41, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.2.3.0/24, AS_PATH: 4 41, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.3.1.0/24, AS_PATH: 4 41, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.4.0.0/16, AS_PATH: 4 44, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.5.1.0/24, AS_PATH: 4 43, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.6.1.0/24, AS_PATH: 4 45, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.2.1.0/24, AS_PATH: 5, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.2.2.0/24, AS_PATH: 5 3, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.2.3.0/24, AS_PATH: 5 51, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv4/openbgpd69p/rs.txt b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv4/openbgpd69p/rs.txt new file mode 100644 index 00000000..176237ed --- /dev/null +++ b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv4/openbgpd69p/rs.txt @@ -0,0 +1,294 @@ +2.0.1.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.2.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.0/24, AS_PATH: 2 21, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.4.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.5.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.1.0.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.2.1.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.2.2.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.2.3.0/24, AS_PATH: 2 21, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.3.1.0/24, AS_PATH: 2 21, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.4.0.0/16, AS_PATH: 6 2, NEXT_HOP: 192.0.2.61, via 192.0.2.61 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (9) + +2.5.0.0/16, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.6.0.0/16, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.7.0.0/16, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.1.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.1.0/24, AS_PATH: 4 3, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: False, LOCAL_PREF: 1 + filtered: True (9) + +3.0.1.0/24, AS_PATH: 5 3, NEXT_HOP: 192.0.2.51, via 192.0.2.51 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: False, LOCAL_PREF: 1 + filtered: True (12) + +3.1.0.0/16, AS_PATH: 6 3, NEXT_HOP: 192.0.2.61, via 192.0.2.61 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (9) + +3.2.1.0/24, AS_PATH: 6 3, NEXT_HOP: 192.0.2.61, via 192.0.2.61 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +3.3.0.0/16, AS_PATH: 6 3, NEXT_HOP: 192.0.2.61, via 192.0.2.61 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (9) + +4.0.1.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (9) + +4.0.2.0/24, AS_PATH: 4 3, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (9) + +4.0.3.0/24, AS_PATH: 4 41, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.1.0.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (9) + +4.2.1.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (9) + +4.2.2.0/24, AS_PATH: 4 3, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (9) + +4.2.3.0/24, AS_PATH: 4 41, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.3.1.0/24, AS_PATH: 4 41, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.4.0.0/16, AS_PATH: 4 44, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.4.1.0/24, AS_PATH: 4 44, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (9) + +4.5.1.0/24, AS_PATH: 4 43, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.5.2.0/24, AS_PATH: 4 45, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (9) + +4.6.1.0/24, AS_PATH: 4 45, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.0.1.0/24, AS_PATH: 5, NEXT_HOP: 192.0.2.51, via 192.0.2.51 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (12) + +5.0.2.0/24, AS_PATH: 5 3, NEXT_HOP: 192.0.2.51, via 192.0.2.51 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (12) + +5.0.3.0/24, AS_PATH: 5 51, NEXT_HOP: 192.0.2.51, via 192.0.2.51 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 1 + filtered: True (12) + +5.1.0.0/24, AS_PATH: 5, NEXT_HOP: 192.0.2.51, via 192.0.2.51 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (12) + +5.2.1.0/24, AS_PATH: 5, NEXT_HOP: 192.0.2.51, via 192.0.2.51 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.2.2.0/24, AS_PATH: 5 3, NEXT_HOP: 192.0.2.51, via 192.0.2.51 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.2.3.0/24, AS_PATH: 5 51, NEXT_HOP: 192.0.2.51, via 192.0.2.51 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.3.1.0/24, AS_PATH: 5 51, NEXT_HOP: 192.0.2.51, via 192.0.2.51 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 1 + filtered: True (12) + +6.0.1.0/24, AS_PATH: 6, NEXT_HOP: 192.0.2.61, via 192.0.2.61 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (9) + diff --git a/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv6/openbgpd69/AS1.txt b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv6/openbgpd69/AS1.txt new file mode 100644 index 00000000..49691e25 --- /dev/null +++ b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv6/openbgpd69/AS1.txt @@ -0,0 +1,168 @@ +2a02:0:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:2::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::/48, AS_PATH: 2 21, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:4::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:5::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:2::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:3::/48, AS_PATH: 2 21, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:3:1::/48, AS_PATH: 2 21, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:5::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:6::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:7::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:1::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:2:1::/48, AS_PATH: 6 3, NEXT_HOP: 2001:db8:1:1::61, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:3::/48, AS_PATH: 4 41, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:2:3::/48, AS_PATH: 4 41, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:3:1::/48, AS_PATH: 4 41, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:4::/32, AS_PATH: 4 44, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:5:1::/48, AS_PATH: 4 43, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:6:1::/48, AS_PATH: 4 45, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:2:1::/48, AS_PATH: 5, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:2:2::/48, AS_PATH: 5 3, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:2:3::/48, AS_PATH: 5 51, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv6/openbgpd69/AS2.txt b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv6/openbgpd69/AS2.txt new file mode 100644 index 00000000..caf2fb62 --- /dev/null +++ b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv6/openbgpd69/AS2.txt @@ -0,0 +1,70 @@ +2a03:2:1::/48, AS_PATH: 6 3, NEXT_HOP: 2001:db8:1:1::61, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:3::/48, AS_PATH: 4 41, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:2:3::/48, AS_PATH: 4 41, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:3:1::/48, AS_PATH: 4 41, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:4::/32, AS_PATH: 4 44, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:5:1::/48, AS_PATH: 4 43, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:6:1::/48, AS_PATH: 4 45, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:2:1::/48, AS_PATH: 5, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:2:2::/48, AS_PATH: 5 3, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:2:3::/48, AS_PATH: 5 51, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv6/openbgpd69/AS4.txt b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv6/openbgpd69/AS4.txt new file mode 100644 index 00000000..3d1aa72a --- /dev/null +++ b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv6/openbgpd69/AS4.txt @@ -0,0 +1,126 @@ +2a02:0:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:2::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::/48, AS_PATH: 2 21, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:4::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:5::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:2::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:3::/48, AS_PATH: 2 21, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:3:1::/48, AS_PATH: 2 21, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:5::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:6::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:7::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:2:1::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: False, LOCAL_PREF: 100 + filtered: False () + +2a03:2:1::/48, AS_PATH: 6 3, NEXT_HOP: 2001:db8:1:1::61, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:2:1::/48, AS_PATH: 5, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:2:2::/48, AS_PATH: 5 3, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:2:3::/48, AS_PATH: 5 51, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv6/openbgpd69/AS5.txt b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv6/openbgpd69/AS5.txt new file mode 100644 index 00000000..e09d4eda --- /dev/null +++ b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv6/openbgpd69/AS5.txt @@ -0,0 +1,147 @@ +2a02:0:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:2::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::/48, AS_PATH: 2 21, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:4::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:5::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:2::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:3::/48, AS_PATH: 2 21, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:3:1::/48, AS_PATH: 2 21, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:5::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:6::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:7::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:2:1::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: False, LOCAL_PREF: 100 + filtered: False () + +2a03:2:1::/48, AS_PATH: 6 3, NEXT_HOP: 2001:db8:1:1::61, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:3::/48, AS_PATH: 4 41, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:2:3::/48, AS_PATH: 4 41, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:3:1::/48, AS_PATH: 4 41, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:4::/32, AS_PATH: 4 44, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:5:1::/48, AS_PATH: 4 43, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:6:1::/48, AS_PATH: 4 45, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv6/openbgpd69/AS6.txt b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv6/openbgpd69/AS6.txt new file mode 100644 index 00000000..186e7a62 --- /dev/null +++ b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv6/openbgpd69/AS6.txt @@ -0,0 +1,161 @@ +2a02:0:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:2::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::/48, AS_PATH: 2 21, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:4::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:5::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:2::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:3::/48, AS_PATH: 2 21, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:3:1::/48, AS_PATH: 2 21, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:5::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:6::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:7::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:1::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:3::/48, AS_PATH: 4 41, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:2:3::/48, AS_PATH: 4 41, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:3:1::/48, AS_PATH: 4 41, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:4::/32, AS_PATH: 4 44, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:5:1::/48, AS_PATH: 4 43, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:6:1::/48, AS_PATH: 4 45, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:2:1::/48, AS_PATH: 5, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:2:2::/48, AS_PATH: 5 3, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:2:3::/48, AS_PATH: 5 51, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv6/openbgpd69/rs.txt b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv6/openbgpd69/rs.txt new file mode 100644 index 00000000..cd89e49a --- /dev/null +++ b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv6/openbgpd69/rs.txt @@ -0,0 +1,294 @@ +2a02:0:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:2::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::/48, AS_PATH: 2 21, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:4::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:5::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:2::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:3::/48, AS_PATH: 2 21, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:3:1::/48, AS_PATH: 2 21, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:4::/32, AS_PATH: 6 2, NEXT_HOP: 2001:db8:1:1::61, via 2001:db8:1:1::61 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (9) + +2a02:5::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:6::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:7::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:1::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:1::/48, AS_PATH: 4 3, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: False, LOCAL_PREF: 1 + filtered: True (9) + +2a03:0:1::/48, AS_PATH: 5 3, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::51 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: False, LOCAL_PREF: 1 + filtered: True (12) + +2a03:1::/32, AS_PATH: 6 3, NEXT_HOP: 2001:db8:1:1::61, via 2001:db8:1:1::61 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (9) + +2a03:2:1::/48, AS_PATH: 6 3, NEXT_HOP: 2001:db8:1:1::61, via 2001:db8:1:1::61 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:3::/32, AS_PATH: 6 3, NEXT_HOP: 2001:db8:1:1::61, via 2001:db8:1:1::61 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (9) + +2a04:0:1::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (9) + +2a04:0:2::/48, AS_PATH: 4 3, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (9) + +2a04:0:3::/48, AS_PATH: 4 41, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:1::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (9) + +2a04:2:1::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (9) + +2a04:2:2::/48, AS_PATH: 4 3, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (9) + +2a04:2:3::/48, AS_PATH: 4 41, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:3:1::/48, AS_PATH: 4 41, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:4:1::/48, AS_PATH: 4 44, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (9) + +2a04:4::/32, AS_PATH: 4 44, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:5:1::/48, AS_PATH: 4 43, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:5:2::/48, AS_PATH: 4 45, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (9) + +2a04:6:1::/48, AS_PATH: 4 45, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:0:1::/48, AS_PATH: 5, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::51 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (12) + +2a05:0:2::/48, AS_PATH: 5 3, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::51 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (12) + +2a05:0:3::/48, AS_PATH: 5 51, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::51 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 1 + filtered: True (12) + +2a05:1::/48, AS_PATH: 5, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::51 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (12) + +2a05:2:1::/48, AS_PATH: 5, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::51 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:2:2::/48, AS_PATH: 5 3, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::51 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:2:3::/48, AS_PATH: 5 51, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::51 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:3:1::/48, AS_PATH: 5 51, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::51 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 1 + filtered: True (12) + +2a06:0:1::/48, AS_PATH: 6, NEXT_HOP: 2001:db8:1:1::61, via 2001:db8:1:1::61 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (9) + diff --git a/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv6/openbgpd69p/AS1.txt b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv6/openbgpd69p/AS1.txt new file mode 100644 index 00000000..49691e25 --- /dev/null +++ b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv6/openbgpd69p/AS1.txt @@ -0,0 +1,168 @@ +2a02:0:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:2::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::/48, AS_PATH: 2 21, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:4::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:5::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:2::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:3::/48, AS_PATH: 2 21, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:3:1::/48, AS_PATH: 2 21, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:5::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:6::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:7::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:1::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:2:1::/48, AS_PATH: 6 3, NEXT_HOP: 2001:db8:1:1::61, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:3::/48, AS_PATH: 4 41, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:2:3::/48, AS_PATH: 4 41, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:3:1::/48, AS_PATH: 4 41, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:4::/32, AS_PATH: 4 44, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:5:1::/48, AS_PATH: 4 43, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:6:1::/48, AS_PATH: 4 45, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:2:1::/48, AS_PATH: 5, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:2:2::/48, AS_PATH: 5 3, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:2:3::/48, AS_PATH: 5 51, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv6/openbgpd69p/AS2.txt b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv6/openbgpd69p/AS2.txt new file mode 100644 index 00000000..caf2fb62 --- /dev/null +++ b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv6/openbgpd69p/AS2.txt @@ -0,0 +1,70 @@ +2a03:2:1::/48, AS_PATH: 6 3, NEXT_HOP: 2001:db8:1:1::61, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:3::/48, AS_PATH: 4 41, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:2:3::/48, AS_PATH: 4 41, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:3:1::/48, AS_PATH: 4 41, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:4::/32, AS_PATH: 4 44, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:5:1::/48, AS_PATH: 4 43, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:6:1::/48, AS_PATH: 4 45, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:2:1::/48, AS_PATH: 5, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:2:2::/48, AS_PATH: 5 3, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:2:3::/48, AS_PATH: 5 51, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv6/openbgpd69p/AS4.txt b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv6/openbgpd69p/AS4.txt new file mode 100644 index 00000000..3d1aa72a --- /dev/null +++ b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv6/openbgpd69p/AS4.txt @@ -0,0 +1,126 @@ +2a02:0:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:2::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::/48, AS_PATH: 2 21, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:4::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:5::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:2::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:3::/48, AS_PATH: 2 21, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:3:1::/48, AS_PATH: 2 21, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:5::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:6::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:7::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:2:1::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: False, LOCAL_PREF: 100 + filtered: False () + +2a03:2:1::/48, AS_PATH: 6 3, NEXT_HOP: 2001:db8:1:1::61, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:2:1::/48, AS_PATH: 5, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:2:2::/48, AS_PATH: 5 3, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:2:3::/48, AS_PATH: 5 51, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv6/openbgpd69p/AS5.txt b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv6/openbgpd69p/AS5.txt new file mode 100644 index 00000000..e09d4eda --- /dev/null +++ b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv6/openbgpd69p/AS5.txt @@ -0,0 +1,147 @@ +2a02:0:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:2::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::/48, AS_PATH: 2 21, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:4::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:5::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:2::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:3::/48, AS_PATH: 2 21, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:3:1::/48, AS_PATH: 2 21, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:5::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:6::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:7::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:2:1::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: False, LOCAL_PREF: 100 + filtered: False () + +2a03:2:1::/48, AS_PATH: 6 3, NEXT_HOP: 2001:db8:1:1::61, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:3::/48, AS_PATH: 4 41, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:2:3::/48, AS_PATH: 4 41, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:3:1::/48, AS_PATH: 4 41, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:4::/32, AS_PATH: 4 44, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:5:1::/48, AS_PATH: 4 43, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:6:1::/48, AS_PATH: 4 45, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv6/openbgpd69p/AS6.txt b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv6/openbgpd69p/AS6.txt new file mode 100644 index 00000000..186e7a62 --- /dev/null +++ b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv6/openbgpd69p/AS6.txt @@ -0,0 +1,161 @@ +2a02:0:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:2::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::/48, AS_PATH: 2 21, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:4::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:5::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:2::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:3::/48, AS_PATH: 2 21, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:3:1::/48, AS_PATH: 2 21, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:5::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:6::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:7::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:1::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:3::/48, AS_PATH: 4 41, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:2:3::/48, AS_PATH: 4 41, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:3:1::/48, AS_PATH: 4 41, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:4::/32, AS_PATH: 4 44, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:5:1::/48, AS_PATH: 4 43, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:6:1::/48, AS_PATH: 4 45, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:2:1::/48, AS_PATH: 5, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:2:2::/48, AS_PATH: 5 3, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:2:3::/48, AS_PATH: 5 51, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv6/openbgpd69p/rs.txt b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv6/openbgpd69p/rs.txt new file mode 100644 index 00000000..cd89e49a --- /dev/null +++ b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_EmptyAS_SETs_OpenBGPDIPv6/openbgpd69p/rs.txt @@ -0,0 +1,294 @@ +2a02:0:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:2::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::/48, AS_PATH: 2 21, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:4::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:5::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:2::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:3::/48, AS_PATH: 2 21, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:3:1::/48, AS_PATH: 2 21, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:4::/32, AS_PATH: 6 2, NEXT_HOP: 2001:db8:1:1::61, via 2001:db8:1:1::61 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (9) + +2a02:5::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:6::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:7::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:1::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:1::/48, AS_PATH: 4 3, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: False, LOCAL_PREF: 1 + filtered: True (9) + +2a03:0:1::/48, AS_PATH: 5 3, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::51 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: False, LOCAL_PREF: 1 + filtered: True (12) + +2a03:1::/32, AS_PATH: 6 3, NEXT_HOP: 2001:db8:1:1::61, via 2001:db8:1:1::61 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (9) + +2a03:2:1::/48, AS_PATH: 6 3, NEXT_HOP: 2001:db8:1:1::61, via 2001:db8:1:1::61 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:3::/32, AS_PATH: 6 3, NEXT_HOP: 2001:db8:1:1::61, via 2001:db8:1:1::61 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (9) + +2a04:0:1::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (9) + +2a04:0:2::/48, AS_PATH: 4 3, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (9) + +2a04:0:3::/48, AS_PATH: 4 41, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:1::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (9) + +2a04:2:1::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (9) + +2a04:2:2::/48, AS_PATH: 4 3, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (9) + +2a04:2:3::/48, AS_PATH: 4 41, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:3:1::/48, AS_PATH: 4 41, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:4:1::/48, AS_PATH: 4 44, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (9) + +2a04:4::/32, AS_PATH: 4 44, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:5:1::/48, AS_PATH: 4 43, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:5:2::/48, AS_PATH: 4 45, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (9) + +2a04:6:1::/48, AS_PATH: 4 45, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:0:1::/48, AS_PATH: 5, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::51 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (12) + +2a05:0:2::/48, AS_PATH: 5 3, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::51 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (12) + +2a05:0:3::/48, AS_PATH: 5 51, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::51 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 1 + filtered: True (12) + +2a05:1::/48, AS_PATH: 5, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::51 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (12) + +2a05:2:1::/48, AS_PATH: 5, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::51 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:2:2::/48, AS_PATH: 5 3, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::51 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:2:3::/48, AS_PATH: 5 51, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::51 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:3:1::/48, AS_PATH: 5 51, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::51 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 1 + filtered: True (12) + +2a06:0:1::/48, AS_PATH: 6, NEXT_HOP: 2001:db8:1:1::61, via 2001:db8:1:1::61 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (9) + diff --git a/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv4/openbgpd69/AS1.txt b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv4/openbgpd69/AS1.txt new file mode 100644 index 00000000..37ae5299 --- /dev/null +++ b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv4/openbgpd69/AS1.txt @@ -0,0 +1,231 @@ +2.0.1.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.2.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.0/24, AS_PATH: 2 21, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.4.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64514, 999:64516 + ext comms: + lrg comms: 999:0:64512, 999:0:64514, 999:0:64516 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.5.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64514, 999:64518 + ext comms: + lrg comms: 999:0:64512, 999:0:64514, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.1.0.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.2.1.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.2.2.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.2.3.0/24, AS_PATH: 2 21, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.3.1.0/24, AS_PATH: 2 21, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.5.0.0/16, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64514, 999:64516 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.6.0.0/16, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64514, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.7.0.0/16, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64514, 999:64516, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.1.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +3.1.0.0/16, AS_PATH: 6 3, NEXT_HOP: 192.0.2.61, via 192.0.2.2 + std comms: 999:64513, 999:64514, 999:64516 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516 + best: True, LOCAL_PREF: 100 + filtered: False () + +3.2.1.0/24, AS_PATH: 6 3, NEXT_HOP: 192.0.2.61, via 192.0.2.2 + std comms: 999:64513, 999:64514, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +3.3.0.0/16, AS_PATH: 6 3, NEXT_HOP: 192.0.2.61, via 192.0.2.2 + std comms: 999:64513, 999:64514, 999:64516, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.1.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.3.0/24, AS_PATH: 4 41, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.1.0.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.2.1.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.2.3.0/24, AS_PATH: 4 41, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.3.1.0/24, AS_PATH: 4 41, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.4.0.0/16, AS_PATH: 4 44, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.5.1.0/24, AS_PATH: 4 43, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.6.1.0/24, AS_PATH: 4 45, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.0.1.0/24, AS_PATH: 5, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.0.2.0/24, AS_PATH: 5 3, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.0.3.0/24, AS_PATH: 5 51, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.2.1.0/24, AS_PATH: 5, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.2.2.0/24, AS_PATH: 5 3, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.2.3.0/24, AS_PATH: 5 51, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +6.0.1.0/24, AS_PATH: 6, NEXT_HOP: 192.0.2.61, via 192.0.2.2 + std comms: 999:64512, 999:64514, 999:64516, 999:64518 + ext comms: + lrg comms: 999:0:64512, 999:0:64514, 999:0:64516, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv4/openbgpd69/AS2.txt b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv4/openbgpd69/AS2.txt new file mode 100644 index 00000000..fd45026e --- /dev/null +++ b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv4/openbgpd69/AS2.txt @@ -0,0 +1,133 @@ +3.1.0.0/16, AS_PATH: 6 3, NEXT_HOP: 192.0.2.61, via 192.0.2.2 + std comms: 999:64513, 999:64514, 999:64516 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516 + best: True, LOCAL_PREF: 100 + filtered: False () + +3.2.1.0/24, AS_PATH: 6 3, NEXT_HOP: 192.0.2.61, via 192.0.2.2 + std comms: 999:64513, 999:64514, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +3.3.0.0/16, AS_PATH: 6 3, NEXT_HOP: 192.0.2.61, via 192.0.2.2 + std comms: 999:64513, 999:64514, 999:64516, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.1.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.3.0/24, AS_PATH: 4 41, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.1.0.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.2.1.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.2.3.0/24, AS_PATH: 4 41, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.3.1.0/24, AS_PATH: 4 41, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.4.0.0/16, AS_PATH: 4 44, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.5.1.0/24, AS_PATH: 4 43, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.6.1.0/24, AS_PATH: 4 45, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.0.1.0/24, AS_PATH: 5, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.0.2.0/24, AS_PATH: 5 3, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.0.3.0/24, AS_PATH: 5 51, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.2.1.0/24, AS_PATH: 5, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.2.2.0/24, AS_PATH: 5 3, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.2.3.0/24, AS_PATH: 5 51, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +6.0.1.0/24, AS_PATH: 6, NEXT_HOP: 192.0.2.61, via 192.0.2.2 + std comms: 999:64512, 999:64514, 999:64516, 999:64518 + ext comms: + lrg comms: 999:0:64512, 999:0:64514, 999:0:64516, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv4/openbgpd69/AS4.txt b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv4/openbgpd69/AS4.txt new file mode 100644 index 00000000..90a0ec35 --- /dev/null +++ b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv4/openbgpd69/AS4.txt @@ -0,0 +1,168 @@ +2.0.1.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.2.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.0/24, AS_PATH: 2 21, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: False, LOCAL_PREF: 100 + filtered: False () + +2.0.4.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64514, 999:64516 + ext comms: + lrg comms: 999:0:64512, 999:0:64514, 999:0:64516 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.5.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64514, 999:64518 + ext comms: + lrg comms: 999:0:64512, 999:0:64514, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.1.0.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.2.1.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.2.2.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.2.3.0/24, AS_PATH: 2 21, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.3.1.0/24, AS_PATH: 2 21, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.5.0.0/16, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64514, 999:64516 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.6.0.0/16, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64514, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.7.0.0/16, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64514, 999:64516, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +3.1.0.0/16, AS_PATH: 6 3, NEXT_HOP: 192.0.2.61, via 192.0.2.2 + std comms: 999:64513, 999:64514, 999:64516 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516 + best: True, LOCAL_PREF: 100 + filtered: False () + +3.2.1.0/24, AS_PATH: 6 3, NEXT_HOP: 192.0.2.61, via 192.0.2.2 + std comms: 999:64513, 999:64514, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +3.3.0.0/16, AS_PATH: 6 3, NEXT_HOP: 192.0.2.61, via 192.0.2.2 + std comms: 999:64513, 999:64514, 999:64516, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.0.1.0/24, AS_PATH: 5, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.0.2.0/24, AS_PATH: 5 3, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.0.3.0/24, AS_PATH: 5 51, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.2.1.0/24, AS_PATH: 5, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.2.2.0/24, AS_PATH: 5 3, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.2.3.0/24, AS_PATH: 5 51, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +6.0.1.0/24, AS_PATH: 6, NEXT_HOP: 192.0.2.61, via 192.0.2.2 + std comms: 999:64512, 999:64514, 999:64516, 999:64518 + ext comms: + lrg comms: 999:0:64512, 999:0:64514, 999:0:64516, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv4/openbgpd69/AS5.txt b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv4/openbgpd69/AS5.txt new file mode 100644 index 00000000..8d6a5ff6 --- /dev/null +++ b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv4/openbgpd69/AS5.txt @@ -0,0 +1,189 @@ +2.0.1.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.2.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.0/24, AS_PATH: 2 21, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: False, LOCAL_PREF: 100 + filtered: False () + +2.0.4.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64514, 999:64516 + ext comms: + lrg comms: 999:0:64512, 999:0:64514, 999:0:64516 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.5.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64514, 999:64518 + ext comms: + lrg comms: 999:0:64512, 999:0:64514, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.1.0.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.2.1.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.2.2.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.2.3.0/24, AS_PATH: 2 21, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.3.1.0/24, AS_PATH: 2 21, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.5.0.0/16, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64514, 999:64516 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.6.0.0/16, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64514, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.7.0.0/16, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64514, 999:64516, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +3.1.0.0/16, AS_PATH: 6 3, NEXT_HOP: 192.0.2.61, via 192.0.2.2 + std comms: 999:64513, 999:64514, 999:64516 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516 + best: True, LOCAL_PREF: 100 + filtered: False () + +3.2.1.0/24, AS_PATH: 6 3, NEXT_HOP: 192.0.2.61, via 192.0.2.2 + std comms: 999:64513, 999:64514, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +3.3.0.0/16, AS_PATH: 6 3, NEXT_HOP: 192.0.2.61, via 192.0.2.2 + std comms: 999:64513, 999:64514, 999:64516, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.1.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.3.0/24, AS_PATH: 4 41, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.1.0.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.2.1.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.2.3.0/24, AS_PATH: 4 41, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.3.1.0/24, AS_PATH: 4 41, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.4.0.0/16, AS_PATH: 4 44, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.5.1.0/24, AS_PATH: 4 43, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.6.1.0/24, AS_PATH: 4 45, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +6.0.1.0/24, AS_PATH: 6, NEXT_HOP: 192.0.2.61, via 192.0.2.2 + std comms: 999:64512, 999:64514, 999:64516, 999:64518 + ext comms: + lrg comms: 999:0:64512, 999:0:64514, 999:0:64516, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv4/openbgpd69/AS6.txt b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv4/openbgpd69/AS6.txt new file mode 100644 index 00000000..64d1581a --- /dev/null +++ b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv4/openbgpd69/AS6.txt @@ -0,0 +1,203 @@ +2.0.1.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.2.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.0/24, AS_PATH: 2 21, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.4.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64514, 999:64516 + ext comms: + lrg comms: 999:0:64512, 999:0:64514, 999:0:64516 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.5.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64514, 999:64518 + ext comms: + lrg comms: 999:0:64512, 999:0:64514, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.1.0.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.2.1.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.2.2.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.2.3.0/24, AS_PATH: 2 21, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.3.1.0/24, AS_PATH: 2 21, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.5.0.0/16, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64514, 999:64516 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.6.0.0/16, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64514, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.7.0.0/16, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64514, 999:64516, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.1.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.1.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.3.0/24, AS_PATH: 4 41, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.1.0.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.2.1.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.2.3.0/24, AS_PATH: 4 41, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.3.1.0/24, AS_PATH: 4 41, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.4.0.0/16, AS_PATH: 4 44, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.5.1.0/24, AS_PATH: 4 43, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.6.1.0/24, AS_PATH: 4 45, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.0.1.0/24, AS_PATH: 5, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.0.2.0/24, AS_PATH: 5 3, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.0.3.0/24, AS_PATH: 5 51, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.2.1.0/24, AS_PATH: 5, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.2.2.0/24, AS_PATH: 5 3, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.2.3.0/24, AS_PATH: 5 51, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv4/openbgpd69/rs.txt b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv4/openbgpd69/rs.txt new file mode 100644 index 00000000..a776c298 --- /dev/null +++ b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv4/openbgpd69/rs.txt @@ -0,0 +1,294 @@ +2.0.1.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.2.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.0/24, AS_PATH: 2 21, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.4.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 999:64512, 999:64514, 999:64516 + ext comms: + lrg comms: 999:0:64512, 999:0:64514, 999:0:64516 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.5.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 999:64512, 999:64514, 999:64518 + ext comms: + lrg comms: 999:0:64512, 999:0:64514, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.1.0.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.2.1.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.2.2.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.2.3.0/24, AS_PATH: 2 21, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.3.1.0/24, AS_PATH: 2 21, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.4.0.0/16, AS_PATH: 6 2, NEXT_HOP: 192.0.2.61, via 192.0.2.61 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (9) + +2.5.0.0/16, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 999:64513, 999:64514, 999:64516 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.6.0.0/16, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 999:64513, 999:64514, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.7.0.0/16, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 999:64513, 999:64514, 999:64516, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.1.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.1.0/24, AS_PATH: 4 3, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: False, LOCAL_PREF: 1 + filtered: True (9) + +3.0.1.0/24, AS_PATH: 5 3, NEXT_HOP: 192.0.2.51, via 192.0.2.51 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: False, LOCAL_PREF: 1 + filtered: True (12) + +3.1.0.0/16, AS_PATH: 6 3, NEXT_HOP: 192.0.2.61, via 192.0.2.61 + std comms: 999:64513, 999:64514, 999:64516 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516 + best: True, LOCAL_PREF: 100 + filtered: False () + +3.2.1.0/24, AS_PATH: 6 3, NEXT_HOP: 192.0.2.61, via 192.0.2.61 + std comms: 999:64513, 999:64514, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +3.3.0.0/16, AS_PATH: 6 3, NEXT_HOP: 192.0.2.61, via 192.0.2.61 + std comms: 999:64513, 999:64514, 999:64516, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.1.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.2.0/24, AS_PATH: 4 3, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (9) + +4.0.3.0/24, AS_PATH: 4 41, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.1.0.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.2.1.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.2.2.0/24, AS_PATH: 4 3, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (9) + +4.2.3.0/24, AS_PATH: 4 41, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.3.1.0/24, AS_PATH: 4 41, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.4.0.0/16, AS_PATH: 4 44, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.4.1.0/24, AS_PATH: 4 44, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (9) + +4.5.1.0/24, AS_PATH: 4 43, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.5.2.0/24, AS_PATH: 4 45, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (9) + +4.6.1.0/24, AS_PATH: 4 45, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.0.1.0/24, AS_PATH: 5, NEXT_HOP: 192.0.2.51, via 192.0.2.51 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.0.2.0/24, AS_PATH: 5 3, NEXT_HOP: 192.0.2.51, via 192.0.2.51 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.0.3.0/24, AS_PATH: 5 51, NEXT_HOP: 192.0.2.51, via 192.0.2.51 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.1.0.0/24, AS_PATH: 5, NEXT_HOP: 192.0.2.51, via 192.0.2.51 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 1 + filtered: True (12) + +5.2.1.0/24, AS_PATH: 5, NEXT_HOP: 192.0.2.51, via 192.0.2.51 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.2.2.0/24, AS_PATH: 5 3, NEXT_HOP: 192.0.2.51, via 192.0.2.51 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.2.3.0/24, AS_PATH: 5 51, NEXT_HOP: 192.0.2.51, via 192.0.2.51 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.3.1.0/24, AS_PATH: 5 51, NEXT_HOP: 192.0.2.51, via 192.0.2.51 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 1 + filtered: True (12) + +6.0.1.0/24, AS_PATH: 6, NEXT_HOP: 192.0.2.61, via 192.0.2.61 + std comms: 999:64512, 999:64514, 999:64516, 999:64518 + ext comms: + lrg comms: 999:0:64512, 999:0:64514, 999:0:64516, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv4/openbgpd69p/AS1.txt b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv4/openbgpd69p/AS1.txt new file mode 100644 index 00000000..37ae5299 --- /dev/null +++ b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv4/openbgpd69p/AS1.txt @@ -0,0 +1,231 @@ +2.0.1.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.2.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.0/24, AS_PATH: 2 21, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.4.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64514, 999:64516 + ext comms: + lrg comms: 999:0:64512, 999:0:64514, 999:0:64516 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.5.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64514, 999:64518 + ext comms: + lrg comms: 999:0:64512, 999:0:64514, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.1.0.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.2.1.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.2.2.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.2.3.0/24, AS_PATH: 2 21, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.3.1.0/24, AS_PATH: 2 21, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.5.0.0/16, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64514, 999:64516 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.6.0.0/16, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64514, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.7.0.0/16, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64514, 999:64516, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.1.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +3.1.0.0/16, AS_PATH: 6 3, NEXT_HOP: 192.0.2.61, via 192.0.2.2 + std comms: 999:64513, 999:64514, 999:64516 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516 + best: True, LOCAL_PREF: 100 + filtered: False () + +3.2.1.0/24, AS_PATH: 6 3, NEXT_HOP: 192.0.2.61, via 192.0.2.2 + std comms: 999:64513, 999:64514, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +3.3.0.0/16, AS_PATH: 6 3, NEXT_HOP: 192.0.2.61, via 192.0.2.2 + std comms: 999:64513, 999:64514, 999:64516, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.1.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.3.0/24, AS_PATH: 4 41, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.1.0.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.2.1.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.2.3.0/24, AS_PATH: 4 41, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.3.1.0/24, AS_PATH: 4 41, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.4.0.0/16, AS_PATH: 4 44, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.5.1.0/24, AS_PATH: 4 43, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.6.1.0/24, AS_PATH: 4 45, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.0.1.0/24, AS_PATH: 5, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.0.2.0/24, AS_PATH: 5 3, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.0.3.0/24, AS_PATH: 5 51, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.2.1.0/24, AS_PATH: 5, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.2.2.0/24, AS_PATH: 5 3, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.2.3.0/24, AS_PATH: 5 51, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +6.0.1.0/24, AS_PATH: 6, NEXT_HOP: 192.0.2.61, via 192.0.2.2 + std comms: 999:64512, 999:64514, 999:64516, 999:64518 + ext comms: + lrg comms: 999:0:64512, 999:0:64514, 999:0:64516, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv4/openbgpd69p/AS2.txt b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv4/openbgpd69p/AS2.txt new file mode 100644 index 00000000..fd45026e --- /dev/null +++ b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv4/openbgpd69p/AS2.txt @@ -0,0 +1,133 @@ +3.1.0.0/16, AS_PATH: 6 3, NEXT_HOP: 192.0.2.61, via 192.0.2.2 + std comms: 999:64513, 999:64514, 999:64516 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516 + best: True, LOCAL_PREF: 100 + filtered: False () + +3.2.1.0/24, AS_PATH: 6 3, NEXT_HOP: 192.0.2.61, via 192.0.2.2 + std comms: 999:64513, 999:64514, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +3.3.0.0/16, AS_PATH: 6 3, NEXT_HOP: 192.0.2.61, via 192.0.2.2 + std comms: 999:64513, 999:64514, 999:64516, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.1.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.3.0/24, AS_PATH: 4 41, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.1.0.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.2.1.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.2.3.0/24, AS_PATH: 4 41, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.3.1.0/24, AS_PATH: 4 41, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.4.0.0/16, AS_PATH: 4 44, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.5.1.0/24, AS_PATH: 4 43, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.6.1.0/24, AS_PATH: 4 45, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.0.1.0/24, AS_PATH: 5, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.0.2.0/24, AS_PATH: 5 3, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.0.3.0/24, AS_PATH: 5 51, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.2.1.0/24, AS_PATH: 5, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.2.2.0/24, AS_PATH: 5 3, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.2.3.0/24, AS_PATH: 5 51, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +6.0.1.0/24, AS_PATH: 6, NEXT_HOP: 192.0.2.61, via 192.0.2.2 + std comms: 999:64512, 999:64514, 999:64516, 999:64518 + ext comms: + lrg comms: 999:0:64512, 999:0:64514, 999:0:64516, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv4/openbgpd69p/AS4.txt b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv4/openbgpd69p/AS4.txt new file mode 100644 index 00000000..90a0ec35 --- /dev/null +++ b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv4/openbgpd69p/AS4.txt @@ -0,0 +1,168 @@ +2.0.1.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.2.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.0/24, AS_PATH: 2 21, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: False, LOCAL_PREF: 100 + filtered: False () + +2.0.4.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64514, 999:64516 + ext comms: + lrg comms: 999:0:64512, 999:0:64514, 999:0:64516 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.5.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64514, 999:64518 + ext comms: + lrg comms: 999:0:64512, 999:0:64514, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.1.0.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.2.1.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.2.2.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.2.3.0/24, AS_PATH: 2 21, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.3.1.0/24, AS_PATH: 2 21, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.5.0.0/16, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64514, 999:64516 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.6.0.0/16, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64514, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.7.0.0/16, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64514, 999:64516, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +3.1.0.0/16, AS_PATH: 6 3, NEXT_HOP: 192.0.2.61, via 192.0.2.2 + std comms: 999:64513, 999:64514, 999:64516 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516 + best: True, LOCAL_PREF: 100 + filtered: False () + +3.2.1.0/24, AS_PATH: 6 3, NEXT_HOP: 192.0.2.61, via 192.0.2.2 + std comms: 999:64513, 999:64514, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +3.3.0.0/16, AS_PATH: 6 3, NEXT_HOP: 192.0.2.61, via 192.0.2.2 + std comms: 999:64513, 999:64514, 999:64516, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.0.1.0/24, AS_PATH: 5, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.0.2.0/24, AS_PATH: 5 3, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.0.3.0/24, AS_PATH: 5 51, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.2.1.0/24, AS_PATH: 5, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.2.2.0/24, AS_PATH: 5 3, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.2.3.0/24, AS_PATH: 5 51, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +6.0.1.0/24, AS_PATH: 6, NEXT_HOP: 192.0.2.61, via 192.0.2.2 + std comms: 999:64512, 999:64514, 999:64516, 999:64518 + ext comms: + lrg comms: 999:0:64512, 999:0:64514, 999:0:64516, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv4/openbgpd69p/AS5.txt b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv4/openbgpd69p/AS5.txt new file mode 100644 index 00000000..8d6a5ff6 --- /dev/null +++ b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv4/openbgpd69p/AS5.txt @@ -0,0 +1,189 @@ +2.0.1.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.2.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.0/24, AS_PATH: 2 21, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: False, LOCAL_PREF: 100 + filtered: False () + +2.0.4.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64514, 999:64516 + ext comms: + lrg comms: 999:0:64512, 999:0:64514, 999:0:64516 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.5.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64514, 999:64518 + ext comms: + lrg comms: 999:0:64512, 999:0:64514, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.1.0.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.2.1.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.2.2.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.2.3.0/24, AS_PATH: 2 21, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.3.1.0/24, AS_PATH: 2 21, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.5.0.0/16, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64514, 999:64516 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.6.0.0/16, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64514, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.7.0.0/16, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64514, 999:64516, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +3.1.0.0/16, AS_PATH: 6 3, NEXT_HOP: 192.0.2.61, via 192.0.2.2 + std comms: 999:64513, 999:64514, 999:64516 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516 + best: True, LOCAL_PREF: 100 + filtered: False () + +3.2.1.0/24, AS_PATH: 6 3, NEXT_HOP: 192.0.2.61, via 192.0.2.2 + std comms: 999:64513, 999:64514, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +3.3.0.0/16, AS_PATH: 6 3, NEXT_HOP: 192.0.2.61, via 192.0.2.2 + std comms: 999:64513, 999:64514, 999:64516, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.1.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.3.0/24, AS_PATH: 4 41, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.1.0.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.2.1.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.2.3.0/24, AS_PATH: 4 41, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.3.1.0/24, AS_PATH: 4 41, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.4.0.0/16, AS_PATH: 4 44, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.5.1.0/24, AS_PATH: 4 43, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.6.1.0/24, AS_PATH: 4 45, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +6.0.1.0/24, AS_PATH: 6, NEXT_HOP: 192.0.2.61, via 192.0.2.2 + std comms: 999:64512, 999:64514, 999:64516, 999:64518 + ext comms: + lrg comms: 999:0:64512, 999:0:64514, 999:0:64516, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv4/openbgpd69p/AS6.txt b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv4/openbgpd69p/AS6.txt new file mode 100644 index 00000000..64d1581a --- /dev/null +++ b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv4/openbgpd69p/AS6.txt @@ -0,0 +1,203 @@ +2.0.1.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.2.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.0/24, AS_PATH: 2 21, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.4.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64514, 999:64516 + ext comms: + lrg comms: 999:0:64512, 999:0:64514, 999:0:64516 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.5.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64514, 999:64518 + ext comms: + lrg comms: 999:0:64512, 999:0:64514, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.1.0.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.2.1.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.2.2.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.2.3.0/24, AS_PATH: 2 21, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.3.1.0/24, AS_PATH: 2 21, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.5.0.0/16, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64514, 999:64516 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.6.0.0/16, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64514, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.7.0.0/16, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64514, 999:64516, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.1.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.1.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.3.0/24, AS_PATH: 4 41, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.1.0.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.2.1.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.2.3.0/24, AS_PATH: 4 41, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.3.1.0/24, AS_PATH: 4 41, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.4.0.0/16, AS_PATH: 4 44, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.5.1.0/24, AS_PATH: 4 43, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.6.1.0/24, AS_PATH: 4 45, NEXT_HOP: 192.0.2.41, via 192.0.2.2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.0.1.0/24, AS_PATH: 5, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.0.2.0/24, AS_PATH: 5 3, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.0.3.0/24, AS_PATH: 5 51, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.2.1.0/24, AS_PATH: 5, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.2.2.0/24, AS_PATH: 5 3, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.2.3.0/24, AS_PATH: 5 51, NEXT_HOP: 192.0.2.51, via 192.0.2.2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv4/openbgpd69p/rs.txt b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv4/openbgpd69p/rs.txt new file mode 100644 index 00000000..a776c298 --- /dev/null +++ b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv4/openbgpd69p/rs.txt @@ -0,0 +1,294 @@ +2.0.1.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.2.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.0/24, AS_PATH: 2 21, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.4.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 999:64512, 999:64514, 999:64516 + ext comms: + lrg comms: 999:0:64512, 999:0:64514, 999:0:64516 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.5.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 999:64512, 999:64514, 999:64518 + ext comms: + lrg comms: 999:0:64512, 999:0:64514, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.1.0.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.2.1.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.2.2.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.2.3.0/24, AS_PATH: 2 21, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.3.1.0/24, AS_PATH: 2 21, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.4.0.0/16, AS_PATH: 6 2, NEXT_HOP: 192.0.2.61, via 192.0.2.61 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (9) + +2.5.0.0/16, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 999:64513, 999:64514, 999:64516 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.6.0.0/16, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 999:64513, 999:64514, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.7.0.0/16, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 999:64513, 999:64514, 999:64516, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.1.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.1.0/24, AS_PATH: 4 3, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: False, LOCAL_PREF: 1 + filtered: True (9) + +3.0.1.0/24, AS_PATH: 5 3, NEXT_HOP: 192.0.2.51, via 192.0.2.51 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: False, LOCAL_PREF: 1 + filtered: True (12) + +3.1.0.0/16, AS_PATH: 6 3, NEXT_HOP: 192.0.2.61, via 192.0.2.61 + std comms: 999:64513, 999:64514, 999:64516 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516 + best: True, LOCAL_PREF: 100 + filtered: False () + +3.2.1.0/24, AS_PATH: 6 3, NEXT_HOP: 192.0.2.61, via 192.0.2.61 + std comms: 999:64513, 999:64514, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +3.3.0.0/16, AS_PATH: 6 3, NEXT_HOP: 192.0.2.61, via 192.0.2.61 + std comms: 999:64513, 999:64514, 999:64516, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.1.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.0.2.0/24, AS_PATH: 4 3, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (9) + +4.0.3.0/24, AS_PATH: 4 41, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.1.0.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.2.1.0/24, AS_PATH: 4, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.2.2.0/24, AS_PATH: 4 3, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (9) + +4.2.3.0/24, AS_PATH: 4 41, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.3.1.0/24, AS_PATH: 4 41, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.4.0.0/16, AS_PATH: 4 44, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.4.1.0/24, AS_PATH: 4 44, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (9) + +4.5.1.0/24, AS_PATH: 4 43, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +4.5.2.0/24, AS_PATH: 4 45, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (9) + +4.6.1.0/24, AS_PATH: 4 45, NEXT_HOP: 192.0.2.41, via 192.0.2.41 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.0.1.0/24, AS_PATH: 5, NEXT_HOP: 192.0.2.51, via 192.0.2.51 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.0.2.0/24, AS_PATH: 5 3, NEXT_HOP: 192.0.2.51, via 192.0.2.51 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.0.3.0/24, AS_PATH: 5 51, NEXT_HOP: 192.0.2.51, via 192.0.2.51 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.1.0.0/24, AS_PATH: 5, NEXT_HOP: 192.0.2.51, via 192.0.2.51 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 1 + filtered: True (12) + +5.2.1.0/24, AS_PATH: 5, NEXT_HOP: 192.0.2.51, via 192.0.2.51 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.2.2.0/24, AS_PATH: 5 3, NEXT_HOP: 192.0.2.51, via 192.0.2.51 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.2.3.0/24, AS_PATH: 5 51, NEXT_HOP: 192.0.2.51, via 192.0.2.51 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +5.3.1.0/24, AS_PATH: 5 51, NEXT_HOP: 192.0.2.51, via 192.0.2.51 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 1 + filtered: True (12) + +6.0.1.0/24, AS_PATH: 6, NEXT_HOP: 192.0.2.61, via 192.0.2.61 + std comms: 999:64512, 999:64514, 999:64516, 999:64518 + ext comms: + lrg comms: 999:0:64512, 999:0:64514, 999:0:64516, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv6/openbgpd69/AS1.txt b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv6/openbgpd69/AS1.txt new file mode 100644 index 00000000..b4c388d5 --- /dev/null +++ b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv6/openbgpd69/AS1.txt @@ -0,0 +1,231 @@ +2a02:0:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:2::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::/48, AS_PATH: 2 21, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:4::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514, 999:64516 + ext comms: + lrg comms: 999:0:64512, 999:0:64514, 999:0:64516 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:5::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514, 999:64518 + ext comms: + lrg comms: 999:0:64512, 999:0:64514, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:2::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:3::/48, AS_PATH: 2 21, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:3:1::/48, AS_PATH: 2 21, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:5::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514, 999:64516 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:6::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:7::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514, 999:64516, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:1::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:1::/32, AS_PATH: 6 3, NEXT_HOP: 2001:db8:1:1::61, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514, 999:64516 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:2:1::/48, AS_PATH: 6 3, NEXT_HOP: 2001:db8:1:1::61, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:3::/32, AS_PATH: 6 3, NEXT_HOP: 2001:db8:1:1::61, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514, 999:64516, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:1::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:3::/48, AS_PATH: 4 41, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:1::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:2:1::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:2:3::/48, AS_PATH: 4 41, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:3:1::/48, AS_PATH: 4 41, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:4::/32, AS_PATH: 4 44, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:5:1::/48, AS_PATH: 4 43, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:6:1::/48, AS_PATH: 4 45, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:0:1::/48, AS_PATH: 5, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:0:2::/48, AS_PATH: 5 3, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:0:3::/48, AS_PATH: 5 51, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:2:1::/48, AS_PATH: 5, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:2:2::/48, AS_PATH: 5 3, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:2:3::/48, AS_PATH: 5 51, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a06:0:1::/48, AS_PATH: 6, NEXT_HOP: 2001:db8:1:1::61, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514, 999:64516, 999:64518 + ext comms: + lrg comms: 999:0:64512, 999:0:64514, 999:0:64516, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv6/openbgpd69/AS2.txt b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv6/openbgpd69/AS2.txt new file mode 100644 index 00000000..75c453dd --- /dev/null +++ b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv6/openbgpd69/AS2.txt @@ -0,0 +1,133 @@ +2a03:1::/32, AS_PATH: 6 3, NEXT_HOP: 2001:db8:1:1::61, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514, 999:64516 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:2:1::/48, AS_PATH: 6 3, NEXT_HOP: 2001:db8:1:1::61, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:3::/32, AS_PATH: 6 3, NEXT_HOP: 2001:db8:1:1::61, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514, 999:64516, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:1::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:3::/48, AS_PATH: 4 41, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:1::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:2:1::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:2:3::/48, AS_PATH: 4 41, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:3:1::/48, AS_PATH: 4 41, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:4::/32, AS_PATH: 4 44, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:5:1::/48, AS_PATH: 4 43, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:6:1::/48, AS_PATH: 4 45, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:0:1::/48, AS_PATH: 5, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:0:2::/48, AS_PATH: 5 3, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:0:3::/48, AS_PATH: 5 51, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:2:1::/48, AS_PATH: 5, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:2:2::/48, AS_PATH: 5 3, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:2:3::/48, AS_PATH: 5 51, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a06:0:1::/48, AS_PATH: 6, NEXT_HOP: 2001:db8:1:1::61, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514, 999:64516, 999:64518 + ext comms: + lrg comms: 999:0:64512, 999:0:64514, 999:0:64516, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv6/openbgpd69/AS4.txt b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv6/openbgpd69/AS4.txt new file mode 100644 index 00000000..d3c83f17 --- /dev/null +++ b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv6/openbgpd69/AS4.txt @@ -0,0 +1,168 @@ +2a02:0:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:2::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::/48, AS_PATH: 2 21, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:4::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514, 999:64516 + ext comms: + lrg comms: 999:0:64512, 999:0:64514, 999:0:64516 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:5::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514, 999:64518 + ext comms: + lrg comms: 999:0:64512, 999:0:64514, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:2::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:3::/48, AS_PATH: 2 21, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:3:1::/48, AS_PATH: 2 21, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:5::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514, 999:64516 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:6::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:7::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514, 999:64516, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:1::/32, AS_PATH: 6 3, NEXT_HOP: 2001:db8:1:1::61, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514, 999:64516 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:2:1::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: False, LOCAL_PREF: 100 + filtered: False () + +2a03:2:1::/48, AS_PATH: 6 3, NEXT_HOP: 2001:db8:1:1::61, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:3::/32, AS_PATH: 6 3, NEXT_HOP: 2001:db8:1:1::61, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514, 999:64516, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:0:1::/48, AS_PATH: 5, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:0:2::/48, AS_PATH: 5 3, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:0:3::/48, AS_PATH: 5 51, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:2:1::/48, AS_PATH: 5, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:2:2::/48, AS_PATH: 5 3, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:2:3::/48, AS_PATH: 5 51, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a06:0:1::/48, AS_PATH: 6, NEXT_HOP: 2001:db8:1:1::61, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514, 999:64516, 999:64518 + ext comms: + lrg comms: 999:0:64512, 999:0:64514, 999:0:64516, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv6/openbgpd69/AS5.txt b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv6/openbgpd69/AS5.txt new file mode 100644 index 00000000..7578bd1a --- /dev/null +++ b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv6/openbgpd69/AS5.txt @@ -0,0 +1,189 @@ +2a02:0:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:2::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::/48, AS_PATH: 2 21, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:4::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514, 999:64516 + ext comms: + lrg comms: 999:0:64512, 999:0:64514, 999:0:64516 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:5::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514, 999:64518 + ext comms: + lrg comms: 999:0:64512, 999:0:64514, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:2::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:3::/48, AS_PATH: 2 21, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:3:1::/48, AS_PATH: 2 21, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:5::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514, 999:64516 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:6::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:7::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514, 999:64516, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:1::/32, AS_PATH: 6 3, NEXT_HOP: 2001:db8:1:1::61, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514, 999:64516 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:2:1::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: False, LOCAL_PREF: 100 + filtered: False () + +2a03:2:1::/48, AS_PATH: 6 3, NEXT_HOP: 2001:db8:1:1::61, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:3::/32, AS_PATH: 6 3, NEXT_HOP: 2001:db8:1:1::61, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514, 999:64516, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:1::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:3::/48, AS_PATH: 4 41, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:1::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:2:1::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:2:3::/48, AS_PATH: 4 41, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:3:1::/48, AS_PATH: 4 41, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:4::/32, AS_PATH: 4 44, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:5:1::/48, AS_PATH: 4 43, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:6:1::/48, AS_PATH: 4 45, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a06:0:1::/48, AS_PATH: 6, NEXT_HOP: 2001:db8:1:1::61, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514, 999:64516, 999:64518 + ext comms: + lrg comms: 999:0:64512, 999:0:64514, 999:0:64516, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv6/openbgpd69/AS6.txt b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv6/openbgpd69/AS6.txt new file mode 100644 index 00000000..d185074c --- /dev/null +++ b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv6/openbgpd69/AS6.txt @@ -0,0 +1,203 @@ +2a02:0:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:2::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::/48, AS_PATH: 2 21, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:4::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514, 999:64516 + ext comms: + lrg comms: 999:0:64512, 999:0:64514, 999:0:64516 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:5::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514, 999:64518 + ext comms: + lrg comms: 999:0:64512, 999:0:64514, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:2::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:3::/48, AS_PATH: 2 21, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:3:1::/48, AS_PATH: 2 21, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:5::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514, 999:64516 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:6::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:7::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514, 999:64516, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:1::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:1::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:3::/48, AS_PATH: 4 41, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:1::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:2:1::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:2:3::/48, AS_PATH: 4 41, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:3:1::/48, AS_PATH: 4 41, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:4::/32, AS_PATH: 4 44, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:5:1::/48, AS_PATH: 4 43, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:6:1::/48, AS_PATH: 4 45, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:0:1::/48, AS_PATH: 5, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:0:2::/48, AS_PATH: 5 3, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:0:3::/48, AS_PATH: 5 51, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:2:1::/48, AS_PATH: 5, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:2:2::/48, AS_PATH: 5 3, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:2:3::/48, AS_PATH: 5 51, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv6/openbgpd69/rs.txt b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv6/openbgpd69/rs.txt new file mode 100644 index 00000000..17b4fb3e --- /dev/null +++ b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv6/openbgpd69/rs.txt @@ -0,0 +1,294 @@ +2a02:0:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:2::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::/48, AS_PATH: 2 21, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:4::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 999:64512, 999:64514, 999:64516 + ext comms: + lrg comms: 999:0:64512, 999:0:64514, 999:0:64516 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:5::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 999:64512, 999:64514, 999:64518 + ext comms: + lrg comms: 999:0:64512, 999:0:64514, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:2::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:3::/48, AS_PATH: 2 21, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:3:1::/48, AS_PATH: 2 21, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:4::/32, AS_PATH: 6 2, NEXT_HOP: 2001:db8:1:1::61, via 2001:db8:1:1::61 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (9) + +2a02:5::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 999:64513, 999:64514, 999:64516 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:6::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 999:64513, 999:64514, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:7::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 999:64513, 999:64514, 999:64516, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:1::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:1::/48, AS_PATH: 4 3, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: False, LOCAL_PREF: 1 + filtered: True (9) + +2a03:0:1::/48, AS_PATH: 5 3, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::51 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: False, LOCAL_PREF: 1 + filtered: True (12) + +2a03:1::/32, AS_PATH: 6 3, NEXT_HOP: 2001:db8:1:1::61, via 2001:db8:1:1::61 + std comms: 999:64513, 999:64514, 999:64516 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:2:1::/48, AS_PATH: 6 3, NEXT_HOP: 2001:db8:1:1::61, via 2001:db8:1:1::61 + std comms: 999:64513, 999:64514, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:3::/32, AS_PATH: 6 3, NEXT_HOP: 2001:db8:1:1::61, via 2001:db8:1:1::61 + std comms: 999:64513, 999:64514, 999:64516, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:1::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:2::/48, AS_PATH: 4 3, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (9) + +2a04:0:3::/48, AS_PATH: 4 41, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:1::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:2:1::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:2:2::/48, AS_PATH: 4 3, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (9) + +2a04:2:3::/48, AS_PATH: 4 41, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:3:1::/48, AS_PATH: 4 41, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:4:1::/48, AS_PATH: 4 44, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (9) + +2a04:4::/32, AS_PATH: 4 44, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:5:1::/48, AS_PATH: 4 43, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:5:2::/48, AS_PATH: 4 45, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (9) + +2a04:6:1::/48, AS_PATH: 4 45, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:0:1::/48, AS_PATH: 5, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::51 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:0:2::/48, AS_PATH: 5 3, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::51 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:0:3::/48, AS_PATH: 5 51, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::51 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:1::/48, AS_PATH: 5, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::51 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 1 + filtered: True (12) + +2a05:2:1::/48, AS_PATH: 5, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::51 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:2:2::/48, AS_PATH: 5 3, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::51 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:2:3::/48, AS_PATH: 5 51, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::51 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:3:1::/48, AS_PATH: 5 51, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::51 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 1 + filtered: True (12) + +2a06:0:1::/48, AS_PATH: 6, NEXT_HOP: 2001:db8:1:1::61, via 2001:db8:1:1::61 + std comms: 999:64512, 999:64514, 999:64516, 999:64518 + ext comms: + lrg comms: 999:0:64512, 999:0:64514, 999:0:64516, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv6/openbgpd69p/AS1.txt b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv6/openbgpd69p/AS1.txt new file mode 100644 index 00000000..b4c388d5 --- /dev/null +++ b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv6/openbgpd69p/AS1.txt @@ -0,0 +1,231 @@ +2a02:0:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:2::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::/48, AS_PATH: 2 21, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:4::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514, 999:64516 + ext comms: + lrg comms: 999:0:64512, 999:0:64514, 999:0:64516 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:5::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514, 999:64518 + ext comms: + lrg comms: 999:0:64512, 999:0:64514, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:2::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:3::/48, AS_PATH: 2 21, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:3:1::/48, AS_PATH: 2 21, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:5::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514, 999:64516 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:6::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:7::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514, 999:64516, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:1::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:1::/32, AS_PATH: 6 3, NEXT_HOP: 2001:db8:1:1::61, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514, 999:64516 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:2:1::/48, AS_PATH: 6 3, NEXT_HOP: 2001:db8:1:1::61, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:3::/32, AS_PATH: 6 3, NEXT_HOP: 2001:db8:1:1::61, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514, 999:64516, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:1::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:3::/48, AS_PATH: 4 41, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:1::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:2:1::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:2:3::/48, AS_PATH: 4 41, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:3:1::/48, AS_PATH: 4 41, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:4::/32, AS_PATH: 4 44, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:5:1::/48, AS_PATH: 4 43, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:6:1::/48, AS_PATH: 4 45, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:0:1::/48, AS_PATH: 5, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:0:2::/48, AS_PATH: 5 3, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:0:3::/48, AS_PATH: 5 51, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:2:1::/48, AS_PATH: 5, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:2:2::/48, AS_PATH: 5 3, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:2:3::/48, AS_PATH: 5 51, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a06:0:1::/48, AS_PATH: 6, NEXT_HOP: 2001:db8:1:1::61, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514, 999:64516, 999:64518 + ext comms: + lrg comms: 999:0:64512, 999:0:64514, 999:0:64516, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv6/openbgpd69p/AS2.txt b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv6/openbgpd69p/AS2.txt new file mode 100644 index 00000000..75c453dd --- /dev/null +++ b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv6/openbgpd69p/AS2.txt @@ -0,0 +1,133 @@ +2a03:1::/32, AS_PATH: 6 3, NEXT_HOP: 2001:db8:1:1::61, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514, 999:64516 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:2:1::/48, AS_PATH: 6 3, NEXT_HOP: 2001:db8:1:1::61, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:3::/32, AS_PATH: 6 3, NEXT_HOP: 2001:db8:1:1::61, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514, 999:64516, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:1::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:3::/48, AS_PATH: 4 41, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:1::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:2:1::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:2:3::/48, AS_PATH: 4 41, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:3:1::/48, AS_PATH: 4 41, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:4::/32, AS_PATH: 4 44, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:5:1::/48, AS_PATH: 4 43, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:6:1::/48, AS_PATH: 4 45, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:0:1::/48, AS_PATH: 5, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:0:2::/48, AS_PATH: 5 3, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:0:3::/48, AS_PATH: 5 51, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:2:1::/48, AS_PATH: 5, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:2:2::/48, AS_PATH: 5 3, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:2:3::/48, AS_PATH: 5 51, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a06:0:1::/48, AS_PATH: 6, NEXT_HOP: 2001:db8:1:1::61, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514, 999:64516, 999:64518 + ext comms: + lrg comms: 999:0:64512, 999:0:64514, 999:0:64516, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv6/openbgpd69p/AS4.txt b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv6/openbgpd69p/AS4.txt new file mode 100644 index 00000000..d3c83f17 --- /dev/null +++ b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv6/openbgpd69p/AS4.txt @@ -0,0 +1,168 @@ +2a02:0:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:2::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::/48, AS_PATH: 2 21, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:4::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514, 999:64516 + ext comms: + lrg comms: 999:0:64512, 999:0:64514, 999:0:64516 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:5::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514, 999:64518 + ext comms: + lrg comms: 999:0:64512, 999:0:64514, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:2::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:3::/48, AS_PATH: 2 21, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:3:1::/48, AS_PATH: 2 21, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:5::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514, 999:64516 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:6::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:7::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514, 999:64516, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:1::/32, AS_PATH: 6 3, NEXT_HOP: 2001:db8:1:1::61, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514, 999:64516 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:2:1::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: False, LOCAL_PREF: 100 + filtered: False () + +2a03:2:1::/48, AS_PATH: 6 3, NEXT_HOP: 2001:db8:1:1::61, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:3::/32, AS_PATH: 6 3, NEXT_HOP: 2001:db8:1:1::61, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514, 999:64516, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:0:1::/48, AS_PATH: 5, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:0:2::/48, AS_PATH: 5 3, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:0:3::/48, AS_PATH: 5 51, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:2:1::/48, AS_PATH: 5, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:2:2::/48, AS_PATH: 5 3, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:2:3::/48, AS_PATH: 5 51, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a06:0:1::/48, AS_PATH: 6, NEXT_HOP: 2001:db8:1:1::61, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514, 999:64516, 999:64518 + ext comms: + lrg comms: 999:0:64512, 999:0:64514, 999:0:64516, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv6/openbgpd69p/AS5.txt b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv6/openbgpd69p/AS5.txt new file mode 100644 index 00000000..7578bd1a --- /dev/null +++ b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv6/openbgpd69p/AS5.txt @@ -0,0 +1,189 @@ +2a02:0:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:2::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::/48, AS_PATH: 2 21, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:4::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514, 999:64516 + ext comms: + lrg comms: 999:0:64512, 999:0:64514, 999:0:64516 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:5::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514, 999:64518 + ext comms: + lrg comms: 999:0:64512, 999:0:64514, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:2::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:3::/48, AS_PATH: 2 21, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:3:1::/48, AS_PATH: 2 21, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:5::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514, 999:64516 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:6::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:7::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514, 999:64516, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:1::/32, AS_PATH: 6 3, NEXT_HOP: 2001:db8:1:1::61, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514, 999:64516 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:2:1::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: False, LOCAL_PREF: 100 + filtered: False () + +2a03:2:1::/48, AS_PATH: 6 3, NEXT_HOP: 2001:db8:1:1::61, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:3::/32, AS_PATH: 6 3, NEXT_HOP: 2001:db8:1:1::61, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514, 999:64516, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:1::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:3::/48, AS_PATH: 4 41, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:1::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:2:1::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:2:3::/48, AS_PATH: 4 41, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:3:1::/48, AS_PATH: 4 41, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:4::/32, AS_PATH: 4 44, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:5:1::/48, AS_PATH: 4 43, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:6:1::/48, AS_PATH: 4 45, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a06:0:1::/48, AS_PATH: 6, NEXT_HOP: 2001:db8:1:1::61, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514, 999:64516, 999:64518 + ext comms: + lrg comms: 999:0:64512, 999:0:64514, 999:0:64516, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv6/openbgpd69p/AS6.txt b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv6/openbgpd69p/AS6.txt new file mode 100644 index 00000000..d185074c --- /dev/null +++ b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv6/openbgpd69p/AS6.txt @@ -0,0 +1,203 @@ +2a02:0:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:2::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::/48, AS_PATH: 2 21, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:4::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514, 999:64516 + ext comms: + lrg comms: 999:0:64512, 999:0:64514, 999:0:64516 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:5::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514, 999:64518 + ext comms: + lrg comms: 999:0:64512, 999:0:64514, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:2::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:3::/48, AS_PATH: 2 21, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:3:1::/48, AS_PATH: 2 21, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:5::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514, 999:64516 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:6::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:7::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514, 999:64516, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:1::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:1::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:3::/48, AS_PATH: 4 41, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:1::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:2:1::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:2:3::/48, AS_PATH: 4 41, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:3:1::/48, AS_PATH: 4 41, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:4::/32, AS_PATH: 4 44, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:5:1::/48, AS_PATH: 4 43, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:6:1::/48, AS_PATH: 4 45, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::2 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:0:1::/48, AS_PATH: 5, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:0:2::/48, AS_PATH: 5 3, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:0:3::/48, AS_PATH: 5 51, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:2:1::/48, AS_PATH: 5, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:2:2::/48, AS_PATH: 5 3, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:2:3::/48, AS_PATH: 5 51, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::2 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv6/openbgpd69p/rs.txt b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv6/openbgpd69p/rs.txt new file mode 100644 index 00000000..17b4fb3e --- /dev/null +++ b/tests/live_tests/scenarios/tag_as_set/routes/TagASSetScenario_WithAS_SETs_OpenBGPDIPv6/openbgpd69p/rs.txt @@ -0,0 +1,294 @@ +2a02:0:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:2::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::/48, AS_PATH: 2 21, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:4::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 999:64512, 999:64514, 999:64516 + ext comms: + lrg comms: 999:0:64512, 999:0:64514, 999:0:64516 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:5::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 999:64512, 999:64514, 999:64518 + ext comms: + lrg comms: 999:0:64512, 999:0:64514, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:2::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:2:3::/48, AS_PATH: 2 21, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:3:1::/48, AS_PATH: 2 21, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:4::/32, AS_PATH: 6 2, NEXT_HOP: 2001:db8:1:1::61, via 2001:db8:1:1::61 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (9) + +2a02:5::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 999:64513, 999:64514, 999:64516 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:6::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 999:64513, 999:64514, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:7::/32, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 999:64513, 999:64514, 999:64516, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:1::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:1::/48, AS_PATH: 4 3, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: False, LOCAL_PREF: 1 + filtered: True (9) + +2a03:0:1::/48, AS_PATH: 5 3, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::51 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: False, LOCAL_PREF: 1 + filtered: True (12) + +2a03:1::/32, AS_PATH: 6 3, NEXT_HOP: 2001:db8:1:1::61, via 2001:db8:1:1::61 + std comms: 999:64513, 999:64514, 999:64516 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:2:1::/48, AS_PATH: 6 3, NEXT_HOP: 2001:db8:1:1::61, via 2001:db8:1:1::61 + std comms: 999:64513, 999:64514, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:3::/32, AS_PATH: 6 3, NEXT_HOP: 2001:db8:1:1::61, via 2001:db8:1:1::61 + std comms: 999:64513, 999:64514, 999:64516, 999:64518 + ext comms: + lrg comms: 999:0:64513, 999:0:64514, 999:0:64516, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:1::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:0:2::/48, AS_PATH: 4 3, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (9) + +2a04:0:3::/48, AS_PATH: 4 41, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:1::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:2:1::/48, AS_PATH: 4, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:2:2::/48, AS_PATH: 4 3, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (9) + +2a04:2:3::/48, AS_PATH: 4 41, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:3:1::/48, AS_PATH: 4 41, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:4:1::/48, AS_PATH: 4 44, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (9) + +2a04:4::/32, AS_PATH: 4 44, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:5:1::/48, AS_PATH: 4 43, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a04:5:2::/48, AS_PATH: 4 45, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 999:64513, 999:64515 + ext comms: + lrg comms: 999:0:64513, 999:0:64515 + best: True, LOCAL_PREF: 1 + filtered: True (9) + +2a04:6:1::/48, AS_PATH: 4 45, NEXT_HOP: 2001:db8:1:1::41, via 2001:db8:1:1::41 + std comms: 999:64513, 999:64515, 999:64517 + ext comms: + lrg comms: 999:0:64513, 999:0:64515, 999:0:64517 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:0:1::/48, AS_PATH: 5, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::51 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:0:2::/48, AS_PATH: 5 3, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::51 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:0:3::/48, AS_PATH: 5 51, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::51 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:1::/48, AS_PATH: 5, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::51 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 1 + filtered: True (12) + +2a05:2:1::/48, AS_PATH: 5, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::51 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:2:2::/48, AS_PATH: 5 3, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::51 + std comms: 999:64512, 999:64515 + ext comms: + lrg comms: 999:0:64512, 999:0:64515 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:2:3::/48, AS_PATH: 5 51, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::51 + std comms: 999:64512, 999:64514 + ext comms: + lrg comms: 999:0:64512, 999:0:64514 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a05:3:1::/48, AS_PATH: 5 51, NEXT_HOP: 2001:db8:1:1::51, via 2001:db8:1:1::51 + std comms: 999:64513, 999:64514 + ext comms: + lrg comms: 999:0:64513, 999:0:64514 + best: True, LOCAL_PREF: 1 + filtered: True (12) + +2a06:0:1::/48, AS_PATH: 6, NEXT_HOP: 2001:db8:1:1::61, via 2001:db8:1:1::61 + std comms: 999:64512, 999:64514, 999:64516, 999:64518 + ext comms: + lrg comms: 999:0:64512, 999:0:64514, 999:0:64516, 999:0:64518 + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/tag_reject_policy/configs/TagRejectPolicyScenario_OpenBGPDIPv4/openbgpd68.conf b/tests/live_tests/scenarios/tag_reject_policy/configs/TagRejectPolicyScenario_OpenBGPDIPv4/openbgpd68.conf index 2e67eace..47bf91de 100644 --- a/tests/live_tests/scenarios/tag_reject_policy/configs/TagRejectPolicyScenario_OpenBGPDIPv4/openbgpd68.conf +++ b/tests/live_tests/scenarios/tag_reject_policy/configs/TagRejectPolicyScenario_OpenBGPDIPv4/openbgpd68.conf @@ -7,6 +7,7 @@ log updates nexthop qualify via default + INTCOMM_PREF_OK_ROA="soo 65535:1" INTCOMM_ROUTE_OK_WL="soo 65535:2" INTCOMM_PREF_OK_ARINDB="soo 65535:3" @@ -92,6 +93,7 @@ group "clients" { neighbor 192.0.2.11 { remote-as 1 + descr "AS1_1 client" passive ttl-security no @@ -108,6 +110,7 @@ group "clients" { neighbor 2001:db8:1:1::11 { remote-as 1 + descr "AS1_1 client" passive ttl-security no @@ -124,6 +127,7 @@ group "clients" { neighbor 192.0.2.12 { remote-as 1 + descr "AS1_2 client" passive ttl-security no @@ -140,6 +144,7 @@ group "clients" { neighbor 2001:db8:1:1::12 { remote-as 1 + descr "AS1_2 client" passive ttl-security no @@ -156,6 +161,7 @@ group "clients" { neighbor 192.0.2.222 { remote-as 222 + descr "AS222_1 client" ttl-security no transparent-as yes @@ -171,6 +177,7 @@ group "clients" { neighbor 2001:db8:1:1::222 { remote-as 222 + descr "AS222_1 client" ttl-security no transparent-as yes @@ -186,6 +193,7 @@ group "clients" { neighbor 192.0.2.21 { remote-as 2 + descr "AS2_1 client" passive ttl-security no @@ -202,6 +210,7 @@ group "clients" { neighbor 2001:db8:1:1::21 { remote-as 2 + descr "AS2_1 client" passive ttl-security no @@ -218,6 +227,7 @@ group "clients" { neighbor 192.0.2.31 { remote-as 3 + descr "AS3_1 client" ttl-security no transparent-as no @@ -233,6 +243,7 @@ group "clients" { neighbor 2001:db8:1:1::31 { remote-as 3 + descr "AS3_1 client" ttl-security no transparent-as no @@ -248,6 +259,7 @@ group "clients" { neighbor 192.0.2.41 { remote-as 4 + descr "AS4_1 client" passive ttl-security no @@ -264,6 +276,7 @@ group "clients" { neighbor 2001:db8:1:1::41 { remote-as 4 + descr "AS4_1 client" passive ttl-security no @@ -395,7 +408,9 @@ match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ # --------------------------------------------------------- -# RPKI-based Origin Validation +# ROAs source + + roa-set { 101.3.0.0/16 maxlen 24 source-as 105 101.2.0.0/17 source-as 101 @@ -414,6 +429,12 @@ roa-set { } + + +# --------------------------------------------------------- +# RPKI-based Origin Validation + + # Add $INTCOMM_RPKI_UNKNOWN, $INTCOMM_RPKI_INVALID and $INTCOMM_RPKI_VALID # ext community on the basis of ovs. match from group clients ovs not-found set ext-community $INTCOMM_RPKI_UNKNOWN @@ -422,13 +443,15 @@ match from group clients ovs invalid set ext-community $INTCOMM_RPKI_INVALID - +# --------------------------------------------------------- # RPKI ROAs used as route objects. + # Add the $INTCOMM_PREF_OK_ROA ext community to routes whose # origin ASN has a ROA for the announced prefix. # It will be used later during IRRDB validation in # case the origin ASN is authorized by a client's # AS-SET but the prefix is not. + # Since RPKI-based Origin Validation is already performed above, # use the origin validation state to identify valid routes. match from group clients ovs valid set ext-community $INTCOMM_PREF_OK_ROA @@ -437,6 +460,7 @@ match from group clients ovs valid set ext-community $INTCOMM_PREF_OK_ROA + # Set the 'rejected_route_announced_by' community for all the clients. # It will be removed later if the route is not invalid match from 192.0.2.11 set ext-community rt 65520:1 diff --git a/tests/live_tests/scenarios/tag_reject_policy/configs/TagRejectPolicyScenario_OpenBGPDIPv4/openbgpd69.conf b/tests/live_tests/scenarios/tag_reject_policy/configs/TagRejectPolicyScenario_OpenBGPDIPv4/openbgpd69.conf new file mode 100644 index 00000000..8dd7c282 --- /dev/null +++ b/tests/live_tests/scenarios/tag_reject_policy/configs/TagRejectPolicyScenario_OpenBGPDIPv4/openbgpd69.conf @@ -0,0 +1,3517 @@ +# built by ARouteServer +AS 999 +router-id 192.0.2.2 + +fib-update no +log updates + +nexthop qualify via default + +rde evaluate all + +INTCOMM_PREF_OK_ROA="soo 65535:1" +INTCOMM_ROUTE_OK_WL="soo 65535:2" +INTCOMM_PREF_OK_ARINDB="soo 65535:3" +INTCOMM_PREF_OK_REGISTROBRDB="soo 65535:12" + +INTCOMM_ORIGIN_OK="soo 65535:4" +INTCOMM_ORIGIN_KO="soo 65535:5" +INTCOMM_PREFIX_OK="soo 65535:6" +INTCOMM_PREFIX_KO="soo 65535:7" +INTCOMM_IRR_REJECT="soo 65535:8" + +INTCOMM_RPKI_UNKNOWN="soo 65535:9" +INTCOMM_RPKI_INVALID="soo 65535:10" +INTCOMM_RPKI_VALID="soo 65535:11" + +INTCOMM_NO_EXPORT="soo 65535:65281" +INTCOMM_NO_ADVERTISE="soo 65535:65282" + +# --------------------------------------------------------- +# IRRDB + +# AS222, used by client AS222_1, client AS222_2 +# no origin ASNs found for AS222 +# no prefixes found for AS222 + +# AS2, used by client AS2_1, client AS2_2 +# no origin ASNs found for AS2 +# no prefixes found for AS2 + +# AS-AS1, AS-AS1_CUSTOMERS, used by client AS1_1, client AS1_2, client AS1_3, client AS1_4 +as-set "AS_SET_AS_AS1_AS_AS1_CUSTOMERS_asns" { + 1 101 +} +prefix-set "AS_SET_AS_AS1_AS_AS1_CUSTOMERS_prefixes" { + 1.0.0.0/8 prefixlen 8 - 32 + 128.0.0.0/7 prefixlen 7 - 32 + 101.0.0.0/16 prefixlen 16 - 32 +} + +# AS-AS2, AS-AS2_CUSTOMERS, used by client AS2_1, client AS2_2 +as-set "AS_SET_AS_AS2_AS_AS2_CUSTOMERS_asns" { + 2 101 +} +prefix-set "AS_SET_AS_AS2_AS_AS2_CUSTOMERS_prefixes" { + 2.0.0.0/16 prefixlen 16 - 32 + 101.0.0.0/16 prefixlen 16 - 32 +} + +# WHITE_LIST_AS1_2, used by client AS1_2 white list +as-set "AS_SET_WHITE_LIST_AS1_2_asns" { + 1011 +} +prefix-set "AS_SET_WHITE_LIST_AS1_2_prefixes" { + 11.1.0.0/16 prefixlen 16 - 32 + 2a11:1::/32 prefixlen 32 - 128 +} + +# AS-AS222, used by client AS222_1, client AS222_2 +# no origin ASNs found for AS_AS222 +# no prefixes found for AS_AS222 + +# AS1, used by client AS1_1, client AS1_2, client AS1_3, client AS1_4 +# no origin ASNs found for AS1 +# no prefixes found for AS1 + +# WHITE_LIST_AS1_1, used by client AS1_1 white list +as-set "AS_SET_WHITE_LIST_AS1_1_asns" { + 1011 +} +prefix-set "AS_SET_WHITE_LIST_AS1_1_prefixes" { + 11.1.0.0/16 prefixlen 16 - 32 + 2a11:1::/32 prefixlen 32 - 128 +} + + + + +# --------------------------------------------------------- +# MEMBERS + +group "clients" { + + neighbor 192.0.2.11 { + remote-as 1 + + rde evaluate all + + descr "AS1_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::11 { + remote-as 1 + + rde evaluate all + + descr "AS1_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.12 { + remote-as 1 + + rde evaluate all + + descr "AS1_2 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::12 { + remote-as 1 + + rde evaluate all + + descr "AS1_2 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.222 { + remote-as 222 + + rde evaluate all + + descr "AS222_1 client" + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::222 { + remote-as 222 + + rde evaluate all + + descr "AS222_1 client" + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.21 { + remote-as 2 + + rde evaluate all + + descr "AS2_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::21 { + remote-as 2 + + rde evaluate all + + descr "AS2_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.31 { + remote-as 3 + + rde evaluate all + + descr "AS3_1 client" + ttl-security no + transparent-as no + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::31 { + remote-as 3 + + rde evaluate all + + descr "AS3_1 client" + ttl-security no + transparent-as no + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.41 { + remote-as 4 + + rde evaluate all + + descr "AS4_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::41 { + remote-as 4 + + rde evaluate all + + descr "AS4_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } +} + +include "/etc/bgpd/post-clients.local" + + + +# --------------------------------------------------------- +# FILTERS + +# NO_ADVERTISE usage notes. +# The NO_ADVERTISE well-know community is used here to handle +# filters that span over multiple steps. At first it is added +# to any route, then it is removed as filters conditions are +# satisfied. Finally, if it is still present, it means that +# the route should be discarded. + + + + +prefix-set "global_black_list_pref" { + 192.0.2.0/24 prefixlen 24 - 32 + 2001:db8::/32 prefixlen 32 - 128 + +} + +prefix-set "bogons" { + 0.0.0.0/0 + 0.0.0.0/8 prefixlen 8 - 32 + 10.0.0.0/8 prefixlen 8 - 32 + 127.0.0.0/8 prefixlen 8 - 32 + 169.254.0.0/16 prefixlen 16 - 32 + 172.16.0.0/12 prefixlen 12 - 32 + 192.0.2.0/24 prefixlen 24 - 32 + 192.88.99.0/24 prefixlen 24 - 32 + 192.168.0.0/16 prefixlen 16 - 32 + 198.18.0.0/15 prefixlen 15 - 32 + 198.51.100.0/24 prefixlen 24 - 32 + 203.0.113.0/24 prefixlen 24 - 32 + 224.0.0.0/3 prefixlen 3 - 32 + 100.64.0.0/10 prefixlen 10 - 32 + ::/0 + ::/8 prefixlen 8 - 128 + 64:ff9b::/96 prefixlen 96 - 128 + 100::/8 prefixlen 8 - 128 + 200::/7 prefixlen 7 - 128 + 400::/6 prefixlen 6 - 128 + 800::/5 prefixlen 5 - 128 + 1000::/4 prefixlen 4 - 128 + 2001::/33 prefixlen 33 - 128 + 2001:0:8000::/33 prefixlen 33 - 128 + 2001:2::/48 prefixlen 48 - 128 + 2001:3::/32 prefixlen 32 - 128 + 2001:10::/28 prefixlen 28 - 128 + 2001:20::/28 prefixlen 28 - 128 + 2001:db8::/32 prefixlen 32 - 128 + 2002::/16 prefixlen 16 - 128 + 3ffe::/16 prefixlen 16 - 128 + 4000::/3 prefixlen 3 - 128 + 5f00::/8 prefixlen 8 - 128 + 6000::/3 prefixlen 3 - 128 + 8000::/3 prefixlen 3 - 128 + a000::/3 prefixlen 3 - 128 + c000::/3 prefixlen 3 - 128 + e000::/4 prefixlen 4 - 128 + f000::/5 prefixlen 5 - 128 + f800::/6 prefixlen 6 - 128 + fc00::/7 prefixlen 7 - 128 + fe80::/10 prefixlen 10 - 128 + fec0::/10 prefixlen 10 - 128 + ff00::/8 prefixlen 8 - 128 + +} + +# ===================================================================================== +# Global rules. + +# This part of configuration is processed at the beginning of the filters. +# The rules defined in this part are applied to all the clients, and not on a +# client-by-client basis (see the 'match from group clients'), so only global policies +# can be implemented here, that is no client-level configuration are allowed. + + + +# Scrub communities from inbound routes +# origin_not_present_in_as_set +match from group clients set community delete 65530:0 +match from group clients set large-community delete 999:65530:0 + +# origin_present_in_as_set +match from group clients set community delete 65530:1 +match from group clients set large-community delete 999:65530:1 + +# prefix_validated_via_arin_whois_db_dump +match from group clients set community delete 65530:3 +match from group clients set large-community delete 999:65530:3 + +# prefix_validated_via_rpki_roas +match from group clients set community delete 65530:2 +match from group clients set large-community delete 999:65530:2 + + +# Scrub internal communities from inbound routes +match from group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + + +# The main goal of this block is to enrich routes received from clients by attaching to them +# internal informational communities which are used later by the rest of the filter rules. + +# Internal communities used for RFC1997 well-known communities handling + +# Transform NO_EXPORT into $INTCOMM_NO_EXPORT +match from group clients community NO_EXPORT set { ext-community $INTCOMM_NO_EXPORT community delete NO_EXPORT } + +# Transform NO_ADVERTISE into $INTCOMM_NO_ADVERTISE +match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ADVERTISE community delete NO_ADVERTISE } + + +# --------------------------------------------------------- +# ROAs source + + +roa-set { + 101.3.0.0/16 maxlen 24 source-as 105 + 101.2.0.0/17 source-as 101 + 101.2.128.0/17 maxlen 24 source-as 101 + 101.0.128.0/20 maxlen 23 source-as 101 + 101.0.8.0/24 source-as 101 + 101.0.9.0/24 source-as 102 + 222.1.1.0/24 source-as 333 + 3101:3::/32 maxlen 48 source-as 105 + 3101:0:8000::/33 maxlen 34 source-as 101 + 3101:2:8000::/33 maxlen 48 source-as 101 + 3101:2::/33 source-as 101 + 3101:0:8::/48 source-as 101 + 3101:0:9::/48 source-as 102 + 3222:0:1::/48 source-as 333 + +} + + + +# --------------------------------------------------------- +# RPKI-based Origin Validation + + +# Add $INTCOMM_RPKI_UNKNOWN, $INTCOMM_RPKI_INVALID and $INTCOMM_RPKI_VALID +# ext community on the basis of ovs. +match from group clients ovs not-found set ext-community $INTCOMM_RPKI_UNKNOWN +match from group clients ovs valid set ext-community $INTCOMM_RPKI_VALID +match from group clients ovs invalid set ext-community $INTCOMM_RPKI_INVALID + + + +# --------------------------------------------------------- +# RPKI ROAs used as route objects. + +# Add the $INTCOMM_PREF_OK_ROA ext community to routes whose +# origin ASN has a ROA for the announced prefix. +# It will be used later during IRRDB validation in +# case the origin ASN is authorized by a client's +# AS-SET but the prefix is not. + +# Since RPKI-based Origin Validation is already performed above, +# use the origin validation state to identify valid routes. +match from group clients ovs valid set ext-community $INTCOMM_PREF_OK_ROA + + + + + + +# Set the 'rejected_route_announced_by' community for all the clients. +# It will be removed later if the route is not invalid +match from 192.0.2.11 set ext-community rt 65520:1 + +match from 2001:db8:1:1::11 set ext-community rt 65520:1 + +match from 192.0.2.12 set ext-community rt 65520:1 + +match from 2001:db8:1:1::12 set ext-community rt 65520:1 + +match from 192.0.2.222 set ext-community rt 65520:222 + +match from 2001:db8:1:1::222 set ext-community rt 65520:222 + +match from 192.0.2.21 set ext-community rt 65520:2 + +match from 2001:db8:1:1::21 set ext-community rt 65520:2 + +match from 192.0.2.31 set ext-community rt 65520:3 + +match from 2001:db8:1:1::31 set ext-community rt 65520:3 + +match from 192.0.2.41 set ext-community rt 65520:4 + +match from 2001:db8:1:1::41 set ext-community rt 65520:4 + + + + +# AS_PATH: length +# Reject inbound routes when 'from group clients max-as-len 6' - reject code: 1 +allow quick from group clients max-as-len 6 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:1} + + +# Prefix: global blacklist +# Reject inbound routes when 'from group clients prefix-set global_black_list_pref' - reject code: 3 +allow quick from group clients prefix-set global_black_list_pref set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:3} + + +# Prefix: only IPv6 Global Unicast space allowed +match from group clients inet6 set community NO_ADVERTISE +match from group clients prefix 2000::/3 or-longer set community delete NO_ADVERTISE +# Reject inbound routes when 'from group clients community NO_ADVERTISE' - reject code: 10 +allow quick from group clients community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:10} + + +# Prefix: bogon +# Reject inbound routes when 'from group clients prefix-set bogons' - reject code: 2 +allow quick from group clients prefix-set bogons set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:2} + + + + +# ===================================================================================== +# Per client rules. + + +# --------------------------------------------- +# client AS1_1, inbound + + + +# NEXT_HOP +match from 192.0.2.11 set community NO_ADVERTISE +match from 192.0.2.11 nexthop 192.0.2.11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.11 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.11 peer-as != 1' - reject code: 6 +allow quick from 192.0.2.11 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.11 AS 23456' - reject code: 7 +allow quick from 192.0.2.11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 192.0.2.11 AS { 3, 174 }' - reject code: 8 +allow quick from 192.0.2.11 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 192.0.2.11 AS { 666, 777 }' - reject code: 15 +allow quick from 192.0.2.11 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + +# client's white list +# Add the $INTCOMM_ROUTE_OK_WL ext community to routes which +# are validated by a client's white list entry. +# It will be used later during IRRDB validation in +# case the route is not authorized by a client's +# AS-SET. +match from 192.0.2.11 prefix 11.3.0.0/16 source-as 1011 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.11 prefix 11.4.0.0/16 prefixlen 16 - 32 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.11 prefix 2a11:3::/32 source-as 1011 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.11 prefix 2a11:4::/32 prefixlen 32 - 128 set ext-community $INTCOMM_ROUTE_OK_WL # None + +match from 192.0.2.11 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS1_1, AS1: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.11 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.11 source-as as-set AS_SET_AS_AS1_AS_AS1_CUSTOMERS_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS1_AS_AS1_CUSTOMERS +# AS-SET AS1 referenced but empty. +match from 192.0.2.11 source-as as-set AS_SET_WHITE_LIST_AS1_1_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # WHITE_LIST_AS1_1 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS1_1, AS1: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.11 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.11 prefix-set AS_SET_AS_AS1_AS_AS1_CUSTOMERS_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS1_AS_AS1_CUSTOMERS +# AS-SET AS1 referenced but empty. +match from 192.0.2.11 prefix-set AS_SET_WHITE_LIST_AS1_1_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # WHITE_LIST_AS1_1 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + + + +# route authorized by a client's white list? +match from 192.0.2.11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set ext-community delete $INTCOMM_IRR_REJECT + +# enforcing: origin ASN +# Reject inbound routes when 'from 192.0.2.11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 192.0.2.11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 192.0.2.11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 192.0.2.11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + +# Blackhole request? +match from 192.0.2.11 set ext-community delete rt 65520:1 + + +# Remove internal communities before accepting the route +match from 192.0.2.11 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.11 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.11 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 192.0.2.11 community BLACKHOLE +allow quick from 192.0.2.11 community 65534:0 +allow quick from 192.0.2.11 large-community 65534:0:0 + + +match from 192.0.2.11 set ext-community rt 65520:1 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 192.0.2.11 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 192.0.2.11 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 192.0.2.11 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 192.0.2.11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.11 set ext-community delete rt 65520:1 + + + +allow quick from 192.0.2.11 + + + +# --------------------------------------------- +# client AS1_1, outbound + +deny quick to 192.0.2.11 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 192.0.2.11 community 65534:0 set community BLACKHOLE +match to 192.0.2.11 large-community 65534:0:0 set community BLACKHOLE + +match to 192.0.2.11 community BLACKHOLE set community NO_EXPORT +match to 192.0.2.11 community BLACKHOLE set nexthop 192.0.2.66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 192.0.2.11 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 192.0.2.11 community 65507:999 set community NO_EXPORT +match to 192.0.2.11 ext-community rt 65507:999 set community NO_EXPORT +match to 192.0.2.11 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 192.0.2.11 community 65508:999 set community NO_ADVERTISE +match to 192.0.2.11 ext-community rt 65508:999 set community NO_ADVERTISE +match to 192.0.2.11 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 192.0.2.11 community 65509:1 set community NO_EXPORT +match to 192.0.2.11 ext-community rt 65509:1 set community NO_EXPORT +match to 192.0.2.11 large-community 999:65509:1 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 192.0.2.11 community 65510:1 set community NO_ADVERTISE +match to 192.0.2.11 ext-community rt 65510:1 set community NO_ADVERTISE +match to 192.0.2.11 large-community 999:65510:1 set community NO_ADVERTISE + + +# BGP control communities +allow to 192.0.2.11 + +# do_not_announce_to_any +deny to 192.0.2.11 community 0:999 +deny to 192.0.2.11 ext-community rt 0:999 +deny to 192.0.2.11 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 192.0.2.11 community 0:1 +deny quick to 192.0.2.11 ext-community rt 0:1 +deny quick to 192.0.2.11 large-community 999:0:1 + +# announce_to_peer +allow to 192.0.2.11 community 65501:1 +allow to 192.0.2.11 ext-community rt 65501:1 +allow to 192.0.2.11 large-community 999:65501:1 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 65521:1 set prepend-neighbor 1 +match to 192.0.2.11 ext-community rt 65521:1 set prepend-neighbor 1 +match to 192.0.2.11 large-community 999:65521:1 set prepend-neighbor 1 + +match to 192.0.2.11 community 65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 65522:1 set prepend-neighbor 2 +match to 192.0.2.11 ext-community rt 65522:1 set prepend-neighbor 2 +match to 192.0.2.11 large-community 999:65522:1 set prepend-neighbor 2 + +match to 192.0.2.11 community 65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 65523:1 set prepend-neighbor 3 +match to 192.0.2.11 ext-community rt 65523:1 set prepend-neighbor 3 +match to 192.0.2.11 large-community 999:65523:1 set prepend-neighbor 3 + +match to 192.0.2.11 community 65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 65521:65521 set prepend-neighbor 1 +match to 192.0.2.11 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 192.0.2.11 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 192.0.2.11 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 65522:65522 set prepend-neighbor 2 +match to 192.0.2.11 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 192.0.2.11 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 192.0.2.11 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 65523:65523 set prepend-neighbor 3 +match to 192.0.2.11 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 192.0.2.11 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 192.0.2.11 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS1_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::11 set community NO_ADVERTISE +match from 2001:db8:1:1::11 nexthop 2001:db8:1:1::11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::11 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::11 peer-as != 1' - reject code: 6 +allow quick from 2001:db8:1:1::11 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 2001:db8:1:1::11 AS { 3, 174 }' - reject code: 8 +allow quick from 2001:db8:1:1::11 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 2001:db8:1:1::11 AS { 666, 777 }' - reject code: 15 +allow quick from 2001:db8:1:1::11 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + +# client's white list +# Add the $INTCOMM_ROUTE_OK_WL ext community to routes which +# are validated by a client's white list entry. +# It will be used later during IRRDB validation in +# case the route is not authorized by a client's +# AS-SET. +match from 2001:db8:1:1::11 prefix 11.3.0.0/16 source-as 1011 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::11 prefix 11.4.0.0/16 prefixlen 16 - 32 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::11 prefix 2a11:3::/32 source-as 1011 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::11 prefix 2a11:4::/32 prefixlen 32 - 128 set ext-community $INTCOMM_ROUTE_OK_WL # None + +match from 2001:db8:1:1::11 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS1_2, AS1: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::11 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::11 source-as as-set AS_SET_AS_AS1_AS_AS1_CUSTOMERS_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS1_AS_AS1_CUSTOMERS +match from 2001:db8:1:1::11 source-as as-set AS_SET_WHITE_LIST_AS1_2_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # WHITE_LIST_AS1_2 +# AS-SET AS1 referenced but empty. + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS1_2, AS1: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::11 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::11 prefix-set AS_SET_AS_AS1_AS_AS1_CUSTOMERS_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS1_AS_AS1_CUSTOMERS +match from 2001:db8:1:1::11 prefix-set AS_SET_WHITE_LIST_AS1_2_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # WHITE_LIST_AS1_2 +# AS-SET AS1 referenced but empty. + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + + + +# route authorized by a client's white list? +match from 2001:db8:1:1::11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set ext-community delete $INTCOMM_IRR_REJECT + +# enforcing: origin ASN +# Reject inbound routes when 'from 2001:db8:1:1::11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 2001:db8:1:1::11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 2001:db8:1:1::11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 2001:db8:1:1::11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + +# Blackhole request? +match from 2001:db8:1:1::11 set ext-community delete rt 65520:1 + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::11 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::11 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::11 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 2001:db8:1:1::11 community BLACKHOLE +allow quick from 2001:db8:1:1::11 community 65534:0 +allow quick from 2001:db8:1:1::11 large-community 65534:0:0 + + +match from 2001:db8:1:1::11 set ext-community rt 65520:1 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 2001:db8:1:1::11 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 2001:db8:1:1::11 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::11 prefix ::/0 prefixlen 17 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::11 prefix ::/0 prefixlen 17 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 2001:db8:1:1::11 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::11 set ext-community delete rt 65520:1 + + + +allow quick from 2001:db8:1:1::11 + + + +# --------------------------------------------- +# client AS1_2, outbound + +deny quick to 2001:db8:1:1::11 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 2001:db8:1:1::11 community 65534:0 set community BLACKHOLE +match to 2001:db8:1:1::11 large-community 65534:0:0 set community BLACKHOLE + +match to 2001:db8:1:1::11 community BLACKHOLE set community NO_EXPORT +match to 2001:db8:1:1::11 community BLACKHOLE set nexthop 2001:db8:1:1::66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 2001:db8:1:1::11 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 2001:db8:1:1::11 community 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::11 ext-community rt 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::11 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 2001:db8:1:1::11 community 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::11 ext-community rt 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::11 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 2001:db8:1:1::11 community 65509:1 set community NO_EXPORT +match to 2001:db8:1:1::11 ext-community rt 65509:1 set community NO_EXPORT +match to 2001:db8:1:1::11 large-community 999:65509:1 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 2001:db8:1:1::11 community 65510:1 set community NO_ADVERTISE +match to 2001:db8:1:1::11 ext-community rt 65510:1 set community NO_ADVERTISE +match to 2001:db8:1:1::11 large-community 999:65510:1 set community NO_ADVERTISE + + +# BGP control communities +allow to 2001:db8:1:1::11 + +# do_not_announce_to_any +deny to 2001:db8:1:1::11 community 0:999 +deny to 2001:db8:1:1::11 ext-community rt 0:999 +deny to 2001:db8:1:1::11 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::11 community 0:1 +deny quick to 2001:db8:1:1::11 ext-community rt 0:1 +deny quick to 2001:db8:1:1::11 large-community 999:0:1 + +# announce_to_peer +allow to 2001:db8:1:1::11 community 65501:1 +allow to 2001:db8:1:1::11 ext-community rt 65501:1 +allow to 2001:db8:1:1::11 large-community 999:65501:1 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 65521:1 set prepend-neighbor 1 +match to 2001:db8:1:1::11 ext-community rt 65521:1 set prepend-neighbor 1 +match to 2001:db8:1:1::11 large-community 999:65521:1 set prepend-neighbor 1 + +match to 2001:db8:1:1::11 community 65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 65522:1 set prepend-neighbor 2 +match to 2001:db8:1:1::11 ext-community rt 65522:1 set prepend-neighbor 2 +match to 2001:db8:1:1::11 large-community 999:65522:1 set prepend-neighbor 2 + +match to 2001:db8:1:1::11 community 65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 65523:1 set prepend-neighbor 3 +match to 2001:db8:1:1::11 ext-community rt 65523:1 set prepend-neighbor 3 +match to 2001:db8:1:1::11 large-community 999:65523:1 set prepend-neighbor 3 + +match to 2001:db8:1:1::11 community 65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::11 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::11 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 2001:db8:1:1::11 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::11 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::11 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 2001:db8:1:1::11 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::11 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::11 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 2001:db8:1:1::11 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS1_3, inbound + + + +# NEXT_HOP +match from 192.0.2.12 set community NO_ADVERTISE +match from 192.0.2.12 nexthop 192.0.2.11 set community delete NO_ADVERTISE +match from 192.0.2.12 nexthop 192.0.2.12 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.12 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.12 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.12 peer-as != 1' - reject code: 6 +allow quick from 192.0.2.12 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.12 AS 23456' - reject code: 7 +allow quick from 192.0.2.12 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.12 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.12 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.12 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.12 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 192.0.2.12 AS { 3, 174 }' - reject code: 8 +allow quick from 192.0.2.12 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 192.0.2.12 AS { 666, 777 }' - reject code: 15 +allow quick from 192.0.2.12 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + + +match from 192.0.2.12 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS1_3, AS1: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.12 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.12 source-as as-set AS_SET_AS_AS1_AS_AS1_CUSTOMERS_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS1_AS_AS1_CUSTOMERS +# AS-SET AS1 referenced but empty. + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS1_3, AS1: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.12 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.12 prefix-set AS_SET_AS_AS1_AS_AS1_CUSTOMERS_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS1_AS_AS1_CUSTOMERS +# AS-SET AS1 referenced but empty. + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.12 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + + + + +# enforcing: origin ASN +# Reject inbound routes when 'from 192.0.2.12 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 192.0.2.12 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 192.0.2.12 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 192.0.2.12 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + +# Blackhole request? +match from 192.0.2.12 set ext-community delete rt 65520:1 + + +# Remove internal communities before accepting the route +match from 192.0.2.12 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.12 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.12 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 192.0.2.12 community BLACKHOLE +allow quick from 192.0.2.12 community 65534:0 +allow quick from 192.0.2.12 large-community 65534:0:0 + + +match from 192.0.2.12 set ext-community rt 65520:1 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 192.0.2.12 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 192.0.2.12 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.12 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.12 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 192.0.2.12 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 192.0.2.12 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.12 set ext-community delete rt 65520:1 + + + +allow quick from 192.0.2.12 + + + +# --------------------------------------------- +# client AS1_3, outbound + +deny quick to 192.0.2.12 community 65520:0 + + + +# Blackhole request? +# Client not enabled to receive blackhole routes +deny quick to 192.0.2.12 community BLACKHOLE +deny quick to 192.0.2.12 community 65534:0 +deny quick to 192.0.2.12 large-community 65534:0:0 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 192.0.2.12 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 192.0.2.12 community 65507:999 set community NO_EXPORT +match to 192.0.2.12 ext-community rt 65507:999 set community NO_EXPORT +match to 192.0.2.12 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 192.0.2.12 community 65508:999 set community NO_ADVERTISE +match to 192.0.2.12 ext-community rt 65508:999 set community NO_ADVERTISE +match to 192.0.2.12 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 192.0.2.12 community 65509:1 set community NO_EXPORT +match to 192.0.2.12 ext-community rt 65509:1 set community NO_EXPORT +match to 192.0.2.12 large-community 999:65509:1 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 192.0.2.12 community 65510:1 set community NO_ADVERTISE +match to 192.0.2.12 ext-community rt 65510:1 set community NO_ADVERTISE +match to 192.0.2.12 large-community 999:65510:1 set community NO_ADVERTISE + + +# BGP control communities +allow to 192.0.2.12 + +# do_not_announce_to_any +deny to 192.0.2.12 community 0:999 +deny to 192.0.2.12 ext-community rt 0:999 +deny to 192.0.2.12 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 192.0.2.12 community 0:1 +deny quick to 192.0.2.12 ext-community rt 0:1 +deny quick to 192.0.2.12 large-community 999:0:1 + +# announce_to_peer +allow to 192.0.2.12 community 65501:1 +allow to 192.0.2.12 ext-community rt 65501:1 +allow to 192.0.2.12 large-community 999:65501:1 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 65521:1 set prepend-neighbor 1 +match to 192.0.2.12 ext-community rt 65521:1 set prepend-neighbor 1 +match to 192.0.2.12 large-community 999:65521:1 set prepend-neighbor 1 + +match to 192.0.2.12 community 65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 65522:1 set prepend-neighbor 2 +match to 192.0.2.12 ext-community rt 65522:1 set prepend-neighbor 2 +match to 192.0.2.12 large-community 999:65522:1 set prepend-neighbor 2 + +match to 192.0.2.12 community 65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 65523:1 set prepend-neighbor 3 +match to 192.0.2.12 ext-community rt 65523:1 set prepend-neighbor 3 +match to 192.0.2.12 large-community 999:65523:1 set prepend-neighbor 3 + +match to 192.0.2.12 community 65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 65521:65521 set prepend-neighbor 1 +match to 192.0.2.12 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 192.0.2.12 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 192.0.2.12 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 65522:65522 set prepend-neighbor 2 +match to 192.0.2.12 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 192.0.2.12 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 192.0.2.12 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 65523:65523 set prepend-neighbor 3 +match to 192.0.2.12 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 192.0.2.12 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 192.0.2.12 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS1_4, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::12 set community NO_ADVERTISE +match from 2001:db8:1:1::12 nexthop 2001:db8:1:1::11 set community delete NO_ADVERTISE +match from 2001:db8:1:1::12 nexthop 2001:db8:1:1::12 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::12 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::12 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::12 peer-as != 1' - reject code: 6 +allow quick from 2001:db8:1:1::12 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::12 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::12 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::12 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::12 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::12 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::12 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 2001:db8:1:1::12 AS { 3, 174 }' - reject code: 8 +allow quick from 2001:db8:1:1::12 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 2001:db8:1:1::12 AS { 666, 777 }' - reject code: 15 +allow quick from 2001:db8:1:1::12 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + + +match from 2001:db8:1:1::12 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS1_4, AS1: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::12 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::12 source-as as-set AS_SET_AS_AS1_AS_AS1_CUSTOMERS_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS1_AS_AS1_CUSTOMERS +# AS-SET AS1 referenced but empty. + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS1_4, AS1: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::12 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::12 prefix-set AS_SET_AS_AS1_AS_AS1_CUSTOMERS_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS1_AS_AS1_CUSTOMERS +# AS-SET AS1 referenced but empty. + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::12 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + + + + +# enforcing: origin ASN +# Reject inbound routes when 'from 2001:db8:1:1::12 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 2001:db8:1:1::12 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 2001:db8:1:1::12 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 2001:db8:1:1::12 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + +# Blackhole request? +match from 2001:db8:1:1::12 set ext-community delete rt 65520:1 + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::12 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::12 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::12 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 2001:db8:1:1::12 community BLACKHOLE +allow quick from 2001:db8:1:1::12 community 65534:0 +allow quick from 2001:db8:1:1::12 large-community 65534:0:0 + + +match from 2001:db8:1:1::12 set ext-community rt 65520:1 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 2001:db8:1:1::12 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 2001:db8:1:1::12 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::12 prefix ::/0 prefixlen 17 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::12 prefix ::/0 prefixlen 17 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 2001:db8:1:1::12 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::12 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::12 set ext-community delete rt 65520:1 + + + +allow quick from 2001:db8:1:1::12 + + + +# --------------------------------------------- +# client AS1_4, outbound + +deny quick to 2001:db8:1:1::12 community 65520:0 + + + +# Blackhole request? +# Client not enabled to receive blackhole routes +deny quick to 2001:db8:1:1::12 community BLACKHOLE +deny quick to 2001:db8:1:1::12 community 65534:0 +deny quick to 2001:db8:1:1::12 large-community 65534:0:0 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 2001:db8:1:1::12 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 2001:db8:1:1::12 community 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::12 ext-community rt 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::12 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 2001:db8:1:1::12 community 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::12 ext-community rt 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::12 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 2001:db8:1:1::12 community 65509:1 set community NO_EXPORT +match to 2001:db8:1:1::12 ext-community rt 65509:1 set community NO_EXPORT +match to 2001:db8:1:1::12 large-community 999:65509:1 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 2001:db8:1:1::12 community 65510:1 set community NO_ADVERTISE +match to 2001:db8:1:1::12 ext-community rt 65510:1 set community NO_ADVERTISE +match to 2001:db8:1:1::12 large-community 999:65510:1 set community NO_ADVERTISE + + +# BGP control communities +allow to 2001:db8:1:1::12 + +# do_not_announce_to_any +deny to 2001:db8:1:1::12 community 0:999 +deny to 2001:db8:1:1::12 ext-community rt 0:999 +deny to 2001:db8:1:1::12 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::12 community 0:1 +deny quick to 2001:db8:1:1::12 ext-community rt 0:1 +deny quick to 2001:db8:1:1::12 large-community 999:0:1 + +# announce_to_peer +allow to 2001:db8:1:1::12 community 65501:1 +allow to 2001:db8:1:1::12 ext-community rt 65501:1 +allow to 2001:db8:1:1::12 large-community 999:65501:1 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 65521:1 set prepend-neighbor 1 +match to 2001:db8:1:1::12 ext-community rt 65521:1 set prepend-neighbor 1 +match to 2001:db8:1:1::12 large-community 999:65521:1 set prepend-neighbor 1 + +match to 2001:db8:1:1::12 community 65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 65522:1 set prepend-neighbor 2 +match to 2001:db8:1:1::12 ext-community rt 65522:1 set prepend-neighbor 2 +match to 2001:db8:1:1::12 large-community 999:65522:1 set prepend-neighbor 2 + +match to 2001:db8:1:1::12 community 65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 65523:1 set prepend-neighbor 3 +match to 2001:db8:1:1::12 ext-community rt 65523:1 set prepend-neighbor 3 +match to 2001:db8:1:1::12 large-community 999:65523:1 set prepend-neighbor 3 + +match to 2001:db8:1:1::12 community 65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::12 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::12 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 2001:db8:1:1::12 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::12 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::12 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 2001:db8:1:1::12 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::12 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::12 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 2001:db8:1:1::12 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS222_1, inbound + + + +# NEXT_HOP +match from 192.0.2.222 set community NO_ADVERTISE +match from 192.0.2.222 nexthop 192.0.2.222 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.222 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.222 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.222 peer-as != 222' - reject code: 6 +allow quick from 192.0.2.222 peer-as != 222 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.222 AS 23456' - reject code: 7 +allow quick from 192.0.2.222 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.222 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.222 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.222 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.222 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 192.0.2.222 AS { 3, 174 }' - reject code: 8 +allow quick from 192.0.2.222 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 192.0.2.222 AS { 666, 777 }' - reject code: 15 +allow quick from 192.0.2.222 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + +# client's white list +# Add the $INTCOMM_ROUTE_OK_WL ext community to routes which +# are validated by a client's white list entry. +# It will be used later during IRRDB validation in +# case the route is not authorized by a client's +# AS-SET. +match from 192.0.2.222 prefix 222.1.1.0/24 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.222 prefix 3222:0:1::/48 set ext-community $INTCOMM_ROUTE_OK_WL # None + +match from 192.0.2.222 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS222_1, AS222: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.222 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS222 referenced but empty. +# AS-SET AS_AS222 referenced but empty. + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS222_1, AS222: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.222 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS222 referenced but empty. +# AS-SET AS_AS222 referenced but empty. + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.222 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + + + +# route authorized by a client's white list? +match from 192.0.2.222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set ext-community delete $INTCOMM_IRR_REJECT + +# enforcing: origin ASN +# Reject inbound routes when 'from 192.0.2.222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 192.0.2.222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 192.0.2.222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 192.0.2.222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + +# Blackhole request? +match from 192.0.2.222 set ext-community delete rt 65520:222 + + +# Remove internal communities before accepting the route +match from 192.0.2.222 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.222 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.222 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 192.0.2.222 community BLACKHOLE +allow quick from 192.0.2.222 community 65534:0 +allow quick from 192.0.2.222 large-community 65534:0:0 + + +match from 192.0.2.222 set ext-community rt 65520:222 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 192.0.2.222 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 192.0.2.222 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.222 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.222 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 192.0.2.222 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 192.0.2.222 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.222 set ext-community delete rt 65520:222 + + + +allow quick from 192.0.2.222 + + + +# --------------------------------------------- +# client AS222_1, outbound + +deny quick to 192.0.2.222 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 192.0.2.222 community 65534:0 set community BLACKHOLE +match to 192.0.2.222 large-community 65534:0:0 set community BLACKHOLE + +match to 192.0.2.222 community BLACKHOLE set community NO_EXPORT +match to 192.0.2.222 community BLACKHOLE set nexthop 192.0.2.66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 192.0.2.222 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 192.0.2.222 community 65507:999 set community NO_EXPORT +match to 192.0.2.222 ext-community rt 65507:999 set community NO_EXPORT +match to 192.0.2.222 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 192.0.2.222 community 65508:999 set community NO_ADVERTISE +match to 192.0.2.222 ext-community rt 65508:999 set community NO_ADVERTISE +match to 192.0.2.222 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 192.0.2.222 community 65509:222 set community NO_EXPORT +match to 192.0.2.222 ext-community rt 65509:222 set community NO_EXPORT +match to 192.0.2.222 large-community 999:65509:222 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 192.0.2.222 community 65510:222 set community NO_ADVERTISE +match to 192.0.2.222 ext-community rt 65510:222 set community NO_ADVERTISE +match to 192.0.2.222 large-community 999:65510:222 set community NO_ADVERTISE + + +# BGP control communities +allow to 192.0.2.222 + +# do_not_announce_to_any +deny to 192.0.2.222 community 0:999 +deny to 192.0.2.222 ext-community rt 0:999 +deny to 192.0.2.222 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 192.0.2.222 community 0:222 +deny quick to 192.0.2.222 ext-community rt 0:222 +deny quick to 192.0.2.222 large-community 999:0:222 + +# announce_to_peer +allow to 192.0.2.222 community 65501:222 +allow to 192.0.2.222 ext-community rt 65501:222 +allow to 192.0.2.222 large-community 999:65501:222 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.222 community 65521:222 set prepend-neighbor 1 +match to 192.0.2.222 ext-community rt 65521:222 set prepend-neighbor 1 +match to 192.0.2.222 large-community 999:65521:222 set prepend-neighbor 1 + +match to 192.0.2.222 community 65521:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 ext-community rt 65521:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 large-community 999:65521:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.222 community 65522:222 set prepend-neighbor 2 +match to 192.0.2.222 ext-community rt 65522:222 set prepend-neighbor 2 +match to 192.0.2.222 large-community 999:65522:222 set prepend-neighbor 2 + +match to 192.0.2.222 community 65522:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 ext-community rt 65522:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 large-community 999:65522:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.222 community 65523:222 set prepend-neighbor 3 +match to 192.0.2.222 ext-community rt 65523:222 set prepend-neighbor 3 +match to 192.0.2.222 large-community 999:65523:222 set prepend-neighbor 3 + +match to 192.0.2.222 community 65523:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 ext-community rt 65523:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 large-community 999:65523:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.222 community 65521:65521 set prepend-neighbor 1 +match to 192.0.2.222 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 192.0.2.222 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 192.0.2.222 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.222 community 65522:65522 set prepend-neighbor 2 +match to 192.0.2.222 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 192.0.2.222 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 192.0.2.222 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.222 community 65523:65523 set prepend-neighbor 3 +match to 192.0.2.222 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 192.0.2.222 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 192.0.2.222 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS222_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::222 set community NO_ADVERTISE +match from 2001:db8:1:1::222 nexthop 2001:db8:1:1::222 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::222 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::222 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::222 peer-as != 222' - reject code: 6 +allow quick from 2001:db8:1:1::222 peer-as != 222 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::222 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::222 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::222 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::222 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::222 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::222 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 2001:db8:1:1::222 AS { 3, 174 }' - reject code: 8 +allow quick from 2001:db8:1:1::222 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 2001:db8:1:1::222 AS { 666, 777 }' - reject code: 15 +allow quick from 2001:db8:1:1::222 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + +# client's white list +# Add the $INTCOMM_ROUTE_OK_WL ext community to routes which +# are validated by a client's white list entry. +# It will be used later during IRRDB validation in +# case the route is not authorized by a client's +# AS-SET. +match from 2001:db8:1:1::222 prefix 222.1.1.0/24 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::222 prefix 3222:0:1::/48 set ext-community $INTCOMM_ROUTE_OK_WL # None + +match from 2001:db8:1:1::222 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS222_2, AS222: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::222 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS222 referenced but empty. +# AS-SET AS_AS222 referenced but empty. + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS222_2, AS222: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::222 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS222 referenced but empty. +# AS-SET AS_AS222 referenced but empty. + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::222 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + + + +# route authorized by a client's white list? +match from 2001:db8:1:1::222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set ext-community delete $INTCOMM_IRR_REJECT + +# enforcing: origin ASN +# Reject inbound routes when 'from 2001:db8:1:1::222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 2001:db8:1:1::222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 2001:db8:1:1::222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 2001:db8:1:1::222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + +# Blackhole request? +match from 2001:db8:1:1::222 set ext-community delete rt 65520:222 + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::222 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::222 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::222 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 2001:db8:1:1::222 community BLACKHOLE +allow quick from 2001:db8:1:1::222 community 65534:0 +allow quick from 2001:db8:1:1::222 large-community 65534:0:0 + + +match from 2001:db8:1:1::222 set ext-community rt 65520:222 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 2001:db8:1:1::222 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 2001:db8:1:1::222 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::222 prefix ::/0 prefixlen 17 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::222 prefix ::/0 prefixlen 17 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 2001:db8:1:1::222 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::222 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::222 set ext-community delete rt 65520:222 + + + +allow quick from 2001:db8:1:1::222 + + + +# --------------------------------------------- +# client AS222_2, outbound + +deny quick to 2001:db8:1:1::222 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 2001:db8:1:1::222 community 65534:0 set community BLACKHOLE +match to 2001:db8:1:1::222 large-community 65534:0:0 set community BLACKHOLE + +match to 2001:db8:1:1::222 community BLACKHOLE set community NO_EXPORT +match to 2001:db8:1:1::222 community BLACKHOLE set nexthop 2001:db8:1:1::66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 2001:db8:1:1::222 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 2001:db8:1:1::222 community 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::222 ext-community rt 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::222 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 2001:db8:1:1::222 community 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::222 ext-community rt 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::222 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 2001:db8:1:1::222 community 65509:222 set community NO_EXPORT +match to 2001:db8:1:1::222 ext-community rt 65509:222 set community NO_EXPORT +match to 2001:db8:1:1::222 large-community 999:65509:222 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 2001:db8:1:1::222 community 65510:222 set community NO_ADVERTISE +match to 2001:db8:1:1::222 ext-community rt 65510:222 set community NO_ADVERTISE +match to 2001:db8:1:1::222 large-community 999:65510:222 set community NO_ADVERTISE + + +# BGP control communities +allow to 2001:db8:1:1::222 + +# do_not_announce_to_any +deny to 2001:db8:1:1::222 community 0:999 +deny to 2001:db8:1:1::222 ext-community rt 0:999 +deny to 2001:db8:1:1::222 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::222 community 0:222 +deny quick to 2001:db8:1:1::222 ext-community rt 0:222 +deny quick to 2001:db8:1:1::222 large-community 999:0:222 + +# announce_to_peer +allow to 2001:db8:1:1::222 community 65501:222 +allow to 2001:db8:1:1::222 ext-community rt 65501:222 +allow to 2001:db8:1:1::222 large-community 999:65501:222 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::222 community 65521:222 set prepend-neighbor 1 +match to 2001:db8:1:1::222 ext-community rt 65521:222 set prepend-neighbor 1 +match to 2001:db8:1:1::222 large-community 999:65521:222 set prepend-neighbor 1 + +match to 2001:db8:1:1::222 community 65521:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 ext-community rt 65521:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 large-community 999:65521:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::222 community 65522:222 set prepend-neighbor 2 +match to 2001:db8:1:1::222 ext-community rt 65522:222 set prepend-neighbor 2 +match to 2001:db8:1:1::222 large-community 999:65522:222 set prepend-neighbor 2 + +match to 2001:db8:1:1::222 community 65522:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 ext-community rt 65522:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 large-community 999:65522:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::222 community 65523:222 set prepend-neighbor 3 +match to 2001:db8:1:1::222 ext-community rt 65523:222 set prepend-neighbor 3 +match to 2001:db8:1:1::222 large-community 999:65523:222 set prepend-neighbor 3 + +match to 2001:db8:1:1::222 community 65523:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 ext-community rt 65523:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 large-community 999:65523:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::222 community 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::222 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::222 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 2001:db8:1:1::222 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::222 community 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::222 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::222 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 2001:db8:1:1::222 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::222 community 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::222 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::222 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 2001:db8:1:1::222 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS2_1, inbound + + + +# NEXT_HOP +match from 192.0.2.21 set community NO_ADVERTISE +match from 192.0.2.21 nexthop 192.0.2.21 set community delete NO_ADVERTISE +match from 192.0.2.21 nexthop 192.0.2.22 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.21 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.21 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.21 peer-as != 2' - reject code: 6 +allow quick from 192.0.2.21 peer-as != 2 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.21 AS 23456' - reject code: 7 +allow quick from 192.0.2.21 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.21 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.21 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.21 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.21 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 192.0.2.21 AS { 3, 174 }' - reject code: 8 +allow quick from 192.0.2.21 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 192.0.2.21 AS { 666, 777 }' - reject code: 15 +allow quick from 192.0.2.21 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + + +match from 192.0.2.21 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS2_1, AS2: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.21 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS2 referenced but empty. +match from 192.0.2.21 source-as as-set AS_SET_AS_AS2_AS_AS2_CUSTOMERS_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS2_AS_AS2_CUSTOMERS + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS2_1, AS2: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.21 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS2 referenced but empty. +match from 192.0.2.21 prefix-set AS_SET_AS_AS2_AS_AS2_CUSTOMERS_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS2_AS_AS2_CUSTOMERS + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + + + + +# enforcing: origin ASN +# Reject inbound routes when 'from 192.0.2.21 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 192.0.2.21 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 192.0.2.21 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 192.0.2.21 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + +# Blackhole request? +match from 192.0.2.21 set ext-community delete rt 65520:2 + + +# Remove internal communities before accepting the route +match from 192.0.2.21 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.21 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.21 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 192.0.2.21 community BLACKHOLE +allow quick from 192.0.2.21 community 65534:0 +allow quick from 192.0.2.21 large-community 65534:0:0 + + +match from 192.0.2.21 set ext-community rt 65520:2 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 192.0.2.21 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 192.0.2.21 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.21 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.21 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 192.0.2.21 community GRACEFUL_SHUTDOWN set community delete GRACEFUL_SHUTDOWN + +# Remove internal communities before accepting the route +match from 192.0.2.21 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.21 set ext-community delete rt 65520:2 + + + +allow quick from 192.0.2.21 + + + +# --------------------------------------------- +# client AS2_1, outbound + +deny quick to 192.0.2.21 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 192.0.2.21 community 65534:0 set community BLACKHOLE +match to 192.0.2.21 large-community 65534:0:0 set community BLACKHOLE + +match to 192.0.2.21 community BLACKHOLE set community NO_EXPORT +match to 192.0.2.21 community BLACKHOLE set nexthop 192.0.2.66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 192.0.2.21 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 192.0.2.21 community 65507:999 set community NO_EXPORT +match to 192.0.2.21 ext-community rt 65507:999 set community NO_EXPORT +match to 192.0.2.21 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 192.0.2.21 community 65508:999 set community NO_ADVERTISE +match to 192.0.2.21 ext-community rt 65508:999 set community NO_ADVERTISE +match to 192.0.2.21 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 192.0.2.21 community 65509:2 set community NO_EXPORT +match to 192.0.2.21 ext-community rt 65509:2 set community NO_EXPORT +match to 192.0.2.21 large-community 999:65509:2 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 192.0.2.21 community 65510:2 set community NO_ADVERTISE +match to 192.0.2.21 ext-community rt 65510:2 set community NO_ADVERTISE +match to 192.0.2.21 large-community 999:65510:2 set community NO_ADVERTISE + + +# BGP control communities +allow to 192.0.2.21 + +# do_not_announce_to_any +deny to 192.0.2.21 community 0:999 +deny to 192.0.2.21 ext-community rt 0:999 +deny to 192.0.2.21 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 192.0.2.21 community 0:2 +deny quick to 192.0.2.21 ext-community rt 0:2 +deny quick to 192.0.2.21 large-community 999:0:2 + +# announce_to_peer +allow to 192.0.2.21 community 65501:2 +allow to 192.0.2.21 ext-community rt 65501:2 +allow to 192.0.2.21 large-community 999:65501:2 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 65521:2 set prepend-neighbor 1 +match to 192.0.2.21 ext-community rt 65521:2 set prepend-neighbor 1 +match to 192.0.2.21 large-community 999:65521:2 set prepend-neighbor 1 + +match to 192.0.2.21 community 65521:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 65521:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:65521:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 65522:2 set prepend-neighbor 2 +match to 192.0.2.21 ext-community rt 65522:2 set prepend-neighbor 2 +match to 192.0.2.21 large-community 999:65522:2 set prepend-neighbor 2 + +match to 192.0.2.21 community 65522:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 65522:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:65522:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 65523:2 set prepend-neighbor 3 +match to 192.0.2.21 ext-community rt 65523:2 set prepend-neighbor 3 +match to 192.0.2.21 large-community 999:65523:2 set prepend-neighbor 3 + +match to 192.0.2.21 community 65523:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 65523:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:65523:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 65521:65521 set prepend-neighbor 1 +match to 192.0.2.21 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 192.0.2.21 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 192.0.2.21 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 65522:65522 set prepend-neighbor 2 +match to 192.0.2.21 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 192.0.2.21 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 192.0.2.21 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 65523:65523 set prepend-neighbor 3 +match to 192.0.2.21 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 192.0.2.21 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 192.0.2.21 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS2_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::21 set community NO_ADVERTISE +match from 2001:db8:1:1::21 nexthop 2001:db8:1:1::21 set community delete NO_ADVERTISE +match from 2001:db8:1:1::21 nexthop 2001:db8:1:1::22 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::21 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::21 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::21 peer-as != 2' - reject code: 6 +allow quick from 2001:db8:1:1::21 peer-as != 2 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 2001:db8:1:1::21 AS { 3, 174 }' - reject code: 8 +allow quick from 2001:db8:1:1::21 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 2001:db8:1:1::21 AS { 666, 777 }' - reject code: 15 +allow quick from 2001:db8:1:1::21 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + + +match from 2001:db8:1:1::21 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS2_2, AS2: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::21 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS2 referenced but empty. +match from 2001:db8:1:1::21 source-as as-set AS_SET_AS_AS2_AS_AS2_CUSTOMERS_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS2_AS_AS2_CUSTOMERS + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS2_2, AS2: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::21 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS2 referenced but empty. +match from 2001:db8:1:1::21 prefix-set AS_SET_AS_AS2_AS_AS2_CUSTOMERS_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS2_AS_AS2_CUSTOMERS + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + + + + +# enforcing: origin ASN +# Reject inbound routes when 'from 2001:db8:1:1::21 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 2001:db8:1:1::21 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 2001:db8:1:1::21 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 2001:db8:1:1::21 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + +# Blackhole request? +match from 2001:db8:1:1::21 set ext-community delete rt 65520:2 + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::21 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::21 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::21 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 2001:db8:1:1::21 community BLACKHOLE +allow quick from 2001:db8:1:1::21 community 65534:0 +allow quick from 2001:db8:1:1::21 large-community 65534:0:0 + + +match from 2001:db8:1:1::21 set ext-community rt 65520:2 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 2001:db8:1:1::21 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 2001:db8:1:1::21 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::21 prefix ::/0 prefixlen 17 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::21 prefix ::/0 prefixlen 17 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 2001:db8:1:1::21 community GRACEFUL_SHUTDOWN set community delete GRACEFUL_SHUTDOWN + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::21 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::21 set ext-community delete rt 65520:2 + + + +allow quick from 2001:db8:1:1::21 + + + +# --------------------------------------------- +# client AS2_2, outbound + +deny quick to 2001:db8:1:1::21 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 2001:db8:1:1::21 community 65534:0 set community BLACKHOLE +match to 2001:db8:1:1::21 large-community 65534:0:0 set community BLACKHOLE + +match to 2001:db8:1:1::21 community BLACKHOLE set community NO_EXPORT +match to 2001:db8:1:1::21 community BLACKHOLE set nexthop 2001:db8:1:1::66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 2001:db8:1:1::21 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 2001:db8:1:1::21 community 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::21 ext-community rt 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::21 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 2001:db8:1:1::21 community 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::21 ext-community rt 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::21 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 2001:db8:1:1::21 community 65509:2 set community NO_EXPORT +match to 2001:db8:1:1::21 ext-community rt 65509:2 set community NO_EXPORT +match to 2001:db8:1:1::21 large-community 999:65509:2 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 2001:db8:1:1::21 community 65510:2 set community NO_ADVERTISE +match to 2001:db8:1:1::21 ext-community rt 65510:2 set community NO_ADVERTISE +match to 2001:db8:1:1::21 large-community 999:65510:2 set community NO_ADVERTISE + + +# BGP control communities +allow to 2001:db8:1:1::21 + +# do_not_announce_to_any +deny to 2001:db8:1:1::21 community 0:999 +deny to 2001:db8:1:1::21 ext-community rt 0:999 +deny to 2001:db8:1:1::21 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::21 community 0:2 +deny quick to 2001:db8:1:1::21 ext-community rt 0:2 +deny quick to 2001:db8:1:1::21 large-community 999:0:2 + +# announce_to_peer +allow to 2001:db8:1:1::21 community 65501:2 +allow to 2001:db8:1:1::21 ext-community rt 65501:2 +allow to 2001:db8:1:1::21 large-community 999:65501:2 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 65521:2 set prepend-neighbor 1 +match to 2001:db8:1:1::21 ext-community rt 65521:2 set prepend-neighbor 1 +match to 2001:db8:1:1::21 large-community 999:65521:2 set prepend-neighbor 1 + +match to 2001:db8:1:1::21 community 65521:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 65521:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:65521:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 65522:2 set prepend-neighbor 2 +match to 2001:db8:1:1::21 ext-community rt 65522:2 set prepend-neighbor 2 +match to 2001:db8:1:1::21 large-community 999:65522:2 set prepend-neighbor 2 + +match to 2001:db8:1:1::21 community 65522:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 65522:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:65522:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 65523:2 set prepend-neighbor 3 +match to 2001:db8:1:1::21 ext-community rt 65523:2 set prepend-neighbor 3 +match to 2001:db8:1:1::21 large-community 999:65523:2 set prepend-neighbor 3 + +match to 2001:db8:1:1::21 community 65523:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 65523:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:65523:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::21 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::21 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 2001:db8:1:1::21 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::21 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::21 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 2001:db8:1:1::21 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::21 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::21 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 2001:db8:1:1::21 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS3_1, inbound + + + +# NEXT_HOP +match from 192.0.2.31 set community NO_ADVERTISE +match from 192.0.2.31 nexthop 192.0.2.31 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.31 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.31 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.31 peer-as != 3' - reject code: 6 +allow quick from 192.0.2.31 peer-as != 3 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.31 AS 23456' - reject code: 7 +allow quick from 192.0.2.31 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.31 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.31 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.31 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.31 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 192.0.2.31 AS { 174 }' - reject code: 8 +allow quick from 192.0.2.31 AS { 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 192.0.2.31 AS { 666, 777 }' - reject code: 15 +allow quick from 192.0.2.31 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + + + + +# Prefix: client's blacklist +prefix-set "client_AS3_1_black_list_pref_ipv4" { + 3.0.1.0/24 prefixlen 24 - 32 + +} +# Reject inbound routes when 'from 192.0.2.31 prefix-set client_AS3_1_black_list_pref_ipv4' - reject code: 11 +allow quick from 192.0.2.31 prefix-set client_AS3_1_black_list_pref_ipv4 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:11} + + + + +# Blackhole request? +match from 192.0.2.31 set ext-community delete rt 65520:3 + + +# Remove internal communities before accepting the route +match from 192.0.2.31 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.31 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.31 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 192.0.2.31 community BLACKHOLE +allow quick from 192.0.2.31 community 65534:0 +allow quick from 192.0.2.31 large-community 65534:0:0 + + +match from 192.0.2.31 set ext-community rt 65520:3 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 192.0.2.31 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 192.0.2.31 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.31 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.31 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 192.0.2.31 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 192.0.2.31 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.31 set ext-community delete rt 65520:3 + + + +allow quick from 192.0.2.31 + + + +# --------------------------------------------- +# client AS3_1, outbound + +deny quick to 192.0.2.31 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 192.0.2.31 community 65534:0 set community BLACKHOLE +match to 192.0.2.31 large-community 65534:0:0 set community BLACKHOLE + +match to 192.0.2.31 community BLACKHOLE set community NO_EXPORT +match to 192.0.2.31 community BLACKHOLE set nexthop 192.0.2.66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 192.0.2.31 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 192.0.2.31 community 65507:999 set community NO_EXPORT +match to 192.0.2.31 ext-community rt 65507:999 set community NO_EXPORT +match to 192.0.2.31 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 192.0.2.31 community 65508:999 set community NO_ADVERTISE +match to 192.0.2.31 ext-community rt 65508:999 set community NO_ADVERTISE +match to 192.0.2.31 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 192.0.2.31 community 65509:3 set community NO_EXPORT +match to 192.0.2.31 ext-community rt 65509:3 set community NO_EXPORT +match to 192.0.2.31 large-community 999:65509:3 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 192.0.2.31 community 65510:3 set community NO_ADVERTISE +match to 192.0.2.31 ext-community rt 65510:3 set community NO_ADVERTISE +match to 192.0.2.31 large-community 999:65510:3 set community NO_ADVERTISE + + +# BGP control communities +allow to 192.0.2.31 + +# do_not_announce_to_any +deny to 192.0.2.31 community 0:999 +deny to 192.0.2.31 ext-community rt 0:999 +deny to 192.0.2.31 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 192.0.2.31 community 0:3 +deny quick to 192.0.2.31 ext-community rt 0:3 +deny quick to 192.0.2.31 large-community 999:0:3 + +# announce_to_peer +allow to 192.0.2.31 community 65501:3 +allow to 192.0.2.31 ext-community rt 65501:3 +allow to 192.0.2.31 large-community 999:65501:3 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 65521:3 set prepend-neighbor 1 +match to 192.0.2.31 ext-community rt 65521:3 set prepend-neighbor 1 +match to 192.0.2.31 large-community 999:65521:3 set prepend-neighbor 1 + +match to 192.0.2.31 community 65521:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 65521:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:65521:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 65522:3 set prepend-neighbor 2 +match to 192.0.2.31 ext-community rt 65522:3 set prepend-neighbor 2 +match to 192.0.2.31 large-community 999:65522:3 set prepend-neighbor 2 + +match to 192.0.2.31 community 65522:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 65522:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:65522:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 65523:3 set prepend-neighbor 3 +match to 192.0.2.31 ext-community rt 65523:3 set prepend-neighbor 3 +match to 192.0.2.31 large-community 999:65523:3 set prepend-neighbor 3 + +match to 192.0.2.31 community 65523:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 65523:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:65523:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 65521:65521 set prepend-neighbor 1 +match to 192.0.2.31 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 192.0.2.31 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 192.0.2.31 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 65522:65522 set prepend-neighbor 2 +match to 192.0.2.31 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 192.0.2.31 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 192.0.2.31 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 65523:65523 set prepend-neighbor 3 +match to 192.0.2.31 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 192.0.2.31 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 192.0.2.31 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS3_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::31 set community NO_ADVERTISE +match from 2001:db8:1:1::31 nexthop 2001:db8:1:1::31 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::31 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::31 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::31 peer-as != 3' - reject code: 6 +allow quick from 2001:db8:1:1::31 peer-as != 3 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::31 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::31 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::31 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::31 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::31 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::31 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 2001:db8:1:1::31 AS { 174 }' - reject code: 8 +allow quick from 2001:db8:1:1::31 AS { 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 2001:db8:1:1::31 AS { 666, 777 }' - reject code: 15 +allow quick from 2001:db8:1:1::31 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + + + + +# Prefix: client's blacklist +prefix-set "client_AS3_2_black_list_pref_ipv6" { + 2a03:0:1::/48 prefixlen 48 - 128 + +} +# Reject inbound routes when 'from 2001:db8:1:1::31 prefix-set client_AS3_2_black_list_pref_ipv6' - reject code: 11 +allow quick from 2001:db8:1:1::31 prefix-set client_AS3_2_black_list_pref_ipv6 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:11} + + + + +# Blackhole request? +match from 2001:db8:1:1::31 set ext-community delete rt 65520:3 + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::31 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::31 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::31 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 2001:db8:1:1::31 community BLACKHOLE +allow quick from 2001:db8:1:1::31 community 65534:0 +allow quick from 2001:db8:1:1::31 large-community 65534:0:0 + + +match from 2001:db8:1:1::31 set ext-community rt 65520:3 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 2001:db8:1:1::31 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 2001:db8:1:1::31 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::31 prefix ::/0 prefixlen 17 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::31 prefix ::/0 prefixlen 17 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 2001:db8:1:1::31 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::31 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::31 set ext-community delete rt 65520:3 + + + +allow quick from 2001:db8:1:1::31 + + + +# --------------------------------------------- +# client AS3_2, outbound + +deny quick to 2001:db8:1:1::31 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 2001:db8:1:1::31 community 65534:0 set community BLACKHOLE +match to 2001:db8:1:1::31 large-community 65534:0:0 set community BLACKHOLE + +match to 2001:db8:1:1::31 community BLACKHOLE set community NO_EXPORT +match to 2001:db8:1:1::31 community BLACKHOLE set nexthop 2001:db8:1:1::66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 2001:db8:1:1::31 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 2001:db8:1:1::31 community 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::31 ext-community rt 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::31 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 2001:db8:1:1::31 community 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::31 ext-community rt 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::31 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 2001:db8:1:1::31 community 65509:3 set community NO_EXPORT +match to 2001:db8:1:1::31 ext-community rt 65509:3 set community NO_EXPORT +match to 2001:db8:1:1::31 large-community 999:65509:3 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 2001:db8:1:1::31 community 65510:3 set community NO_ADVERTISE +match to 2001:db8:1:1::31 ext-community rt 65510:3 set community NO_ADVERTISE +match to 2001:db8:1:1::31 large-community 999:65510:3 set community NO_ADVERTISE + + +# BGP control communities +allow to 2001:db8:1:1::31 + +# do_not_announce_to_any +deny to 2001:db8:1:1::31 community 0:999 +deny to 2001:db8:1:1::31 ext-community rt 0:999 +deny to 2001:db8:1:1::31 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::31 community 0:3 +deny quick to 2001:db8:1:1::31 ext-community rt 0:3 +deny quick to 2001:db8:1:1::31 large-community 999:0:3 + +# announce_to_peer +allow to 2001:db8:1:1::31 community 65501:3 +allow to 2001:db8:1:1::31 ext-community rt 65501:3 +allow to 2001:db8:1:1::31 large-community 999:65501:3 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 65521:3 set prepend-neighbor 1 +match to 2001:db8:1:1::31 ext-community rt 65521:3 set prepend-neighbor 1 +match to 2001:db8:1:1::31 large-community 999:65521:3 set prepend-neighbor 1 + +match to 2001:db8:1:1::31 community 65521:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 65521:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:65521:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 65522:3 set prepend-neighbor 2 +match to 2001:db8:1:1::31 ext-community rt 65522:3 set prepend-neighbor 2 +match to 2001:db8:1:1::31 large-community 999:65522:3 set prepend-neighbor 2 + +match to 2001:db8:1:1::31 community 65522:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 65522:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:65522:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 65523:3 set prepend-neighbor 3 +match to 2001:db8:1:1::31 ext-community rt 65523:3 set prepend-neighbor 3 +match to 2001:db8:1:1::31 large-community 999:65523:3 set prepend-neighbor 3 + +match to 2001:db8:1:1::31 community 65523:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 65523:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:65523:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::31 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::31 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 2001:db8:1:1::31 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::31 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::31 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 2001:db8:1:1::31 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::31 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::31 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 2001:db8:1:1::31 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS4_1, inbound + + + +# NEXT_HOP +match from 192.0.2.41 set community NO_ADVERTISE +match from 192.0.2.41 nexthop 192.0.2.41 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.41 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.41 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.41 peer-as != 4' - reject code: 6 +allow quick from 192.0.2.41 peer-as != 4 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.41 AS 23456' - reject code: 7 +allow quick from 192.0.2.41 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.41 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.41 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.41 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.41 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 192.0.2.41 AS { 3, 174 }' - reject code: 8 +allow quick from 192.0.2.41 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 192.0.2.41 AS { 666, 777 }' - reject code: 15 +allow quick from 192.0.2.41 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + + + + + + + +# Blackhole request? +match from 192.0.2.41 set ext-community delete rt 65520:4 + + +# Remove internal communities before accepting the route +match from 192.0.2.41 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.41 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.41 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 192.0.2.41 community BLACKHOLE +allow quick from 192.0.2.41 community 65534:0 +allow quick from 192.0.2.41 large-community 65534:0:0 + + +match from 192.0.2.41 set ext-community rt 65520:4 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 192.0.2.41 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 192.0.2.41 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.41 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.41 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 192.0.2.41 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 192.0.2.41 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.41 set ext-community delete rt 65520:4 + + + +allow quick from 192.0.2.41 + + + +# --------------------------------------------- +# client AS4_1, outbound + +deny quick to 192.0.2.41 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 192.0.2.41 community 65534:0 set community BLACKHOLE +match to 192.0.2.41 large-community 65534:0:0 set community BLACKHOLE + +match to 192.0.2.41 community BLACKHOLE set community NO_EXPORT +match to 192.0.2.41 community BLACKHOLE set nexthop 192.0.2.66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 192.0.2.41 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 192.0.2.41 community 65507:999 set community NO_EXPORT +match to 192.0.2.41 ext-community rt 65507:999 set community NO_EXPORT +match to 192.0.2.41 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 192.0.2.41 community 65508:999 set community NO_ADVERTISE +match to 192.0.2.41 ext-community rt 65508:999 set community NO_ADVERTISE +match to 192.0.2.41 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 192.0.2.41 community 65509:4 set community NO_EXPORT +match to 192.0.2.41 ext-community rt 65509:4 set community NO_EXPORT +match to 192.0.2.41 large-community 999:65509:4 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 192.0.2.41 community 65510:4 set community NO_ADVERTISE +match to 192.0.2.41 ext-community rt 65510:4 set community NO_ADVERTISE +match to 192.0.2.41 large-community 999:65510:4 set community NO_ADVERTISE + + +# BGP control communities +allow to 192.0.2.41 + +# do_not_announce_to_any +deny to 192.0.2.41 community 0:999 +deny to 192.0.2.41 ext-community rt 0:999 +deny to 192.0.2.41 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 192.0.2.41 community 0:4 +deny quick to 192.0.2.41 ext-community rt 0:4 +deny quick to 192.0.2.41 large-community 999:0:4 + +# announce_to_peer +allow to 192.0.2.41 community 65501:4 +allow to 192.0.2.41 ext-community rt 65501:4 +allow to 192.0.2.41 large-community 999:65501:4 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 65521:4 set prepend-neighbor 1 +match to 192.0.2.41 ext-community rt 65521:4 set prepend-neighbor 1 +match to 192.0.2.41 large-community 999:65521:4 set prepend-neighbor 1 + +match to 192.0.2.41 community 65521:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 65521:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:65521:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 65522:4 set prepend-neighbor 2 +match to 192.0.2.41 ext-community rt 65522:4 set prepend-neighbor 2 +match to 192.0.2.41 large-community 999:65522:4 set prepend-neighbor 2 + +match to 192.0.2.41 community 65522:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 65522:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:65522:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 65523:4 set prepend-neighbor 3 +match to 192.0.2.41 ext-community rt 65523:4 set prepend-neighbor 3 +match to 192.0.2.41 large-community 999:65523:4 set prepend-neighbor 3 + +match to 192.0.2.41 community 65523:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 65523:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:65523:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 65521:65521 set prepend-neighbor 1 +match to 192.0.2.41 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 192.0.2.41 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 192.0.2.41 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 65522:65522 set prepend-neighbor 2 +match to 192.0.2.41 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 192.0.2.41 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 192.0.2.41 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 65523:65523 set prepend-neighbor 3 +match to 192.0.2.41 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 192.0.2.41 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 192.0.2.41 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS4_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::41 set community NO_ADVERTISE +match from 2001:db8:1:1::41 nexthop 2001:db8:1:1::41 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::41 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::41 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::41 peer-as != 4' - reject code: 6 +allow quick from 2001:db8:1:1::41 peer-as != 4 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 2001:db8:1:1::41 AS { 3, 174 }' - reject code: 8 +allow quick from 2001:db8:1:1::41 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 2001:db8:1:1::41 AS { 666, 777 }' - reject code: 15 +allow quick from 2001:db8:1:1::41 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + + + + + + + +# Blackhole request? +match from 2001:db8:1:1::41 set ext-community delete rt 65520:4 + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::41 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::41 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::41 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 2001:db8:1:1::41 community BLACKHOLE +allow quick from 2001:db8:1:1::41 community 65534:0 +allow quick from 2001:db8:1:1::41 large-community 65534:0:0 + + +match from 2001:db8:1:1::41 set ext-community rt 65520:4 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 2001:db8:1:1::41 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 2001:db8:1:1::41 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::41 prefix ::/0 prefixlen 17 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::41 prefix ::/0 prefixlen 17 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 2001:db8:1:1::41 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::41 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::41 set ext-community delete rt 65520:4 + + + +allow quick from 2001:db8:1:1::41 + + + +# --------------------------------------------- +# client AS4_2, outbound + +deny quick to 2001:db8:1:1::41 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 2001:db8:1:1::41 community 65534:0 set community BLACKHOLE +match to 2001:db8:1:1::41 large-community 65534:0:0 set community BLACKHOLE + +match to 2001:db8:1:1::41 community BLACKHOLE set community NO_EXPORT +match to 2001:db8:1:1::41 community BLACKHOLE set nexthop 2001:db8:1:1::66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 2001:db8:1:1::41 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 2001:db8:1:1::41 community 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::41 ext-community rt 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::41 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 2001:db8:1:1::41 community 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::41 ext-community rt 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::41 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 2001:db8:1:1::41 community 65509:4 set community NO_EXPORT +match to 2001:db8:1:1::41 ext-community rt 65509:4 set community NO_EXPORT +match to 2001:db8:1:1::41 large-community 999:65509:4 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 2001:db8:1:1::41 community 65510:4 set community NO_ADVERTISE +match to 2001:db8:1:1::41 ext-community rt 65510:4 set community NO_ADVERTISE +match to 2001:db8:1:1::41 large-community 999:65510:4 set community NO_ADVERTISE + + +# BGP control communities +allow to 2001:db8:1:1::41 + +# do_not_announce_to_any +deny to 2001:db8:1:1::41 community 0:999 +deny to 2001:db8:1:1::41 ext-community rt 0:999 +deny to 2001:db8:1:1::41 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::41 community 0:4 +deny quick to 2001:db8:1:1::41 ext-community rt 0:4 +deny quick to 2001:db8:1:1::41 large-community 999:0:4 + +# announce_to_peer +allow to 2001:db8:1:1::41 community 65501:4 +allow to 2001:db8:1:1::41 ext-community rt 65501:4 +allow to 2001:db8:1:1::41 large-community 999:65501:4 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 65521:4 set prepend-neighbor 1 +match to 2001:db8:1:1::41 ext-community rt 65521:4 set prepend-neighbor 1 +match to 2001:db8:1:1::41 large-community 999:65521:4 set prepend-neighbor 1 + +match to 2001:db8:1:1::41 community 65521:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 65521:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:65521:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 65522:4 set prepend-neighbor 2 +match to 2001:db8:1:1::41 ext-community rt 65522:4 set prepend-neighbor 2 +match to 2001:db8:1:1::41 large-community 999:65522:4 set prepend-neighbor 2 + +match to 2001:db8:1:1::41 community 65522:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 65522:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:65522:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 65523:4 set prepend-neighbor 3 +match to 2001:db8:1:1::41 ext-community rt 65523:4 set prepend-neighbor 3 +match to 2001:db8:1:1::41 large-community 999:65523:4 set prepend-neighbor 3 + +match to 2001:db8:1:1::41 community 65523:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 65523:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:65523:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::41 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::41 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 2001:db8:1:1::41 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::41 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::41 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 2001:db8:1:1::41 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::41 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::41 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 2001:db8:1:1::41 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + + + +# Scrub communities from outbound routes +# add_noadvertise_to_any +match to group clients set community delete 65508:999 +match to group clients set ext-community delete rt 65508:999 +match to group clients set large-community delete 999:65508:999 + +# add_noadvertise_to_peer +match to group clients set community delete 65510:* +# Warning: rt:65510:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:65510:* + +# add_noexport_to_any +match to group clients set community delete 65507:999 +match to group clients set ext-community delete rt 65507:999 +match to group clients set large-community delete 999:65507:999 + +# add_noexport_to_peer +match to group clients set community delete 65509:* +# Warning: rt:65509:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:65509:* + +# announce_to_peer +match to group clients set community delete 65501:* +# Warning: rt:65501:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:65501:* + +# announce_to_peers_with_rtt_higher_than +match to group clients set community delete 64533:* +# Warning: rt:64533:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64533:* + +# announce_to_peers_with_rtt_lower_than +match to group clients set community delete 64532:* +# Warning: rt:64532:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64532:* + +# blackholing +match to group clients set community delete 65534:0 +match to group clients set large-community delete 65534:0:0 + +# do_not_announce_to_any +match to group clients set community delete 0:999 +match to group clients set ext-community delete rt 0:999 +match to group clients set large-community delete 999:0:999 + +# do_not_announce_to_peer +match to group clients set community delete 0:* +# Warning: rt:0:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:0:* + +# do_not_announce_to_peers_with_rtt_higher_than +match to group clients set community delete 64531:* +# Warning: rt:64531:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64531:* + +# do_not_announce_to_peers_with_rtt_lower_than +match to group clients set community delete 64530:* +# Warning: rt:64530:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64530:* + +# prepend_once_to_any +match to group clients set community delete 65521:65521 +match to group clients set ext-community delete rt 65521:65521 +match to group clients set large-community delete 999:65521:65521 + +# prepend_once_to_peer +match to group clients set community delete 65521:* +# Warning: rt:65521:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:65521:* + +# prepend_once_to_peers_with_rtt_higher_than +match to group clients set community delete 64537:* +# Warning: rt:64537:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64537:* + +# prepend_once_to_peers_with_rtt_lower_than +match to group clients set community delete 64534:* +# Warning: rt:64534:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64534:* + +# prepend_thrice_to_any +match to group clients set community delete 65523:65523 +match to group clients set ext-community delete rt 65523:65523 +match to group clients set large-community delete 999:65523:65523 + +# prepend_thrice_to_peer +match to group clients set community delete 65523:* +# Warning: rt:65523:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:65523:* + +# prepend_thrice_to_peers_with_rtt_higher_than +match to group clients set community delete 64539:* +# Warning: rt:64539:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64539:* + +# prepend_thrice_to_peers_with_rtt_lower_than +match to group clients set community delete 64536:* +# Warning: rt:64536:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64536:* + +# prepend_twice_to_any +match to group clients set community delete 65522:65522 +match to group clients set ext-community delete rt 65522:65522 +match to group clients set large-community delete 999:65522:65522 + +# prepend_twice_to_peer +match to group clients set community delete 65522:* +# Warning: rt:65522:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:65522:* + +# prepend_twice_to_peers_with_rtt_higher_than +match to group clients set community delete 64538:* +# Warning: rt:64538:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64538:* + +# prepend_twice_to_peers_with_rtt_lower_than +match to group clients set community delete 64535:* +# Warning: rt:64535:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64535:* + + +# Scrub prepending communities +match to group clients set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 } +match to group clients set { community delete 65521:0 ext-community delete rt 65521:0 large-community delete 999:65521:0 } +match to group clients set { community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* } +match to group clients set { community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* } +match to group clients set { community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 } +match to group clients set { community delete 65523:0 ext-community delete rt 65523:0 large-community delete 999:65523:0 } +match to group clients set { community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* } +match to group clients set { community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* } +match to group clients set { community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 } +match to group clients set { community delete 65522:0 ext-community delete rt 65522:0 large-community delete 999:65522:0 } +match to group clients set { community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* } +match to group clients set { community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# RFC1997 NO_EXPORT/NO_ADVERTISE received from clients and propagated because of pass-through policy +match to group clients ext-community $INTCOMM_NO_EXPORT set community NO_EXPORT +match to group clients ext-community $INTCOMM_NO_ADVERTISE set community NO_ADVERTISE + +# Remove internal communities before announcing the route +match to group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + +include "/etc/bgpd/post-filters.local" + + diff --git a/tests/live_tests/scenarios/tag_reject_policy/configs/TagRejectPolicyScenario_OpenBGPDIPv4/openbgpd69p.conf b/tests/live_tests/scenarios/tag_reject_policy/configs/TagRejectPolicyScenario_OpenBGPDIPv4/openbgpd69p.conf new file mode 100644 index 00000000..0d1b409b --- /dev/null +++ b/tests/live_tests/scenarios/tag_reject_policy/configs/TagRejectPolicyScenario_OpenBGPDIPv4/openbgpd69p.conf @@ -0,0 +1,3517 @@ +# built by ARouteServer +AS 999 +router-id 192.0.2.2 + +fib-update no +log updates + +nexthop qualify via default + +rde evaluate all + +INTCOMM_PREF_OK_ROA="soo 65535:1" +INTCOMM_ROUTE_OK_WL="soo 65535:2" +INTCOMM_PREF_OK_ARINDB="soo 65535:3" +INTCOMM_PREF_OK_REGISTROBRDB="soo 65535:12" + +INTCOMM_ORIGIN_OK="soo 65535:4" +INTCOMM_ORIGIN_KO="soo 65535:5" +INTCOMM_PREFIX_OK="soo 65535:6" +INTCOMM_PREFIX_KO="soo 65535:7" +INTCOMM_IRR_REJECT="soo 65535:8" + +INTCOMM_RPKI_UNKNOWN="soo 65535:9" +INTCOMM_RPKI_INVALID="soo 65535:10" +INTCOMM_RPKI_VALID="soo 65535:11" + +INTCOMM_NO_EXPORT="soo 65535:65281" +INTCOMM_NO_ADVERTISE="soo 65535:65282" + +# --------------------------------------------------------- +# IRRDB + +# AS222, used by client AS222_1, client AS222_2 +# no origin ASNs found for AS222 +# no prefixes found for AS222 + +# AS2, used by client AS2_1, client AS2_2 +# no origin ASNs found for AS2 +# no prefixes found for AS2 + +# AS-AS1, AS-AS1_CUSTOMERS, used by client AS1_1, client AS1_2, client AS1_3, client AS1_4 +as-set "AS_SET_AS_AS1_AS_AS1_CUSTOMERS_asns" { + 1 101 +} +prefix-set "AS_SET_AS_AS1_AS_AS1_CUSTOMERS_prefixes" { + 2a01::/32 prefixlen 32 - 128 + 2a99::/16 prefixlen 16 - 128 + 3101::/32 prefixlen 32 - 128 +} + +# AS-AS2, AS-AS2_CUSTOMERS, used by client AS2_1, client AS2_2 +as-set "AS_SET_AS_AS2_AS_AS2_CUSTOMERS_asns" { + 2 101 +} +prefix-set "AS_SET_AS_AS2_AS_AS2_CUSTOMERS_prefixes" { + 2a02::/32 prefixlen 32 - 128 + 3101::/32 prefixlen 32 - 128 +} + +# WHITE_LIST_AS1_2, used by client AS1_2 white list +as-set "AS_SET_WHITE_LIST_AS1_2_asns" { + 1011 +} +prefix-set "AS_SET_WHITE_LIST_AS1_2_prefixes" { + 11.1.0.0/16 prefixlen 16 - 32 + 2a11:1::/32 prefixlen 32 - 128 +} + +# AS-AS222, used by client AS222_1, client AS222_2 +# no origin ASNs found for AS_AS222 +# no prefixes found for AS_AS222 + +# AS1, used by client AS1_1, client AS1_2, client AS1_3, client AS1_4 +# no origin ASNs found for AS1 +# no prefixes found for AS1 + +# WHITE_LIST_AS1_1, used by client AS1_1 white list +as-set "AS_SET_WHITE_LIST_AS1_1_asns" { + 1011 +} +prefix-set "AS_SET_WHITE_LIST_AS1_1_prefixes" { + 11.1.0.0/16 prefixlen 16 - 32 + 2a11:1::/32 prefixlen 32 - 128 +} + + + + +# --------------------------------------------------------- +# MEMBERS + +group "clients" { + + neighbor 192.0.2.11 { + remote-as 1 + + rde evaluate all + + descr "AS1_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::11 { + remote-as 1 + + rde evaluate all + + descr "AS1_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.12 { + remote-as 1 + + rde evaluate all + + descr "AS1_2 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::12 { + remote-as 1 + + rde evaluate all + + descr "AS1_2 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.222 { + remote-as 222 + + rde evaluate all + + descr "AS222_1 client" + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::222 { + remote-as 222 + + rde evaluate all + + descr "AS222_1 client" + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.21 { + remote-as 2 + + rde evaluate all + + descr "AS2_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::21 { + remote-as 2 + + rde evaluate all + + descr "AS2_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.31 { + remote-as 3 + + rde evaluate all + + descr "AS3_1 client" + ttl-security no + transparent-as no + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::31 { + remote-as 3 + + rde evaluate all + + descr "AS3_1 client" + ttl-security no + transparent-as no + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.41 { + remote-as 4 + + rde evaluate all + + descr "AS4_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::41 { + remote-as 4 + + rde evaluate all + + descr "AS4_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } +} + +include "/etc/bgpd/post-clients.local" + + + +# --------------------------------------------------------- +# FILTERS + +# NO_ADVERTISE usage notes. +# The NO_ADVERTISE well-know community is used here to handle +# filters that span over multiple steps. At first it is added +# to any route, then it is removed as filters conditions are +# satisfied. Finally, if it is still present, it means that +# the route should be discarded. + + + + +prefix-set "global_black_list_pref" { + 192.0.2.0/24 prefixlen 24 - 32 + 2001:db8::/32 prefixlen 32 - 128 + +} + +prefix-set "bogons" { + 0.0.0.0/0 + 0.0.0.0/8 prefixlen 8 - 32 + 10.0.0.0/8 prefixlen 8 - 32 + 127.0.0.0/8 prefixlen 8 - 32 + 169.254.0.0/16 prefixlen 16 - 32 + 172.16.0.0/12 prefixlen 12 - 32 + 192.0.2.0/24 prefixlen 24 - 32 + 192.88.99.0/24 prefixlen 24 - 32 + 192.168.0.0/16 prefixlen 16 - 32 + 198.18.0.0/15 prefixlen 15 - 32 + 198.51.100.0/24 prefixlen 24 - 32 + 203.0.113.0/24 prefixlen 24 - 32 + 224.0.0.0/3 prefixlen 3 - 32 + 100.64.0.0/10 prefixlen 10 - 32 + ::/0 + ::/8 prefixlen 8 - 128 + 64:ff9b::/96 prefixlen 96 - 128 + 100::/8 prefixlen 8 - 128 + 200::/7 prefixlen 7 - 128 + 400::/6 prefixlen 6 - 128 + 800::/5 prefixlen 5 - 128 + 1000::/4 prefixlen 4 - 128 + 2001::/33 prefixlen 33 - 128 + 2001:0:8000::/33 prefixlen 33 - 128 + 2001:2::/48 prefixlen 48 - 128 + 2001:3::/32 prefixlen 32 - 128 + 2001:10::/28 prefixlen 28 - 128 + 2001:20::/28 prefixlen 28 - 128 + 2001:db8::/32 prefixlen 32 - 128 + 2002::/16 prefixlen 16 - 128 + 3ffe::/16 prefixlen 16 - 128 + 4000::/3 prefixlen 3 - 128 + 5f00::/8 prefixlen 8 - 128 + 6000::/3 prefixlen 3 - 128 + 8000::/3 prefixlen 3 - 128 + a000::/3 prefixlen 3 - 128 + c000::/3 prefixlen 3 - 128 + e000::/4 prefixlen 4 - 128 + f000::/5 prefixlen 5 - 128 + f800::/6 prefixlen 6 - 128 + fc00::/7 prefixlen 7 - 128 + fe80::/10 prefixlen 10 - 128 + fec0::/10 prefixlen 10 - 128 + ff00::/8 prefixlen 8 - 128 + +} + +# ===================================================================================== +# Global rules. + +# This part of configuration is processed at the beginning of the filters. +# The rules defined in this part are applied to all the clients, and not on a +# client-by-client basis (see the 'match from group clients'), so only global policies +# can be implemented here, that is no client-level configuration are allowed. + + + +# Scrub communities from inbound routes +# origin_not_present_in_as_set +match from group clients set community delete 65530:0 +match from group clients set large-community delete 999:65530:0 + +# origin_present_in_as_set +match from group clients set community delete 65530:1 +match from group clients set large-community delete 999:65530:1 + +# prefix_validated_via_arin_whois_db_dump +match from group clients set community delete 65530:3 +match from group clients set large-community delete 999:65530:3 + +# prefix_validated_via_rpki_roas +match from group clients set community delete 65530:2 +match from group clients set large-community delete 999:65530:2 + + +# Scrub internal communities from inbound routes +match from group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + + +# The main goal of this block is to enrich routes received from clients by attaching to them +# internal informational communities which are used later by the rest of the filter rules. + +# Internal communities used for RFC1997 well-known communities handling + +# Transform NO_EXPORT into $INTCOMM_NO_EXPORT +match from group clients community NO_EXPORT set { ext-community $INTCOMM_NO_EXPORT community delete NO_EXPORT } + +# Transform NO_ADVERTISE into $INTCOMM_NO_ADVERTISE +match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ADVERTISE community delete NO_ADVERTISE } + + +# --------------------------------------------------------- +# ROAs source + + +roa-set { + 101.3.0.0/16 maxlen 24 source-as 105 + 101.2.0.0/17 source-as 101 + 101.2.128.0/17 maxlen 24 source-as 101 + 101.0.128.0/20 maxlen 23 source-as 101 + 101.0.8.0/24 source-as 101 + 101.0.9.0/24 source-as 102 + 222.1.1.0/24 source-as 333 + 3101:3::/32 maxlen 48 source-as 105 + 3101:0:8000::/33 maxlen 34 source-as 101 + 3101:2:8000::/33 maxlen 48 source-as 101 + 3101:2::/33 source-as 101 + 3101:0:8::/48 source-as 101 + 3101:0:9::/48 source-as 102 + 3222:0:1::/48 source-as 333 + +} + + + +# --------------------------------------------------------- +# RPKI-based Origin Validation + + +# Add $INTCOMM_RPKI_UNKNOWN, $INTCOMM_RPKI_INVALID and $INTCOMM_RPKI_VALID +# ext community on the basis of ovs. +match from group clients ovs not-found set ext-community $INTCOMM_RPKI_UNKNOWN +match from group clients ovs valid set ext-community $INTCOMM_RPKI_VALID +match from group clients ovs invalid set ext-community $INTCOMM_RPKI_INVALID + + + +# --------------------------------------------------------- +# RPKI ROAs used as route objects. + +# Add the $INTCOMM_PREF_OK_ROA ext community to routes whose +# origin ASN has a ROA for the announced prefix. +# It will be used later during IRRDB validation in +# case the origin ASN is authorized by a client's +# AS-SET but the prefix is not. + +# Since RPKI-based Origin Validation is already performed above, +# use the origin validation state to identify valid routes. +match from group clients ovs valid set ext-community $INTCOMM_PREF_OK_ROA + + + + + + +# Set the 'rejected_route_announced_by' community for all the clients. +# It will be removed later if the route is not invalid +match from 192.0.2.11 set ext-community rt 65520:1 + +match from 2001:db8:1:1::11 set ext-community rt 65520:1 + +match from 192.0.2.12 set ext-community rt 65520:1 + +match from 2001:db8:1:1::12 set ext-community rt 65520:1 + +match from 192.0.2.222 set ext-community rt 65520:222 + +match from 2001:db8:1:1::222 set ext-community rt 65520:222 + +match from 192.0.2.21 set ext-community rt 65520:2 + +match from 2001:db8:1:1::21 set ext-community rt 65520:2 + +match from 192.0.2.31 set ext-community rt 65520:3 + +match from 2001:db8:1:1::31 set ext-community rt 65520:3 + +match from 192.0.2.41 set ext-community rt 65520:4 + +match from 2001:db8:1:1::41 set ext-community rt 65520:4 + + + + +# AS_PATH: length +# Reject inbound routes when 'from group clients max-as-len 6' - reject code: 1 +allow quick from group clients max-as-len 6 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:1} + + +# Prefix: global blacklist +# Reject inbound routes when 'from group clients prefix-set global_black_list_pref' - reject code: 3 +allow quick from group clients prefix-set global_black_list_pref set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:3} + + +# Prefix: only IPv6 Global Unicast space allowed +match from group clients inet6 set community NO_ADVERTISE +match from group clients prefix 2000::/3 or-longer set community delete NO_ADVERTISE +# Reject inbound routes when 'from group clients community NO_ADVERTISE' - reject code: 10 +allow quick from group clients community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:10} + + +# Prefix: bogon +# Reject inbound routes when 'from group clients prefix-set bogons' - reject code: 2 +allow quick from group clients prefix-set bogons set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:2} + + + + +# ===================================================================================== +# Per client rules. + + +# --------------------------------------------- +# client AS1_1, inbound + + + +# NEXT_HOP +match from 192.0.2.11 set community NO_ADVERTISE +match from 192.0.2.11 nexthop 192.0.2.11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.11 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.11 peer-as != 1' - reject code: 6 +allow quick from 192.0.2.11 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.11 AS 23456' - reject code: 7 +allow quick from 192.0.2.11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 192.0.2.11 AS { 3, 174 }' - reject code: 8 +allow quick from 192.0.2.11 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 192.0.2.11 AS { 666, 777 }' - reject code: 15 +allow quick from 192.0.2.11 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + +# client's white list +# Add the $INTCOMM_ROUTE_OK_WL ext community to routes which +# are validated by a client's white list entry. +# It will be used later during IRRDB validation in +# case the route is not authorized by a client's +# AS-SET. +match from 192.0.2.11 prefix 11.3.0.0/16 source-as 1011 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.11 prefix 11.4.0.0/16 prefixlen 16 - 32 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.11 prefix 2a11:3::/32 source-as 1011 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.11 prefix 2a11:4::/32 prefixlen 32 - 128 set ext-community $INTCOMM_ROUTE_OK_WL # None + +match from 192.0.2.11 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS1_1, AS1: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.11 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.11 source-as as-set AS_SET_AS_AS1_AS_AS1_CUSTOMERS_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS1_AS_AS1_CUSTOMERS +# AS-SET AS1 referenced but empty. +match from 192.0.2.11 source-as as-set AS_SET_WHITE_LIST_AS1_1_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # WHITE_LIST_AS1_1 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS1_1, AS1: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.11 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.11 prefix-set AS_SET_AS_AS1_AS_AS1_CUSTOMERS_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS1_AS_AS1_CUSTOMERS +# AS-SET AS1 referenced but empty. +match from 192.0.2.11 prefix-set AS_SET_WHITE_LIST_AS1_1_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # WHITE_LIST_AS1_1 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + + + +# route authorized by a client's white list? +match from 192.0.2.11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set ext-community delete $INTCOMM_IRR_REJECT + +# enforcing: origin ASN +# Reject inbound routes when 'from 192.0.2.11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 192.0.2.11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 192.0.2.11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 192.0.2.11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + +# Blackhole request? +match from 192.0.2.11 set ext-community delete rt 65520:1 + + +# Remove internal communities before accepting the route +match from 192.0.2.11 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.11 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.11 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 192.0.2.11 community BLACKHOLE +allow quick from 192.0.2.11 community 65534:0 +allow quick from 192.0.2.11 large-community 65534:0:0 + + +match from 192.0.2.11 set ext-community rt 65520:1 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 192.0.2.11 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 192.0.2.11 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 192.0.2.11 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 192.0.2.11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.11 set ext-community delete rt 65520:1 + + + +allow quick from 192.0.2.11 + + + +# --------------------------------------------- +# client AS1_1, outbound + +deny quick to 192.0.2.11 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 192.0.2.11 community 65534:0 set community BLACKHOLE +match to 192.0.2.11 large-community 65534:0:0 set community BLACKHOLE + +match to 192.0.2.11 community BLACKHOLE set community NO_EXPORT +match to 192.0.2.11 community BLACKHOLE set nexthop 192.0.2.66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 192.0.2.11 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 192.0.2.11 community 65507:999 set community NO_EXPORT +match to 192.0.2.11 ext-community rt 65507:999 set community NO_EXPORT +match to 192.0.2.11 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 192.0.2.11 community 65508:999 set community NO_ADVERTISE +match to 192.0.2.11 ext-community rt 65508:999 set community NO_ADVERTISE +match to 192.0.2.11 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 192.0.2.11 community 65509:1 set community NO_EXPORT +match to 192.0.2.11 ext-community rt 65509:1 set community NO_EXPORT +match to 192.0.2.11 large-community 999:65509:1 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 192.0.2.11 community 65510:1 set community NO_ADVERTISE +match to 192.0.2.11 ext-community rt 65510:1 set community NO_ADVERTISE +match to 192.0.2.11 large-community 999:65510:1 set community NO_ADVERTISE + + +# BGP control communities +allow to 192.0.2.11 + +# do_not_announce_to_any +deny to 192.0.2.11 community 0:999 +deny to 192.0.2.11 ext-community rt 0:999 +deny to 192.0.2.11 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 192.0.2.11 community 0:1 +deny quick to 192.0.2.11 ext-community rt 0:1 +deny quick to 192.0.2.11 large-community 999:0:1 + +# announce_to_peer +allow to 192.0.2.11 community 65501:1 +allow to 192.0.2.11 ext-community rt 65501:1 +allow to 192.0.2.11 large-community 999:65501:1 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 65521:1 set prepend-neighbor 1 +match to 192.0.2.11 ext-community rt 65521:1 set prepend-neighbor 1 +match to 192.0.2.11 large-community 999:65521:1 set prepend-neighbor 1 + +match to 192.0.2.11 community 65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 65522:1 set prepend-neighbor 2 +match to 192.0.2.11 ext-community rt 65522:1 set prepend-neighbor 2 +match to 192.0.2.11 large-community 999:65522:1 set prepend-neighbor 2 + +match to 192.0.2.11 community 65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 65523:1 set prepend-neighbor 3 +match to 192.0.2.11 ext-community rt 65523:1 set prepend-neighbor 3 +match to 192.0.2.11 large-community 999:65523:1 set prepend-neighbor 3 + +match to 192.0.2.11 community 65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 65521:65521 set prepend-neighbor 1 +match to 192.0.2.11 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 192.0.2.11 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 192.0.2.11 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 65522:65522 set prepend-neighbor 2 +match to 192.0.2.11 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 192.0.2.11 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 192.0.2.11 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 65523:65523 set prepend-neighbor 3 +match to 192.0.2.11 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 192.0.2.11 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 192.0.2.11 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS1_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::11 set community NO_ADVERTISE +match from 2001:db8:1:1::11 nexthop 2001:db8:1:1::11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::11 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::11 peer-as != 1' - reject code: 6 +allow quick from 2001:db8:1:1::11 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 2001:db8:1:1::11 AS { 3, 174 }' - reject code: 8 +allow quick from 2001:db8:1:1::11 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 2001:db8:1:1::11 AS { 666, 777 }' - reject code: 15 +allow quick from 2001:db8:1:1::11 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + +# client's white list +# Add the $INTCOMM_ROUTE_OK_WL ext community to routes which +# are validated by a client's white list entry. +# It will be used later during IRRDB validation in +# case the route is not authorized by a client's +# AS-SET. +match from 2001:db8:1:1::11 prefix 11.3.0.0/16 source-as 1011 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::11 prefix 11.4.0.0/16 prefixlen 16 - 32 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::11 prefix 2a11:3::/32 source-as 1011 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::11 prefix 2a11:4::/32 prefixlen 32 - 128 set ext-community $INTCOMM_ROUTE_OK_WL # None + +match from 2001:db8:1:1::11 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS1_2, AS1: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::11 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::11 source-as as-set AS_SET_AS_AS1_AS_AS1_CUSTOMERS_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS1_AS_AS1_CUSTOMERS +match from 2001:db8:1:1::11 source-as as-set AS_SET_WHITE_LIST_AS1_2_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # WHITE_LIST_AS1_2 +# AS-SET AS1 referenced but empty. + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS1_2, AS1: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::11 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::11 prefix-set AS_SET_AS_AS1_AS_AS1_CUSTOMERS_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS1_AS_AS1_CUSTOMERS +match from 2001:db8:1:1::11 prefix-set AS_SET_WHITE_LIST_AS1_2_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # WHITE_LIST_AS1_2 +# AS-SET AS1 referenced but empty. + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + + + +# route authorized by a client's white list? +match from 2001:db8:1:1::11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set ext-community delete $INTCOMM_IRR_REJECT + +# enforcing: origin ASN +# Reject inbound routes when 'from 2001:db8:1:1::11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 2001:db8:1:1::11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 2001:db8:1:1::11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 2001:db8:1:1::11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + +# Blackhole request? +match from 2001:db8:1:1::11 set ext-community delete rt 65520:1 + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::11 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::11 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::11 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 2001:db8:1:1::11 community BLACKHOLE +allow quick from 2001:db8:1:1::11 community 65534:0 +allow quick from 2001:db8:1:1::11 large-community 65534:0:0 + + +match from 2001:db8:1:1::11 set ext-community rt 65520:1 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 2001:db8:1:1::11 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 2001:db8:1:1::11 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::11 prefix ::/0 prefixlen 17 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::11 prefix ::/0 prefixlen 17 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 2001:db8:1:1::11 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::11 set ext-community delete rt 65520:1 + + + +allow quick from 2001:db8:1:1::11 + + + +# --------------------------------------------- +# client AS1_2, outbound + +deny quick to 2001:db8:1:1::11 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 2001:db8:1:1::11 community 65534:0 set community BLACKHOLE +match to 2001:db8:1:1::11 large-community 65534:0:0 set community BLACKHOLE + +match to 2001:db8:1:1::11 community BLACKHOLE set community NO_EXPORT +match to 2001:db8:1:1::11 community BLACKHOLE set nexthop 2001:db8:1:1::66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 2001:db8:1:1::11 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 2001:db8:1:1::11 community 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::11 ext-community rt 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::11 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 2001:db8:1:1::11 community 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::11 ext-community rt 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::11 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 2001:db8:1:1::11 community 65509:1 set community NO_EXPORT +match to 2001:db8:1:1::11 ext-community rt 65509:1 set community NO_EXPORT +match to 2001:db8:1:1::11 large-community 999:65509:1 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 2001:db8:1:1::11 community 65510:1 set community NO_ADVERTISE +match to 2001:db8:1:1::11 ext-community rt 65510:1 set community NO_ADVERTISE +match to 2001:db8:1:1::11 large-community 999:65510:1 set community NO_ADVERTISE + + +# BGP control communities +allow to 2001:db8:1:1::11 + +# do_not_announce_to_any +deny to 2001:db8:1:1::11 community 0:999 +deny to 2001:db8:1:1::11 ext-community rt 0:999 +deny to 2001:db8:1:1::11 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::11 community 0:1 +deny quick to 2001:db8:1:1::11 ext-community rt 0:1 +deny quick to 2001:db8:1:1::11 large-community 999:0:1 + +# announce_to_peer +allow to 2001:db8:1:1::11 community 65501:1 +allow to 2001:db8:1:1::11 ext-community rt 65501:1 +allow to 2001:db8:1:1::11 large-community 999:65501:1 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 65521:1 set prepend-neighbor 1 +match to 2001:db8:1:1::11 ext-community rt 65521:1 set prepend-neighbor 1 +match to 2001:db8:1:1::11 large-community 999:65521:1 set prepend-neighbor 1 + +match to 2001:db8:1:1::11 community 65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 65522:1 set prepend-neighbor 2 +match to 2001:db8:1:1::11 ext-community rt 65522:1 set prepend-neighbor 2 +match to 2001:db8:1:1::11 large-community 999:65522:1 set prepend-neighbor 2 + +match to 2001:db8:1:1::11 community 65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 65523:1 set prepend-neighbor 3 +match to 2001:db8:1:1::11 ext-community rt 65523:1 set prepend-neighbor 3 +match to 2001:db8:1:1::11 large-community 999:65523:1 set prepend-neighbor 3 + +match to 2001:db8:1:1::11 community 65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::11 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::11 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 2001:db8:1:1::11 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::11 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::11 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 2001:db8:1:1::11 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::11 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::11 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 2001:db8:1:1::11 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS1_3, inbound + + + +# NEXT_HOP +match from 192.0.2.12 set community NO_ADVERTISE +match from 192.0.2.12 nexthop 192.0.2.11 set community delete NO_ADVERTISE +match from 192.0.2.12 nexthop 192.0.2.12 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.12 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.12 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.12 peer-as != 1' - reject code: 6 +allow quick from 192.0.2.12 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.12 AS 23456' - reject code: 7 +allow quick from 192.0.2.12 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.12 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.12 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.12 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.12 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 192.0.2.12 AS { 3, 174 }' - reject code: 8 +allow quick from 192.0.2.12 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 192.0.2.12 AS { 666, 777 }' - reject code: 15 +allow quick from 192.0.2.12 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + + +match from 192.0.2.12 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS1_3, AS1: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.12 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.12 source-as as-set AS_SET_AS_AS1_AS_AS1_CUSTOMERS_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS1_AS_AS1_CUSTOMERS +# AS-SET AS1 referenced but empty. + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS1_3, AS1: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.12 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.12 prefix-set AS_SET_AS_AS1_AS_AS1_CUSTOMERS_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS1_AS_AS1_CUSTOMERS +# AS-SET AS1 referenced but empty. + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.12 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + + + + +# enforcing: origin ASN +# Reject inbound routes when 'from 192.0.2.12 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 192.0.2.12 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 192.0.2.12 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 192.0.2.12 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + +# Blackhole request? +match from 192.0.2.12 set ext-community delete rt 65520:1 + + +# Remove internal communities before accepting the route +match from 192.0.2.12 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.12 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.12 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 192.0.2.12 community BLACKHOLE +allow quick from 192.0.2.12 community 65534:0 +allow quick from 192.0.2.12 large-community 65534:0:0 + + +match from 192.0.2.12 set ext-community rt 65520:1 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 192.0.2.12 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 192.0.2.12 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.12 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.12 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 192.0.2.12 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 192.0.2.12 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.12 set ext-community delete rt 65520:1 + + + +allow quick from 192.0.2.12 + + + +# --------------------------------------------- +# client AS1_3, outbound + +deny quick to 192.0.2.12 community 65520:0 + + + +# Blackhole request? +# Client not enabled to receive blackhole routes +deny quick to 192.0.2.12 community BLACKHOLE +deny quick to 192.0.2.12 community 65534:0 +deny quick to 192.0.2.12 large-community 65534:0:0 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 192.0.2.12 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 192.0.2.12 community 65507:999 set community NO_EXPORT +match to 192.0.2.12 ext-community rt 65507:999 set community NO_EXPORT +match to 192.0.2.12 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 192.0.2.12 community 65508:999 set community NO_ADVERTISE +match to 192.0.2.12 ext-community rt 65508:999 set community NO_ADVERTISE +match to 192.0.2.12 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 192.0.2.12 community 65509:1 set community NO_EXPORT +match to 192.0.2.12 ext-community rt 65509:1 set community NO_EXPORT +match to 192.0.2.12 large-community 999:65509:1 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 192.0.2.12 community 65510:1 set community NO_ADVERTISE +match to 192.0.2.12 ext-community rt 65510:1 set community NO_ADVERTISE +match to 192.0.2.12 large-community 999:65510:1 set community NO_ADVERTISE + + +# BGP control communities +allow to 192.0.2.12 + +# do_not_announce_to_any +deny to 192.0.2.12 community 0:999 +deny to 192.0.2.12 ext-community rt 0:999 +deny to 192.0.2.12 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 192.0.2.12 community 0:1 +deny quick to 192.0.2.12 ext-community rt 0:1 +deny quick to 192.0.2.12 large-community 999:0:1 + +# announce_to_peer +allow to 192.0.2.12 community 65501:1 +allow to 192.0.2.12 ext-community rt 65501:1 +allow to 192.0.2.12 large-community 999:65501:1 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 65521:1 set prepend-neighbor 1 +match to 192.0.2.12 ext-community rt 65521:1 set prepend-neighbor 1 +match to 192.0.2.12 large-community 999:65521:1 set prepend-neighbor 1 + +match to 192.0.2.12 community 65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 65522:1 set prepend-neighbor 2 +match to 192.0.2.12 ext-community rt 65522:1 set prepend-neighbor 2 +match to 192.0.2.12 large-community 999:65522:1 set prepend-neighbor 2 + +match to 192.0.2.12 community 65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 65523:1 set prepend-neighbor 3 +match to 192.0.2.12 ext-community rt 65523:1 set prepend-neighbor 3 +match to 192.0.2.12 large-community 999:65523:1 set prepend-neighbor 3 + +match to 192.0.2.12 community 65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 65521:65521 set prepend-neighbor 1 +match to 192.0.2.12 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 192.0.2.12 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 192.0.2.12 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 65522:65522 set prepend-neighbor 2 +match to 192.0.2.12 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 192.0.2.12 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 192.0.2.12 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 65523:65523 set prepend-neighbor 3 +match to 192.0.2.12 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 192.0.2.12 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 192.0.2.12 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS1_4, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::12 set community NO_ADVERTISE +match from 2001:db8:1:1::12 nexthop 2001:db8:1:1::11 set community delete NO_ADVERTISE +match from 2001:db8:1:1::12 nexthop 2001:db8:1:1::12 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::12 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::12 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::12 peer-as != 1' - reject code: 6 +allow quick from 2001:db8:1:1::12 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::12 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::12 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::12 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::12 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::12 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::12 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 2001:db8:1:1::12 AS { 3, 174 }' - reject code: 8 +allow quick from 2001:db8:1:1::12 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 2001:db8:1:1::12 AS { 666, 777 }' - reject code: 15 +allow quick from 2001:db8:1:1::12 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + + +match from 2001:db8:1:1::12 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS1_4, AS1: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::12 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::12 source-as as-set AS_SET_AS_AS1_AS_AS1_CUSTOMERS_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS1_AS_AS1_CUSTOMERS +# AS-SET AS1 referenced but empty. + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS1_4, AS1: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::12 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::12 prefix-set AS_SET_AS_AS1_AS_AS1_CUSTOMERS_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS1_AS_AS1_CUSTOMERS +# AS-SET AS1 referenced but empty. + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::12 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + + + + +# enforcing: origin ASN +# Reject inbound routes when 'from 2001:db8:1:1::12 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 2001:db8:1:1::12 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 2001:db8:1:1::12 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 2001:db8:1:1::12 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + +# Blackhole request? +match from 2001:db8:1:1::12 set ext-community delete rt 65520:1 + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::12 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::12 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::12 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 2001:db8:1:1::12 community BLACKHOLE +allow quick from 2001:db8:1:1::12 community 65534:0 +allow quick from 2001:db8:1:1::12 large-community 65534:0:0 + + +match from 2001:db8:1:1::12 set ext-community rt 65520:1 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 2001:db8:1:1::12 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 2001:db8:1:1::12 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::12 prefix ::/0 prefixlen 17 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::12 prefix ::/0 prefixlen 17 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 2001:db8:1:1::12 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::12 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::12 set ext-community delete rt 65520:1 + + + +allow quick from 2001:db8:1:1::12 + + + +# --------------------------------------------- +# client AS1_4, outbound + +deny quick to 2001:db8:1:1::12 community 65520:0 + + + +# Blackhole request? +# Client not enabled to receive blackhole routes +deny quick to 2001:db8:1:1::12 community BLACKHOLE +deny quick to 2001:db8:1:1::12 community 65534:0 +deny quick to 2001:db8:1:1::12 large-community 65534:0:0 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 2001:db8:1:1::12 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 2001:db8:1:1::12 community 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::12 ext-community rt 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::12 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 2001:db8:1:1::12 community 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::12 ext-community rt 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::12 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 2001:db8:1:1::12 community 65509:1 set community NO_EXPORT +match to 2001:db8:1:1::12 ext-community rt 65509:1 set community NO_EXPORT +match to 2001:db8:1:1::12 large-community 999:65509:1 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 2001:db8:1:1::12 community 65510:1 set community NO_ADVERTISE +match to 2001:db8:1:1::12 ext-community rt 65510:1 set community NO_ADVERTISE +match to 2001:db8:1:1::12 large-community 999:65510:1 set community NO_ADVERTISE + + +# BGP control communities +allow to 2001:db8:1:1::12 + +# do_not_announce_to_any +deny to 2001:db8:1:1::12 community 0:999 +deny to 2001:db8:1:1::12 ext-community rt 0:999 +deny to 2001:db8:1:1::12 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::12 community 0:1 +deny quick to 2001:db8:1:1::12 ext-community rt 0:1 +deny quick to 2001:db8:1:1::12 large-community 999:0:1 + +# announce_to_peer +allow to 2001:db8:1:1::12 community 65501:1 +allow to 2001:db8:1:1::12 ext-community rt 65501:1 +allow to 2001:db8:1:1::12 large-community 999:65501:1 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 65521:1 set prepend-neighbor 1 +match to 2001:db8:1:1::12 ext-community rt 65521:1 set prepend-neighbor 1 +match to 2001:db8:1:1::12 large-community 999:65521:1 set prepend-neighbor 1 + +match to 2001:db8:1:1::12 community 65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 65522:1 set prepend-neighbor 2 +match to 2001:db8:1:1::12 ext-community rt 65522:1 set prepend-neighbor 2 +match to 2001:db8:1:1::12 large-community 999:65522:1 set prepend-neighbor 2 + +match to 2001:db8:1:1::12 community 65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 65523:1 set prepend-neighbor 3 +match to 2001:db8:1:1::12 ext-community rt 65523:1 set prepend-neighbor 3 +match to 2001:db8:1:1::12 large-community 999:65523:1 set prepend-neighbor 3 + +match to 2001:db8:1:1::12 community 65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::12 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::12 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 2001:db8:1:1::12 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::12 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::12 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 2001:db8:1:1::12 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::12 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::12 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 2001:db8:1:1::12 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS222_1, inbound + + + +# NEXT_HOP +match from 192.0.2.222 set community NO_ADVERTISE +match from 192.0.2.222 nexthop 192.0.2.222 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.222 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.222 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.222 peer-as != 222' - reject code: 6 +allow quick from 192.0.2.222 peer-as != 222 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.222 AS 23456' - reject code: 7 +allow quick from 192.0.2.222 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.222 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.222 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.222 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.222 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 192.0.2.222 AS { 3, 174 }' - reject code: 8 +allow quick from 192.0.2.222 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 192.0.2.222 AS { 666, 777 }' - reject code: 15 +allow quick from 192.0.2.222 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + +# client's white list +# Add the $INTCOMM_ROUTE_OK_WL ext community to routes which +# are validated by a client's white list entry. +# It will be used later during IRRDB validation in +# case the route is not authorized by a client's +# AS-SET. +match from 192.0.2.222 prefix 222.1.1.0/24 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.222 prefix 3222:0:1::/48 set ext-community $INTCOMM_ROUTE_OK_WL # None + +match from 192.0.2.222 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS222_1, AS222: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.222 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS222 referenced but empty. +# AS-SET AS_AS222 referenced but empty. + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS222_1, AS222: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.222 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS222 referenced but empty. +# AS-SET AS_AS222 referenced but empty. + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.222 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + + + +# route authorized by a client's white list? +match from 192.0.2.222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set ext-community delete $INTCOMM_IRR_REJECT + +# enforcing: origin ASN +# Reject inbound routes when 'from 192.0.2.222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 192.0.2.222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 192.0.2.222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 192.0.2.222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + +# Blackhole request? +match from 192.0.2.222 set ext-community delete rt 65520:222 + + +# Remove internal communities before accepting the route +match from 192.0.2.222 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.222 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.222 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 192.0.2.222 community BLACKHOLE +allow quick from 192.0.2.222 community 65534:0 +allow quick from 192.0.2.222 large-community 65534:0:0 + + +match from 192.0.2.222 set ext-community rt 65520:222 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 192.0.2.222 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 192.0.2.222 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.222 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.222 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 192.0.2.222 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 192.0.2.222 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.222 set ext-community delete rt 65520:222 + + + +allow quick from 192.0.2.222 + + + +# --------------------------------------------- +# client AS222_1, outbound + +deny quick to 192.0.2.222 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 192.0.2.222 community 65534:0 set community BLACKHOLE +match to 192.0.2.222 large-community 65534:0:0 set community BLACKHOLE + +match to 192.0.2.222 community BLACKHOLE set community NO_EXPORT +match to 192.0.2.222 community BLACKHOLE set nexthop 192.0.2.66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 192.0.2.222 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 192.0.2.222 community 65507:999 set community NO_EXPORT +match to 192.0.2.222 ext-community rt 65507:999 set community NO_EXPORT +match to 192.0.2.222 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 192.0.2.222 community 65508:999 set community NO_ADVERTISE +match to 192.0.2.222 ext-community rt 65508:999 set community NO_ADVERTISE +match to 192.0.2.222 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 192.0.2.222 community 65509:222 set community NO_EXPORT +match to 192.0.2.222 ext-community rt 65509:222 set community NO_EXPORT +match to 192.0.2.222 large-community 999:65509:222 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 192.0.2.222 community 65510:222 set community NO_ADVERTISE +match to 192.0.2.222 ext-community rt 65510:222 set community NO_ADVERTISE +match to 192.0.2.222 large-community 999:65510:222 set community NO_ADVERTISE + + +# BGP control communities +allow to 192.0.2.222 + +# do_not_announce_to_any +deny to 192.0.2.222 community 0:999 +deny to 192.0.2.222 ext-community rt 0:999 +deny to 192.0.2.222 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 192.0.2.222 community 0:222 +deny quick to 192.0.2.222 ext-community rt 0:222 +deny quick to 192.0.2.222 large-community 999:0:222 + +# announce_to_peer +allow to 192.0.2.222 community 65501:222 +allow to 192.0.2.222 ext-community rt 65501:222 +allow to 192.0.2.222 large-community 999:65501:222 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.222 community 65521:222 set prepend-neighbor 1 +match to 192.0.2.222 ext-community rt 65521:222 set prepend-neighbor 1 +match to 192.0.2.222 large-community 999:65521:222 set prepend-neighbor 1 + +match to 192.0.2.222 community 65521:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 ext-community rt 65521:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 large-community 999:65521:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.222 community 65522:222 set prepend-neighbor 2 +match to 192.0.2.222 ext-community rt 65522:222 set prepend-neighbor 2 +match to 192.0.2.222 large-community 999:65522:222 set prepend-neighbor 2 + +match to 192.0.2.222 community 65522:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 ext-community rt 65522:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 large-community 999:65522:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.222 community 65523:222 set prepend-neighbor 3 +match to 192.0.2.222 ext-community rt 65523:222 set prepend-neighbor 3 +match to 192.0.2.222 large-community 999:65523:222 set prepend-neighbor 3 + +match to 192.0.2.222 community 65523:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 ext-community rt 65523:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 large-community 999:65523:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.222 community 65521:65521 set prepend-neighbor 1 +match to 192.0.2.222 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 192.0.2.222 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 192.0.2.222 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.222 community 65522:65522 set prepend-neighbor 2 +match to 192.0.2.222 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 192.0.2.222 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 192.0.2.222 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.222 community 65523:65523 set prepend-neighbor 3 +match to 192.0.2.222 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 192.0.2.222 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 192.0.2.222 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS222_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::222 set community NO_ADVERTISE +match from 2001:db8:1:1::222 nexthop 2001:db8:1:1::222 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::222 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::222 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::222 peer-as != 222' - reject code: 6 +allow quick from 2001:db8:1:1::222 peer-as != 222 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::222 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::222 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::222 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::222 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::222 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::222 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 2001:db8:1:1::222 AS { 3, 174 }' - reject code: 8 +allow quick from 2001:db8:1:1::222 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 2001:db8:1:1::222 AS { 666, 777 }' - reject code: 15 +allow quick from 2001:db8:1:1::222 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + +# client's white list +# Add the $INTCOMM_ROUTE_OK_WL ext community to routes which +# are validated by a client's white list entry. +# It will be used later during IRRDB validation in +# case the route is not authorized by a client's +# AS-SET. +match from 2001:db8:1:1::222 prefix 222.1.1.0/24 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::222 prefix 3222:0:1::/48 set ext-community $INTCOMM_ROUTE_OK_WL # None + +match from 2001:db8:1:1::222 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS222_2, AS222: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::222 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS222 referenced but empty. +# AS-SET AS_AS222 referenced but empty. + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS222_2, AS222: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::222 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS222 referenced but empty. +# AS-SET AS_AS222 referenced but empty. + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::222 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + + + +# route authorized by a client's white list? +match from 2001:db8:1:1::222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set ext-community delete $INTCOMM_IRR_REJECT + +# enforcing: origin ASN +# Reject inbound routes when 'from 2001:db8:1:1::222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 2001:db8:1:1::222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 2001:db8:1:1::222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 2001:db8:1:1::222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + +# Blackhole request? +match from 2001:db8:1:1::222 set ext-community delete rt 65520:222 + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::222 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::222 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::222 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 2001:db8:1:1::222 community BLACKHOLE +allow quick from 2001:db8:1:1::222 community 65534:0 +allow quick from 2001:db8:1:1::222 large-community 65534:0:0 + + +match from 2001:db8:1:1::222 set ext-community rt 65520:222 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 2001:db8:1:1::222 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 2001:db8:1:1::222 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::222 prefix ::/0 prefixlen 17 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::222 prefix ::/0 prefixlen 17 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 2001:db8:1:1::222 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::222 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::222 set ext-community delete rt 65520:222 + + + +allow quick from 2001:db8:1:1::222 + + + +# --------------------------------------------- +# client AS222_2, outbound + +deny quick to 2001:db8:1:1::222 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 2001:db8:1:1::222 community 65534:0 set community BLACKHOLE +match to 2001:db8:1:1::222 large-community 65534:0:0 set community BLACKHOLE + +match to 2001:db8:1:1::222 community BLACKHOLE set community NO_EXPORT +match to 2001:db8:1:1::222 community BLACKHOLE set nexthop 2001:db8:1:1::66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 2001:db8:1:1::222 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 2001:db8:1:1::222 community 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::222 ext-community rt 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::222 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 2001:db8:1:1::222 community 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::222 ext-community rt 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::222 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 2001:db8:1:1::222 community 65509:222 set community NO_EXPORT +match to 2001:db8:1:1::222 ext-community rt 65509:222 set community NO_EXPORT +match to 2001:db8:1:1::222 large-community 999:65509:222 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 2001:db8:1:1::222 community 65510:222 set community NO_ADVERTISE +match to 2001:db8:1:1::222 ext-community rt 65510:222 set community NO_ADVERTISE +match to 2001:db8:1:1::222 large-community 999:65510:222 set community NO_ADVERTISE + + +# BGP control communities +allow to 2001:db8:1:1::222 + +# do_not_announce_to_any +deny to 2001:db8:1:1::222 community 0:999 +deny to 2001:db8:1:1::222 ext-community rt 0:999 +deny to 2001:db8:1:1::222 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::222 community 0:222 +deny quick to 2001:db8:1:1::222 ext-community rt 0:222 +deny quick to 2001:db8:1:1::222 large-community 999:0:222 + +# announce_to_peer +allow to 2001:db8:1:1::222 community 65501:222 +allow to 2001:db8:1:1::222 ext-community rt 65501:222 +allow to 2001:db8:1:1::222 large-community 999:65501:222 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::222 community 65521:222 set prepend-neighbor 1 +match to 2001:db8:1:1::222 ext-community rt 65521:222 set prepend-neighbor 1 +match to 2001:db8:1:1::222 large-community 999:65521:222 set prepend-neighbor 1 + +match to 2001:db8:1:1::222 community 65521:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 ext-community rt 65521:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 large-community 999:65521:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::222 community 65522:222 set prepend-neighbor 2 +match to 2001:db8:1:1::222 ext-community rt 65522:222 set prepend-neighbor 2 +match to 2001:db8:1:1::222 large-community 999:65522:222 set prepend-neighbor 2 + +match to 2001:db8:1:1::222 community 65522:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 ext-community rt 65522:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 large-community 999:65522:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::222 community 65523:222 set prepend-neighbor 3 +match to 2001:db8:1:1::222 ext-community rt 65523:222 set prepend-neighbor 3 +match to 2001:db8:1:1::222 large-community 999:65523:222 set prepend-neighbor 3 + +match to 2001:db8:1:1::222 community 65523:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 ext-community rt 65523:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 large-community 999:65523:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::222 community 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::222 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::222 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 2001:db8:1:1::222 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::222 community 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::222 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::222 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 2001:db8:1:1::222 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::222 community 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::222 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::222 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 2001:db8:1:1::222 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS2_1, inbound + + + +# NEXT_HOP +match from 192.0.2.21 set community NO_ADVERTISE +match from 192.0.2.21 nexthop 192.0.2.21 set community delete NO_ADVERTISE +match from 192.0.2.21 nexthop 192.0.2.22 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.21 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.21 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.21 peer-as != 2' - reject code: 6 +allow quick from 192.0.2.21 peer-as != 2 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.21 AS 23456' - reject code: 7 +allow quick from 192.0.2.21 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.21 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.21 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.21 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.21 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 192.0.2.21 AS { 3, 174 }' - reject code: 8 +allow quick from 192.0.2.21 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 192.0.2.21 AS { 666, 777 }' - reject code: 15 +allow quick from 192.0.2.21 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + + +match from 192.0.2.21 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS2_1, AS2: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.21 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS2 referenced but empty. +match from 192.0.2.21 source-as as-set AS_SET_AS_AS2_AS_AS2_CUSTOMERS_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS2_AS_AS2_CUSTOMERS + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS2_1, AS2: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.21 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS2 referenced but empty. +match from 192.0.2.21 prefix-set AS_SET_AS_AS2_AS_AS2_CUSTOMERS_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS2_AS_AS2_CUSTOMERS + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + + + + +# enforcing: origin ASN +# Reject inbound routes when 'from 192.0.2.21 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 192.0.2.21 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 192.0.2.21 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 192.0.2.21 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + +# Blackhole request? +match from 192.0.2.21 set ext-community delete rt 65520:2 + + +# Remove internal communities before accepting the route +match from 192.0.2.21 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.21 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.21 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 192.0.2.21 community BLACKHOLE +allow quick from 192.0.2.21 community 65534:0 +allow quick from 192.0.2.21 large-community 65534:0:0 + + +match from 192.0.2.21 set ext-community rt 65520:2 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 192.0.2.21 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 192.0.2.21 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.21 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.21 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 192.0.2.21 community GRACEFUL_SHUTDOWN set community delete GRACEFUL_SHUTDOWN + +# Remove internal communities before accepting the route +match from 192.0.2.21 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.21 set ext-community delete rt 65520:2 + + + +allow quick from 192.0.2.21 + + + +# --------------------------------------------- +# client AS2_1, outbound + +deny quick to 192.0.2.21 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 192.0.2.21 community 65534:0 set community BLACKHOLE +match to 192.0.2.21 large-community 65534:0:0 set community BLACKHOLE + +match to 192.0.2.21 community BLACKHOLE set community NO_EXPORT +match to 192.0.2.21 community BLACKHOLE set nexthop 192.0.2.66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 192.0.2.21 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 192.0.2.21 community 65507:999 set community NO_EXPORT +match to 192.0.2.21 ext-community rt 65507:999 set community NO_EXPORT +match to 192.0.2.21 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 192.0.2.21 community 65508:999 set community NO_ADVERTISE +match to 192.0.2.21 ext-community rt 65508:999 set community NO_ADVERTISE +match to 192.0.2.21 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 192.0.2.21 community 65509:2 set community NO_EXPORT +match to 192.0.2.21 ext-community rt 65509:2 set community NO_EXPORT +match to 192.0.2.21 large-community 999:65509:2 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 192.0.2.21 community 65510:2 set community NO_ADVERTISE +match to 192.0.2.21 ext-community rt 65510:2 set community NO_ADVERTISE +match to 192.0.2.21 large-community 999:65510:2 set community NO_ADVERTISE + + +# BGP control communities +allow to 192.0.2.21 + +# do_not_announce_to_any +deny to 192.0.2.21 community 0:999 +deny to 192.0.2.21 ext-community rt 0:999 +deny to 192.0.2.21 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 192.0.2.21 community 0:2 +deny quick to 192.0.2.21 ext-community rt 0:2 +deny quick to 192.0.2.21 large-community 999:0:2 + +# announce_to_peer +allow to 192.0.2.21 community 65501:2 +allow to 192.0.2.21 ext-community rt 65501:2 +allow to 192.0.2.21 large-community 999:65501:2 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 65521:2 set prepend-neighbor 1 +match to 192.0.2.21 ext-community rt 65521:2 set prepend-neighbor 1 +match to 192.0.2.21 large-community 999:65521:2 set prepend-neighbor 1 + +match to 192.0.2.21 community 65521:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 65521:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:65521:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 65522:2 set prepend-neighbor 2 +match to 192.0.2.21 ext-community rt 65522:2 set prepend-neighbor 2 +match to 192.0.2.21 large-community 999:65522:2 set prepend-neighbor 2 + +match to 192.0.2.21 community 65522:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 65522:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:65522:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 65523:2 set prepend-neighbor 3 +match to 192.0.2.21 ext-community rt 65523:2 set prepend-neighbor 3 +match to 192.0.2.21 large-community 999:65523:2 set prepend-neighbor 3 + +match to 192.0.2.21 community 65523:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 65523:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:65523:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 65521:65521 set prepend-neighbor 1 +match to 192.0.2.21 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 192.0.2.21 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 192.0.2.21 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 65522:65522 set prepend-neighbor 2 +match to 192.0.2.21 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 192.0.2.21 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 192.0.2.21 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 65523:65523 set prepend-neighbor 3 +match to 192.0.2.21 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 192.0.2.21 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 192.0.2.21 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS2_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::21 set community NO_ADVERTISE +match from 2001:db8:1:1::21 nexthop 2001:db8:1:1::21 set community delete NO_ADVERTISE +match from 2001:db8:1:1::21 nexthop 2001:db8:1:1::22 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::21 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::21 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::21 peer-as != 2' - reject code: 6 +allow quick from 2001:db8:1:1::21 peer-as != 2 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 2001:db8:1:1::21 AS { 3, 174 }' - reject code: 8 +allow quick from 2001:db8:1:1::21 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 2001:db8:1:1::21 AS { 666, 777 }' - reject code: 15 +allow quick from 2001:db8:1:1::21 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + + +match from 2001:db8:1:1::21 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS2_2, AS2: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::21 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS2 referenced but empty. +match from 2001:db8:1:1::21 source-as as-set AS_SET_AS_AS2_AS_AS2_CUSTOMERS_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS2_AS_AS2_CUSTOMERS + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS2_2, AS2: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::21 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS2 referenced but empty. +match from 2001:db8:1:1::21 prefix-set AS_SET_AS_AS2_AS_AS2_CUSTOMERS_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS2_AS_AS2_CUSTOMERS + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + + + + +# enforcing: origin ASN +# Reject inbound routes when 'from 2001:db8:1:1::21 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 2001:db8:1:1::21 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 2001:db8:1:1::21 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 2001:db8:1:1::21 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + +# Blackhole request? +match from 2001:db8:1:1::21 set ext-community delete rt 65520:2 + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::21 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::21 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::21 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 2001:db8:1:1::21 community BLACKHOLE +allow quick from 2001:db8:1:1::21 community 65534:0 +allow quick from 2001:db8:1:1::21 large-community 65534:0:0 + + +match from 2001:db8:1:1::21 set ext-community rt 65520:2 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 2001:db8:1:1::21 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 2001:db8:1:1::21 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::21 prefix ::/0 prefixlen 17 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::21 prefix ::/0 prefixlen 17 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 2001:db8:1:1::21 community GRACEFUL_SHUTDOWN set community delete GRACEFUL_SHUTDOWN + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::21 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::21 set ext-community delete rt 65520:2 + + + +allow quick from 2001:db8:1:1::21 + + + +# --------------------------------------------- +# client AS2_2, outbound + +deny quick to 2001:db8:1:1::21 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 2001:db8:1:1::21 community 65534:0 set community BLACKHOLE +match to 2001:db8:1:1::21 large-community 65534:0:0 set community BLACKHOLE + +match to 2001:db8:1:1::21 community BLACKHOLE set community NO_EXPORT +match to 2001:db8:1:1::21 community BLACKHOLE set nexthop 2001:db8:1:1::66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 2001:db8:1:1::21 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 2001:db8:1:1::21 community 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::21 ext-community rt 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::21 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 2001:db8:1:1::21 community 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::21 ext-community rt 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::21 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 2001:db8:1:1::21 community 65509:2 set community NO_EXPORT +match to 2001:db8:1:1::21 ext-community rt 65509:2 set community NO_EXPORT +match to 2001:db8:1:1::21 large-community 999:65509:2 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 2001:db8:1:1::21 community 65510:2 set community NO_ADVERTISE +match to 2001:db8:1:1::21 ext-community rt 65510:2 set community NO_ADVERTISE +match to 2001:db8:1:1::21 large-community 999:65510:2 set community NO_ADVERTISE + + +# BGP control communities +allow to 2001:db8:1:1::21 + +# do_not_announce_to_any +deny to 2001:db8:1:1::21 community 0:999 +deny to 2001:db8:1:1::21 ext-community rt 0:999 +deny to 2001:db8:1:1::21 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::21 community 0:2 +deny quick to 2001:db8:1:1::21 ext-community rt 0:2 +deny quick to 2001:db8:1:1::21 large-community 999:0:2 + +# announce_to_peer +allow to 2001:db8:1:1::21 community 65501:2 +allow to 2001:db8:1:1::21 ext-community rt 65501:2 +allow to 2001:db8:1:1::21 large-community 999:65501:2 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 65521:2 set prepend-neighbor 1 +match to 2001:db8:1:1::21 ext-community rt 65521:2 set prepend-neighbor 1 +match to 2001:db8:1:1::21 large-community 999:65521:2 set prepend-neighbor 1 + +match to 2001:db8:1:1::21 community 65521:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 65521:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:65521:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 65522:2 set prepend-neighbor 2 +match to 2001:db8:1:1::21 ext-community rt 65522:2 set prepend-neighbor 2 +match to 2001:db8:1:1::21 large-community 999:65522:2 set prepend-neighbor 2 + +match to 2001:db8:1:1::21 community 65522:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 65522:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:65522:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 65523:2 set prepend-neighbor 3 +match to 2001:db8:1:1::21 ext-community rt 65523:2 set prepend-neighbor 3 +match to 2001:db8:1:1::21 large-community 999:65523:2 set prepend-neighbor 3 + +match to 2001:db8:1:1::21 community 65523:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 65523:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:65523:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::21 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::21 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 2001:db8:1:1::21 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::21 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::21 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 2001:db8:1:1::21 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::21 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::21 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 2001:db8:1:1::21 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS3_1, inbound + + + +# NEXT_HOP +match from 192.0.2.31 set community NO_ADVERTISE +match from 192.0.2.31 nexthop 192.0.2.31 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.31 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.31 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.31 peer-as != 3' - reject code: 6 +allow quick from 192.0.2.31 peer-as != 3 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.31 AS 23456' - reject code: 7 +allow quick from 192.0.2.31 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.31 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.31 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.31 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.31 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 192.0.2.31 AS { 174 }' - reject code: 8 +allow quick from 192.0.2.31 AS { 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 192.0.2.31 AS { 666, 777 }' - reject code: 15 +allow quick from 192.0.2.31 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + + + + +# Prefix: client's blacklist +prefix-set "client_AS3_1_black_list_pref_ipv4" { + 3.0.1.0/24 prefixlen 24 - 32 + +} +# Reject inbound routes when 'from 192.0.2.31 prefix-set client_AS3_1_black_list_pref_ipv4' - reject code: 11 +allow quick from 192.0.2.31 prefix-set client_AS3_1_black_list_pref_ipv4 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:11} + + + + +# Blackhole request? +match from 192.0.2.31 set ext-community delete rt 65520:3 + + +# Remove internal communities before accepting the route +match from 192.0.2.31 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.31 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.31 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 192.0.2.31 community BLACKHOLE +allow quick from 192.0.2.31 community 65534:0 +allow quick from 192.0.2.31 large-community 65534:0:0 + + +match from 192.0.2.31 set ext-community rt 65520:3 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 192.0.2.31 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 192.0.2.31 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.31 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.31 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 192.0.2.31 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 192.0.2.31 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.31 set ext-community delete rt 65520:3 + + + +allow quick from 192.0.2.31 + + + +# --------------------------------------------- +# client AS3_1, outbound + +deny quick to 192.0.2.31 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 192.0.2.31 community 65534:0 set community BLACKHOLE +match to 192.0.2.31 large-community 65534:0:0 set community BLACKHOLE + +match to 192.0.2.31 community BLACKHOLE set community NO_EXPORT +match to 192.0.2.31 community BLACKHOLE set nexthop 192.0.2.66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 192.0.2.31 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 192.0.2.31 community 65507:999 set community NO_EXPORT +match to 192.0.2.31 ext-community rt 65507:999 set community NO_EXPORT +match to 192.0.2.31 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 192.0.2.31 community 65508:999 set community NO_ADVERTISE +match to 192.0.2.31 ext-community rt 65508:999 set community NO_ADVERTISE +match to 192.0.2.31 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 192.0.2.31 community 65509:3 set community NO_EXPORT +match to 192.0.2.31 ext-community rt 65509:3 set community NO_EXPORT +match to 192.0.2.31 large-community 999:65509:3 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 192.0.2.31 community 65510:3 set community NO_ADVERTISE +match to 192.0.2.31 ext-community rt 65510:3 set community NO_ADVERTISE +match to 192.0.2.31 large-community 999:65510:3 set community NO_ADVERTISE + + +# BGP control communities +allow to 192.0.2.31 + +# do_not_announce_to_any +deny to 192.0.2.31 community 0:999 +deny to 192.0.2.31 ext-community rt 0:999 +deny to 192.0.2.31 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 192.0.2.31 community 0:3 +deny quick to 192.0.2.31 ext-community rt 0:3 +deny quick to 192.0.2.31 large-community 999:0:3 + +# announce_to_peer +allow to 192.0.2.31 community 65501:3 +allow to 192.0.2.31 ext-community rt 65501:3 +allow to 192.0.2.31 large-community 999:65501:3 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 65521:3 set prepend-neighbor 1 +match to 192.0.2.31 ext-community rt 65521:3 set prepend-neighbor 1 +match to 192.0.2.31 large-community 999:65521:3 set prepend-neighbor 1 + +match to 192.0.2.31 community 65521:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 65521:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:65521:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 65522:3 set prepend-neighbor 2 +match to 192.0.2.31 ext-community rt 65522:3 set prepend-neighbor 2 +match to 192.0.2.31 large-community 999:65522:3 set prepend-neighbor 2 + +match to 192.0.2.31 community 65522:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 65522:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:65522:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 65523:3 set prepend-neighbor 3 +match to 192.0.2.31 ext-community rt 65523:3 set prepend-neighbor 3 +match to 192.0.2.31 large-community 999:65523:3 set prepend-neighbor 3 + +match to 192.0.2.31 community 65523:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 65523:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:65523:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 65521:65521 set prepend-neighbor 1 +match to 192.0.2.31 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 192.0.2.31 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 192.0.2.31 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 65522:65522 set prepend-neighbor 2 +match to 192.0.2.31 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 192.0.2.31 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 192.0.2.31 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 65523:65523 set prepend-neighbor 3 +match to 192.0.2.31 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 192.0.2.31 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 192.0.2.31 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS3_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::31 set community NO_ADVERTISE +match from 2001:db8:1:1::31 nexthop 2001:db8:1:1::31 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::31 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::31 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::31 peer-as != 3' - reject code: 6 +allow quick from 2001:db8:1:1::31 peer-as != 3 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::31 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::31 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::31 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::31 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::31 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::31 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 2001:db8:1:1::31 AS { 174 }' - reject code: 8 +allow quick from 2001:db8:1:1::31 AS { 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 2001:db8:1:1::31 AS { 666, 777 }' - reject code: 15 +allow quick from 2001:db8:1:1::31 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + + + + +# Prefix: client's blacklist +prefix-set "client_AS3_2_black_list_pref_ipv6" { + 2a03:0:1::/48 prefixlen 48 - 128 + +} +# Reject inbound routes when 'from 2001:db8:1:1::31 prefix-set client_AS3_2_black_list_pref_ipv6' - reject code: 11 +allow quick from 2001:db8:1:1::31 prefix-set client_AS3_2_black_list_pref_ipv6 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:11} + + + + +# Blackhole request? +match from 2001:db8:1:1::31 set ext-community delete rt 65520:3 + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::31 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::31 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::31 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 2001:db8:1:1::31 community BLACKHOLE +allow quick from 2001:db8:1:1::31 community 65534:0 +allow quick from 2001:db8:1:1::31 large-community 65534:0:0 + + +match from 2001:db8:1:1::31 set ext-community rt 65520:3 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 2001:db8:1:1::31 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 2001:db8:1:1::31 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::31 prefix ::/0 prefixlen 17 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::31 prefix ::/0 prefixlen 17 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 2001:db8:1:1::31 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::31 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::31 set ext-community delete rt 65520:3 + + + +allow quick from 2001:db8:1:1::31 + + + +# --------------------------------------------- +# client AS3_2, outbound + +deny quick to 2001:db8:1:1::31 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 2001:db8:1:1::31 community 65534:0 set community BLACKHOLE +match to 2001:db8:1:1::31 large-community 65534:0:0 set community BLACKHOLE + +match to 2001:db8:1:1::31 community BLACKHOLE set community NO_EXPORT +match to 2001:db8:1:1::31 community BLACKHOLE set nexthop 2001:db8:1:1::66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 2001:db8:1:1::31 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 2001:db8:1:1::31 community 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::31 ext-community rt 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::31 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 2001:db8:1:1::31 community 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::31 ext-community rt 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::31 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 2001:db8:1:1::31 community 65509:3 set community NO_EXPORT +match to 2001:db8:1:1::31 ext-community rt 65509:3 set community NO_EXPORT +match to 2001:db8:1:1::31 large-community 999:65509:3 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 2001:db8:1:1::31 community 65510:3 set community NO_ADVERTISE +match to 2001:db8:1:1::31 ext-community rt 65510:3 set community NO_ADVERTISE +match to 2001:db8:1:1::31 large-community 999:65510:3 set community NO_ADVERTISE + + +# BGP control communities +allow to 2001:db8:1:1::31 + +# do_not_announce_to_any +deny to 2001:db8:1:1::31 community 0:999 +deny to 2001:db8:1:1::31 ext-community rt 0:999 +deny to 2001:db8:1:1::31 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::31 community 0:3 +deny quick to 2001:db8:1:1::31 ext-community rt 0:3 +deny quick to 2001:db8:1:1::31 large-community 999:0:3 + +# announce_to_peer +allow to 2001:db8:1:1::31 community 65501:3 +allow to 2001:db8:1:1::31 ext-community rt 65501:3 +allow to 2001:db8:1:1::31 large-community 999:65501:3 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 65521:3 set prepend-neighbor 1 +match to 2001:db8:1:1::31 ext-community rt 65521:3 set prepend-neighbor 1 +match to 2001:db8:1:1::31 large-community 999:65521:3 set prepend-neighbor 1 + +match to 2001:db8:1:1::31 community 65521:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 65521:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:65521:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 65522:3 set prepend-neighbor 2 +match to 2001:db8:1:1::31 ext-community rt 65522:3 set prepend-neighbor 2 +match to 2001:db8:1:1::31 large-community 999:65522:3 set prepend-neighbor 2 + +match to 2001:db8:1:1::31 community 65522:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 65522:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:65522:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 65523:3 set prepend-neighbor 3 +match to 2001:db8:1:1::31 ext-community rt 65523:3 set prepend-neighbor 3 +match to 2001:db8:1:1::31 large-community 999:65523:3 set prepend-neighbor 3 + +match to 2001:db8:1:1::31 community 65523:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 65523:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:65523:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::31 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::31 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 2001:db8:1:1::31 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::31 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::31 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 2001:db8:1:1::31 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::31 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::31 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 2001:db8:1:1::31 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS4_1, inbound + + + +# NEXT_HOP +match from 192.0.2.41 set community NO_ADVERTISE +match from 192.0.2.41 nexthop 192.0.2.41 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.41 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.41 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.41 peer-as != 4' - reject code: 6 +allow quick from 192.0.2.41 peer-as != 4 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.41 AS 23456' - reject code: 7 +allow quick from 192.0.2.41 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.41 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.41 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.41 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.41 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 192.0.2.41 AS { 3, 174 }' - reject code: 8 +allow quick from 192.0.2.41 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 192.0.2.41 AS { 666, 777 }' - reject code: 15 +allow quick from 192.0.2.41 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + + + + + + + +# Blackhole request? +match from 192.0.2.41 set ext-community delete rt 65520:4 + + +# Remove internal communities before accepting the route +match from 192.0.2.41 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.41 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.41 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 192.0.2.41 community BLACKHOLE +allow quick from 192.0.2.41 community 65534:0 +allow quick from 192.0.2.41 large-community 65534:0:0 + + +match from 192.0.2.41 set ext-community rt 65520:4 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 192.0.2.41 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 192.0.2.41 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.41 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.41 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 192.0.2.41 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 192.0.2.41 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.41 set ext-community delete rt 65520:4 + + + +allow quick from 192.0.2.41 + + + +# --------------------------------------------- +# client AS4_1, outbound + +deny quick to 192.0.2.41 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 192.0.2.41 community 65534:0 set community BLACKHOLE +match to 192.0.2.41 large-community 65534:0:0 set community BLACKHOLE + +match to 192.0.2.41 community BLACKHOLE set community NO_EXPORT +match to 192.0.2.41 community BLACKHOLE set nexthop 192.0.2.66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 192.0.2.41 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 192.0.2.41 community 65507:999 set community NO_EXPORT +match to 192.0.2.41 ext-community rt 65507:999 set community NO_EXPORT +match to 192.0.2.41 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 192.0.2.41 community 65508:999 set community NO_ADVERTISE +match to 192.0.2.41 ext-community rt 65508:999 set community NO_ADVERTISE +match to 192.0.2.41 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 192.0.2.41 community 65509:4 set community NO_EXPORT +match to 192.0.2.41 ext-community rt 65509:4 set community NO_EXPORT +match to 192.0.2.41 large-community 999:65509:4 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 192.0.2.41 community 65510:4 set community NO_ADVERTISE +match to 192.0.2.41 ext-community rt 65510:4 set community NO_ADVERTISE +match to 192.0.2.41 large-community 999:65510:4 set community NO_ADVERTISE + + +# BGP control communities +allow to 192.0.2.41 + +# do_not_announce_to_any +deny to 192.0.2.41 community 0:999 +deny to 192.0.2.41 ext-community rt 0:999 +deny to 192.0.2.41 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 192.0.2.41 community 0:4 +deny quick to 192.0.2.41 ext-community rt 0:4 +deny quick to 192.0.2.41 large-community 999:0:4 + +# announce_to_peer +allow to 192.0.2.41 community 65501:4 +allow to 192.0.2.41 ext-community rt 65501:4 +allow to 192.0.2.41 large-community 999:65501:4 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 65521:4 set prepend-neighbor 1 +match to 192.0.2.41 ext-community rt 65521:4 set prepend-neighbor 1 +match to 192.0.2.41 large-community 999:65521:4 set prepend-neighbor 1 + +match to 192.0.2.41 community 65521:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 65521:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:65521:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 65522:4 set prepend-neighbor 2 +match to 192.0.2.41 ext-community rt 65522:4 set prepend-neighbor 2 +match to 192.0.2.41 large-community 999:65522:4 set prepend-neighbor 2 + +match to 192.0.2.41 community 65522:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 65522:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:65522:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 65523:4 set prepend-neighbor 3 +match to 192.0.2.41 ext-community rt 65523:4 set prepend-neighbor 3 +match to 192.0.2.41 large-community 999:65523:4 set prepend-neighbor 3 + +match to 192.0.2.41 community 65523:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 65523:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:65523:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 65521:65521 set prepend-neighbor 1 +match to 192.0.2.41 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 192.0.2.41 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 192.0.2.41 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 65522:65522 set prepend-neighbor 2 +match to 192.0.2.41 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 192.0.2.41 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 192.0.2.41 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 65523:65523 set prepend-neighbor 3 +match to 192.0.2.41 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 192.0.2.41 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 192.0.2.41 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS4_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::41 set community NO_ADVERTISE +match from 2001:db8:1:1::41 nexthop 2001:db8:1:1::41 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::41 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::41 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::41 peer-as != 4' - reject code: 6 +allow quick from 2001:db8:1:1::41 peer-as != 4 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 2001:db8:1:1::41 AS { 3, 174 }' - reject code: 8 +allow quick from 2001:db8:1:1::41 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 2001:db8:1:1::41 AS { 666, 777 }' - reject code: 15 +allow quick from 2001:db8:1:1::41 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + + + + + + + +# Blackhole request? +match from 2001:db8:1:1::41 set ext-community delete rt 65520:4 + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::41 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::41 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::41 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 2001:db8:1:1::41 community BLACKHOLE +allow quick from 2001:db8:1:1::41 community 65534:0 +allow quick from 2001:db8:1:1::41 large-community 65534:0:0 + + +match from 2001:db8:1:1::41 set ext-community rt 65520:4 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 2001:db8:1:1::41 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 2001:db8:1:1::41 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::41 prefix ::/0 prefixlen 17 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::41 prefix ::/0 prefixlen 17 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 2001:db8:1:1::41 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::41 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::41 set ext-community delete rt 65520:4 + + + +allow quick from 2001:db8:1:1::41 + + + +# --------------------------------------------- +# client AS4_2, outbound + +deny quick to 2001:db8:1:1::41 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 2001:db8:1:1::41 community 65534:0 set community BLACKHOLE +match to 2001:db8:1:1::41 large-community 65534:0:0 set community BLACKHOLE + +match to 2001:db8:1:1::41 community BLACKHOLE set community NO_EXPORT +match to 2001:db8:1:1::41 community BLACKHOLE set nexthop 2001:db8:1:1::66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 2001:db8:1:1::41 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 2001:db8:1:1::41 community 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::41 ext-community rt 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::41 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 2001:db8:1:1::41 community 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::41 ext-community rt 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::41 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 2001:db8:1:1::41 community 65509:4 set community NO_EXPORT +match to 2001:db8:1:1::41 ext-community rt 65509:4 set community NO_EXPORT +match to 2001:db8:1:1::41 large-community 999:65509:4 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 2001:db8:1:1::41 community 65510:4 set community NO_ADVERTISE +match to 2001:db8:1:1::41 ext-community rt 65510:4 set community NO_ADVERTISE +match to 2001:db8:1:1::41 large-community 999:65510:4 set community NO_ADVERTISE + + +# BGP control communities +allow to 2001:db8:1:1::41 + +# do_not_announce_to_any +deny to 2001:db8:1:1::41 community 0:999 +deny to 2001:db8:1:1::41 ext-community rt 0:999 +deny to 2001:db8:1:1::41 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::41 community 0:4 +deny quick to 2001:db8:1:1::41 ext-community rt 0:4 +deny quick to 2001:db8:1:1::41 large-community 999:0:4 + +# announce_to_peer +allow to 2001:db8:1:1::41 community 65501:4 +allow to 2001:db8:1:1::41 ext-community rt 65501:4 +allow to 2001:db8:1:1::41 large-community 999:65501:4 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 65521:4 set prepend-neighbor 1 +match to 2001:db8:1:1::41 ext-community rt 65521:4 set prepend-neighbor 1 +match to 2001:db8:1:1::41 large-community 999:65521:4 set prepend-neighbor 1 + +match to 2001:db8:1:1::41 community 65521:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 65521:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:65521:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 65522:4 set prepend-neighbor 2 +match to 2001:db8:1:1::41 ext-community rt 65522:4 set prepend-neighbor 2 +match to 2001:db8:1:1::41 large-community 999:65522:4 set prepend-neighbor 2 + +match to 2001:db8:1:1::41 community 65522:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 65522:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:65522:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 65523:4 set prepend-neighbor 3 +match to 2001:db8:1:1::41 ext-community rt 65523:4 set prepend-neighbor 3 +match to 2001:db8:1:1::41 large-community 999:65523:4 set prepend-neighbor 3 + +match to 2001:db8:1:1::41 community 65523:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 65523:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:65523:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::41 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::41 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 2001:db8:1:1::41 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::41 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::41 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 2001:db8:1:1::41 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::41 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::41 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 2001:db8:1:1::41 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + + + +# Scrub communities from outbound routes +# add_noadvertise_to_any +match to group clients set community delete 65508:999 +match to group clients set ext-community delete rt 65508:999 +match to group clients set large-community delete 999:65508:999 + +# add_noadvertise_to_peer +match to group clients set community delete 65510:* +# Warning: rt:65510:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:65510:* + +# add_noexport_to_any +match to group clients set community delete 65507:999 +match to group clients set ext-community delete rt 65507:999 +match to group clients set large-community delete 999:65507:999 + +# add_noexport_to_peer +match to group clients set community delete 65509:* +# Warning: rt:65509:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:65509:* + +# announce_to_peer +match to group clients set community delete 65501:* +# Warning: rt:65501:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:65501:* + +# announce_to_peers_with_rtt_higher_than +match to group clients set community delete 64533:* +# Warning: rt:64533:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64533:* + +# announce_to_peers_with_rtt_lower_than +match to group clients set community delete 64532:* +# Warning: rt:64532:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64532:* + +# blackholing +match to group clients set community delete 65534:0 +match to group clients set large-community delete 65534:0:0 + +# do_not_announce_to_any +match to group clients set community delete 0:999 +match to group clients set ext-community delete rt 0:999 +match to group clients set large-community delete 999:0:999 + +# do_not_announce_to_peer +match to group clients set community delete 0:* +# Warning: rt:0:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:0:* + +# do_not_announce_to_peers_with_rtt_higher_than +match to group clients set community delete 64531:* +# Warning: rt:64531:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64531:* + +# do_not_announce_to_peers_with_rtt_lower_than +match to group clients set community delete 64530:* +# Warning: rt:64530:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64530:* + +# prepend_once_to_any +match to group clients set community delete 65521:65521 +match to group clients set ext-community delete rt 65521:65521 +match to group clients set large-community delete 999:65521:65521 + +# prepend_once_to_peer +match to group clients set community delete 65521:* +# Warning: rt:65521:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:65521:* + +# prepend_once_to_peers_with_rtt_higher_than +match to group clients set community delete 64537:* +# Warning: rt:64537:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64537:* + +# prepend_once_to_peers_with_rtt_lower_than +match to group clients set community delete 64534:* +# Warning: rt:64534:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64534:* + +# prepend_thrice_to_any +match to group clients set community delete 65523:65523 +match to group clients set ext-community delete rt 65523:65523 +match to group clients set large-community delete 999:65523:65523 + +# prepend_thrice_to_peer +match to group clients set community delete 65523:* +# Warning: rt:65523:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:65523:* + +# prepend_thrice_to_peers_with_rtt_higher_than +match to group clients set community delete 64539:* +# Warning: rt:64539:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64539:* + +# prepend_thrice_to_peers_with_rtt_lower_than +match to group clients set community delete 64536:* +# Warning: rt:64536:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64536:* + +# prepend_twice_to_any +match to group clients set community delete 65522:65522 +match to group clients set ext-community delete rt 65522:65522 +match to group clients set large-community delete 999:65522:65522 + +# prepend_twice_to_peer +match to group clients set community delete 65522:* +# Warning: rt:65522:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:65522:* + +# prepend_twice_to_peers_with_rtt_higher_than +match to group clients set community delete 64538:* +# Warning: rt:64538:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64538:* + +# prepend_twice_to_peers_with_rtt_lower_than +match to group clients set community delete 64535:* +# Warning: rt:64535:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64535:* + + +# Scrub prepending communities +match to group clients set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 } +match to group clients set { community delete 65521:0 ext-community delete rt 65521:0 large-community delete 999:65521:0 } +match to group clients set { community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* } +match to group clients set { community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* } +match to group clients set { community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 } +match to group clients set { community delete 65523:0 ext-community delete rt 65523:0 large-community delete 999:65523:0 } +match to group clients set { community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* } +match to group clients set { community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* } +match to group clients set { community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 } +match to group clients set { community delete 65522:0 ext-community delete rt 65522:0 large-community delete 999:65522:0 } +match to group clients set { community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* } +match to group clients set { community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# RFC1997 NO_EXPORT/NO_ADVERTISE received from clients and propagated because of pass-through policy +match to group clients ext-community $INTCOMM_NO_EXPORT set community NO_EXPORT +match to group clients ext-community $INTCOMM_NO_ADVERTISE set community NO_ADVERTISE + +# Remove internal communities before announcing the route +match to group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + +include "/etc/bgpd/post-filters.local" + + diff --git a/tests/live_tests/scenarios/tag_reject_policy/configs/TagRejectPolicyScenario_OpenBGPDIPv6/openbgpd68.conf b/tests/live_tests/scenarios/tag_reject_policy/configs/TagRejectPolicyScenario_OpenBGPDIPv6/openbgpd68.conf index 1848ec27..fdca0a0f 100644 --- a/tests/live_tests/scenarios/tag_reject_policy/configs/TagRejectPolicyScenario_OpenBGPDIPv6/openbgpd68.conf +++ b/tests/live_tests/scenarios/tag_reject_policy/configs/TagRejectPolicyScenario_OpenBGPDIPv6/openbgpd68.conf @@ -7,6 +7,7 @@ log updates nexthop qualify via default + INTCOMM_PREF_OK_ROA="soo 65535:1" INTCOMM_ROUTE_OK_WL="soo 65535:2" INTCOMM_PREF_OK_ARINDB="soo 65535:3" @@ -92,6 +93,7 @@ group "clients" { neighbor 192.0.2.11 { remote-as 1 + descr "AS1_1 client" passive ttl-security no @@ -108,6 +110,7 @@ group "clients" { neighbor 2001:db8:1:1::11 { remote-as 1 + descr "AS1_1 client" passive ttl-security no @@ -124,6 +127,7 @@ group "clients" { neighbor 192.0.2.12 { remote-as 1 + descr "AS1_2 client" passive ttl-security no @@ -140,6 +144,7 @@ group "clients" { neighbor 2001:db8:1:1::12 { remote-as 1 + descr "AS1_2 client" passive ttl-security no @@ -156,6 +161,7 @@ group "clients" { neighbor 192.0.2.222 { remote-as 222 + descr "AS222_1 client" ttl-security no transparent-as yes @@ -171,6 +177,7 @@ group "clients" { neighbor 2001:db8:1:1::222 { remote-as 222 + descr "AS222_1 client" ttl-security no transparent-as yes @@ -186,6 +193,7 @@ group "clients" { neighbor 192.0.2.21 { remote-as 2 + descr "AS2_1 client" passive ttl-security no @@ -202,6 +210,7 @@ group "clients" { neighbor 2001:db8:1:1::21 { remote-as 2 + descr "AS2_1 client" passive ttl-security no @@ -218,6 +227,7 @@ group "clients" { neighbor 192.0.2.31 { remote-as 3 + descr "AS3_1 client" ttl-security no transparent-as no @@ -233,6 +243,7 @@ group "clients" { neighbor 2001:db8:1:1::31 { remote-as 3 + descr "AS3_1 client" ttl-security no transparent-as no @@ -248,6 +259,7 @@ group "clients" { neighbor 192.0.2.41 { remote-as 4 + descr "AS4_1 client" passive ttl-security no @@ -264,6 +276,7 @@ group "clients" { neighbor 2001:db8:1:1::41 { remote-as 4 + descr "AS4_1 client" passive ttl-security no @@ -395,7 +408,9 @@ match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ # --------------------------------------------------------- -# RPKI-based Origin Validation +# ROAs source + + roa-set { 101.3.0.0/16 maxlen 24 source-as 105 101.2.0.0/17 source-as 101 @@ -414,6 +429,12 @@ roa-set { } + + +# --------------------------------------------------------- +# RPKI-based Origin Validation + + # Add $INTCOMM_RPKI_UNKNOWN, $INTCOMM_RPKI_INVALID and $INTCOMM_RPKI_VALID # ext community on the basis of ovs. match from group clients ovs not-found set ext-community $INTCOMM_RPKI_UNKNOWN @@ -422,13 +443,15 @@ match from group clients ovs invalid set ext-community $INTCOMM_RPKI_INVALID - +# --------------------------------------------------------- # RPKI ROAs used as route objects. + # Add the $INTCOMM_PREF_OK_ROA ext community to routes whose # origin ASN has a ROA for the announced prefix. # It will be used later during IRRDB validation in # case the origin ASN is authorized by a client's # AS-SET but the prefix is not. + # Since RPKI-based Origin Validation is already performed above, # use the origin validation state to identify valid routes. match from group clients ovs valid set ext-community $INTCOMM_PREF_OK_ROA @@ -437,6 +460,7 @@ match from group clients ovs valid set ext-community $INTCOMM_PREF_OK_ROA + # Set the 'rejected_route_announced_by' community for all the clients. # It will be removed later if the route is not invalid match from 192.0.2.11 set ext-community rt 65520:1 diff --git a/tests/live_tests/scenarios/tag_reject_policy/configs/TagRejectPolicyScenario_OpenBGPDIPv6/openbgpd69.conf b/tests/live_tests/scenarios/tag_reject_policy/configs/TagRejectPolicyScenario_OpenBGPDIPv6/openbgpd69.conf new file mode 100644 index 00000000..0d1b409b --- /dev/null +++ b/tests/live_tests/scenarios/tag_reject_policy/configs/TagRejectPolicyScenario_OpenBGPDIPv6/openbgpd69.conf @@ -0,0 +1,3517 @@ +# built by ARouteServer +AS 999 +router-id 192.0.2.2 + +fib-update no +log updates + +nexthop qualify via default + +rde evaluate all + +INTCOMM_PREF_OK_ROA="soo 65535:1" +INTCOMM_ROUTE_OK_WL="soo 65535:2" +INTCOMM_PREF_OK_ARINDB="soo 65535:3" +INTCOMM_PREF_OK_REGISTROBRDB="soo 65535:12" + +INTCOMM_ORIGIN_OK="soo 65535:4" +INTCOMM_ORIGIN_KO="soo 65535:5" +INTCOMM_PREFIX_OK="soo 65535:6" +INTCOMM_PREFIX_KO="soo 65535:7" +INTCOMM_IRR_REJECT="soo 65535:8" + +INTCOMM_RPKI_UNKNOWN="soo 65535:9" +INTCOMM_RPKI_INVALID="soo 65535:10" +INTCOMM_RPKI_VALID="soo 65535:11" + +INTCOMM_NO_EXPORT="soo 65535:65281" +INTCOMM_NO_ADVERTISE="soo 65535:65282" + +# --------------------------------------------------------- +# IRRDB + +# AS222, used by client AS222_1, client AS222_2 +# no origin ASNs found for AS222 +# no prefixes found for AS222 + +# AS2, used by client AS2_1, client AS2_2 +# no origin ASNs found for AS2 +# no prefixes found for AS2 + +# AS-AS1, AS-AS1_CUSTOMERS, used by client AS1_1, client AS1_2, client AS1_3, client AS1_4 +as-set "AS_SET_AS_AS1_AS_AS1_CUSTOMERS_asns" { + 1 101 +} +prefix-set "AS_SET_AS_AS1_AS_AS1_CUSTOMERS_prefixes" { + 2a01::/32 prefixlen 32 - 128 + 2a99::/16 prefixlen 16 - 128 + 3101::/32 prefixlen 32 - 128 +} + +# AS-AS2, AS-AS2_CUSTOMERS, used by client AS2_1, client AS2_2 +as-set "AS_SET_AS_AS2_AS_AS2_CUSTOMERS_asns" { + 2 101 +} +prefix-set "AS_SET_AS_AS2_AS_AS2_CUSTOMERS_prefixes" { + 2a02::/32 prefixlen 32 - 128 + 3101::/32 prefixlen 32 - 128 +} + +# WHITE_LIST_AS1_2, used by client AS1_2 white list +as-set "AS_SET_WHITE_LIST_AS1_2_asns" { + 1011 +} +prefix-set "AS_SET_WHITE_LIST_AS1_2_prefixes" { + 11.1.0.0/16 prefixlen 16 - 32 + 2a11:1::/32 prefixlen 32 - 128 +} + +# AS-AS222, used by client AS222_1, client AS222_2 +# no origin ASNs found for AS_AS222 +# no prefixes found for AS_AS222 + +# AS1, used by client AS1_1, client AS1_2, client AS1_3, client AS1_4 +# no origin ASNs found for AS1 +# no prefixes found for AS1 + +# WHITE_LIST_AS1_1, used by client AS1_1 white list +as-set "AS_SET_WHITE_LIST_AS1_1_asns" { + 1011 +} +prefix-set "AS_SET_WHITE_LIST_AS1_1_prefixes" { + 11.1.0.0/16 prefixlen 16 - 32 + 2a11:1::/32 prefixlen 32 - 128 +} + + + + +# --------------------------------------------------------- +# MEMBERS + +group "clients" { + + neighbor 192.0.2.11 { + remote-as 1 + + rde evaluate all + + descr "AS1_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::11 { + remote-as 1 + + rde evaluate all + + descr "AS1_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.12 { + remote-as 1 + + rde evaluate all + + descr "AS1_2 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::12 { + remote-as 1 + + rde evaluate all + + descr "AS1_2 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.222 { + remote-as 222 + + rde evaluate all + + descr "AS222_1 client" + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::222 { + remote-as 222 + + rde evaluate all + + descr "AS222_1 client" + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.21 { + remote-as 2 + + rde evaluate all + + descr "AS2_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::21 { + remote-as 2 + + rde evaluate all + + descr "AS2_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.31 { + remote-as 3 + + rde evaluate all + + descr "AS3_1 client" + ttl-security no + transparent-as no + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::31 { + remote-as 3 + + rde evaluate all + + descr "AS3_1 client" + ttl-security no + transparent-as no + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } + + neighbor 192.0.2.41 { + remote-as 4 + + rde evaluate all + + descr "AS4_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 none + announce IPv4 unicast + + set nexthop no-modify + } + + neighbor 2001:db8:1:1::41 { + remote-as 4 + + rde evaluate all + + descr "AS4_1 client" + passive + ttl-security no + transparent-as yes + enforce neighbor-as no + + announce as-4byte yes + announce IPv6 unicast + announce IPv4 none + + set nexthop no-modify + } +} + +include "/etc/bgpd/post-clients.local" + + + +# --------------------------------------------------------- +# FILTERS + +# NO_ADVERTISE usage notes. +# The NO_ADVERTISE well-know community is used here to handle +# filters that span over multiple steps. At first it is added +# to any route, then it is removed as filters conditions are +# satisfied. Finally, if it is still present, it means that +# the route should be discarded. + + + + +prefix-set "global_black_list_pref" { + 192.0.2.0/24 prefixlen 24 - 32 + 2001:db8::/32 prefixlen 32 - 128 + +} + +prefix-set "bogons" { + 0.0.0.0/0 + 0.0.0.0/8 prefixlen 8 - 32 + 10.0.0.0/8 prefixlen 8 - 32 + 127.0.0.0/8 prefixlen 8 - 32 + 169.254.0.0/16 prefixlen 16 - 32 + 172.16.0.0/12 prefixlen 12 - 32 + 192.0.2.0/24 prefixlen 24 - 32 + 192.88.99.0/24 prefixlen 24 - 32 + 192.168.0.0/16 prefixlen 16 - 32 + 198.18.0.0/15 prefixlen 15 - 32 + 198.51.100.0/24 prefixlen 24 - 32 + 203.0.113.0/24 prefixlen 24 - 32 + 224.0.0.0/3 prefixlen 3 - 32 + 100.64.0.0/10 prefixlen 10 - 32 + ::/0 + ::/8 prefixlen 8 - 128 + 64:ff9b::/96 prefixlen 96 - 128 + 100::/8 prefixlen 8 - 128 + 200::/7 prefixlen 7 - 128 + 400::/6 prefixlen 6 - 128 + 800::/5 prefixlen 5 - 128 + 1000::/4 prefixlen 4 - 128 + 2001::/33 prefixlen 33 - 128 + 2001:0:8000::/33 prefixlen 33 - 128 + 2001:2::/48 prefixlen 48 - 128 + 2001:3::/32 prefixlen 32 - 128 + 2001:10::/28 prefixlen 28 - 128 + 2001:20::/28 prefixlen 28 - 128 + 2001:db8::/32 prefixlen 32 - 128 + 2002::/16 prefixlen 16 - 128 + 3ffe::/16 prefixlen 16 - 128 + 4000::/3 prefixlen 3 - 128 + 5f00::/8 prefixlen 8 - 128 + 6000::/3 prefixlen 3 - 128 + 8000::/3 prefixlen 3 - 128 + a000::/3 prefixlen 3 - 128 + c000::/3 prefixlen 3 - 128 + e000::/4 prefixlen 4 - 128 + f000::/5 prefixlen 5 - 128 + f800::/6 prefixlen 6 - 128 + fc00::/7 prefixlen 7 - 128 + fe80::/10 prefixlen 10 - 128 + fec0::/10 prefixlen 10 - 128 + ff00::/8 prefixlen 8 - 128 + +} + +# ===================================================================================== +# Global rules. + +# This part of configuration is processed at the beginning of the filters. +# The rules defined in this part are applied to all the clients, and not on a +# client-by-client basis (see the 'match from group clients'), so only global policies +# can be implemented here, that is no client-level configuration are allowed. + + + +# Scrub communities from inbound routes +# origin_not_present_in_as_set +match from group clients set community delete 65530:0 +match from group clients set large-community delete 999:65530:0 + +# origin_present_in_as_set +match from group clients set community delete 65530:1 +match from group clients set large-community delete 999:65530:1 + +# prefix_validated_via_arin_whois_db_dump +match from group clients set community delete 65530:3 +match from group clients set large-community delete 999:65530:3 + +# prefix_validated_via_rpki_roas +match from group clients set community delete 65530:2 +match from group clients set large-community delete 999:65530:2 + + +# Scrub internal communities from inbound routes +match from group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + + + +# The main goal of this block is to enrich routes received from clients by attaching to them +# internal informational communities which are used later by the rest of the filter rules. + +# Internal communities used for RFC1997 well-known communities handling + +# Transform NO_EXPORT into $INTCOMM_NO_EXPORT +match from group clients community NO_EXPORT set { ext-community $INTCOMM_NO_EXPORT community delete NO_EXPORT } + +# Transform NO_ADVERTISE into $INTCOMM_NO_ADVERTISE +match from group clients community NO_ADVERTISE set { ext-community $INTCOMM_NO_ADVERTISE community delete NO_ADVERTISE } + + +# --------------------------------------------------------- +# ROAs source + + +roa-set { + 101.3.0.0/16 maxlen 24 source-as 105 + 101.2.0.0/17 source-as 101 + 101.2.128.0/17 maxlen 24 source-as 101 + 101.0.128.0/20 maxlen 23 source-as 101 + 101.0.8.0/24 source-as 101 + 101.0.9.0/24 source-as 102 + 222.1.1.0/24 source-as 333 + 3101:3::/32 maxlen 48 source-as 105 + 3101:0:8000::/33 maxlen 34 source-as 101 + 3101:2:8000::/33 maxlen 48 source-as 101 + 3101:2::/33 source-as 101 + 3101:0:8::/48 source-as 101 + 3101:0:9::/48 source-as 102 + 3222:0:1::/48 source-as 333 + +} + + + +# --------------------------------------------------------- +# RPKI-based Origin Validation + + +# Add $INTCOMM_RPKI_UNKNOWN, $INTCOMM_RPKI_INVALID and $INTCOMM_RPKI_VALID +# ext community on the basis of ovs. +match from group clients ovs not-found set ext-community $INTCOMM_RPKI_UNKNOWN +match from group clients ovs valid set ext-community $INTCOMM_RPKI_VALID +match from group clients ovs invalid set ext-community $INTCOMM_RPKI_INVALID + + + +# --------------------------------------------------------- +# RPKI ROAs used as route objects. + +# Add the $INTCOMM_PREF_OK_ROA ext community to routes whose +# origin ASN has a ROA for the announced prefix. +# It will be used later during IRRDB validation in +# case the origin ASN is authorized by a client's +# AS-SET but the prefix is not. + +# Since RPKI-based Origin Validation is already performed above, +# use the origin validation state to identify valid routes. +match from group clients ovs valid set ext-community $INTCOMM_PREF_OK_ROA + + + + + + +# Set the 'rejected_route_announced_by' community for all the clients. +# It will be removed later if the route is not invalid +match from 192.0.2.11 set ext-community rt 65520:1 + +match from 2001:db8:1:1::11 set ext-community rt 65520:1 + +match from 192.0.2.12 set ext-community rt 65520:1 + +match from 2001:db8:1:1::12 set ext-community rt 65520:1 + +match from 192.0.2.222 set ext-community rt 65520:222 + +match from 2001:db8:1:1::222 set ext-community rt 65520:222 + +match from 192.0.2.21 set ext-community rt 65520:2 + +match from 2001:db8:1:1::21 set ext-community rt 65520:2 + +match from 192.0.2.31 set ext-community rt 65520:3 + +match from 2001:db8:1:1::31 set ext-community rt 65520:3 + +match from 192.0.2.41 set ext-community rt 65520:4 + +match from 2001:db8:1:1::41 set ext-community rt 65520:4 + + + + +# AS_PATH: length +# Reject inbound routes when 'from group clients max-as-len 6' - reject code: 1 +allow quick from group clients max-as-len 6 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:1} + + +# Prefix: global blacklist +# Reject inbound routes when 'from group clients prefix-set global_black_list_pref' - reject code: 3 +allow quick from group clients prefix-set global_black_list_pref set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:3} + + +# Prefix: only IPv6 Global Unicast space allowed +match from group clients inet6 set community NO_ADVERTISE +match from group clients prefix 2000::/3 or-longer set community delete NO_ADVERTISE +# Reject inbound routes when 'from group clients community NO_ADVERTISE' - reject code: 10 +allow quick from group clients community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:10} + + +# Prefix: bogon +# Reject inbound routes when 'from group clients prefix-set bogons' - reject code: 2 +allow quick from group clients prefix-set bogons set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:2} + + + + +# ===================================================================================== +# Per client rules. + + +# --------------------------------------------- +# client AS1_1, inbound + + + +# NEXT_HOP +match from 192.0.2.11 set community NO_ADVERTISE +match from 192.0.2.11 nexthop 192.0.2.11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.11 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.11 peer-as != 1' - reject code: 6 +allow quick from 192.0.2.11 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.11 AS 23456' - reject code: 7 +allow quick from 192.0.2.11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 192.0.2.11 AS { 3, 174 }' - reject code: 8 +allow quick from 192.0.2.11 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 192.0.2.11 AS { 666, 777 }' - reject code: 15 +allow quick from 192.0.2.11 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + +# client's white list +# Add the $INTCOMM_ROUTE_OK_WL ext community to routes which +# are validated by a client's white list entry. +# It will be used later during IRRDB validation in +# case the route is not authorized by a client's +# AS-SET. +match from 192.0.2.11 prefix 11.3.0.0/16 source-as 1011 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.11 prefix 11.4.0.0/16 prefixlen 16 - 32 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.11 prefix 2a11:3::/32 source-as 1011 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.11 prefix 2a11:4::/32 prefixlen 32 - 128 set ext-community $INTCOMM_ROUTE_OK_WL # None + +match from 192.0.2.11 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS1_1, AS1: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.11 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.11 source-as as-set AS_SET_AS_AS1_AS_AS1_CUSTOMERS_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS1_AS_AS1_CUSTOMERS +# AS-SET AS1 referenced but empty. +match from 192.0.2.11 source-as as-set AS_SET_WHITE_LIST_AS1_1_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # WHITE_LIST_AS1_1 + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS1_1, AS1: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.11 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.11 prefix-set AS_SET_AS_AS1_AS_AS1_CUSTOMERS_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS1_AS_AS1_CUSTOMERS +# AS-SET AS1 referenced but empty. +match from 192.0.2.11 prefix-set AS_SET_WHITE_LIST_AS1_1_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # WHITE_LIST_AS1_1 + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + + + +# route authorized by a client's white list? +match from 192.0.2.11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set ext-community delete $INTCOMM_IRR_REJECT + +# enforcing: origin ASN +# Reject inbound routes when 'from 192.0.2.11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 192.0.2.11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 192.0.2.11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 192.0.2.11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + +# Blackhole request? +match from 192.0.2.11 set ext-community delete rt 65520:1 + + +# Remove internal communities before accepting the route +match from 192.0.2.11 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.11 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.11 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 192.0.2.11 community BLACKHOLE +allow quick from 192.0.2.11 community 65534:0 +allow quick from 192.0.2.11 large-community 65534:0:0 + + +match from 192.0.2.11 set ext-community rt 65520:1 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 192.0.2.11 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 192.0.2.11 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.11 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 192.0.2.11 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 192.0.2.11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.11 set ext-community delete rt 65520:1 + + + +allow quick from 192.0.2.11 + + + +# --------------------------------------------- +# client AS1_1, outbound + +deny quick to 192.0.2.11 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 192.0.2.11 community 65534:0 set community BLACKHOLE +match to 192.0.2.11 large-community 65534:0:0 set community BLACKHOLE + +match to 192.0.2.11 community BLACKHOLE set community NO_EXPORT +match to 192.0.2.11 community BLACKHOLE set nexthop 192.0.2.66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 192.0.2.11 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 192.0.2.11 community 65507:999 set community NO_EXPORT +match to 192.0.2.11 ext-community rt 65507:999 set community NO_EXPORT +match to 192.0.2.11 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 192.0.2.11 community 65508:999 set community NO_ADVERTISE +match to 192.0.2.11 ext-community rt 65508:999 set community NO_ADVERTISE +match to 192.0.2.11 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 192.0.2.11 community 65509:1 set community NO_EXPORT +match to 192.0.2.11 ext-community rt 65509:1 set community NO_EXPORT +match to 192.0.2.11 large-community 999:65509:1 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 192.0.2.11 community 65510:1 set community NO_ADVERTISE +match to 192.0.2.11 ext-community rt 65510:1 set community NO_ADVERTISE +match to 192.0.2.11 large-community 999:65510:1 set community NO_ADVERTISE + + +# BGP control communities +allow to 192.0.2.11 + +# do_not_announce_to_any +deny to 192.0.2.11 community 0:999 +deny to 192.0.2.11 ext-community rt 0:999 +deny to 192.0.2.11 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 192.0.2.11 community 0:1 +deny quick to 192.0.2.11 ext-community rt 0:1 +deny quick to 192.0.2.11 large-community 999:0:1 + +# announce_to_peer +allow to 192.0.2.11 community 65501:1 +allow to 192.0.2.11 ext-community rt 65501:1 +allow to 192.0.2.11 large-community 999:65501:1 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 65521:1 set prepend-neighbor 1 +match to 192.0.2.11 ext-community rt 65521:1 set prepend-neighbor 1 +match to 192.0.2.11 large-community 999:65521:1 set prepend-neighbor 1 + +match to 192.0.2.11 community 65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 65522:1 set prepend-neighbor 2 +match to 192.0.2.11 ext-community rt 65522:1 set prepend-neighbor 2 +match to 192.0.2.11 large-community 999:65522:1 set prepend-neighbor 2 + +match to 192.0.2.11 community 65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 65523:1 set prepend-neighbor 3 +match to 192.0.2.11 ext-community rt 65523:1 set prepend-neighbor 3 +match to 192.0.2.11 large-community 999:65523:1 set prepend-neighbor 3 + +match to 192.0.2.11 community 65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 65521:65521 set prepend-neighbor 1 +match to 192.0.2.11 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 192.0.2.11 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 192.0.2.11 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 65522:65522 set prepend-neighbor 2 +match to 192.0.2.11 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 192.0.2.11 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 192.0.2.11 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.11 community 65523:65523 set prepend-neighbor 3 +match to 192.0.2.11 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 192.0.2.11 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 192.0.2.11 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.11 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS1_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::11 set community NO_ADVERTISE +match from 2001:db8:1:1::11 nexthop 2001:db8:1:1::11 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::11 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::11 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::11 peer-as != 1' - reject code: 6 +allow quick from 2001:db8:1:1::11 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::11 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::11 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 2001:db8:1:1::11 AS { 3, 174 }' - reject code: 8 +allow quick from 2001:db8:1:1::11 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 2001:db8:1:1::11 AS { 666, 777 }' - reject code: 15 +allow quick from 2001:db8:1:1::11 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + +# client's white list +# Add the $INTCOMM_ROUTE_OK_WL ext community to routes which +# are validated by a client's white list entry. +# It will be used later during IRRDB validation in +# case the route is not authorized by a client's +# AS-SET. +match from 2001:db8:1:1::11 prefix 11.3.0.0/16 source-as 1011 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::11 prefix 11.4.0.0/16 prefixlen 16 - 32 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::11 prefix 2a11:3::/32 source-as 1011 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::11 prefix 2a11:4::/32 prefixlen 32 - 128 set ext-community $INTCOMM_ROUTE_OK_WL # None + +match from 2001:db8:1:1::11 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS1_2, AS1: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::11 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::11 source-as as-set AS_SET_AS_AS1_AS_AS1_CUSTOMERS_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS1_AS_AS1_CUSTOMERS +match from 2001:db8:1:1::11 source-as as-set AS_SET_WHITE_LIST_AS1_2_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # WHITE_LIST_AS1_2 +# AS-SET AS1 referenced but empty. + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS1_2, AS1: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::11 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::11 prefix-set AS_SET_AS_AS1_AS_AS1_CUSTOMERS_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS1_AS_AS1_CUSTOMERS +match from 2001:db8:1:1::11 prefix-set AS_SET_WHITE_LIST_AS1_2_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # WHITE_LIST_AS1_2 +# AS-SET AS1 referenced but empty. + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::11 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + + + +# route authorized by a client's white list? +match from 2001:db8:1:1::11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set ext-community delete $INTCOMM_IRR_REJECT + +# enforcing: origin ASN +# Reject inbound routes when 'from 2001:db8:1:1::11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 2001:db8:1:1::11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 2001:db8:1:1::11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 2001:db8:1:1::11 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + +# Blackhole request? +match from 2001:db8:1:1::11 set ext-community delete rt 65520:1 + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::11 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::11 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::11 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 2001:db8:1:1::11 community BLACKHOLE +allow quick from 2001:db8:1:1::11 community 65534:0 +allow quick from 2001:db8:1:1::11 large-community 65534:0:0 + + +match from 2001:db8:1:1::11 set ext-community rt 65520:1 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 2001:db8:1:1::11 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 2001:db8:1:1::11 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::11 prefix ::/0 prefixlen 17 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::11 prefix ::/0 prefixlen 17 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 2001:db8:1:1::11 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::11 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::11 set ext-community delete rt 65520:1 + + + +allow quick from 2001:db8:1:1::11 + + + +# --------------------------------------------- +# client AS1_2, outbound + +deny quick to 2001:db8:1:1::11 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 2001:db8:1:1::11 community 65534:0 set community BLACKHOLE +match to 2001:db8:1:1::11 large-community 65534:0:0 set community BLACKHOLE + +match to 2001:db8:1:1::11 community BLACKHOLE set community NO_EXPORT +match to 2001:db8:1:1::11 community BLACKHOLE set nexthop 2001:db8:1:1::66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 2001:db8:1:1::11 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 2001:db8:1:1::11 community 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::11 ext-community rt 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::11 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 2001:db8:1:1::11 community 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::11 ext-community rt 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::11 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 2001:db8:1:1::11 community 65509:1 set community NO_EXPORT +match to 2001:db8:1:1::11 ext-community rt 65509:1 set community NO_EXPORT +match to 2001:db8:1:1::11 large-community 999:65509:1 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 2001:db8:1:1::11 community 65510:1 set community NO_ADVERTISE +match to 2001:db8:1:1::11 ext-community rt 65510:1 set community NO_ADVERTISE +match to 2001:db8:1:1::11 large-community 999:65510:1 set community NO_ADVERTISE + + +# BGP control communities +allow to 2001:db8:1:1::11 + +# do_not_announce_to_any +deny to 2001:db8:1:1::11 community 0:999 +deny to 2001:db8:1:1::11 ext-community rt 0:999 +deny to 2001:db8:1:1::11 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::11 community 0:1 +deny quick to 2001:db8:1:1::11 ext-community rt 0:1 +deny quick to 2001:db8:1:1::11 large-community 999:0:1 + +# announce_to_peer +allow to 2001:db8:1:1::11 community 65501:1 +allow to 2001:db8:1:1::11 ext-community rt 65501:1 +allow to 2001:db8:1:1::11 large-community 999:65501:1 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 65521:1 set prepend-neighbor 1 +match to 2001:db8:1:1::11 ext-community rt 65521:1 set prepend-neighbor 1 +match to 2001:db8:1:1::11 large-community 999:65521:1 set prepend-neighbor 1 + +match to 2001:db8:1:1::11 community 65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 65522:1 set prepend-neighbor 2 +match to 2001:db8:1:1::11 ext-community rt 65522:1 set prepend-neighbor 2 +match to 2001:db8:1:1::11 large-community 999:65522:1 set prepend-neighbor 2 + +match to 2001:db8:1:1::11 community 65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 65523:1 set prepend-neighbor 3 +match to 2001:db8:1:1::11 ext-community rt 65523:1 set prepend-neighbor 3 +match to 2001:db8:1:1::11 large-community 999:65523:1 set prepend-neighbor 3 + +match to 2001:db8:1:1::11 community 65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::11 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::11 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 2001:db8:1:1::11 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::11 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::11 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 2001:db8:1:1::11 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::11 community 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::11 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::11 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 2001:db8:1:1::11 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::11 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS1_3, inbound + + + +# NEXT_HOP +match from 192.0.2.12 set community NO_ADVERTISE +match from 192.0.2.12 nexthop 192.0.2.11 set community delete NO_ADVERTISE +match from 192.0.2.12 nexthop 192.0.2.12 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.12 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.12 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.12 peer-as != 1' - reject code: 6 +allow quick from 192.0.2.12 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.12 AS 23456' - reject code: 7 +allow quick from 192.0.2.12 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.12 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.12 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.12 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.12 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 192.0.2.12 AS { 3, 174 }' - reject code: 8 +allow quick from 192.0.2.12 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 192.0.2.12 AS { 666, 777 }' - reject code: 15 +allow quick from 192.0.2.12 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + + +match from 192.0.2.12 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS1_3, AS1: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.12 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.12 source-as as-set AS_SET_AS_AS1_AS_AS1_CUSTOMERS_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS1_AS_AS1_CUSTOMERS +# AS-SET AS1 referenced but empty. + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS1_3, AS1: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.12 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 192.0.2.12 prefix-set AS_SET_AS_AS1_AS_AS1_CUSTOMERS_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS1_AS_AS1_CUSTOMERS +# AS-SET AS1 referenced but empty. + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.12 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + + + + +# enforcing: origin ASN +# Reject inbound routes when 'from 192.0.2.12 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 192.0.2.12 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 192.0.2.12 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 192.0.2.12 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + +# Blackhole request? +match from 192.0.2.12 set ext-community delete rt 65520:1 + + +# Remove internal communities before accepting the route +match from 192.0.2.12 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.12 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.12 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 192.0.2.12 community BLACKHOLE +allow quick from 192.0.2.12 community 65534:0 +allow quick from 192.0.2.12 large-community 65534:0:0 + + +match from 192.0.2.12 set ext-community rt 65520:1 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 192.0.2.12 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 192.0.2.12 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.12 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.12 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 192.0.2.12 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 192.0.2.12 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.12 set ext-community delete rt 65520:1 + + + +allow quick from 192.0.2.12 + + + +# --------------------------------------------- +# client AS1_3, outbound + +deny quick to 192.0.2.12 community 65520:0 + + + +# Blackhole request? +# Client not enabled to receive blackhole routes +deny quick to 192.0.2.12 community BLACKHOLE +deny quick to 192.0.2.12 community 65534:0 +deny quick to 192.0.2.12 large-community 65534:0:0 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 192.0.2.12 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 192.0.2.12 community 65507:999 set community NO_EXPORT +match to 192.0.2.12 ext-community rt 65507:999 set community NO_EXPORT +match to 192.0.2.12 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 192.0.2.12 community 65508:999 set community NO_ADVERTISE +match to 192.0.2.12 ext-community rt 65508:999 set community NO_ADVERTISE +match to 192.0.2.12 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 192.0.2.12 community 65509:1 set community NO_EXPORT +match to 192.0.2.12 ext-community rt 65509:1 set community NO_EXPORT +match to 192.0.2.12 large-community 999:65509:1 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 192.0.2.12 community 65510:1 set community NO_ADVERTISE +match to 192.0.2.12 ext-community rt 65510:1 set community NO_ADVERTISE +match to 192.0.2.12 large-community 999:65510:1 set community NO_ADVERTISE + + +# BGP control communities +allow to 192.0.2.12 + +# do_not_announce_to_any +deny to 192.0.2.12 community 0:999 +deny to 192.0.2.12 ext-community rt 0:999 +deny to 192.0.2.12 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 192.0.2.12 community 0:1 +deny quick to 192.0.2.12 ext-community rt 0:1 +deny quick to 192.0.2.12 large-community 999:0:1 + +# announce_to_peer +allow to 192.0.2.12 community 65501:1 +allow to 192.0.2.12 ext-community rt 65501:1 +allow to 192.0.2.12 large-community 999:65501:1 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 65521:1 set prepend-neighbor 1 +match to 192.0.2.12 ext-community rt 65521:1 set prepend-neighbor 1 +match to 192.0.2.12 large-community 999:65521:1 set prepend-neighbor 1 + +match to 192.0.2.12 community 65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 65522:1 set prepend-neighbor 2 +match to 192.0.2.12 ext-community rt 65522:1 set prepend-neighbor 2 +match to 192.0.2.12 large-community 999:65522:1 set prepend-neighbor 2 + +match to 192.0.2.12 community 65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 65523:1 set prepend-neighbor 3 +match to 192.0.2.12 ext-community rt 65523:1 set prepend-neighbor 3 +match to 192.0.2.12 large-community 999:65523:1 set prepend-neighbor 3 + +match to 192.0.2.12 community 65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 65521:65521 set prepend-neighbor 1 +match to 192.0.2.12 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 192.0.2.12 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 192.0.2.12 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 65522:65522 set prepend-neighbor 2 +match to 192.0.2.12 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 192.0.2.12 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 192.0.2.12 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.12 community 65523:65523 set prepend-neighbor 3 +match to 192.0.2.12 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 192.0.2.12 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 192.0.2.12 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.12 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS1_4, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::12 set community NO_ADVERTISE +match from 2001:db8:1:1::12 nexthop 2001:db8:1:1::11 set community delete NO_ADVERTISE +match from 2001:db8:1:1::12 nexthop 2001:db8:1:1::12 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::12 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::12 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::12 peer-as != 1' - reject code: 6 +allow quick from 2001:db8:1:1::12 peer-as != 1 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::12 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::12 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::12 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::12 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::12 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::12 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 2001:db8:1:1::12 AS { 3, 174 }' - reject code: 8 +allow quick from 2001:db8:1:1::12 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 2001:db8:1:1::12 AS { 666, 777 }' - reject code: 15 +allow quick from 2001:db8:1:1::12 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + + +match from 2001:db8:1:1::12 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS1_4, AS1: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::12 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::12 source-as as-set AS_SET_AS_AS1_AS_AS1_CUSTOMERS_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS1_AS_AS1_CUSTOMERS +# AS-SET AS1 referenced but empty. + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS1_4, AS1: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::12 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +match from 2001:db8:1:1::12 prefix-set AS_SET_AS_AS1_AS_AS1_CUSTOMERS_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS1_AS_AS1_CUSTOMERS +# AS-SET AS1 referenced but empty. + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::12 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + + + + +# enforcing: origin ASN +# Reject inbound routes when 'from 2001:db8:1:1::12 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 2001:db8:1:1::12 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 2001:db8:1:1::12 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 2001:db8:1:1::12 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + +# Blackhole request? +match from 2001:db8:1:1::12 set ext-community delete rt 65520:1 + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::12 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::12 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::12 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 2001:db8:1:1::12 community BLACKHOLE +allow quick from 2001:db8:1:1::12 community 65534:0 +allow quick from 2001:db8:1:1::12 large-community 65534:0:0 + + +match from 2001:db8:1:1::12 set ext-community rt 65520:1 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 2001:db8:1:1::12 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 2001:db8:1:1::12 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::12 prefix ::/0 prefixlen 17 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::12 prefix ::/0 prefixlen 17 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 2001:db8:1:1::12 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::12 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::12 set ext-community delete rt 65520:1 + + + +allow quick from 2001:db8:1:1::12 + + + +# --------------------------------------------- +# client AS1_4, outbound + +deny quick to 2001:db8:1:1::12 community 65520:0 + + + +# Blackhole request? +# Client not enabled to receive blackhole routes +deny quick to 2001:db8:1:1::12 community BLACKHOLE +deny quick to 2001:db8:1:1::12 community 65534:0 +deny quick to 2001:db8:1:1::12 large-community 65534:0:0 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 2001:db8:1:1::12 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 2001:db8:1:1::12 community 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::12 ext-community rt 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::12 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 2001:db8:1:1::12 community 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::12 ext-community rt 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::12 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 2001:db8:1:1::12 community 65509:1 set community NO_EXPORT +match to 2001:db8:1:1::12 ext-community rt 65509:1 set community NO_EXPORT +match to 2001:db8:1:1::12 large-community 999:65509:1 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 2001:db8:1:1::12 community 65510:1 set community NO_ADVERTISE +match to 2001:db8:1:1::12 ext-community rt 65510:1 set community NO_ADVERTISE +match to 2001:db8:1:1::12 large-community 999:65510:1 set community NO_ADVERTISE + + +# BGP control communities +allow to 2001:db8:1:1::12 + +# do_not_announce_to_any +deny to 2001:db8:1:1::12 community 0:999 +deny to 2001:db8:1:1::12 ext-community rt 0:999 +deny to 2001:db8:1:1::12 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::12 community 0:1 +deny quick to 2001:db8:1:1::12 ext-community rt 0:1 +deny quick to 2001:db8:1:1::12 large-community 999:0:1 + +# announce_to_peer +allow to 2001:db8:1:1::12 community 65501:1 +allow to 2001:db8:1:1::12 ext-community rt 65501:1 +allow to 2001:db8:1:1::12 large-community 999:65501:1 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 65521:1 set prepend-neighbor 1 +match to 2001:db8:1:1::12 ext-community rt 65521:1 set prepend-neighbor 1 +match to 2001:db8:1:1::12 large-community 999:65521:1 set prepend-neighbor 1 + +match to 2001:db8:1:1::12 community 65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:65521:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 65522:1 set prepend-neighbor 2 +match to 2001:db8:1:1::12 ext-community rt 65522:1 set prepend-neighbor 2 +match to 2001:db8:1:1::12 large-community 999:65522:1 set prepend-neighbor 2 + +match to 2001:db8:1:1::12 community 65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:65522:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 65523:1 set prepend-neighbor 3 +match to 2001:db8:1:1::12 ext-community rt 65523:1 set prepend-neighbor 3 +match to 2001:db8:1:1::12 large-community 999:65523:1 set prepend-neighbor 3 + +match to 2001:db8:1:1::12 community 65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:65523:1 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::12 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::12 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 2001:db8:1:1::12 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::12 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::12 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 2001:db8:1:1::12 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::12 community 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::12 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::12 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 2001:db8:1:1::12 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::12 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:1 ext-community delete rt 65521:1 large-community delete 999:65521:1 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:1 ext-community delete rt 65523:1 large-community delete 999:65523:1 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:1 ext-community delete rt 65522:1 large-community delete 999:65522:1 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS222_1, inbound + + + +# NEXT_HOP +match from 192.0.2.222 set community NO_ADVERTISE +match from 192.0.2.222 nexthop 192.0.2.222 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.222 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.222 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.222 peer-as != 222' - reject code: 6 +allow quick from 192.0.2.222 peer-as != 222 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.222 AS 23456' - reject code: 7 +allow quick from 192.0.2.222 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.222 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.222 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.222 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.222 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 192.0.2.222 AS { 3, 174 }' - reject code: 8 +allow quick from 192.0.2.222 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 192.0.2.222 AS { 666, 777 }' - reject code: 15 +allow quick from 192.0.2.222 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + +# client's white list +# Add the $INTCOMM_ROUTE_OK_WL ext community to routes which +# are validated by a client's white list entry. +# It will be used later during IRRDB validation in +# case the route is not authorized by a client's +# AS-SET. +match from 192.0.2.222 prefix 222.1.1.0/24 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 192.0.2.222 prefix 3222:0:1::/48 set ext-community $INTCOMM_ROUTE_OK_WL # None + +match from 192.0.2.222 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS222_1, AS222: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.222 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS222 referenced but empty. +# AS-SET AS_AS222 referenced but empty. + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS222_1, AS222: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.222 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS222 referenced but empty. +# AS-SET AS_AS222 referenced but empty. + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.222 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + + + +# route authorized by a client's white list? +match from 192.0.2.222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set ext-community delete $INTCOMM_IRR_REJECT + +# enforcing: origin ASN +# Reject inbound routes when 'from 192.0.2.222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 192.0.2.222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 192.0.2.222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 192.0.2.222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + +# Blackhole request? +match from 192.0.2.222 set ext-community delete rt 65520:222 + + +# Remove internal communities before accepting the route +match from 192.0.2.222 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.222 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.222 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 192.0.2.222 community BLACKHOLE +allow quick from 192.0.2.222 community 65534:0 +allow quick from 192.0.2.222 large-community 65534:0:0 + + +match from 192.0.2.222 set ext-community rt 65520:222 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 192.0.2.222 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 192.0.2.222 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.222 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.222 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 192.0.2.222 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 192.0.2.222 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.222 set ext-community delete rt 65520:222 + + + +allow quick from 192.0.2.222 + + + +# --------------------------------------------- +# client AS222_1, outbound + +deny quick to 192.0.2.222 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 192.0.2.222 community 65534:0 set community BLACKHOLE +match to 192.0.2.222 large-community 65534:0:0 set community BLACKHOLE + +match to 192.0.2.222 community BLACKHOLE set community NO_EXPORT +match to 192.0.2.222 community BLACKHOLE set nexthop 192.0.2.66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 192.0.2.222 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 192.0.2.222 community 65507:999 set community NO_EXPORT +match to 192.0.2.222 ext-community rt 65507:999 set community NO_EXPORT +match to 192.0.2.222 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 192.0.2.222 community 65508:999 set community NO_ADVERTISE +match to 192.0.2.222 ext-community rt 65508:999 set community NO_ADVERTISE +match to 192.0.2.222 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 192.0.2.222 community 65509:222 set community NO_EXPORT +match to 192.0.2.222 ext-community rt 65509:222 set community NO_EXPORT +match to 192.0.2.222 large-community 999:65509:222 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 192.0.2.222 community 65510:222 set community NO_ADVERTISE +match to 192.0.2.222 ext-community rt 65510:222 set community NO_ADVERTISE +match to 192.0.2.222 large-community 999:65510:222 set community NO_ADVERTISE + + +# BGP control communities +allow to 192.0.2.222 + +# do_not_announce_to_any +deny to 192.0.2.222 community 0:999 +deny to 192.0.2.222 ext-community rt 0:999 +deny to 192.0.2.222 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 192.0.2.222 community 0:222 +deny quick to 192.0.2.222 ext-community rt 0:222 +deny quick to 192.0.2.222 large-community 999:0:222 + +# announce_to_peer +allow to 192.0.2.222 community 65501:222 +allow to 192.0.2.222 ext-community rt 65501:222 +allow to 192.0.2.222 large-community 999:65501:222 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.222 community 65521:222 set prepend-neighbor 1 +match to 192.0.2.222 ext-community rt 65521:222 set prepend-neighbor 1 +match to 192.0.2.222 large-community 999:65521:222 set prepend-neighbor 1 + +match to 192.0.2.222 community 65521:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 ext-community rt 65521:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 large-community 999:65521:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.222 community 65522:222 set prepend-neighbor 2 +match to 192.0.2.222 ext-community rt 65522:222 set prepend-neighbor 2 +match to 192.0.2.222 large-community 999:65522:222 set prepend-neighbor 2 + +match to 192.0.2.222 community 65522:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 ext-community rt 65522:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 large-community 999:65522:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.222 community 65523:222 set prepend-neighbor 3 +match to 192.0.2.222 ext-community rt 65523:222 set prepend-neighbor 3 +match to 192.0.2.222 large-community 999:65523:222 set prepend-neighbor 3 + +match to 192.0.2.222 community 65523:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 ext-community rt 65523:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 large-community 999:65523:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.222 community 65521:65521 set prepend-neighbor 1 +match to 192.0.2.222 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 192.0.2.222 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 192.0.2.222 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.222 community 65522:65522 set prepend-neighbor 2 +match to 192.0.2.222 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 192.0.2.222 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 192.0.2.222 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.222 community 65523:65523 set prepend-neighbor 3 +match to 192.0.2.222 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 192.0.2.222 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 192.0.2.222 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.222 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS222_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::222 set community NO_ADVERTISE +match from 2001:db8:1:1::222 nexthop 2001:db8:1:1::222 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::222 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::222 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::222 peer-as != 222' - reject code: 6 +allow quick from 2001:db8:1:1::222 peer-as != 222 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::222 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::222 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::222 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::222 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::222 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::222 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 2001:db8:1:1::222 AS { 3, 174 }' - reject code: 8 +allow quick from 2001:db8:1:1::222 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 2001:db8:1:1::222 AS { 666, 777 }' - reject code: 15 +allow quick from 2001:db8:1:1::222 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + +# client's white list +# Add the $INTCOMM_ROUTE_OK_WL ext community to routes which +# are validated by a client's white list entry. +# It will be used later during IRRDB validation in +# case the route is not authorized by a client's +# AS-SET. +match from 2001:db8:1:1::222 prefix 222.1.1.0/24 set ext-community $INTCOMM_ROUTE_OK_WL # None +match from 2001:db8:1:1::222 prefix 3222:0:1::/48 set ext-community $INTCOMM_ROUTE_OK_WL # None + +match from 2001:db8:1:1::222 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS222_2, AS222: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::222 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS222 referenced but empty. +# AS-SET AS_AS222 referenced but empty. + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS222_2, AS222: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::222 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS222 referenced but empty. +# AS-SET AS_AS222 referenced but empty. + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::222 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + + + +# route authorized by a client's white list? +match from 2001:db8:1:1::222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ROUTE_OK_WL set ext-community delete $INTCOMM_IRR_REJECT + +# enforcing: origin ASN +# Reject inbound routes when 'from 2001:db8:1:1::222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 2001:db8:1:1::222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 2001:db8:1:1::222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 2001:db8:1:1::222 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + +# Blackhole request? +match from 2001:db8:1:1::222 set ext-community delete rt 65520:222 + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::222 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::222 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::222 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 2001:db8:1:1::222 community BLACKHOLE +allow quick from 2001:db8:1:1::222 community 65534:0 +allow quick from 2001:db8:1:1::222 large-community 65534:0:0 + + +match from 2001:db8:1:1::222 set ext-community rt 65520:222 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 2001:db8:1:1::222 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 2001:db8:1:1::222 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::222 prefix ::/0 prefixlen 17 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::222 prefix ::/0 prefixlen 17 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 2001:db8:1:1::222 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::222 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::222 set ext-community delete rt 65520:222 + + + +allow quick from 2001:db8:1:1::222 + + + +# --------------------------------------------- +# client AS222_2, outbound + +deny quick to 2001:db8:1:1::222 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 2001:db8:1:1::222 community 65534:0 set community BLACKHOLE +match to 2001:db8:1:1::222 large-community 65534:0:0 set community BLACKHOLE + +match to 2001:db8:1:1::222 community BLACKHOLE set community NO_EXPORT +match to 2001:db8:1:1::222 community BLACKHOLE set nexthop 2001:db8:1:1::66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 2001:db8:1:1::222 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 2001:db8:1:1::222 community 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::222 ext-community rt 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::222 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 2001:db8:1:1::222 community 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::222 ext-community rt 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::222 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 2001:db8:1:1::222 community 65509:222 set community NO_EXPORT +match to 2001:db8:1:1::222 ext-community rt 65509:222 set community NO_EXPORT +match to 2001:db8:1:1::222 large-community 999:65509:222 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 2001:db8:1:1::222 community 65510:222 set community NO_ADVERTISE +match to 2001:db8:1:1::222 ext-community rt 65510:222 set community NO_ADVERTISE +match to 2001:db8:1:1::222 large-community 999:65510:222 set community NO_ADVERTISE + + +# BGP control communities +allow to 2001:db8:1:1::222 + +# do_not_announce_to_any +deny to 2001:db8:1:1::222 community 0:999 +deny to 2001:db8:1:1::222 ext-community rt 0:999 +deny to 2001:db8:1:1::222 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::222 community 0:222 +deny quick to 2001:db8:1:1::222 ext-community rt 0:222 +deny quick to 2001:db8:1:1::222 large-community 999:0:222 + +# announce_to_peer +allow to 2001:db8:1:1::222 community 65501:222 +allow to 2001:db8:1:1::222 ext-community rt 65501:222 +allow to 2001:db8:1:1::222 large-community 999:65501:222 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::222 community 65521:222 set prepend-neighbor 1 +match to 2001:db8:1:1::222 ext-community rt 65521:222 set prepend-neighbor 1 +match to 2001:db8:1:1::222 large-community 999:65521:222 set prepend-neighbor 1 + +match to 2001:db8:1:1::222 community 65521:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 ext-community rt 65521:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 large-community 999:65521:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::222 community 65522:222 set prepend-neighbor 2 +match to 2001:db8:1:1::222 ext-community rt 65522:222 set prepend-neighbor 2 +match to 2001:db8:1:1::222 large-community 999:65522:222 set prepend-neighbor 2 + +match to 2001:db8:1:1::222 community 65522:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 ext-community rt 65522:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 large-community 999:65522:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::222 community 65523:222 set prepend-neighbor 3 +match to 2001:db8:1:1::222 ext-community rt 65523:222 set prepend-neighbor 3 +match to 2001:db8:1:1::222 large-community 999:65523:222 set prepend-neighbor 3 + +match to 2001:db8:1:1::222 community 65523:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 ext-community rt 65523:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 large-community 999:65523:222 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::222 community 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::222 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::222 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 2001:db8:1:1::222 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::222 community 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::222 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::222 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 2001:db8:1:1::222 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::222 community 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::222 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::222 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 2001:db8:1:1::222 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::222 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:222 ext-community delete rt 65521:222 large-community delete 999:65521:222 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:222 ext-community delete rt 65523:222 large-community delete 999:65523:222 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:222 ext-community delete rt 65522:222 large-community delete 999:65522:222 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS2_1, inbound + + + +# NEXT_HOP +match from 192.0.2.21 set community NO_ADVERTISE +match from 192.0.2.21 nexthop 192.0.2.21 set community delete NO_ADVERTISE +match from 192.0.2.21 nexthop 192.0.2.22 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.21 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.21 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.21 peer-as != 2' - reject code: 6 +allow quick from 192.0.2.21 peer-as != 2 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.21 AS 23456' - reject code: 7 +allow quick from 192.0.2.21 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.21 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.21 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.21 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.21 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 192.0.2.21 AS { 3, 174 }' - reject code: 8 +allow quick from 192.0.2.21 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 192.0.2.21 AS { 666, 777 }' - reject code: 15 +allow quick from 192.0.2.21 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + + +match from 192.0.2.21 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS2_1, AS2: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.21 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS2 referenced but empty. +match from 192.0.2.21 source-as as-set AS_SET_AS_AS2_AS_AS2_CUSTOMERS_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS2_AS_AS2_CUSTOMERS + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS2_1, AS2: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 192.0.2.21 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS2 referenced but empty. +match from 192.0.2.21 prefix-set AS_SET_AS_AS2_AS_AS2_CUSTOMERS_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS2_AS_AS2_CUSTOMERS + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 192.0.2.21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + + + + +# enforcing: origin ASN +# Reject inbound routes when 'from 192.0.2.21 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 192.0.2.21 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 192.0.2.21 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 192.0.2.21 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + +# Blackhole request? +match from 192.0.2.21 set ext-community delete rt 65520:2 + + +# Remove internal communities before accepting the route +match from 192.0.2.21 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.21 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.21 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 192.0.2.21 community BLACKHOLE +allow quick from 192.0.2.21 community 65534:0 +allow quick from 192.0.2.21 large-community 65534:0:0 + + +match from 192.0.2.21 set ext-community rt 65520:2 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 192.0.2.21 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 192.0.2.21 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.21 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.21 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 192.0.2.21 community GRACEFUL_SHUTDOWN set community delete GRACEFUL_SHUTDOWN + +# Remove internal communities before accepting the route +match from 192.0.2.21 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.21 set ext-community delete rt 65520:2 + + + +allow quick from 192.0.2.21 + + + +# --------------------------------------------- +# client AS2_1, outbound + +deny quick to 192.0.2.21 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 192.0.2.21 community 65534:0 set community BLACKHOLE +match to 192.0.2.21 large-community 65534:0:0 set community BLACKHOLE + +match to 192.0.2.21 community BLACKHOLE set community NO_EXPORT +match to 192.0.2.21 community BLACKHOLE set nexthop 192.0.2.66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 192.0.2.21 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 192.0.2.21 community 65507:999 set community NO_EXPORT +match to 192.0.2.21 ext-community rt 65507:999 set community NO_EXPORT +match to 192.0.2.21 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 192.0.2.21 community 65508:999 set community NO_ADVERTISE +match to 192.0.2.21 ext-community rt 65508:999 set community NO_ADVERTISE +match to 192.0.2.21 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 192.0.2.21 community 65509:2 set community NO_EXPORT +match to 192.0.2.21 ext-community rt 65509:2 set community NO_EXPORT +match to 192.0.2.21 large-community 999:65509:2 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 192.0.2.21 community 65510:2 set community NO_ADVERTISE +match to 192.0.2.21 ext-community rt 65510:2 set community NO_ADVERTISE +match to 192.0.2.21 large-community 999:65510:2 set community NO_ADVERTISE + + +# BGP control communities +allow to 192.0.2.21 + +# do_not_announce_to_any +deny to 192.0.2.21 community 0:999 +deny to 192.0.2.21 ext-community rt 0:999 +deny to 192.0.2.21 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 192.0.2.21 community 0:2 +deny quick to 192.0.2.21 ext-community rt 0:2 +deny quick to 192.0.2.21 large-community 999:0:2 + +# announce_to_peer +allow to 192.0.2.21 community 65501:2 +allow to 192.0.2.21 ext-community rt 65501:2 +allow to 192.0.2.21 large-community 999:65501:2 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 65521:2 set prepend-neighbor 1 +match to 192.0.2.21 ext-community rt 65521:2 set prepend-neighbor 1 +match to 192.0.2.21 large-community 999:65521:2 set prepend-neighbor 1 + +match to 192.0.2.21 community 65521:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 65521:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:65521:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 65522:2 set prepend-neighbor 2 +match to 192.0.2.21 ext-community rt 65522:2 set prepend-neighbor 2 +match to 192.0.2.21 large-community 999:65522:2 set prepend-neighbor 2 + +match to 192.0.2.21 community 65522:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 65522:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:65522:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 65523:2 set prepend-neighbor 3 +match to 192.0.2.21 ext-community rt 65523:2 set prepend-neighbor 3 +match to 192.0.2.21 large-community 999:65523:2 set prepend-neighbor 3 + +match to 192.0.2.21 community 65523:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 65523:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:65523:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 65521:65521 set prepend-neighbor 1 +match to 192.0.2.21 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 192.0.2.21 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 192.0.2.21 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 65522:65522 set prepend-neighbor 2 +match to 192.0.2.21 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 192.0.2.21 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 192.0.2.21 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.21 community 65523:65523 set prepend-neighbor 3 +match to 192.0.2.21 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 192.0.2.21 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 192.0.2.21 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.21 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS2_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::21 set community NO_ADVERTISE +match from 2001:db8:1:1::21 nexthop 2001:db8:1:1::21 set community delete NO_ADVERTISE +match from 2001:db8:1:1::21 nexthop 2001:db8:1:1::22 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::21 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::21 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::21 peer-as != 2' - reject code: 6 +allow quick from 2001:db8:1:1::21 peer-as != 2 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::21 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::21 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 2001:db8:1:1::21 AS { 3, 174 }' - reject code: 8 +allow quick from 2001:db8:1:1::21 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 2001:db8:1:1::21 AS { 666, 777 }' - reject code: 15 +allow quick from 2001:db8:1:1::21 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + + +match from 2001:db8:1:1::21 set ext-community $INTCOMM_IRR_REJECT + +# AS_PATH: check origin via AS-SET +# IRRDB filters for AS2_2, AS2: asns +# add $INTCOMM_ORIGIN_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::21 set ext-community $INTCOMM_ORIGIN_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS2 referenced but empty. +match from 2001:db8:1:1::21 source-as as-set AS_SET_AS_AS2_AS_AS2_CUSTOMERS_asns set { ext-community delete $INTCOMM_ORIGIN_KO ext-community $INTCOMM_ORIGIN_OK } # AS_AS2_AS_AS2_CUSTOMERS + + +# Prefix: check prefix via AS-SET +# IRRDB filters for AS2_2, AS2: prefixes +# add $INTCOMM_PREFIX_KO to any; it will be removed later if at least one AS-SET authorizes this object +match from 2001:db8:1:1::21 set ext-community $INTCOMM_PREFIX_KO +# verifying if object is authorized by AS-SETs +# AS-SET AS2 referenced but empty. +match from 2001:db8:1:1::21 prefix-set AS_SET_AS_AS2_AS_AS2_CUSTOMERS_prefixes set { ext-community delete $INTCOMM_PREFIX_KO ext-community $INTCOMM_PREFIX_OK } # AS_AS2_AS_AS2_CUSTOMERS + + +# routes tagged with $INTCOMM_PREF_OK_ROA community have the prefix validated by a ROA; origin ASN previously validated ($INTCOMM_ORIGIN_OK) +match from 2001:db8:1:1::21 ext-community $INTCOMM_ORIGIN_OK ext-community $INTCOMM_PREF_OK_ROA set ext-community delete $INTCOMM_IRR_REJECT + + + + +# enforcing: origin ASN +# Reject inbound routes when 'from 2001:db8:1:1::21 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO' - reject code: 9 +allow quick from 2001:db8:1:1::21 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_ORIGIN_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:9} + +# enforcing: prefix +# Reject inbound routes when 'from 2001:db8:1:1::21 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO' - reject code: 12 +allow quick from 2001:db8:1:1::21 ext-community $INTCOMM_IRR_REJECT ext-community $INTCOMM_PREFIX_KO set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:12} + + +# Blackhole request? +match from 2001:db8:1:1::21 set ext-community delete rt 65520:2 + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::21 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::21 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::21 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 2001:db8:1:1::21 community BLACKHOLE +allow quick from 2001:db8:1:1::21 community 65534:0 +allow quick from 2001:db8:1:1::21 large-community 65534:0:0 + + +match from 2001:db8:1:1::21 set ext-community rt 65520:2 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 2001:db8:1:1::21 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 2001:db8:1:1::21 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::21 prefix ::/0 prefixlen 17 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::21 prefix ::/0 prefixlen 17 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 2001:db8:1:1::21 community GRACEFUL_SHUTDOWN set community delete GRACEFUL_SHUTDOWN + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::21 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::21 set ext-community delete rt 65520:2 + + + +allow quick from 2001:db8:1:1::21 + + + +# --------------------------------------------- +# client AS2_2, outbound + +deny quick to 2001:db8:1:1::21 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 2001:db8:1:1::21 community 65534:0 set community BLACKHOLE +match to 2001:db8:1:1::21 large-community 65534:0:0 set community BLACKHOLE + +match to 2001:db8:1:1::21 community BLACKHOLE set community NO_EXPORT +match to 2001:db8:1:1::21 community BLACKHOLE set nexthop 2001:db8:1:1::66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 2001:db8:1:1::21 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 2001:db8:1:1::21 community 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::21 ext-community rt 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::21 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 2001:db8:1:1::21 community 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::21 ext-community rt 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::21 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 2001:db8:1:1::21 community 65509:2 set community NO_EXPORT +match to 2001:db8:1:1::21 ext-community rt 65509:2 set community NO_EXPORT +match to 2001:db8:1:1::21 large-community 999:65509:2 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 2001:db8:1:1::21 community 65510:2 set community NO_ADVERTISE +match to 2001:db8:1:1::21 ext-community rt 65510:2 set community NO_ADVERTISE +match to 2001:db8:1:1::21 large-community 999:65510:2 set community NO_ADVERTISE + + +# BGP control communities +allow to 2001:db8:1:1::21 + +# do_not_announce_to_any +deny to 2001:db8:1:1::21 community 0:999 +deny to 2001:db8:1:1::21 ext-community rt 0:999 +deny to 2001:db8:1:1::21 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::21 community 0:2 +deny quick to 2001:db8:1:1::21 ext-community rt 0:2 +deny quick to 2001:db8:1:1::21 large-community 999:0:2 + +# announce_to_peer +allow to 2001:db8:1:1::21 community 65501:2 +allow to 2001:db8:1:1::21 ext-community rt 65501:2 +allow to 2001:db8:1:1::21 large-community 999:65501:2 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 65521:2 set prepend-neighbor 1 +match to 2001:db8:1:1::21 ext-community rt 65521:2 set prepend-neighbor 1 +match to 2001:db8:1:1::21 large-community 999:65521:2 set prepend-neighbor 1 + +match to 2001:db8:1:1::21 community 65521:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 65521:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:65521:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 65522:2 set prepend-neighbor 2 +match to 2001:db8:1:1::21 ext-community rt 65522:2 set prepend-neighbor 2 +match to 2001:db8:1:1::21 large-community 999:65522:2 set prepend-neighbor 2 + +match to 2001:db8:1:1::21 community 65522:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 65522:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:65522:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 65523:2 set prepend-neighbor 3 +match to 2001:db8:1:1::21 ext-community rt 65523:2 set prepend-neighbor 3 +match to 2001:db8:1:1::21 large-community 999:65523:2 set prepend-neighbor 3 + +match to 2001:db8:1:1::21 community 65523:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 65523:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:65523:2 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::21 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::21 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 2001:db8:1:1::21 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::21 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::21 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 2001:db8:1:1::21 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::21 community 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::21 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::21 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 2001:db8:1:1::21 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::21 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:2 ext-community delete rt 65521:2 large-community delete 999:65521:2 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:2 ext-community delete rt 65523:2 large-community delete 999:65523:2 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:2 ext-community delete rt 65522:2 large-community delete 999:65522:2 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS3_1, inbound + + + +# NEXT_HOP +match from 192.0.2.31 set community NO_ADVERTISE +match from 192.0.2.31 nexthop 192.0.2.31 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.31 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.31 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.31 peer-as != 3' - reject code: 6 +allow quick from 192.0.2.31 peer-as != 3 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.31 AS 23456' - reject code: 7 +allow quick from 192.0.2.31 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.31 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.31 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.31 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.31 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 192.0.2.31 AS { 174 }' - reject code: 8 +allow quick from 192.0.2.31 AS { 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 192.0.2.31 AS { 666, 777 }' - reject code: 15 +allow quick from 192.0.2.31 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + + + + +# Prefix: client's blacklist +prefix-set "client_AS3_1_black_list_pref_ipv4" { + 3.0.1.0/24 prefixlen 24 - 32 + +} +# Reject inbound routes when 'from 192.0.2.31 prefix-set client_AS3_1_black_list_pref_ipv4' - reject code: 11 +allow quick from 192.0.2.31 prefix-set client_AS3_1_black_list_pref_ipv4 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:11} + + + + +# Blackhole request? +match from 192.0.2.31 set ext-community delete rt 65520:3 + + +# Remove internal communities before accepting the route +match from 192.0.2.31 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.31 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.31 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 192.0.2.31 community BLACKHOLE +allow quick from 192.0.2.31 community 65534:0 +allow quick from 192.0.2.31 large-community 65534:0:0 + + +match from 192.0.2.31 set ext-community rt 65520:3 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 192.0.2.31 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 192.0.2.31 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.31 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.31 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 192.0.2.31 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 192.0.2.31 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.31 set ext-community delete rt 65520:3 + + + +allow quick from 192.0.2.31 + + + +# --------------------------------------------- +# client AS3_1, outbound + +deny quick to 192.0.2.31 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 192.0.2.31 community 65534:0 set community BLACKHOLE +match to 192.0.2.31 large-community 65534:0:0 set community BLACKHOLE + +match to 192.0.2.31 community BLACKHOLE set community NO_EXPORT +match to 192.0.2.31 community BLACKHOLE set nexthop 192.0.2.66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 192.0.2.31 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 192.0.2.31 community 65507:999 set community NO_EXPORT +match to 192.0.2.31 ext-community rt 65507:999 set community NO_EXPORT +match to 192.0.2.31 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 192.0.2.31 community 65508:999 set community NO_ADVERTISE +match to 192.0.2.31 ext-community rt 65508:999 set community NO_ADVERTISE +match to 192.0.2.31 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 192.0.2.31 community 65509:3 set community NO_EXPORT +match to 192.0.2.31 ext-community rt 65509:3 set community NO_EXPORT +match to 192.0.2.31 large-community 999:65509:3 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 192.0.2.31 community 65510:3 set community NO_ADVERTISE +match to 192.0.2.31 ext-community rt 65510:3 set community NO_ADVERTISE +match to 192.0.2.31 large-community 999:65510:3 set community NO_ADVERTISE + + +# BGP control communities +allow to 192.0.2.31 + +# do_not_announce_to_any +deny to 192.0.2.31 community 0:999 +deny to 192.0.2.31 ext-community rt 0:999 +deny to 192.0.2.31 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 192.0.2.31 community 0:3 +deny quick to 192.0.2.31 ext-community rt 0:3 +deny quick to 192.0.2.31 large-community 999:0:3 + +# announce_to_peer +allow to 192.0.2.31 community 65501:3 +allow to 192.0.2.31 ext-community rt 65501:3 +allow to 192.0.2.31 large-community 999:65501:3 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 65521:3 set prepend-neighbor 1 +match to 192.0.2.31 ext-community rt 65521:3 set prepend-neighbor 1 +match to 192.0.2.31 large-community 999:65521:3 set prepend-neighbor 1 + +match to 192.0.2.31 community 65521:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 65521:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:65521:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 65522:3 set prepend-neighbor 2 +match to 192.0.2.31 ext-community rt 65522:3 set prepend-neighbor 2 +match to 192.0.2.31 large-community 999:65522:3 set prepend-neighbor 2 + +match to 192.0.2.31 community 65522:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 65522:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:65522:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 65523:3 set prepend-neighbor 3 +match to 192.0.2.31 ext-community rt 65523:3 set prepend-neighbor 3 +match to 192.0.2.31 large-community 999:65523:3 set prepend-neighbor 3 + +match to 192.0.2.31 community 65523:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 65523:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:65523:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 65521:65521 set prepend-neighbor 1 +match to 192.0.2.31 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 192.0.2.31 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 192.0.2.31 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 65522:65522 set prepend-neighbor 2 +match to 192.0.2.31 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 192.0.2.31 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 192.0.2.31 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.31 community 65523:65523 set prepend-neighbor 3 +match to 192.0.2.31 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 192.0.2.31 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 192.0.2.31 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.31 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS3_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::31 set community NO_ADVERTISE +match from 2001:db8:1:1::31 nexthop 2001:db8:1:1::31 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::31 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::31 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::31 peer-as != 3' - reject code: 6 +allow quick from 2001:db8:1:1::31 peer-as != 3 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::31 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::31 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::31 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::31 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::31 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::31 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 2001:db8:1:1::31 AS { 174 }' - reject code: 8 +allow quick from 2001:db8:1:1::31 AS { 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 2001:db8:1:1::31 AS { 666, 777 }' - reject code: 15 +allow quick from 2001:db8:1:1::31 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + + + + +# Prefix: client's blacklist +prefix-set "client_AS3_2_black_list_pref_ipv6" { + 2a03:0:1::/48 prefixlen 48 - 128 + +} +# Reject inbound routes when 'from 2001:db8:1:1::31 prefix-set client_AS3_2_black_list_pref_ipv6' - reject code: 11 +allow quick from 2001:db8:1:1::31 prefix-set client_AS3_2_black_list_pref_ipv6 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:11} + + + + +# Blackhole request? +match from 2001:db8:1:1::31 set ext-community delete rt 65520:3 + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::31 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::31 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::31 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 2001:db8:1:1::31 community BLACKHOLE +allow quick from 2001:db8:1:1::31 community 65534:0 +allow quick from 2001:db8:1:1::31 large-community 65534:0:0 + + +match from 2001:db8:1:1::31 set ext-community rt 65520:3 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 2001:db8:1:1::31 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 2001:db8:1:1::31 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::31 prefix ::/0 prefixlen 17 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::31 prefix ::/0 prefixlen 17 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 2001:db8:1:1::31 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::31 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::31 set ext-community delete rt 65520:3 + + + +allow quick from 2001:db8:1:1::31 + + + +# --------------------------------------------- +# client AS3_2, outbound + +deny quick to 2001:db8:1:1::31 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 2001:db8:1:1::31 community 65534:0 set community BLACKHOLE +match to 2001:db8:1:1::31 large-community 65534:0:0 set community BLACKHOLE + +match to 2001:db8:1:1::31 community BLACKHOLE set community NO_EXPORT +match to 2001:db8:1:1::31 community BLACKHOLE set nexthop 2001:db8:1:1::66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 2001:db8:1:1::31 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 2001:db8:1:1::31 community 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::31 ext-community rt 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::31 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 2001:db8:1:1::31 community 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::31 ext-community rt 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::31 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 2001:db8:1:1::31 community 65509:3 set community NO_EXPORT +match to 2001:db8:1:1::31 ext-community rt 65509:3 set community NO_EXPORT +match to 2001:db8:1:1::31 large-community 999:65509:3 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 2001:db8:1:1::31 community 65510:3 set community NO_ADVERTISE +match to 2001:db8:1:1::31 ext-community rt 65510:3 set community NO_ADVERTISE +match to 2001:db8:1:1::31 large-community 999:65510:3 set community NO_ADVERTISE + + +# BGP control communities +allow to 2001:db8:1:1::31 + +# do_not_announce_to_any +deny to 2001:db8:1:1::31 community 0:999 +deny to 2001:db8:1:1::31 ext-community rt 0:999 +deny to 2001:db8:1:1::31 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::31 community 0:3 +deny quick to 2001:db8:1:1::31 ext-community rt 0:3 +deny quick to 2001:db8:1:1::31 large-community 999:0:3 + +# announce_to_peer +allow to 2001:db8:1:1::31 community 65501:3 +allow to 2001:db8:1:1::31 ext-community rt 65501:3 +allow to 2001:db8:1:1::31 large-community 999:65501:3 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 65521:3 set prepend-neighbor 1 +match to 2001:db8:1:1::31 ext-community rt 65521:3 set prepend-neighbor 1 +match to 2001:db8:1:1::31 large-community 999:65521:3 set prepend-neighbor 1 + +match to 2001:db8:1:1::31 community 65521:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 65521:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:65521:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 65522:3 set prepend-neighbor 2 +match to 2001:db8:1:1::31 ext-community rt 65522:3 set prepend-neighbor 2 +match to 2001:db8:1:1::31 large-community 999:65522:3 set prepend-neighbor 2 + +match to 2001:db8:1:1::31 community 65522:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 65522:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:65522:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 65523:3 set prepend-neighbor 3 +match to 2001:db8:1:1::31 ext-community rt 65523:3 set prepend-neighbor 3 +match to 2001:db8:1:1::31 large-community 999:65523:3 set prepend-neighbor 3 + +match to 2001:db8:1:1::31 community 65523:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 65523:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:65523:3 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::31 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::31 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 2001:db8:1:1::31 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::31 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::31 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 2001:db8:1:1::31 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::31 community 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::31 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::31 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 2001:db8:1:1::31 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::31 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:3 ext-community delete rt 65521:3 large-community delete 999:65521:3 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:3 ext-community delete rt 65523:3 large-community delete 999:65523:3 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:3 ext-community delete rt 65522:3 large-community delete 999:65522:3 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS4_1, inbound + + + +# NEXT_HOP +match from 192.0.2.41 set community NO_ADVERTISE +match from 192.0.2.41 nexthop 192.0.2.41 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 192.0.2.41 community NO_ADVERTISE' - reject code: 5 +allow quick from 192.0.2.41 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 192.0.2.41 peer-as != 4' - reject code: 6 +allow quick from 192.0.2.41 peer-as != 4 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 192.0.2.41 AS 23456' - reject code: 7 +allow quick from 192.0.2.41 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.41 AS 64496 - 131071' - reject code: 7 +allow quick from 192.0.2.41 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 192.0.2.41 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 192.0.2.41 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 192.0.2.41 AS { 3, 174 }' - reject code: 8 +allow quick from 192.0.2.41 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 192.0.2.41 AS { 666, 777 }' - reject code: 15 +allow quick from 192.0.2.41 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + + + + + + + +# Blackhole request? +match from 192.0.2.41 set ext-community delete rt 65520:4 + + +# Remove internal communities before accepting the route +match from 192.0.2.41 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.41 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 192.0.2.41 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 192.0.2.41 community BLACKHOLE +allow quick from 192.0.2.41 community 65534:0 +allow quick from 192.0.2.41 large-community 65534:0:0 + + +match from 192.0.2.41 set ext-community rt 65520:4 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 192.0.2.41 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 192.0.2.41 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 192.0.2.41 prefix 0.0.0.0/0 prefixlen 8 >< 24' - reject code: 13 +allow quick from 192.0.2.41 prefix 0.0.0.0/0 prefixlen 8 >< 24 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 192.0.2.41 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 192.0.2.41 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 192.0.2.41 set ext-community delete rt 65520:4 + + + +allow quick from 192.0.2.41 + + + +# --------------------------------------------- +# client AS4_1, outbound + +deny quick to 192.0.2.41 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 192.0.2.41 community 65534:0 set community BLACKHOLE +match to 192.0.2.41 large-community 65534:0:0 set community BLACKHOLE + +match to 192.0.2.41 community BLACKHOLE set community NO_EXPORT +match to 192.0.2.41 community BLACKHOLE set nexthop 192.0.2.66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 192.0.2.41 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 192.0.2.41 community 65507:999 set community NO_EXPORT +match to 192.0.2.41 ext-community rt 65507:999 set community NO_EXPORT +match to 192.0.2.41 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 192.0.2.41 community 65508:999 set community NO_ADVERTISE +match to 192.0.2.41 ext-community rt 65508:999 set community NO_ADVERTISE +match to 192.0.2.41 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 192.0.2.41 community 65509:4 set community NO_EXPORT +match to 192.0.2.41 ext-community rt 65509:4 set community NO_EXPORT +match to 192.0.2.41 large-community 999:65509:4 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 192.0.2.41 community 65510:4 set community NO_ADVERTISE +match to 192.0.2.41 ext-community rt 65510:4 set community NO_ADVERTISE +match to 192.0.2.41 large-community 999:65510:4 set community NO_ADVERTISE + + +# BGP control communities +allow to 192.0.2.41 + +# do_not_announce_to_any +deny to 192.0.2.41 community 0:999 +deny to 192.0.2.41 ext-community rt 0:999 +deny to 192.0.2.41 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 192.0.2.41 community 0:4 +deny quick to 192.0.2.41 ext-community rt 0:4 +deny quick to 192.0.2.41 large-community 999:0:4 + +# announce_to_peer +allow to 192.0.2.41 community 65501:4 +allow to 192.0.2.41 ext-community rt 65501:4 +allow to 192.0.2.41 large-community 999:65501:4 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 65521:4 set prepend-neighbor 1 +match to 192.0.2.41 ext-community rt 65521:4 set prepend-neighbor 1 +match to 192.0.2.41 large-community 999:65521:4 set prepend-neighbor 1 + +match to 192.0.2.41 community 65521:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 65521:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:65521:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 65522:4 set prepend-neighbor 2 +match to 192.0.2.41 ext-community rt 65522:4 set prepend-neighbor 2 +match to 192.0.2.41 large-community 999:65522:4 set prepend-neighbor 2 + +match to 192.0.2.41 community 65522:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 65522:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:65522:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 65523:4 set prepend-neighbor 3 +match to 192.0.2.41 ext-community rt 65523:4 set prepend-neighbor 3 +match to 192.0.2.41 large-community 999:65523:4 set prepend-neighbor 3 + +match to 192.0.2.41 community 65523:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 65523:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:65523:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 65521:65521 set prepend-neighbor 1 +match to 192.0.2.41 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 192.0.2.41 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 192.0.2.41 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 65522:65522 set prepend-neighbor 2 +match to 192.0.2.41 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 192.0.2.41 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 192.0.2.41 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 192.0.2.41 community 65523:65523 set prepend-neighbor 3 +match to 192.0.2.41 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 192.0.2.41 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 192.0.2.41 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 192.0.2.41 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# --------------------------------------------- +# client AS4_2, inbound + + + +# NEXT_HOP +match from 2001:db8:1:1::41 set community NO_ADVERTISE +match from 2001:db8:1:1::41 nexthop 2001:db8:1:1::41 set community delete NO_ADVERTISE +# Reject inbound routes when 'from 2001:db8:1:1::41 community NO_ADVERTISE' - reject code: 5 +allow quick from 2001:db8:1:1::41 community NO_ADVERTISE set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:5} + + +# AS_PATH: left-most ASN +# Reject inbound routes when 'from 2001:db8:1:1::41 peer-as != 4' - reject code: 6 +allow quick from 2001:db8:1:1::41 peer-as != 4 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:6} + + +# AS_PATH: invalid ASNs +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 23456' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 23456 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 64496 - 131071' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 64496 - 131071 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + +# Reject inbound routes when 'from 2001:db8:1:1::41 AS 4200000000 - 4294967295' - reject code: 7 +allow quick from 2001:db8:1:1::41 AS 4200000000 - 4294967295 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:7} + + +# AS_PATH: transit-free ASNs +# Reject inbound routes when 'from 2001:db8:1:1::41 AS { 3, 174 }' - reject code: 8 +allow quick from 2001:db8:1:1::41 AS { 3, 174 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:8} + + +# AS_PATH: never via route-servers ASNs +# Reject inbound routes when 'from 2001:db8:1:1::41 AS { 666, 777 }' - reject code: 15 +allow quick from 2001:db8:1:1::41 AS { 666, 777 } set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:15} + + + + + + + + +# Blackhole request? +match from 2001:db8:1:1::41 set ext-community delete rt 65520:4 + + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::41 community BLACKHOLE set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::41 community 65534:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } +allow from 2001:db8:1:1::41 large-community 65534:0:0 set {ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + + +allow quick from 2001:db8:1:1::41 community BLACKHOLE +allow quick from 2001:db8:1:1::41 community 65534:0 +allow quick from 2001:db8:1:1::41 large-community 65534:0:0 + + +match from 2001:db8:1:1::41 set ext-community rt 65520:4 + + +# RPKI-based Origin Validation +# Reject inbound routes when 'from 2001:db8:1:1::41 ext-community $INTCOMM_RPKI_INVALID' - reject code: 14 +allow quick from 2001:db8:1:1::41 ext-community $INTCOMM_RPKI_INVALID set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:14} + + +# Prefix: length +# Reject inbound routes when 'from 2001:db8:1:1::41 prefix ::/0 prefixlen 17 >< 48' - reject code: 13 +allow quick from 2001:db8:1:1::41 prefix ::/0 prefixlen 17 >< 48 set { localpref 1 community delete NO_ADVERTISE ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE community 65520:0 community 65520:13} + + +# Graceful shutdown +match from 2001:db8:1:1::41 community GRACEFUL_SHUTDOWN set localpref 5 + +# Remove internal communities before accepting the route +match from 2001:db8:1:1::41 set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID } + +match from 2001:db8:1:1::41 set ext-community delete rt 65520:4 + + + +allow quick from 2001:db8:1:1::41 + + + +# --------------------------------------------- +# client AS4_2, outbound + +deny quick to 2001:db8:1:1::41 community 65520:0 + + + +# Blackhole request? +# Configured policy: rewrite-next-hop +match to 2001:db8:1:1::41 community 65534:0 set community BLACKHOLE +match to 2001:db8:1:1::41 large-community 65534:0:0 set community BLACKHOLE + +match to 2001:db8:1:1::41 community BLACKHOLE set community NO_EXPORT +match to 2001:db8:1:1::41 community BLACKHOLE set nexthop 2001:db8:1:1::66 + + +# RPKI-based Origin Validation +# Do not announce INVALID to clients +deny quick to 2001:db8:1:1::41 ext-community $INTCOMM_RPKI_INVALID + +# NO_EXPORT and NO_ADVERTISE communities +# add_noexport_to_any +match to 2001:db8:1:1::41 community 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::41 ext-community rt 65507:999 set community NO_EXPORT +match to 2001:db8:1:1::41 large-community 999:65507:999 set community NO_EXPORT + +# add_noadvertise_to_any +match to 2001:db8:1:1::41 community 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::41 ext-community rt 65508:999 set community NO_ADVERTISE +match to 2001:db8:1:1::41 large-community 999:65508:999 set community NO_ADVERTISE + +# add_noexport_to_peer +match to 2001:db8:1:1::41 community 65509:4 set community NO_EXPORT +match to 2001:db8:1:1::41 ext-community rt 65509:4 set community NO_EXPORT +match to 2001:db8:1:1::41 large-community 999:65509:4 set community NO_EXPORT + +# add_noadvertise_to_peer +match to 2001:db8:1:1::41 community 65510:4 set community NO_ADVERTISE +match to 2001:db8:1:1::41 ext-community rt 65510:4 set community NO_ADVERTISE +match to 2001:db8:1:1::41 large-community 999:65510:4 set community NO_ADVERTISE + + +# BGP control communities +allow to 2001:db8:1:1::41 + +# do_not_announce_to_any +deny to 2001:db8:1:1::41 community 0:999 +deny to 2001:db8:1:1::41 ext-community rt 0:999 +deny to 2001:db8:1:1::41 large-community 999:0:999 + +# do_not_announce_to_peer +deny quick to 2001:db8:1:1::41 community 0:4 +deny quick to 2001:db8:1:1::41 ext-community rt 0:4 +deny quick to 2001:db8:1:1::41 large-community 999:0:4 + +# announce_to_peer +allow to 2001:db8:1:1::41 community 65501:4 +allow to 2001:db8:1:1::41 ext-community rt 65501:4 +allow to 2001:db8:1:1::41 large-community 999:65501:4 + + +# prepend_once_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 65521:4 set prepend-neighbor 1 +match to 2001:db8:1:1::41 ext-community rt 65521:4 set prepend-neighbor 1 +match to 2001:db8:1:1::41 large-community 999:65521:4 set prepend-neighbor 1 + +match to 2001:db8:1:1::41 community 65521:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 65521:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:65521:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 65522:4 set prepend-neighbor 2 +match to 2001:db8:1:1::41 ext-community rt 65522:4 set prepend-neighbor 2 +match to 2001:db8:1:1::41 large-community 999:65522:4 set prepend-neighbor 2 + +match to 2001:db8:1:1::41 community 65522:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 65522:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:65522:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_peer; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 65523:4 set prepend-neighbor 3 +match to 2001:db8:1:1::41 ext-community rt 65523:4 set prepend-neighbor 3 +match to 2001:db8:1:1::41 large-community 999:65523:4 set prepend-neighbor 3 + +match to 2001:db8:1:1::41 community 65523:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 65523:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:65523:4 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + +# prepend_once_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::41 ext-community rt 65521:65521 set prepend-neighbor 1 +match to 2001:db8:1:1::41 large-community 999:65521:65521 set prepend-neighbor 1 + +match to 2001:db8:1:1::41 community 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:65521:65521 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_twice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::41 ext-community rt 65522:65522 set prepend-neighbor 2 +match to 2001:db8:1:1::41 large-community 999:65522:65522 set prepend-neighbor 2 + +match to 2001:db8:1:1::41 community 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:65522:65522 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# prepend_thrice_to_any; remove further "prepend" communities from matching routes +match to 2001:db8:1:1::41 community 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::41 ext-community rt 65523:65523 set prepend-neighbor 3 +match to 2001:db8:1:1::41 large-community 999:65523:65523 set prepend-neighbor 3 + +match to 2001:db8:1:1::41 community 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 ext-community rt 65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } +match to 2001:db8:1:1::41 large-community 999:65523:65523 set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 community delete 65521:4 ext-community delete rt 65521:4 large-community delete 999:65521:4 community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 community delete 65523:4 ext-community delete rt 65523:4 large-community delete 999:65523:4 community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 community delete 65522:4 ext-community delete rt 65522:4 large-community delete 999:65522:4 community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + + + + + +# Scrub communities from outbound routes +# add_noadvertise_to_any +match to group clients set community delete 65508:999 +match to group clients set ext-community delete rt 65508:999 +match to group clients set large-community delete 999:65508:999 + +# add_noadvertise_to_peer +match to group clients set community delete 65510:* +# Warning: rt:65510:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:65510:* + +# add_noexport_to_any +match to group clients set community delete 65507:999 +match to group clients set ext-community delete rt 65507:999 +match to group clients set large-community delete 999:65507:999 + +# add_noexport_to_peer +match to group clients set community delete 65509:* +# Warning: rt:65509:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:65509:* + +# announce_to_peer +match to group clients set community delete 65501:* +# Warning: rt:65501:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:65501:* + +# announce_to_peers_with_rtt_higher_than +match to group clients set community delete 64533:* +# Warning: rt:64533:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64533:* + +# announce_to_peers_with_rtt_lower_than +match to group clients set community delete 64532:* +# Warning: rt:64532:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64532:* + +# blackholing +match to group clients set community delete 65534:0 +match to group clients set large-community delete 65534:0:0 + +# do_not_announce_to_any +match to group clients set community delete 0:999 +match to group clients set ext-community delete rt 0:999 +match to group clients set large-community delete 999:0:999 + +# do_not_announce_to_peer +match to group clients set community delete 0:* +# Warning: rt:0:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:0:* + +# do_not_announce_to_peers_with_rtt_higher_than +match to group clients set community delete 64531:* +# Warning: rt:64531:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64531:* + +# do_not_announce_to_peers_with_rtt_lower_than +match to group clients set community delete 64530:* +# Warning: rt:64530:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64530:* + +# prepend_once_to_any +match to group clients set community delete 65521:65521 +match to group clients set ext-community delete rt 65521:65521 +match to group clients set large-community delete 999:65521:65521 + +# prepend_once_to_peer +match to group clients set community delete 65521:* +# Warning: rt:65521:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:65521:* + +# prepend_once_to_peers_with_rtt_higher_than +match to group clients set community delete 64537:* +# Warning: rt:64537:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64537:* + +# prepend_once_to_peers_with_rtt_lower_than +match to group clients set community delete 64534:* +# Warning: rt:64534:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64534:* + +# prepend_thrice_to_any +match to group clients set community delete 65523:65523 +match to group clients set ext-community delete rt 65523:65523 +match to group clients set large-community delete 999:65523:65523 + +# prepend_thrice_to_peer +match to group clients set community delete 65523:* +# Warning: rt:65523:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:65523:* + +# prepend_thrice_to_peers_with_rtt_higher_than +match to group clients set community delete 64539:* +# Warning: rt:64539:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64539:* + +# prepend_thrice_to_peers_with_rtt_lower_than +match to group clients set community delete 64536:* +# Warning: rt:64536:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64536:* + +# prepend_twice_to_any +match to group clients set community delete 65522:65522 +match to group clients set ext-community delete rt 65522:65522 +match to group clients set large-community delete 999:65522:65522 + +# prepend_twice_to_peer +match to group clients set community delete 65522:* +# Warning: rt:65522:peer_as ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:65522:* + +# prepend_twice_to_peers_with_rtt_higher_than +match to group clients set community delete 64538:* +# Warning: rt:64538:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64538:* + +# prepend_twice_to_peers_with_rtt_lower_than +match to group clients set community delete 64535:* +# Warning: rt:64535:dyn_val ext comm skipped: can't delete ext comms using wildcard +match to group clients set large-community delete 999:64535:* + + +# Scrub prepending communities +match to group clients set { community delete 65521:65521 ext-community delete rt 65521:65521 large-community delete 999:65521:65521 } +match to group clients set { community delete 65521:0 ext-community delete rt 65521:0 large-community delete 999:65521:0 } +match to group clients set { community delete 64537:* ext-community delete rt 64537:5 ext-community delete rt 64537:10 ext-community delete rt 64537:15 ext-community delete rt 64537:20 ext-community delete rt 64537:30 ext-community delete rt 64537:50 ext-community delete rt 64537:100 ext-community delete rt 64537:200 ext-community delete rt 64537:500 large-community delete 999:64537:* } +match to group clients set { community delete 64534:* ext-community delete rt 64534:5 ext-community delete rt 64534:10 ext-community delete rt 64534:15 ext-community delete rt 64534:20 ext-community delete rt 64534:30 ext-community delete rt 64534:50 ext-community delete rt 64534:100 ext-community delete rt 64534:200 ext-community delete rt 64534:500 large-community delete 999:64534:* } +match to group clients set { community delete 65523:65523 ext-community delete rt 65523:65523 large-community delete 999:65523:65523 } +match to group clients set { community delete 65523:0 ext-community delete rt 65523:0 large-community delete 999:65523:0 } +match to group clients set { community delete 64539:* ext-community delete rt 64539:5 ext-community delete rt 64539:10 ext-community delete rt 64539:15 ext-community delete rt 64539:20 ext-community delete rt 64539:30 ext-community delete rt 64539:50 ext-community delete rt 64539:100 ext-community delete rt 64539:200 ext-community delete rt 64539:500 large-community delete 999:64539:* } +match to group clients set { community delete 64536:* ext-community delete rt 64536:5 ext-community delete rt 64536:10 ext-community delete rt 64536:15 ext-community delete rt 64536:20 ext-community delete rt 64536:30 ext-community delete rt 64536:50 ext-community delete rt 64536:100 ext-community delete rt 64536:200 ext-community delete rt 64536:500 large-community delete 999:64536:* } +match to group clients set { community delete 65522:65522 ext-community delete rt 65522:65522 large-community delete 999:65522:65522 } +match to group clients set { community delete 65522:0 ext-community delete rt 65522:0 large-community delete 999:65522:0 } +match to group clients set { community delete 64538:* ext-community delete rt 64538:5 ext-community delete rt 64538:10 ext-community delete rt 64538:15 ext-community delete rt 64538:20 ext-community delete rt 64538:30 ext-community delete rt 64538:50 ext-community delete rt 64538:100 ext-community delete rt 64538:200 ext-community delete rt 64538:500 large-community delete 999:64538:* } +match to group clients set { community delete 64535:* ext-community delete rt 64535:5 ext-community delete rt 64535:10 ext-community delete rt 64535:15 ext-community delete rt 64535:20 ext-community delete rt 64535:30 ext-community delete rt 64535:50 ext-community delete rt 64535:100 ext-community delete rt 64535:200 ext-community delete rt 64535:500 large-community delete 999:64535:* } + + +# RFC1997 NO_EXPORT/NO_ADVERTISE received from clients and propagated because of pass-through policy +match to group clients ext-community $INTCOMM_NO_EXPORT set community NO_EXPORT +match to group clients ext-community $INTCOMM_NO_ADVERTISE set community NO_ADVERTISE + +# Remove internal communities before announcing the route +match to group clients set { ext-community delete $INTCOMM_PREF_OK_ROA ext-community delete $INTCOMM_ROUTE_OK_WL ext-community delete $INTCOMM_PREF_OK_ARINDB ext-community delete $INTCOMM_PREF_OK_REGISTROBRDB ext-community delete $INTCOMM_ORIGIN_OK ext-community delete $INTCOMM_ORIGIN_KO ext-community delete $INTCOMM_PREFIX_OK ext-community delete $INTCOMM_PREFIX_KO ext-community delete $INTCOMM_IRR_REJECT ext-community delete $INTCOMM_RPKI_UNKNOWN ext-community delete $INTCOMM_RPKI_INVALID ext-community delete $INTCOMM_RPKI_VALID ext-community delete $INTCOMM_NO_EXPORT ext-community delete $INTCOMM_NO_ADVERTISE } + +include "/etc/bgpd/post-filters.local" + + diff --git a/tests/live_tests/scenarios/tag_reject_policy/routes/TagRejectPolicyScenario_OpenBGPDIPv4/openbgpd69/AS101.txt b/tests/live_tests/scenarios/tag_reject_policy/routes/TagRejectPolicyScenario_OpenBGPDIPv4/openbgpd69/AS101.txt new file mode 100644 index 00000000..4f9288f4 --- /dev/null +++ b/tests/live_tests/scenarios/tag_reject_policy/routes/TagRejectPolicyScenario_OpenBGPDIPv4/openbgpd69/AS101.txt @@ -0,0 +1,406 @@ +1.0.1.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +1.0.1.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.12, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +1.0.1.0/24, AS_PATH: 2 1, NEXT_HOP: 192.0.2.11, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +1.0.2.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +1.0.2.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.12, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +1.0.2.0/24, AS_PATH: 2 1, NEXT_HOP: 192.0.2.11, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +1.0.3.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.12, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +1.0.3.0/24, AS_PATH: 2 1, NEXT_HOP: 192.0.2.11, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +10.0.0.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +11.1.1.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +11.1.1.0/24, AS_PATH: 2 1 1011, NEXT_HOP: 192.0.2.11, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +11.1.2.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +11.2.1.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +11.3.0.0/16, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +11.3.0.0/16, AS_PATH: 2 1 1011, NEXT_HOP: 192.0.2.11, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +11.3.1.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +11.4.1.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +11.4.1.0/24, AS_PATH: 2 1 1000, NEXT_HOP: 192.0.2.11, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +128.0.0.0/10, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +128.0.0.0/7, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +128.0.0.0/8, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +128.0.0.0/9, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +192.0.2.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.1.0/24, AS_PATH: 1 2, NEXT_HOP: 192.0.2.21, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2.0.1.0/24, AS_PATH: 1 2, NEXT_HOP: 192.0.2.21, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2.0.1.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.2.0/24, AS_PATH: 1 2, NEXT_HOP: 192.0.2.21, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2.0.2.0/24, AS_PATH: 1 2, NEXT_HOP: 192.0.2.21, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2.0.2.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.1/32, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.2/32, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.3/32, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.4.0/24, AS_PATH: 1 2, NEXT_HOP: 192.0.2.22, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2.0.4.0/24, AS_PATH: 1 2, NEXT_HOP: 192.0.2.22, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2.0.4.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.5.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.10.0/24, AS_PATH: 1 3 3 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3.0.10.0/24, AS_PATH: 1 3 3 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3.0.10.0/24, AS_PATH: 2 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.12.0/24, AS_PATH: 2 3 3 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.2.0/24, AS_PATH: 1 3, NEXT_HOP: 192.0.2.31, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.2.0/24, AS_PATH: 1 3, NEXT_HOP: 192.0.2.31, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3.0.3.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.31, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.5.0/24, AS_PATH: 1 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.5.0/24, AS_PATH: 1 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3.0.5.0/24, AS_PATH: 2 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3.0.6.0/24, AS_PATH: 1 3 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.6.0/24, AS_PATH: 1 3 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3.0.6.0/24, AS_PATH: 2 3 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3.0.7.0/24, AS_PATH: 1 3 3 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.7.0/24, AS_PATH: 1 3 3 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3.0.7.0/24, AS_PATH: 2 3 3 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3.0.8.0/24, AS_PATH: 1 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3.0.8.0/24, AS_PATH: 1 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3.0.8.0/24, AS_PATH: 2 3, NEXT_HOP: 192.0.2.31, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.9.0/24, AS_PATH: 1 3, NEXT_HOP: 192.0.2.31, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.9.0/24, AS_PATH: 1 3, NEXT_HOP: 192.0.2.31, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3.0.9.0/24, AS_PATH: 2 3 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/tag_reject_policy/routes/TagRejectPolicyScenario_OpenBGPDIPv4/openbgpd69/AS1_1.txt b/tests/live_tests/scenarios/tag_reject_policy/routes/TagRejectPolicyScenario_OpenBGPDIPv4/openbgpd69/AS1_1.txt new file mode 100644 index 00000000..352376f7 --- /dev/null +++ b/tests/live_tests/scenarios/tag_reject_policy/routes/TagRejectPolicyScenario_OpenBGPDIPv4/openbgpd69/AS1_1.txt @@ -0,0 +1,273 @@ +101.0.1.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.10.0/24, AS_PATH: 101 666, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.11.0/24, AS_PATH: 101 777, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.128.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.128.1/32, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.2.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: 65530:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.3.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: 999:65530:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.4.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: 888:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.5.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: 888:0:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.6.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: 65530:1, 777:0 + ext comms: + lrg comms: 777:0:0, 999:65530:1 + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.7.0/24, AS_PATH: 101 174, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.8.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.9.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.1.0.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.2.0.0/17, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.2.1.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.2.128.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.3.0.0/24, AS_PATH: 101 105, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +102.0.1.0/24, AS_PATH: 101 102, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +103.0.1.0/24, AS_PATH: 101 103, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +103.0.2.0/24, AS_PATH: 101 101 103, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +104.0.1.0/24, AS_PATH: 101 104, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +104.1.1.0/24, AS_PATH: 101 104, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.1.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.2.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.1/32, AS_PATH: 2, NEXT_HOP: 192.0.2.66, via 192.0.2.2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.2/32, AS_PATH: 2, NEXT_HOP: 192.0.2.66, via 192.0.2.2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.3/32, AS_PATH: 2, NEXT_HOP: 192.0.2.66, via 192.0.2.2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.4.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.22, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.10.0/24, AS_PATH: 3 3 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.11.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: 65535:65281 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.12.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: 65535:65281 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.13.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: 65535:65281 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.2.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.5.0/24, AS_PATH: 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.6.0/24, AS_PATH: 3 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.7.0/24, AS_PATH: 3 3 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.8.0/24, AS_PATH: 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.9.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/tag_reject_policy/routes/TagRejectPolicyScenario_OpenBGPDIPv4/openbgpd69/AS1_2.txt b/tests/live_tests/scenarios/tag_reject_policy/routes/TagRejectPolicyScenario_OpenBGPDIPv4/openbgpd69/AS1_2.txt new file mode 100644 index 00000000..7542f6a5 --- /dev/null +++ b/tests/live_tests/scenarios/tag_reject_policy/routes/TagRejectPolicyScenario_OpenBGPDIPv4/openbgpd69/AS1_2.txt @@ -0,0 +1,252 @@ +101.0.1.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.10.0/24, AS_PATH: 101 666, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.11.0/24, AS_PATH: 101 777, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.128.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.128.1/32, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.2.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: 65530:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.3.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: 999:65530:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.4.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: 888:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.5.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: 888:0:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.6.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: 65530:1, 777:0 + ext comms: + lrg comms: 777:0:0, 999:65530:1 + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.7.0/24, AS_PATH: 101 174, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.8.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.9.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.1.0.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.2.0.0/17, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.2.1.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.2.128.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.3.0.0/24, AS_PATH: 101 105, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +102.0.1.0/24, AS_PATH: 101 102, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +103.0.1.0/24, AS_PATH: 101 103, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +103.0.2.0/24, AS_PATH: 101 101 103, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +104.0.1.0/24, AS_PATH: 101 104, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +104.1.1.0/24, AS_PATH: 101 104, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.1.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.2.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.4.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.22, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.10.0/24, AS_PATH: 3 3 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.11.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: 65535:65281 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.12.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: 65535:65281 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.13.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: 65535:65281 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.2.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.5.0/24, AS_PATH: 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.6.0/24, AS_PATH: 3 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.7.0/24, AS_PATH: 3 3 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.8.0/24, AS_PATH: 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.9.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/tag_reject_policy/routes/TagRejectPolicyScenario_OpenBGPDIPv4/openbgpd69/AS2.txt b/tests/live_tests/scenarios/tag_reject_policy/routes/TagRejectPolicyScenario_OpenBGPDIPv4/openbgpd69/AS2.txt new file mode 100644 index 00000000..63cc8f2f --- /dev/null +++ b/tests/live_tests/scenarios/tag_reject_policy/routes/TagRejectPolicyScenario_OpenBGPDIPv4/openbgpd69/AS2.txt @@ -0,0 +1,343 @@ +1.0.1.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +1.0.2.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +1.0.3.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.1.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +101.0.1.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.10.0/24, AS_PATH: 101 666, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.11.0/24, AS_PATH: 101 777, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.128.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.128.1/32, AS_PATH: 1 101, NEXT_HOP: 192.0.2.66, via 192.0.2.2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +101.0.128.1/32, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.2.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +101.0.2.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: 65530:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.3.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +101.0.3.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: 999:65530:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.4.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: 888:0 + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +101.0.4.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: 888:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.5.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: 888:0:0 + best: False, LOCAL_PREF: 100 + filtered: False () + +101.0.5.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: 888:0:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.6.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: 777:0 + ext comms: + lrg comms: 777:0:0 + best: False, LOCAL_PREF: 100 + filtered: False () + +101.0.6.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: 65530:1, 777:0 + ext comms: + lrg comms: 777:0:0, 999:65530:1 + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.7.0/24, AS_PATH: 101 174, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.8.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +101.0.8.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.9.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.1.0.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.2.0.0/17, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +101.2.0.0/17, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.2.1.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.2.128.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +101.2.128.0/24, AS_PATH: 101, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.3.0.0/24, AS_PATH: 101 105, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +102.0.1.0/24, AS_PATH: 101 102, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +103.0.1.0/24, AS_PATH: 101 101 103, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +103.0.2.0/24, AS_PATH: 101 103, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +104.0.1.0/24, AS_PATH: 101 104, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +104.1.1.0/24, AS_PATH: 101 104, NEXT_HOP: 192.0.2.101, via 192.0.2.101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +11.1.1.0/24, AS_PATH: 1 1011, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +11.3.0.0/16, AS_PATH: 1 1011, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +11.4.1.0/24, AS_PATH: 1 1000, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.10.0/24, AS_PATH: 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.11.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: 65535:65281 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.12.0/24, AS_PATH: 3 3 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.13.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: 65535:65281 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.3.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.5.0/24, AS_PATH: 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.6.0/24, AS_PATH: 3 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.7.0/24, AS_PATH: 3 3 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.8.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.9.0/24, AS_PATH: 3 3 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/tag_reject_policy/routes/TagRejectPolicyScenario_OpenBGPDIPv4/openbgpd69/AS3.txt b/tests/live_tests/scenarios/tag_reject_policy/routes/TagRejectPolicyScenario_OpenBGPDIPv4/openbgpd69/AS3.txt new file mode 100644 index 00000000..e91d9e15 --- /dev/null +++ b/tests/live_tests/scenarios/tag_reject_policy/routes/TagRejectPolicyScenario_OpenBGPDIPv4/openbgpd69/AS3.txt @@ -0,0 +1,154 @@ +1.0.1.0/24, AS_PATH: 999 1, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +1.0.2.0/24, AS_PATH: 999 1, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +1.0.3.0/24, AS_PATH: 999 1, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +101.0.1.0/24, AS_PATH: 999 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +101.0.128.1/32, AS_PATH: 999 1 101, NEXT_HOP: 192.0.2.66, via 192.0.2.2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +101.0.2.0/24, AS_PATH: 999 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +101.0.3.0/24, AS_PATH: 999 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +101.0.4.0/24, AS_PATH: 999 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: 888:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +101.0.5.0/24, AS_PATH: 999 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: 888:0:0 + best: True, LOCAL_PREF: 101 + filtered: False () + +101.0.6.0/24, AS_PATH: 999 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: 777:0 + ext comms: + lrg comms: 777:0:0 + best: True, LOCAL_PREF: 101 + filtered: False () + +101.0.8.0/24, AS_PATH: 999 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +101.2.0.0/17, AS_PATH: 999 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +101.2.128.0/24, AS_PATH: 999 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +11.1.1.0/24, AS_PATH: 999 1 1011, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +11.3.0.0/16, AS_PATH: 999 1 1011, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +11.4.1.0/24, AS_PATH: 999 1 1000, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +2.0.1.0/24, AS_PATH: 999 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.2.0/24, AS_PATH: 999 2, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.1/32, AS_PATH: 999 2, NEXT_HOP: 192.0.2.66, via 192.0.2.2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.2/32, AS_PATH: 999 2, NEXT_HOP: 192.0.2.66, via 192.0.2.2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.3/32, AS_PATH: 999 2, NEXT_HOP: 192.0.2.66, via 192.0.2.2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.4.0/24, AS_PATH: 999 2, NEXT_HOP: 192.0.2.22, via 192.0.2.2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/tag_reject_policy/routes/TagRejectPolicyScenario_OpenBGPDIPv4/openbgpd69/rc.txt b/tests/live_tests/scenarios/tag_reject_policy/routes/TagRejectPolicyScenario_OpenBGPDIPv4/openbgpd69/rc.txt new file mode 100644 index 00000000..a4a25ddd --- /dev/null +++ b/tests/live_tests/scenarios/tag_reject_policy/routes/TagRejectPolicyScenario_OpenBGPDIPv4/openbgpd69/rc.txt @@ -0,0 +1,252 @@ +0.0.0.0/0, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: 65520:0, 65520:2 + ext comms: rt:65520:3 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +10.0.0.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: 65520:0, 65520:2 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.1.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.101, via 192.0.2.2 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.10.0/24, AS_PATH: 1 101 666, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: 65520:0, 65520:15 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.11.0/24, AS_PATH: 1 101 777, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: 65520:0, 65520:15 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.128.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: 65520:0, 65520:14 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.128.1/32, AS_PATH: 1 101, NEXT_HOP: 192.0.2.101, via 192.0.2.2 + std comms: 65520:0, 65520:5, 65535:666 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.2.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.101, via 192.0.2.2 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.3.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.101, via 192.0.2.2 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.4.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.101, via 192.0.2.2 + std comms: 65520:0, 65520:5, 888:0 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.5.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.101, via 192.0.2.2 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: 888:0:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.6.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.101, via 192.0.2.2 + std comms: 65520:0, 65520:5, 777:0 + ext comms: rt:65520:1 + lrg comms: 777:0:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.7.0/24, AS_PATH: 1 101 174, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: 65520:0, 65520:8 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.8.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.101, via 192.0.2.2 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.9.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: 65520:0, 65520:14 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.1.0.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: 65520:0, 65520:12 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.2.0.0/17, AS_PATH: 1 101, NEXT_HOP: 192.0.2.101, via 192.0.2.2 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.2.1.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: 65520:0, 65520:12 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.2.128.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.101, via 192.0.2.2 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.3.0.0/24, AS_PATH: 1 101 105, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: 65520:0, 65520:9 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +102.0.1.0/24, AS_PATH: 1 101 102, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: 65520:0, 65520:9 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +103.0.1.0/24, AS_PATH: 1 101 103, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: 65520:0, 65520:9, 65535:0 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +103.0.2.0/24, AS_PATH: 2 101 103, NEXT_HOP: 192.0.2.21, via 192.0.2.2 + std comms: 65520:0, 65520:9, 65535:0 + ext comms: rt:65520:2 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +104.0.1.0/24, AS_PATH: 1 101 104, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: 65520:0, 65520:9 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +104.1.1.0/24, AS_PATH: 1 101 104, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: 65520:0, 65520:9 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +11.1.2.0/24, AS_PATH: 1 1000, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: 65520:0, 65520:9 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +11.2.1.0/24, AS_PATH: 1 1011, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: 65520:0, 65520:12 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +11.3.1.0/24, AS_PATH: 1 1011, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: 65520:0, 65520:12 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +128.0.0.0/10, AS_PATH: 1 2 2 2 2 2 2 1, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: 65520:0, 65520:1 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +128.0.0.0/7, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: 65520:0, 65520:13 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +128.0.0.0/8, AS_PATH: 2 1, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: 65520:0, 65520:6 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +128.0.0.0/9, AS_PATH: 1 65536 1, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: 65520:0, 65520:7 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +192.0.2.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.2 + std comms: 65520:0, 65520:3 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.5.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.23, via 192.0.2.2 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:2 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.1.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: 65520:0, 65520:11 + ext comms: rt:65520:3 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.14.0/24, AS_PATH: 3 174 33, NEXT_HOP: 192.0.2.31, via 192.0.2.2 + std comms: 65520:0, 65520:8 + ext comms: rt:65520:3 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/tag_reject_policy/routes/TagRejectPolicyScenario_OpenBGPDIPv4/openbgpd69/rs.txt b/tests/live_tests/scenarios/tag_reject_policy/routes/TagRejectPolicyScenario_OpenBGPDIPv4/openbgpd69/rs.txt new file mode 100644 index 00000000..88327de3 --- /dev/null +++ b/tests/live_tests/scenarios/tag_reject_policy/routes/TagRejectPolicyScenario_OpenBGPDIPv4/openbgpd69/rs.txt @@ -0,0 +1,756 @@ +0.0.0.0/0, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.31 + std comms: 65520:0, 65520:2 + ext comms: rt:65520:3 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +1.0.1.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +1.0.1.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.12, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +1.0.2.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +1.0.2.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.12, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +1.0.3.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.12 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +10.0.0.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: 65520:0, 65520:2 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +101.0.1.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +101.0.1.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.1.0/24, AS_PATH: 2 101, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +101.0.10.0/24, AS_PATH: 1 101 666, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +101.0.10.0/24, AS_PATH: 1 101 666, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: 65520:0, 65520:15 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +101.0.10.0/24, AS_PATH: 2 101 666, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 65520:0, 65520:15 + ext comms: rt:65520:2 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +101.0.11.0/24, AS_PATH: 1 101 777, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +101.0.11.0/24, AS_PATH: 1 101 777, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: 65520:0, 65520:15 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +101.0.11.0/24, AS_PATH: 2 101 777, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 65520:0, 65520:15 + ext comms: rt:65520:2 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +101.0.128.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +101.0.128.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: 65520:0, 65520:14 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +101.0.128.0/24, AS_PATH: 2 101, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 65520:0, 65520:14 + ext comms: rt:65520:2 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +101.0.128.1/32, AS_PATH: 1 101, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: 65520:0, 65520:5, 65535:666 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +101.0.128.1/32, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.128.1/32, AS_PATH: 2 101, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 65535:666 + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +101.0.2.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +101.0.2.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.2.0/24, AS_PATH: 2 101, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +101.0.3.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +101.0.3.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.3.0/24, AS_PATH: 2 101, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +101.0.4.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: 65520:0, 65520:5, 888:0 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +101.0.4.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: 888:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.4.0/24, AS_PATH: 2 101, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 888:0 + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +101.0.5.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: 888:0:0 + best: False, LOCAL_PREF: 1 + filtered: False () + +101.0.5.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: 888:0:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.5.0/24, AS_PATH: 2 101, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: 888:0:0 + best: False, LOCAL_PREF: 100 + filtered: False () + +101.0.6.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: 65520:0, 65520:5, 777:0 + ext comms: rt:65520:1 + lrg comms: 777:0:0 + best: False, LOCAL_PREF: 1 + filtered: False () + +101.0.6.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: 777:0 + ext comms: + lrg comms: 777:0:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.6.0/24, AS_PATH: 2 101, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 777:0 + ext comms: + lrg comms: 777:0:0 + best: False, LOCAL_PREF: 100 + filtered: False () + +101.0.7.0/24, AS_PATH: 1 101 174, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +101.0.7.0/24, AS_PATH: 1 101 174, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: 65520:0, 65520:8 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +101.0.7.0/24, AS_PATH: 2 101 174, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 65520:0, 65520:8 + ext comms: rt:65520:2 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +101.0.8.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +101.0.8.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.0.8.0/24, AS_PATH: 2 101, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +101.0.9.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +101.0.9.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: 65520:0, 65520:14 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +101.0.9.0/24, AS_PATH: 2 101, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 65520:0, 65520:14 + ext comms: rt:65520:2 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +101.1.0.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +101.1.0.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: 65520:0, 65520:12 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +101.1.0.0/24, AS_PATH: 2 101, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 65520:0, 65520:12 + ext comms: rt:65520:2 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +101.2.0.0/17, AS_PATH: 1 101, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +101.2.0.0/17, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.2.0.0/17, AS_PATH: 2 101, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +101.2.1.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +101.2.1.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: 65520:0, 65520:12 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +101.2.1.0/24, AS_PATH: 2 101, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 65520:0, 65520:12 + ext comms: rt:65520:2 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +101.2.128.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +101.2.128.0/24, AS_PATH: 1 101, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +101.2.128.0/24, AS_PATH: 2 101, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +101.3.0.0/24, AS_PATH: 1 101 105, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +101.3.0.0/24, AS_PATH: 1 101 105, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: 65520:0, 65520:9 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +101.3.0.0/24, AS_PATH: 2 101 105, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 65520:0, 65520:9 + ext comms: rt:65520:2 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +102.0.1.0/24, AS_PATH: 1 101 102, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +102.0.1.0/24, AS_PATH: 1 101 102, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: 65520:0, 65520:9 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +102.0.1.0/24, AS_PATH: 2 101 102, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 65520:0, 65520:9 + ext comms: rt:65520:2 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +103.0.1.0/24, AS_PATH: 1 101 103, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: 65520:0, 65520:5, 65535:0 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +103.0.1.0/24, AS_PATH: 1 101 103, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: 65520:0, 65520:9, 65535:0 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +103.0.1.0/24, AS_PATH: 2 101 101 103, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 65520:0, 65520:9 + ext comms: rt:65520:2 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +103.0.2.0/24, AS_PATH: 1 101 101 103, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +103.0.2.0/24, AS_PATH: 1 101 101 103, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: 65520:0, 65520:9 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +103.0.2.0/24, AS_PATH: 2 101 103, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 65520:0, 65520:9, 65535:0 + ext comms: rt:65520:2 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +104.0.1.0/24, AS_PATH: 1 101 104, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +104.0.1.0/24, AS_PATH: 1 101 104, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: 65520:0, 65520:9 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +104.0.1.0/24, AS_PATH: 2 101 104, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 65520:0, 65520:9 + ext comms: rt:65520:2 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +104.1.1.0/24, AS_PATH: 1 101 104, NEXT_HOP: 192.0.2.101, via 192.0.2.12 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +104.1.1.0/24, AS_PATH: 1 101 104, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: 65520:0, 65520:9 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +104.1.1.0/24, AS_PATH: 2 101 104, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 65520:0, 65520:9 + ext comms: rt:65520:2 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +11.1.1.0/24, AS_PATH: 1 1011, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +11.1.2.0/24, AS_PATH: 1 1000, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: 65520:0, 65520:9 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +11.2.1.0/24, AS_PATH: 1 1011, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: 65520:0, 65520:12 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +11.3.0.0/16, AS_PATH: 1 1011, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +11.3.1.0/24, AS_PATH: 1 1011, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: 65520:0, 65520:12 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +11.4.1.0/24, AS_PATH: 1 1000, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +128.0.0.0/10, AS_PATH: 1 2 2 2 2 2 2 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: 65520:0, 65520:1 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +128.0.0.0/7, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: 65520:0, 65520:13 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +128.0.0.0/8, AS_PATH: 2 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: 65520:0, 65520:6 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +128.0.0.0/9, AS_PATH: 1 65536 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: 65520:0, 65520:7 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +192.0.2.0/24, AS_PATH: 1, NEXT_HOP: 192.0.2.11, via 192.0.2.11 + std comms: 65520:0, 65520:3 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +2.0.1.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.2.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.1/32, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.2/32, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: 65534:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.3.3/32, AS_PATH: 2, NEXT_HOP: 192.0.2.21, via 192.0.2.21 + std comms: + ext comms: + lrg comms: 65534:0:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.4.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.22, via 192.0.2.21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2.0.5.0/24, AS_PATH: 2, NEXT_HOP: 192.0.2.23, via 192.0.2.21 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:2 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +3.0.1.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.31 + std comms: 65520:0, 65520:11 + ext comms: rt:65520:3 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +3.0.10.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.31 + std comms: 65521:65521, 65523:1 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.11.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.31 + std comms: 65507:999 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.12.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.31 + std comms: 65509:1, 65523:2 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.13.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.31 + std comms: + ext comms: soo:65535:65281 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.14.0/24, AS_PATH: 3 174 33, NEXT_HOP: 192.0.2.31, via 192.0.2.31 + std comms: 65520:0, 65520:8 + ext comms: rt:65520:3 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +3.0.2.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.31 + std comms: 0:999, 65501:1 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.3.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.31 + std comms: 0:1 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.4.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.31 + std comms: 0:999 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.5.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.31 + std comms: 65521:65521 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.6.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.31 + std comms: 65522:65522 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.7.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.31 + std comms: 65523:65523 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.8.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.31 + std comms: 65521:1 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3.0.9.0/24, AS_PATH: 3, NEXT_HOP: 192.0.2.31, via 192.0.2.31 + std comms: 65522:2 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/tag_reject_policy/routes/TagRejectPolicyScenario_OpenBGPDIPv4/openbgpd69p/AS101.txt b/tests/live_tests/scenarios/tag_reject_policy/routes/TagRejectPolicyScenario_OpenBGPDIPv4/openbgpd69p/AS101.txt new file mode 100644 index 00000000..33ec3bbb --- /dev/null +++ b/tests/live_tests/scenarios/tag_reject_policy/routes/TagRejectPolicyScenario_OpenBGPDIPv4/openbgpd69p/AS101.txt @@ -0,0 +1,406 @@ +2001::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2001:db8:1::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a01:0:1::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a01:0:1::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a01:0:1::/48, AS_PATH: 2 1, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a01:0:2::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a01:0:2::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a01:0:2::/48, AS_PATH: 2 1, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a01:0:3::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a01:0:3::/48, AS_PATH: 2 1, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a02:0:1::/48, AS_PATH: 1 2, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a02:0:1::/48, AS_PATH: 1 2, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a02:0:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:2::/48, AS_PATH: 1 2, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a02:0:2::/48, AS_PATH: 1 2, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a02:0:2::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::1/128, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::2/128, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::3/128, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:4::/48, AS_PATH: 1 2, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a02:0:4::/48, AS_PATH: 1 2, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a02:0:4::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:5::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:2::/48, AS_PATH: 1 3, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:2::/48, AS_PATH: 1 3, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a03:0:3::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:5::/48, AS_PATH: 1 3 3, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:5::/48, AS_PATH: 1 3 3, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a03:0:5::/48, AS_PATH: 2 3 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a03:0:6::/48, AS_PATH: 1 3 3 3, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:6::/48, AS_PATH: 1 3 3 3, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a03:0:6::/48, AS_PATH: 2 3 3 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a03:0:7::/48, AS_PATH: 1 3 3 3 3, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:7::/48, AS_PATH: 1 3 3 3 3, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a03:0:7::/48, AS_PATH: 2 3 3 3 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a03:0:8::/48, AS_PATH: 1 3 3, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a03:0:8::/48, AS_PATH: 1 3 3, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a03:0:8::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:9::/48, AS_PATH: 1 3, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:9::/48, AS_PATH: 1 3, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a03:0:9::/48, AS_PATH: 2 3 3 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a03:0:a::/48, AS_PATH: 1 3 3 3 3, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a03:0:a::/48, AS_PATH: 1 3 3 3 3, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a03:0:a::/48, AS_PATH: 2 3 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:c::/48, AS_PATH: 2 3 3 3 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a11:1:1::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a11:1:1::/48, AS_PATH: 2 1 1011, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a11:1:2::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a11:2:1::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a11:3:1::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a11:3::/32, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a11:3::/32, AS_PATH: 2 1 1011, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a11:4:1::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a11:4:1::/48, AS_PATH: 2 1 1000, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a99:1::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a99:2::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a99::/16, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a99::/32, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/tag_reject_policy/routes/TagRejectPolicyScenario_OpenBGPDIPv4/openbgpd69p/AS1_1.txt b/tests/live_tests/scenarios/tag_reject_policy/routes/TagRejectPolicyScenario_OpenBGPDIPv4/openbgpd69p/AS1_1.txt new file mode 100644 index 00000000..af0f9c5b --- /dev/null +++ b/tests/live_tests/scenarios/tag_reject_policy/routes/TagRejectPolicyScenario_OpenBGPDIPv4/openbgpd69p/AS1_1.txt @@ -0,0 +1,280 @@ +2a02:0:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:2::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::1/128, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::66, via 2001:db8:1:1::2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::2/128, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::66, via 2001:db8:1:1::2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::3/128, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::66, via 2001:db8:1:1::2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:4::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::22, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:2::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:5::/48, AS_PATH: 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:6::/48, AS_PATH: 3 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:7::/48, AS_PATH: 3 3 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:8::/48, AS_PATH: 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:9::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:a::/48, AS_PATH: 3 3 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:b::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: 65535:65281 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:c::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: 65535:65281 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:d::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: 65535:65281 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:10::/48, AS_PATH: 101 666, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:11::/48, AS_PATH: 101 777, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:1::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:2::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: 65530:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:3::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: 999:65530:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:4::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: 888:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:5::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: 888:0:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:6::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: 65530:1, 777:0 + ext comms: + lrg comms: 777:0:0, 999:65530:1 + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:7::/48, AS_PATH: 101 174, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:8000::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:8000::1/128, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:8::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:9::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:1::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:2:4000::/34, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:2:8000::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:2::/33, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:3:1::/48, AS_PATH: 101 105, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3102:0:1::/48, AS_PATH: 101 102, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3103:0:1::/48, AS_PATH: 101 103, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3103:0:2::/48, AS_PATH: 101 101 103, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3104:0:1::/48, AS_PATH: 101 104, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3104:1:1::/48, AS_PATH: 101 104, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +8000:1::/32, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/tag_reject_policy/routes/TagRejectPolicyScenario_OpenBGPDIPv4/openbgpd69p/AS1_2.txt b/tests/live_tests/scenarios/tag_reject_policy/routes/TagRejectPolicyScenario_OpenBGPDIPv4/openbgpd69p/AS1_2.txt new file mode 100644 index 00000000..86b7ea6c --- /dev/null +++ b/tests/live_tests/scenarios/tag_reject_policy/routes/TagRejectPolicyScenario_OpenBGPDIPv4/openbgpd69p/AS1_2.txt @@ -0,0 +1,259 @@ +2a02:0:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:2::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:4::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::22, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:2::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:5::/48, AS_PATH: 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:6::/48, AS_PATH: 3 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:7::/48, AS_PATH: 3 3 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:8::/48, AS_PATH: 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:9::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:a::/48, AS_PATH: 3 3 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:b::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: 65535:65281 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:c::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: 65535:65281 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:d::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: 65535:65281 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:10::/48, AS_PATH: 101 666, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:11::/48, AS_PATH: 101 777, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:1::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:2::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: 65530:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:3::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: 999:65530:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:4::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: 888:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:5::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: 888:0:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:6::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: 65530:1, 777:0 + ext comms: + lrg comms: 777:0:0, 999:65530:1 + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:7::/48, AS_PATH: 101 174, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:8000::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:8000::1/128, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:8::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:9::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:1::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:2:4000::/34, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:2:8000::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:2::/33, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:3:1::/48, AS_PATH: 101 105, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3102:0:1::/48, AS_PATH: 101 102, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3103:0:1::/48, AS_PATH: 101 103, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3103:0:2::/48, AS_PATH: 101 101 103, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3104:0:1::/48, AS_PATH: 101 104, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3104:1:1::/48, AS_PATH: 101 104, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +8000:1::/32, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/tag_reject_policy/routes/TagRejectPolicyScenario_OpenBGPDIPv4/openbgpd69p/AS2.txt b/tests/live_tests/scenarios/tag_reject_policy/routes/TagRejectPolicyScenario_OpenBGPDIPv4/openbgpd69p/AS2.txt new file mode 100644 index 00000000..ac01a0ba --- /dev/null +++ b/tests/live_tests/scenarios/tag_reject_policy/routes/TagRejectPolicyScenario_OpenBGPDIPv4/openbgpd69p/AS2.txt @@ -0,0 +1,350 @@ +2a01:0:1::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a01:0:2::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a01:0:3::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:3::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:5::/48, AS_PATH: 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:6::/48, AS_PATH: 3 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:7::/48, AS_PATH: 3 3 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:8::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:9::/48, AS_PATH: 3 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:a::/48, AS_PATH: 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:b::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: 65535:65281 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:c::/48, AS_PATH: 3 3 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:d::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: 65535:65281 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a11:1:1::/48, AS_PATH: 1 1011, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a11:3::/32, AS_PATH: 1 1011, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a11:4:1::/48, AS_PATH: 1 1000, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:10::/48, AS_PATH: 101 666, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:11::/48, AS_PATH: 101 777, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:1::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:0:1::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:2::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:0:2::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: 65530:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:3::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:0:3::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: 999:65530:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:4::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 888:0 + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:0:4::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: 888:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:5::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: 888:0:0 + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:0:5::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: 888:0:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:6::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 777:0 + ext comms: + lrg comms: 777:0:0 + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:0:6::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: 65530:1, 777:0 + ext comms: + lrg comms: 777:0:0, 999:65530:1 + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:7::/48, AS_PATH: 101 174, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:8000::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:8000::1/128, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::66, via 2001:db8:1:1::2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:0:8000::1/128, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:8::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:0:8::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:9::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:1::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:2:4000::/34, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:2:8000::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:2:8000::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:2::/33, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:2::/33, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:3:1::/48, AS_PATH: 101 105, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3102:0:1::/48, AS_PATH: 101 102, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3103:0:1::/48, AS_PATH: 101 101 103, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3103:0:2::/48, AS_PATH: 101 103, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3104:0:1::/48, AS_PATH: 101 104, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3104:1:1::/48, AS_PATH: 101 104, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +8000:1::/32, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/tag_reject_policy/routes/TagRejectPolicyScenario_OpenBGPDIPv4/openbgpd69p/AS3.txt b/tests/live_tests/scenarios/tag_reject_policy/routes/TagRejectPolicyScenario_OpenBGPDIPv4/openbgpd69p/AS3.txt new file mode 100644 index 00000000..31a2d306 --- /dev/null +++ b/tests/live_tests/scenarios/tag_reject_policy/routes/TagRejectPolicyScenario_OpenBGPDIPv4/openbgpd69p/AS3.txt @@ -0,0 +1,154 @@ +2a01:0:1::/48, AS_PATH: 999 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +2a01:0:2::/48, AS_PATH: 999 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +2a01:0:3::/48, AS_PATH: 999 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +2a02:0:1::/48, AS_PATH: 999 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:2::/48, AS_PATH: 999 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::1/128, AS_PATH: 999 2, NEXT_HOP: 2001:db8:1:1::66, via 2001:db8:1:1::2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::2/128, AS_PATH: 999 2, NEXT_HOP: 2001:db8:1:1::66, via 2001:db8:1:1::2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::3/128, AS_PATH: 999 2, NEXT_HOP: 2001:db8:1:1::66, via 2001:db8:1:1::2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:4::/48, AS_PATH: 999 2, NEXT_HOP: 2001:db8:1:1::22, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a11:1:1::/48, AS_PATH: 999 1 1011, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +2a11:3::/32, AS_PATH: 999 1 1011, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +2a11:4:1::/48, AS_PATH: 999 1 1000, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +3101:0:1::/48, AS_PATH: 999 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +3101:0:2::/48, AS_PATH: 999 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +3101:0:3::/48, AS_PATH: 999 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +3101:0:4::/48, AS_PATH: 999 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 888:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +3101:0:5::/48, AS_PATH: 999 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: 888:0:0 + best: True, LOCAL_PREF: 101 + filtered: False () + +3101:0:6::/48, AS_PATH: 999 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 777:0 + ext comms: + lrg comms: 777:0:0 + best: True, LOCAL_PREF: 101 + filtered: False () + +3101:0:8000::1/128, AS_PATH: 999 1 101, NEXT_HOP: 2001:db8:1:1::66, via 2001:db8:1:1::2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +3101:0:8::/48, AS_PATH: 999 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +3101:2:8000::/48, AS_PATH: 999 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +3101:2::/33, AS_PATH: 999 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + diff --git a/tests/live_tests/scenarios/tag_reject_policy/routes/TagRejectPolicyScenario_OpenBGPDIPv4/openbgpd69p/rc.txt b/tests/live_tests/scenarios/tag_reject_policy/routes/TagRejectPolicyScenario_OpenBGPDIPv4/openbgpd69p/rc.txt new file mode 100644 index 00000000..5f25d646 --- /dev/null +++ b/tests/live_tests/scenarios/tag_reject_policy/routes/TagRejectPolicyScenario_OpenBGPDIPv4/openbgpd69p/rc.txt @@ -0,0 +1,259 @@ +2001::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:2 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2001:db8:1::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:3 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:5::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::23, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:2 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:1::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:11 + ext comms: rt:65520:3 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:e::/48, AS_PATH: 3 174 33, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:8 + ext comms: rt:65520:3 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a11:1:2::/48, AS_PATH: 1 1000, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:9 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a11:2:1::/48, AS_PATH: 1 1011, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:12 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a11:3:1::/48, AS_PATH: 1 1011, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:12 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a99:1::/48, AS_PATH: 1 65536 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:7 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a99:2::/48, AS_PATH: 1 2 2 2 2 2 2 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:1 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a99::/16, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:13 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a99::/32, AS_PATH: 2 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:6 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:10::/48, AS_PATH: 1 101 666, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:15 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:11::/48, AS_PATH: 1 101 777, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:15 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:1::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:2::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:3::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:4::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:5, 888:0 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:5::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: 888:0:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:6::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:5, 777:0 + ext comms: rt:65520:1 + lrg comms: 777:0:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:7::/48, AS_PATH: 1 101 174, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:8 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:8000::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:14 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:8000::1/128, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:5, 65535:666 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:8::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:9::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:14 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:1::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:12 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:2:4000::/34, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:12 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:2:8000::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:2::/33, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:3:1::/48, AS_PATH: 1 101 105, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:9 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3102:0:1::/48, AS_PATH: 1 101 102, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:9 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3103:0:1::/48, AS_PATH: 1 101 103, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:9, 65535:0 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3103:0:2::/48, AS_PATH: 2 101 103, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:9, 65535:0 + ext comms: rt:65520:2 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3104:0:1::/48, AS_PATH: 1 101 104, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:9 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3104:1:1::/48, AS_PATH: 1 101 104, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:9 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +8000:1::/32, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:10 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +::/0, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:10 + ext comms: rt:65520:3 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/tag_reject_policy/routes/TagRejectPolicyScenario_OpenBGPDIPv4/openbgpd69p/rs.txt b/tests/live_tests/scenarios/tag_reject_policy/routes/TagRejectPolicyScenario_OpenBGPDIPv4/openbgpd69p/rs.txt new file mode 100644 index 00000000..32d4da9f --- /dev/null +++ b/tests/live_tests/scenarios/tag_reject_policy/routes/TagRejectPolicyScenario_OpenBGPDIPv4/openbgpd69p/rs.txt @@ -0,0 +1,777 @@ +2001::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 65520:0, 65520:2 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +2001:db8:1::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 65520:0, 65520:3 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +2a01:0:1::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a01:0:1::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a01:0:2::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a01:0:2::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a01:0:3::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:2::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::1/128, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::2/128, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 65534:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::3/128, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: 65534:0:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:4::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::22, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:5::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::23, via 2001:db8:1:1::21 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:2 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +2a03:0:1::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::31 + std comms: 65520:0, 65520:11 + ext comms: rt:65520:3 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +2a03:0:2::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::31 + std comms: 0:999, 65501:1 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:3::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::31 + std comms: 0:1 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:4::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::31 + std comms: 0:999 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:5::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::31 + std comms: 65521:65521 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:6::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::31 + std comms: 65522:65522 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:7::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::31 + std comms: 65523:65523 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:8::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::31 + std comms: 65521:1 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:9::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::31 + std comms: 65522:2 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:a::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::31 + std comms: 65521:65521, 65523:1 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:b::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::31 + std comms: 65507:999 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:c::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::31 + std comms: 65509:1, 65523:2 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:d::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::31 + std comms: + ext comms: soo:65535:65281 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:e::/48, AS_PATH: 3 174 33, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::31 + std comms: 65520:0, 65520:8 + ext comms: rt:65520:3 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +2a11:1:1::/48, AS_PATH: 1 1011, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a11:1:2::/48, AS_PATH: 1 1000, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 65520:0, 65520:9 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +2a11:2:1::/48, AS_PATH: 1 1011, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 65520:0, 65520:12 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +2a11:3:1::/48, AS_PATH: 1 1011, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 65520:0, 65520:12 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +2a11:3::/32, AS_PATH: 1 1011, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a11:4:1::/48, AS_PATH: 1 1000, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a99:1::/48, AS_PATH: 1 65536 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 65520:0, 65520:7 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +2a99:2::/48, AS_PATH: 1 2 2 2 2 2 2 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 65520:0, 65520:1 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +2a99::/16, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 65520:0, 65520:13 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +2a99::/32, AS_PATH: 2 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 65520:0, 65520:6 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +3101:0:10::/48, AS_PATH: 1 101 666, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3101:0:10::/48, AS_PATH: 1 101 666, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 65520:0, 65520:15 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +3101:0:10::/48, AS_PATH: 2 101 666, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 65520:0, 65520:15 + ext comms: rt:65520:2 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3101:0:11::/48, AS_PATH: 1 101 777, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3101:0:11::/48, AS_PATH: 1 101 777, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 65520:0, 65520:15 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +3101:0:11::/48, AS_PATH: 2 101 777, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 65520:0, 65520:15 + ext comms: rt:65520:2 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3101:0:1::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3101:0:1::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:1::/48, AS_PATH: 2 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:0:2::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3101:0:2::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:2::/48, AS_PATH: 2 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:0:3::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3101:0:3::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:3::/48, AS_PATH: 2 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:0:4::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: 65520:0, 65520:5, 888:0 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3101:0:4::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 888:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:4::/48, AS_PATH: 2 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 888:0 + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:0:5::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: 888:0:0 + best: False, LOCAL_PREF: 1 + filtered: False () + +3101:0:5::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: 888:0:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:5::/48, AS_PATH: 2 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: 888:0:0 + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:0:6::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: 65520:0, 65520:5, 777:0 + ext comms: rt:65520:1 + lrg comms: 777:0:0 + best: False, LOCAL_PREF: 1 + filtered: False () + +3101:0:6::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 777:0 + ext comms: + lrg comms: 777:0:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:6::/48, AS_PATH: 2 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 777:0 + ext comms: + lrg comms: 777:0:0 + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:0:7::/48, AS_PATH: 1 101 174, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3101:0:7::/48, AS_PATH: 1 101 174, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 65520:0, 65520:8 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +3101:0:7::/48, AS_PATH: 2 101 174, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 65520:0, 65520:8 + ext comms: rt:65520:2 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3101:0:8000::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3101:0:8000::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 65520:0, 65520:14 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +3101:0:8000::/48, AS_PATH: 2 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 65520:0, 65520:14 + ext comms: rt:65520:2 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3101:0:8000::1/128, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: 65520:0, 65520:5, 65535:666 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3101:0:8000::1/128, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:8000::1/128, AS_PATH: 2 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 65535:666 + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:0:8::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3101:0:8::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:8::/48, AS_PATH: 2 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:0:9::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3101:0:9::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 65520:0, 65520:14 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +3101:0:9::/48, AS_PATH: 2 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 65520:0, 65520:14 + ext comms: rt:65520:2 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3101:1::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3101:1::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 65520:0, 65520:12 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +3101:1::/48, AS_PATH: 2 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 65520:0, 65520:12 + ext comms: rt:65520:2 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3101:2:4000::/34, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3101:2:4000::/34, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 65520:0, 65520:12 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +3101:2:4000::/34, AS_PATH: 2 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 65520:0, 65520:12 + ext comms: rt:65520:2 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3101:2:8000::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3101:2:8000::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:2:8000::/48, AS_PATH: 2 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:2::/33, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3101:2::/33, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:2::/33, AS_PATH: 2 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:3:1::/48, AS_PATH: 1 101 105, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3101:3:1::/48, AS_PATH: 1 101 105, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 65520:0, 65520:9 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +3101:3:1::/48, AS_PATH: 2 101 105, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 65520:0, 65520:9 + ext comms: rt:65520:2 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3102:0:1::/48, AS_PATH: 1 101 102, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3102:0:1::/48, AS_PATH: 1 101 102, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 65520:0, 65520:9 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +3102:0:1::/48, AS_PATH: 2 101 102, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 65520:0, 65520:9 + ext comms: rt:65520:2 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3103:0:1::/48, AS_PATH: 1 101 103, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: 65520:0, 65520:5, 65535:0 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3103:0:1::/48, AS_PATH: 1 101 103, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 65520:0, 65520:9, 65535:0 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +3103:0:1::/48, AS_PATH: 2 101 101 103, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 65520:0, 65520:9 + ext comms: rt:65520:2 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3103:0:2::/48, AS_PATH: 1 101 101 103, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3103:0:2::/48, AS_PATH: 1 101 101 103, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 65520:0, 65520:9 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3103:0:2::/48, AS_PATH: 2 101 103, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 65520:0, 65520:9, 65535:0 + ext comms: rt:65520:2 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +3104:0:1::/48, AS_PATH: 1 101 104, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3104:0:1::/48, AS_PATH: 1 101 104, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 65520:0, 65520:9 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +3104:0:1::/48, AS_PATH: 2 101 104, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 65520:0, 65520:9 + ext comms: rt:65520:2 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3104:1:1::/48, AS_PATH: 1 101 104, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3104:1:1::/48, AS_PATH: 1 101 104, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 65520:0, 65520:9 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +3104:1:1::/48, AS_PATH: 2 101 104, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 65520:0, 65520:9 + ext comms: rt:65520:2 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +8000:1::/32, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: 65520:0, 65520:10 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +8000:1::/32, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 65520:0, 65520:10 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +8000:1::/32, AS_PATH: 2 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 65520:0, 65520:10 + ext comms: rt:65520:2 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +::/0, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::31 + std comms: 65520:0, 65520:10 + ext comms: rt:65520:3 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + diff --git a/tests/live_tests/scenarios/tag_reject_policy/routes/TagRejectPolicyScenario_OpenBGPDIPv6/openbgpd69/AS101.txt b/tests/live_tests/scenarios/tag_reject_policy/routes/TagRejectPolicyScenario_OpenBGPDIPv6/openbgpd69/AS101.txt new file mode 100644 index 00000000..33ec3bbb --- /dev/null +++ b/tests/live_tests/scenarios/tag_reject_policy/routes/TagRejectPolicyScenario_OpenBGPDIPv6/openbgpd69/AS101.txt @@ -0,0 +1,406 @@ +2001::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2001:db8:1::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a01:0:1::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a01:0:1::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a01:0:1::/48, AS_PATH: 2 1, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a01:0:2::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a01:0:2::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a01:0:2::/48, AS_PATH: 2 1, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a01:0:3::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a01:0:3::/48, AS_PATH: 2 1, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a02:0:1::/48, AS_PATH: 1 2, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a02:0:1::/48, AS_PATH: 1 2, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a02:0:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:2::/48, AS_PATH: 1 2, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a02:0:2::/48, AS_PATH: 1 2, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a02:0:2::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::1/128, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::2/128, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::3/128, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:4::/48, AS_PATH: 1 2, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a02:0:4::/48, AS_PATH: 1 2, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a02:0:4::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:5::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:2::/48, AS_PATH: 1 3, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:2::/48, AS_PATH: 1 3, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a03:0:3::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:5::/48, AS_PATH: 1 3 3, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:5::/48, AS_PATH: 1 3 3, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a03:0:5::/48, AS_PATH: 2 3 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a03:0:6::/48, AS_PATH: 1 3 3 3, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:6::/48, AS_PATH: 1 3 3 3, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a03:0:6::/48, AS_PATH: 2 3 3 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a03:0:7::/48, AS_PATH: 1 3 3 3 3, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:7::/48, AS_PATH: 1 3 3 3 3, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a03:0:7::/48, AS_PATH: 2 3 3 3 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a03:0:8::/48, AS_PATH: 1 3 3, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a03:0:8::/48, AS_PATH: 1 3 3, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a03:0:8::/48, AS_PATH: 2 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:9::/48, AS_PATH: 1 3, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:9::/48, AS_PATH: 1 3, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a03:0:9::/48, AS_PATH: 2 3 3 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a03:0:a::/48, AS_PATH: 1 3 3 3 3, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a03:0:a::/48, AS_PATH: 1 3 3 3 3, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a03:0:a::/48, AS_PATH: 2 3 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:c::/48, AS_PATH: 2 3 3 3 3, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a11:1:1::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a11:1:1::/48, AS_PATH: 2 1 1011, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a11:1:2::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a11:2:1::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a11:3:1::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a11:3::/32, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a11:3::/32, AS_PATH: 2 1 1011, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a11:4:1::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a11:4:1::/48, AS_PATH: 2 1 1000, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a99:1::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a99:2::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a99::/16, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a99::/32, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/tag_reject_policy/routes/TagRejectPolicyScenario_OpenBGPDIPv6/openbgpd69/AS1_1.txt b/tests/live_tests/scenarios/tag_reject_policy/routes/TagRejectPolicyScenario_OpenBGPDIPv6/openbgpd69/AS1_1.txt new file mode 100644 index 00000000..af0f9c5b --- /dev/null +++ b/tests/live_tests/scenarios/tag_reject_policy/routes/TagRejectPolicyScenario_OpenBGPDIPv6/openbgpd69/AS1_1.txt @@ -0,0 +1,280 @@ +2a02:0:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:2::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::1/128, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::66, via 2001:db8:1:1::2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::2/128, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::66, via 2001:db8:1:1::2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::3/128, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::66, via 2001:db8:1:1::2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:4::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::22, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:2::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:5::/48, AS_PATH: 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:6::/48, AS_PATH: 3 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:7::/48, AS_PATH: 3 3 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:8::/48, AS_PATH: 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:9::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:a::/48, AS_PATH: 3 3 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:b::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: 65535:65281 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:c::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: 65535:65281 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:d::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: 65535:65281 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:10::/48, AS_PATH: 101 666, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:11::/48, AS_PATH: 101 777, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:1::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:2::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: 65530:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:3::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: 999:65530:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:4::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: 888:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:5::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: 888:0:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:6::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: 65530:1, 777:0 + ext comms: + lrg comms: 777:0:0, 999:65530:1 + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:7::/48, AS_PATH: 101 174, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:8000::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:8000::1/128, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:8::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:9::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:1::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:2:4000::/34, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:2:8000::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:2::/33, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:3:1::/48, AS_PATH: 101 105, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3102:0:1::/48, AS_PATH: 101 102, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3103:0:1::/48, AS_PATH: 101 103, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3103:0:2::/48, AS_PATH: 101 101 103, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3104:0:1::/48, AS_PATH: 101 104, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3104:1:1::/48, AS_PATH: 101 104, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +8000:1::/32, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/tag_reject_policy/routes/TagRejectPolicyScenario_OpenBGPDIPv6/openbgpd69/AS1_2.txt b/tests/live_tests/scenarios/tag_reject_policy/routes/TagRejectPolicyScenario_OpenBGPDIPv6/openbgpd69/AS1_2.txt new file mode 100644 index 00000000..86b7ea6c --- /dev/null +++ b/tests/live_tests/scenarios/tag_reject_policy/routes/TagRejectPolicyScenario_OpenBGPDIPv6/openbgpd69/AS1_2.txt @@ -0,0 +1,259 @@ +2a02:0:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:2::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:4::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::22, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:2::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:5::/48, AS_PATH: 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:6::/48, AS_PATH: 3 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:7::/48, AS_PATH: 3 3 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:8::/48, AS_PATH: 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:9::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:a::/48, AS_PATH: 3 3 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:b::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: 65535:65281 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:c::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: 65535:65281 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:d::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: 65535:65281 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:10::/48, AS_PATH: 101 666, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:11::/48, AS_PATH: 101 777, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:1::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:2::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: 65530:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:3::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: 999:65530:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:4::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: 888:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:5::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: 888:0:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:6::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: 65530:1, 777:0 + ext comms: + lrg comms: 777:0:0, 999:65530:1 + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:7::/48, AS_PATH: 101 174, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:8000::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:8000::1/128, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:8::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:9::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:1::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:2:4000::/34, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:2:8000::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:2::/33, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:3:1::/48, AS_PATH: 101 105, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3102:0:1::/48, AS_PATH: 101 102, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3103:0:1::/48, AS_PATH: 101 103, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3103:0:2::/48, AS_PATH: 101 101 103, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3104:0:1::/48, AS_PATH: 101 104, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3104:1:1::/48, AS_PATH: 101 104, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +8000:1::/32, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/tag_reject_policy/routes/TagRejectPolicyScenario_OpenBGPDIPv6/openbgpd69/AS2.txt b/tests/live_tests/scenarios/tag_reject_policy/routes/TagRejectPolicyScenario_OpenBGPDIPv6/openbgpd69/AS2.txt new file mode 100644 index 00000000..ac01a0ba --- /dev/null +++ b/tests/live_tests/scenarios/tag_reject_policy/routes/TagRejectPolicyScenario_OpenBGPDIPv6/openbgpd69/AS2.txt @@ -0,0 +1,350 @@ +2a01:0:1::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a01:0:2::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a01:0:3::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:3::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:5::/48, AS_PATH: 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:6::/48, AS_PATH: 3 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:7::/48, AS_PATH: 3 3 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:8::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:9::/48, AS_PATH: 3 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:a::/48, AS_PATH: 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:b::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: 65535:65281 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:c::/48, AS_PATH: 3 3 3 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:d::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: 65535:65281 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a11:1:1::/48, AS_PATH: 1 1011, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a11:3::/32, AS_PATH: 1 1011, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a11:4:1::/48, AS_PATH: 1 1000, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:10::/48, AS_PATH: 101 666, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:11::/48, AS_PATH: 101 777, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:1::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:0:1::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:2::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:0:2::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: 65530:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:3::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:0:3::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: 999:65530:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:4::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 888:0 + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:0:4::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: 888:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:5::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: 888:0:0 + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:0:5::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: 888:0:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:6::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 777:0 + ext comms: + lrg comms: 777:0:0 + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:0:6::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: 65530:1, 777:0 + ext comms: + lrg comms: 777:0:0, 999:65530:1 + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:7::/48, AS_PATH: 101 174, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:8000::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:8000::1/128, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::66, via 2001:db8:1:1::2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:0:8000::1/128, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:8::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:0:8::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:9::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:1::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:2:4000::/34, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:2:8000::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:2:8000::/48, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:2::/33, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:2::/33, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:3:1::/48, AS_PATH: 101 105, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3102:0:1::/48, AS_PATH: 101 102, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3103:0:1::/48, AS_PATH: 101 101 103, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3103:0:2::/48, AS_PATH: 101 103, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3104:0:1::/48, AS_PATH: 101 104, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3104:1:1::/48, AS_PATH: 101 104, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +8000:1::/32, AS_PATH: 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::101 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/tag_reject_policy/routes/TagRejectPolicyScenario_OpenBGPDIPv6/openbgpd69/AS3.txt b/tests/live_tests/scenarios/tag_reject_policy/routes/TagRejectPolicyScenario_OpenBGPDIPv6/openbgpd69/AS3.txt new file mode 100644 index 00000000..31a2d306 --- /dev/null +++ b/tests/live_tests/scenarios/tag_reject_policy/routes/TagRejectPolicyScenario_OpenBGPDIPv6/openbgpd69/AS3.txt @@ -0,0 +1,154 @@ +2a01:0:1::/48, AS_PATH: 999 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +2a01:0:2::/48, AS_PATH: 999 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +2a01:0:3::/48, AS_PATH: 999 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +2a02:0:1::/48, AS_PATH: 999 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:2::/48, AS_PATH: 999 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::1/128, AS_PATH: 999 2, NEXT_HOP: 2001:db8:1:1::66, via 2001:db8:1:1::2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::2/128, AS_PATH: 999 2, NEXT_HOP: 2001:db8:1:1::66, via 2001:db8:1:1::2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::3/128, AS_PATH: 999 2, NEXT_HOP: 2001:db8:1:1::66, via 2001:db8:1:1::2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:4::/48, AS_PATH: 999 2, NEXT_HOP: 2001:db8:1:1::22, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a11:1:1::/48, AS_PATH: 999 1 1011, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +2a11:3::/32, AS_PATH: 999 1 1011, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +2a11:4:1::/48, AS_PATH: 999 1 1000, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +3101:0:1::/48, AS_PATH: 999 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +3101:0:2::/48, AS_PATH: 999 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +3101:0:3::/48, AS_PATH: 999 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +3101:0:4::/48, AS_PATH: 999 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 888:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +3101:0:5::/48, AS_PATH: 999 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: 888:0:0 + best: True, LOCAL_PREF: 101 + filtered: False () + +3101:0:6::/48, AS_PATH: 999 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 777:0 + ext comms: + lrg comms: 777:0:0 + best: True, LOCAL_PREF: 101 + filtered: False () + +3101:0:8000::1/128, AS_PATH: 999 1 101, NEXT_HOP: 2001:db8:1:1::66, via 2001:db8:1:1::2 + std comms: 65535:65281, 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +3101:0:8::/48, AS_PATH: 999 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +3101:2:8000::/48, AS_PATH: 999 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + +3101:2::/33, AS_PATH: 999 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 101 + filtered: False () + diff --git a/tests/live_tests/scenarios/tag_reject_policy/routes/TagRejectPolicyScenario_OpenBGPDIPv6/openbgpd69/rc.txt b/tests/live_tests/scenarios/tag_reject_policy/routes/TagRejectPolicyScenario_OpenBGPDIPv6/openbgpd69/rc.txt new file mode 100644 index 00000000..5f25d646 --- /dev/null +++ b/tests/live_tests/scenarios/tag_reject_policy/routes/TagRejectPolicyScenario_OpenBGPDIPv6/openbgpd69/rc.txt @@ -0,0 +1,259 @@ +2001::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:2 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2001:db8:1::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:3 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:5::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::23, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:2 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:1::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:11 + ext comms: rt:65520:3 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:e::/48, AS_PATH: 3 174 33, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:8 + ext comms: rt:65520:3 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a11:1:2::/48, AS_PATH: 1 1000, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:9 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a11:2:1::/48, AS_PATH: 1 1011, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:12 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a11:3:1::/48, AS_PATH: 1 1011, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:12 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a99:1::/48, AS_PATH: 1 65536 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:7 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a99:2::/48, AS_PATH: 1 2 2 2 2 2 2 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:1 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a99::/16, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:13 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a99::/32, AS_PATH: 2 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:6 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:10::/48, AS_PATH: 1 101 666, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:15 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:11::/48, AS_PATH: 1 101 777, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:15 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:1::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:2::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:3::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:4::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:5, 888:0 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:5::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: 888:0:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:6::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:5, 777:0 + ext comms: rt:65520:1 + lrg comms: 777:0:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:7::/48, AS_PATH: 1 101 174, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:8 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:8000::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:14 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:8000::1/128, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:5, 65535:666 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:8::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:9::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:14 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:1::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:12 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:2:4000::/34, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:12 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:2:8000::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:2::/33, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:3:1::/48, AS_PATH: 1 101 105, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:9 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3102:0:1::/48, AS_PATH: 1 101 102, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:9 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3103:0:1::/48, AS_PATH: 1 101 103, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:9, 65535:0 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3103:0:2::/48, AS_PATH: 2 101 103, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:9, 65535:0 + ext comms: rt:65520:2 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3104:0:1::/48, AS_PATH: 1 101 104, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:9 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3104:1:1::/48, AS_PATH: 1 101 104, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:9 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +8000:1::/32, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:10 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +::/0, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::2 + std comms: 65520:0, 65520:10 + ext comms: rt:65520:3 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + diff --git a/tests/live_tests/scenarios/tag_reject_policy/routes/TagRejectPolicyScenario_OpenBGPDIPv6/openbgpd69/rs.txt b/tests/live_tests/scenarios/tag_reject_policy/routes/TagRejectPolicyScenario_OpenBGPDIPv6/openbgpd69/rs.txt new file mode 100644 index 00000000..32d4da9f --- /dev/null +++ b/tests/live_tests/scenarios/tag_reject_policy/routes/TagRejectPolicyScenario_OpenBGPDIPv6/openbgpd69/rs.txt @@ -0,0 +1,777 @@ +2001::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 65520:0, 65520:2 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +2001:db8:1::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 65520:0, 65520:3 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +2a01:0:1::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a01:0:1::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a01:0:2::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a01:0:2::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::12, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +2a01:0:3::/48, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::12 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:1::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:2::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::1/128, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::2/128, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 65534:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:3::3/128, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: 65534:0:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:4::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::22, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a02:0:5::/48, AS_PATH: 2, NEXT_HOP: 2001:db8:1:1::23, via 2001:db8:1:1::21 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:2 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +2a03:0:1::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::31 + std comms: 65520:0, 65520:11 + ext comms: rt:65520:3 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +2a03:0:2::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::31 + std comms: 0:999, 65501:1 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:3::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::31 + std comms: 0:1 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:4::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::31 + std comms: 0:999 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:5::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::31 + std comms: 65521:65521 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:6::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::31 + std comms: 65522:65522 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:7::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::31 + std comms: 65523:65523 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:8::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::31 + std comms: 65521:1 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:9::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::31 + std comms: 65522:2 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:a::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::31 + std comms: 65521:65521, 65523:1 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:b::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::31 + std comms: 65507:999 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:c::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::31 + std comms: 65509:1, 65523:2 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:d::/48, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::31 + std comms: + ext comms: soo:65535:65281 + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a03:0:e::/48, AS_PATH: 3 174 33, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::31 + std comms: 65520:0, 65520:8 + ext comms: rt:65520:3 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +2a11:1:1::/48, AS_PATH: 1 1011, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a11:1:2::/48, AS_PATH: 1 1000, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 65520:0, 65520:9 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +2a11:2:1::/48, AS_PATH: 1 1011, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 65520:0, 65520:12 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +2a11:3:1::/48, AS_PATH: 1 1011, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 65520:0, 65520:12 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +2a11:3::/32, AS_PATH: 1 1011, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a11:4:1::/48, AS_PATH: 1 1000, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +2a99:1::/48, AS_PATH: 1 65536 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 65520:0, 65520:7 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +2a99:2::/48, AS_PATH: 1 2 2 2 2 2 2 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 65520:0, 65520:1 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +2a99::/16, AS_PATH: 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 65520:0, 65520:13 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +2a99::/32, AS_PATH: 2 1, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 65520:0, 65520:6 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +3101:0:10::/48, AS_PATH: 1 101 666, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3101:0:10::/48, AS_PATH: 1 101 666, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 65520:0, 65520:15 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +3101:0:10::/48, AS_PATH: 2 101 666, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 65520:0, 65520:15 + ext comms: rt:65520:2 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3101:0:11::/48, AS_PATH: 1 101 777, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3101:0:11::/48, AS_PATH: 1 101 777, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 65520:0, 65520:15 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +3101:0:11::/48, AS_PATH: 2 101 777, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 65520:0, 65520:15 + ext comms: rt:65520:2 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3101:0:1::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3101:0:1::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:1::/48, AS_PATH: 2 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:0:2::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3101:0:2::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:2::/48, AS_PATH: 2 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:0:3::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3101:0:3::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:3::/48, AS_PATH: 2 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:0:4::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: 65520:0, 65520:5, 888:0 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3101:0:4::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 888:0 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:4::/48, AS_PATH: 2 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 888:0 + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:0:5::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: 888:0:0 + best: False, LOCAL_PREF: 1 + filtered: False () + +3101:0:5::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: 888:0:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:5::/48, AS_PATH: 2 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: 888:0:0 + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:0:6::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: 65520:0, 65520:5, 777:0 + ext comms: rt:65520:1 + lrg comms: 777:0:0 + best: False, LOCAL_PREF: 1 + filtered: False () + +3101:0:6::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 777:0 + ext comms: + lrg comms: 777:0:0 + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:6::/48, AS_PATH: 2 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 777:0 + ext comms: + lrg comms: 777:0:0 + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:0:7::/48, AS_PATH: 1 101 174, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3101:0:7::/48, AS_PATH: 1 101 174, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 65520:0, 65520:8 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +3101:0:7::/48, AS_PATH: 2 101 174, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 65520:0, 65520:8 + ext comms: rt:65520:2 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3101:0:8000::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3101:0:8000::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 65520:0, 65520:14 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +3101:0:8000::/48, AS_PATH: 2 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 65520:0, 65520:14 + ext comms: rt:65520:2 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3101:0:8000::1/128, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: 65520:0, 65520:5, 65535:666 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3101:0:8000::1/128, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 65535:666 + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:8000::1/128, AS_PATH: 2 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 65535:666 + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:0:8::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3101:0:8::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:0:8::/48, AS_PATH: 2 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:0:9::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3101:0:9::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 65520:0, 65520:14 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +3101:0:9::/48, AS_PATH: 2 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 65520:0, 65520:14 + ext comms: rt:65520:2 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3101:1::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3101:1::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 65520:0, 65520:12 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +3101:1::/48, AS_PATH: 2 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 65520:0, 65520:12 + ext comms: rt:65520:2 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3101:2:4000::/34, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3101:2:4000::/34, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 65520:0, 65520:12 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +3101:2:4000::/34, AS_PATH: 2 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 65520:0, 65520:12 + ext comms: rt:65520:2 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3101:2:8000::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3101:2:8000::/48, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:2:8000::/48, AS_PATH: 2 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:2::/33, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3101:2::/33, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: + ext comms: + lrg comms: + best: True, LOCAL_PREF: 100 + filtered: False () + +3101:2::/33, AS_PATH: 2 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: + ext comms: + lrg comms: + best: False, LOCAL_PREF: 100 + filtered: False () + +3101:3:1::/48, AS_PATH: 1 101 105, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3101:3:1::/48, AS_PATH: 1 101 105, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 65520:0, 65520:9 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +3101:3:1::/48, AS_PATH: 2 101 105, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 65520:0, 65520:9 + ext comms: rt:65520:2 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3102:0:1::/48, AS_PATH: 1 101 102, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3102:0:1::/48, AS_PATH: 1 101 102, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 65520:0, 65520:9 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +3102:0:1::/48, AS_PATH: 2 101 102, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 65520:0, 65520:9 + ext comms: rt:65520:2 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3103:0:1::/48, AS_PATH: 1 101 103, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: 65520:0, 65520:5, 65535:0 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3103:0:1::/48, AS_PATH: 1 101 103, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 65520:0, 65520:9, 65535:0 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +3103:0:1::/48, AS_PATH: 2 101 101 103, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 65520:0, 65520:9 + ext comms: rt:65520:2 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3103:0:2::/48, AS_PATH: 1 101 101 103, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3103:0:2::/48, AS_PATH: 1 101 101 103, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 65520:0, 65520:9 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3103:0:2::/48, AS_PATH: 2 101 103, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 65520:0, 65520:9, 65535:0 + ext comms: rt:65520:2 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +3104:0:1::/48, AS_PATH: 1 101 104, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3104:0:1::/48, AS_PATH: 1 101 104, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 65520:0, 65520:9 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +3104:0:1::/48, AS_PATH: 2 101 104, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 65520:0, 65520:9 + ext comms: rt:65520:2 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3104:1:1::/48, AS_PATH: 1 101 104, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: 65520:0, 65520:5 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +3104:1:1::/48, AS_PATH: 1 101 104, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 65520:0, 65520:9 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +3104:1:1::/48, AS_PATH: 2 101 104, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 65520:0, 65520:9 + ext comms: rt:65520:2 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +8000:1::/32, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::101, via 2001:db8:1:1::12 + std comms: 65520:0, 65520:10 + ext comms: rt:65520:1 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +8000:1::/32, AS_PATH: 1 101, NEXT_HOP: 2001:db8:1:1::11, via 2001:db8:1:1::11 + std comms: 65520:0, 65520:10 + ext comms: rt:65520:1 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + +8000:1::/32, AS_PATH: 2 101, NEXT_HOP: 2001:db8:1:1::21, via 2001:db8:1:1::21 + std comms: 65520:0, 65520:10 + ext comms: rt:65520:2 + lrg comms: + best: False, LOCAL_PREF: 1 + filtered: False () + +::/0, AS_PATH: 3, NEXT_HOP: 2001:db8:1:1::31, via 2001:db8:1:1::31 + std comms: 65520:0, 65520:10 + ext comms: rt:65520:3 + lrg comms: + best: True, LOCAL_PREF: 1 + filtered: False () + diff --git a/tests/real/general.html b/tests/real/general.html index 6929e31b..10b29866 100644 --- a/tests/real/general.html +++ b/tests/real/general.html @@ -67,7 +67,7 @@

    AS_PATH attribute

    List of "transit-free" networks' ASNs: -174, 209, 286, 701, 1239, 1299, 2828, 2914, 3257, 3320, 3356, 3549, 5511, 6453, 6461, 6762, 6830, 7018, 12956

    +174, 701, 1299, 2914, 3257, 3320, 3356, 5511, 6453, 6461, 6762, 6830, 7018, 12956

  • diff --git a/tests/real/general.yml b/tests/real/general.yml index 61c2f3f5..273d797b 100644 --- a/tests/real/general.yml +++ b/tests/real/general.yml @@ -16,9 +16,8 @@ cfg: transit_free: action: "reject" asns: > - 174, 209, 286, 701, 1239, 1299, 2828, 2914, - 3257, 3320, 3356, 3549, 5511, 6453, 6461, - 6762, 6830, 7018, 12956 + 174, 701, 1299, 2914, 3257, 3320, 3356, 5511, + 6453, 6461, 6762, 6830, 7018, 12956 irrdb: enforce_origin_in_as_set: True enforce_prefix_in_as_set: True diff --git a/tests/static/data/test_cmd_show_config/distrib.txt b/tests/static/data/test_cmd_show_config/distrib.txt index 0380bab8..8cc891a6 100644 --- a/tests/static/data/test_cmd_show_config/distrib.txt +++ b/tests/static/data/test_cmd_show_config/distrib.txt @@ -17,7 +17,7 @@ configured max_as_path_len: 32 configured reject_invalid_as_in_as_path: True transit_free: default action: None -configured asns: 174, 209, 286, 701, 1239, 1299, 2828, 2914, 3257, 3320, 3356, 3549, 5511, 6453, 6461, 6762, 6830, 7018, 12956 +configured asns: 174, 701, 1299, 2914, 3257, 3320, 3356, 5511, 6453, 6461, 6762, 6830, 7018, 12956 never_via_route_servers: configured peering_db: True default asns: None diff --git a/tests/static/test_cfg_general.py b/tests/static/test_cfg_general.py index 7fa6ec9f..f334933f 100644 --- a/tests/static/test_cfg_general.py +++ b/tests/static/test_cfg_general.py @@ -1025,7 +1025,7 @@ def test_never_via_route_servers_asns(self): def test_transit_free_asns(self): """{}: transit free, ASNs list""" - self.assertEqual(self.cfg["filtering"]["transit_free"]["asns"], [174, 209, 286, 701, 1239, 1299, 2828, 2914, 3257, 3320, 3356, 3549, 5511, 6453, 6461, 6762, 6830, 7018, 12956]) + self.assertEqual(self.cfg["filtering"]["transit_free"]["asns"], [174, 701, 1299, 2914, 3257, 3320, 3356, 5511, 6453, 6461, 6762, 6830, 7018, 12956]) self._test_optional(self.cfg["filtering"]["transit_free"], "asns") cfg = [ @@ -1218,7 +1218,7 @@ def test_distrib_config(self): }, "transit_free": { "action": None, - "asns": [174, 209, 286, 701, 1239, 1299, 2828, 2914, 3257, 3320, 3356, 3549, 5511, 6453, 6461, 6762, 6830, 7018, 12956] + "asns": [174, 701, 1299, 2914, 3257, 3320, 3356, 5511, 6453, 6461, 6762, 6830, 7018, 12956] }, "never_via_route_servers": { "peering_db": True, diff --git a/tests/static/test_cmd_configure.py b/tests/static/test_cmd_configure.py index b3c06ae2..0a46dd59 100644 --- a/tests/static/test_cmd_configure.py +++ b/tests/static/test_cmd_configure.py @@ -64,9 +64,8 @@ class TestConfigureCmd(ARouteServerTestCase): "transit_free": { "action": "reject", "asns": [ - 174, 209, 286, 701, 1239, 1299, 2828, 2914, - 3257, 3320, 3356, 3549, 5511, 6453, 6461, - 6762, 6830, 7018, 12956 + 174, 701, 1299, 2914, 3257, 3320, 3356, 5511, + 6453, 6461, 6762, 6830, 7018, 12956 ] }, "never_via_route_servers": { @@ -189,7 +188,7 @@ def iter_compare(dic1, dic2, path=""): else: self.assertEqual( dic1[k], dic2[k], - msg="path: {}".format(path) + msg="path: {} k: {} {} != {}".format(path, k, dic1[k], dic2[k]) ) cmd = FakeConfigureCommand(None) @@ -347,19 +346,19 @@ def test_openbgpd65_simple(self): self.assertTrue("ext" not in dic["cfg"]["communities"][comm_name]) self.assertTrue("lrg" in dic["cfg"]["communities"][comm_name]) - def test_openbgpd68_simple(self): - """Configure command: OpenBGPD 6.8, simple""" + def test_openbgpd69_simple(self): + """Configure command: OpenBGPD 6.9, simple""" self.expected_config["cfg"]["path_hiding"] = False self.mock_answers([ "openbgpd", - "6.8", + "6.9", "999", "192.0.2.1", "192.0.2.0/24,2001:db8::/32" ]) dic = self.configure_and_build( OpenBGPDConfigBuilder, - target_version="6.8" + target_version="6.9" ) for comm_name in dic["cfg"]["communities"]: @@ -367,6 +366,53 @@ def test_openbgpd68_simple(self): self.assertTrue("ext" not in dic["cfg"]["communities"][comm_name]) self.assertTrue("lrg" in dic["cfg"]["communities"][comm_name]) + def test_openbgpd69_no_path_hiding(self): + """Configure command: OpenBGPD 6.9, path-hiding""" + + # This is to be sure that for OpenBGPD 6.9 the + # path hiding mitigation is not automatically + # configured. + self.expected_config["cfg"]["path_hiding"] = False + self.mock_answers([ + "openbgpd", + "6.9", + "999", + "192.0.2.1", + "192.0.2.0/24,2001:db8::/32" + ]) + dic = self.configure_and_build( + OpenBGPDConfigBuilder, + target_version="6.9" + ) + + def test_openbgpd_latest_path_hiding(self): + """Configure command: OpenBGPD > 6.9, path-hiding""" + + # This is to be sure that release > 6.9 of OpenBGPD + # get path hiding mitigation automatically configured. + # > 6.9 is not released AToW, but hopefully the patches + # that are already out at the moment to mitigate the + # 'rde evaluate all' issues will be merged when the + # next release will be out. + + latest_version = OpenBGPDConfigBuilder.AVAILABLE_VERSION[-1] + + if version.parse(latest_version) > version.parse("6.9"): + self.expected_config["cfg"]["path_hiding"] = True + self.mock_answers([ + "openbgpd", + latest_version, + "999", + "192.0.2.1", + "192.0.2.0/24,2001:db8::/32" + ]) + dic = self.configure_and_build( + OpenBGPDConfigBuilder, + target_version=latest_version + ) + else: + self.skipTest("latest version <= 6.9") + def test_32bit_asn(self): """Configure command: 32 bit route server ASN""" self.expected_config["cfg"]["filtering"]["reject_policy"] = { diff --git a/tools/simulate/general.yml b/tools/simulate/general.yml index ffe01dd0..701359c7 100644 --- a/tools/simulate/general.yml +++ b/tools/simulate/general.yml @@ -35,9 +35,8 @@ cfg: transit_free: action: "reject" asns: > - 174, 209, 286, 701, 1239, 1299, 2828, 2914, - 3257, 3320, 3356, 3549, 5511, 6453, 6461, - 6762, 6830, 7018, 12956 + 174, 701, 1299, 2914, 3257, 3320, 3356, 5511, + 6453, 6461, 6762, 6830, 7018, 12956 irrdb: enforce_origin_in_as_set: True diff --git a/utils/build_doc b/utils/build_doc index f0fcf6aa..8631f17b 100755 --- a/utils/build_doc +++ b/utils/build_doc @@ -61,6 +61,22 @@ if [ -n "$1" ]; then shift fi +BIRD_DEFAULT_VERSION=$(cat << EOF | python - +from pierky.arouteserver.builder import BIRDConfigBuilder +print(BIRDConfigBuilder.DEFAULT_VERSION) +EOF +) +BIRD2_DEFAULT_VERSION=$(cat << EOF | python - +from pierky.arouteserver.builder import BIRDConfigBuilder +print(BIRDConfigBuilder.AVAILABLE_VERSION[-1]) +EOF +) +OPENBGPD_DEFAULT_VERSION=$(cat << EOF | python - +from pierky.arouteserver.builder import OpenBGPDConfigBuilder +print(OpenBGPDConfigBuilder.DEFAULT_VERSION) +EOF +) + # ---------------------------------------------------- D=docs/REJECT_REASON_COMMUNITIES.txt cat << EOF > $D @@ -111,10 +127,10 @@ function RenderExample() { IP_VER="$1" ; shift $CMD --ip-ver $IP_VER -o examples/$DST/bird$IP_VER.conf $@ else - $CMD --target-version 2.0.7 --ignore-issues \* -o examples/$DST/bird_v2.conf $@ + $CMD --target-version ${BIRD2_DEFAULT_VERSION} --ignore-issues \* -o examples/$DST/bird_v2.conf $@ fi elif [ "$COMMAND" == "openbgpd" ]; then - $CMD -o examples/$DST/openbgpd.conf --ignore-issues \* --target-version 6.5 + $CMD -o examples/$DST/openbgpd.conf --ignore-issues \* elif [ "$COMMAND" == "html" ]; then $CMD -o examples/$DST/description.html cp examples/$DST/description.html $DOCS_DIR/_static/examples_$DST.html @@ -197,14 +213,14 @@ EOF G="bird-general.yml" RenderConfigureExample "bird" $G \ - "daemon=bird version=1.6.8 asn=64496 router_id=192.0.2.1 black_list=192.0.2.0/24,2001:db8::/32" | \ + "daemon=bird version=${BIRD_DEFAULT_VERSION} asn=64496 router_id=192.0.2.1 black_list=192.0.2.0/24,2001:db8::/32" | \ sed 's/^/ /' >> $D ./scripts/arouteserver bird $OPTS --ip-ver 4 --general examples/auto-config/$G --clients config.d/clients.yml --test-only -o /dev/null -G="openbgpd64-general.yml" +G="openbgpd-general.yml" RenderConfigureExample "openbgpd" $G \ - "daemon=openbgpd version=6.5 asn=64496 router_id=192.0.2.1 black_list=192.0.2.0/24,2001:db8::/32" &>/dev/null -./scripts/arouteserver openbgpd $OPTS --target-version 6.5 --general examples/auto-config/$G --clients config.d/clients.yml --test-only -o /dev/null + "daemon=openbgpd version=${OPENBGPD_DEFAULT_VERSION} asn=64496 router_id=192.0.2.1 black_list=192.0.2.0/24,2001:db8::/32" &>/dev/null +./scripts/arouteserver openbgpd $OPTS --general examples/auto-config/$G --clients config.d/clients.yml --test-only -o /dev/null echo "The textual description (HTML) generated on the basis of the *general.yml* files produced by this command is also reported here." >> $D @@ -272,10 +288,10 @@ HOOKS="pre_receive_from_client post_receive_from_client pre_announce_to_client p RenderExample "bird_hooks" "bird" "$G" "$C" "config.d/bogons.yml" 1 4 --use-hooks $HOOKS --use-local-files header RenderExample "bird_hooks" "bird" "$G" "$C" "config.d/bogons.yml" 1 6 --use-hooks $HOOKS --use-local-files header -title "Building example: BIRD v2 RPKI RTR protocol" -G="examples/bird2_rpki_rtr/general.yml" -C="examples/bird2_rpki_rtr/clients.yml" -RenderExample "bird2_rpki_rtr" "bird" "$G" "$C" "config.d/bogons.yml" 2 +title "Building example: BIRD v2 and OpenBGPD RPKI RTR protocol" +G="examples/rpki_rtr/general.yml" +C="examples/rpki_rtr/clients.yml" +RenderExample "rpki_rtr" "bird" "$G" "$C" "config.d/bogons.yml" 2 title "Build clients from Euro-IX files? [yes/NO] " read YES_NO @@ -364,7 +380,7 @@ echo "Examples of configurations" >> $DST_FILE echo "==========================" >> $DST_FILE cd examples -for d in default rich bird_hooks clients-from-euroix auto-config ixf-member-export bird2_rpki_rtr; do +for d in default rich bird_hooks clients-from-euroix auto-config ixf-member-export rpki_rtr; do EXAMPLE_NAME="$d" if [ -e "$EXAMPLE_NAME/README.rst" ]; then echo "" >> $DST_FILE diff --git a/utils/build_integration_tests_docs.py b/utils/build_integration_tests_docs.py index 72686535..6d49a5ff 100755 --- a/utils/build_integration_tests_docs.py +++ b/utils/build_integration_tests_docs.py @@ -1,8 +1,14 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- +from pierky.arouteserver.tests.live_tests.openbgpd import OpenBGPDPortablePreviousInstance -output = "" +# Ignoring tests of previous portable release because it's only used in +# 'global', not really relevant to build the content of this doc file. +IGNORE_BGP_SPEAKERS = [ + "OpenBGPD " + OpenBGPDPortablePreviousInstance.BGP_SPEAKER_VERSION +] +output = "" def put_line(s=""): global output @@ -16,7 +22,7 @@ def put_table_line(lengths, char="="): output += "\n" -last_ci_output = open("../tests/last", "r").read() +last_ci_output = open("tests/last", "r").read() tests_to_skip = [ "setting instances up...", @@ -52,6 +58,9 @@ def put_table_line(lengths, char="="): bgp_speaker = fields[0].strip() del fields[0] + if bgp_speaker in IGNORE_BGP_SPEAKERS: + continue + rest = ",".join(fields) # global scenario, IPv4, tag: control communities, don't announce to any ... ok diff --git a/utils/build_supported_speakers_table.py b/utils/build_supported_speakers_table.py index f04fbd43..f7f51bd1 100755 --- a/utils/build_supported_speakers_table.py +++ b/utils/build_supported_speakers_table.py @@ -47,8 +47,8 @@ def put_table_line(lengths, char="="): add_feature("Path hiding mitigation (RFC7947, 2.3.1)", { "bird": True, "bird2": True, - "openbgpd": False, - "openbgpd_portable": False, + "openbgpd": True, + "openbgpd_portable": True, }) @@ -146,7 +146,12 @@ def put_table_line(lengths, char="="): "openbgpd": True, "openbgpd_portable": True, }) - +add_feature("RPKI ROAs retrieved via RTR protocol", { + "bird": True, + "bird2": True, + "openbgpd": True, + "openbgpd_portable": True, +}) add_feature("Blackhole filtering support:") add_feature("Optional NEXT_HOP rewriting", { diff --git a/utils/update_tests b/utils/update_tests index e550b1e1..d447f4b9 100755 --- a/utils/update_tests +++ b/utils/update_tests @@ -56,9 +56,9 @@ function join_last_results() { echo "{\"unique_test_cases\": ${num_of_tests}}" > $TESTS_DIR/last.json cd $ROOT + ./utils/build_integration_tests_docs.py > docs/SUPPORTED_SPEAKERS_CI.txt + ./utils/build_supported_speakers_table.py > docs/SUPPORTED_SPEAKERS_FEATURES.txt cd docs - ../utils/build_integration_tests_docs.py > SUPPORTED_SPEAKERS_CI.txt - ../utils/build_supported_speakers_table.py > SUPPORTED_SPEAKERS_FEATURES.txt make html #rm $LAST_RESULTS_DIR/*.last